@charset "utf-8";
html {font-size: 62.5%}
body {
background-color: #FFFFFF;
min-width: 1200px;
font-size: 1.6rem;
font-family: "A-OTF 太ゴB101 Pro", sans-serif!important;
font-feature-settings: "palt";
}

.ja_font {
  font-family: "A-OTF 太ゴB101 Pro", sans-serif!important;
    transform: scale(0.745, 1);
    transform-origin: top left;
    line-height: 1.4
}
.en_font {
  font-family: "A-OTF 太ゴB101 Pro", sans-serif!important;
    transform: scale(0.745, 1);
    transform-origin: top left;
    line-height: 1.1
}

.scale_font {
  font-family: "scale-variable",sans-serif;
  font-variation-settings: 'wdth' 50, 'wght' 425;
    transform: scale(0.92, 1);
    transform-origin: top left;
}

select,input,button,textarea,button {font:99%;}
table {font-size:inherit;font:100%;}
pre,code,kbd,samp,tt {
font-family:monospace;
*font-size:108%;
line-height:100%;
}
a:link {
color: #000000;
transition: .3s;
}
a:visited {
color: #000000;
text-decoration: none;
}
a:hover {
color: #0099CC;
text-decoration: underline;
}
a:active {
color: #999999;
text-decoration: none;
}
a {
outline: none;
}
::selection {
background: #000000;
color: #FFFFFF;
}
::-moz-selection {
background:#000000;
color:#FFFFFF;
}
::-webkit-selection {
background:#000000;
color:#FFFFFF;
}
strong {
font-weight: bold;
}
.pc {
display: inherit!important;
}
.sp {
display: none!important;
}
#wrapper {
overflow: hidden;
position: relative
}

.cont_wide{
    min-width: 1200px;
    max-width: 1920px;
}

/*--HEADER-------------*/
header {
height: 12.5vw;
max-height: 240px;
position: relative;
z-index: 10;
}
@media screen and (max-width: 1200px) {
    header {
height: 150px;
}
}
header a {
text-decoration: none;
    
}

header h1 {
    float: left
}

#logo_head{
    position: relative
}

#logo_head #logotype01{
    position: absolute;
    background-color: rgba(82,174,255,0);
    width: 2.5vw;
    height: 12.5vw;
    background-image: url(../../images/logo_t01.png);
    background-repeat: no-repeat;
    background-position: left center;
    left: 22.447916666666668vw;
    top: 0px;
    background-size: auto 100%;
}
#logo_head #logotype02{
    position: absolute;
    background-color: rgba(170,255,81,0);
    width: 2.5520833333333335vw;
    height: 12.5vw;
    background-image: url(../../images/logo_t02.png);
    background-repeat: no-repeat;
    background-position: left center;
    left: 24.947916666666668vw;
    top: 0px;
    background-size: auto 100%;
}
@media screen and (max-width: 1200px) {
    #logo_head #logotype01{
        width: 30px;
        height: 150px;
    left: 269px;
    }
    #logo_head #logotype02{
        width: 30px;
        height: 150px;
    left:299px; 
    }
}
/* logotype　アニメーション*/
#logo_hover{
    background-color: rgba(0,255,255,0.0);
    height: 12.5vw;
    width: 24.947916666666668vw;
    position: absolute;
    left: 0px;
    top: 0
}
@media screen and (max-width: 1200px) {
    #logo_hover{
    height: 150px;
}
}
#logotype01,
#logotype02 {    
  display: block;
  transition: all 0.4s ease;
       
}
#logo_hover:hover #logotype01 { 
  width: 13.802083333333334vw;
}
#logo_hover:hover #logotype02 {
  width: 21.302083333333332vw;
  margin-left: 11.402083333333334vw;
}
#logo_ver{
        height: 12.5vw;
    overflow-y: hidden
    }
#logo_ver img{
        width: 100%;
        height: auto;
    }

/*--NAVIGATION-------------*/
#gnav {
  opacity: 0;
  position: relative;
}
#gnav {
  position: absolute;
  left: calc(calc(calc(100% - 14px) / 3) * 2);
  top: 4.4vw;
  z-index: 1000;
  font-size: 3.0vw;
}
#gnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#gnav > ul > li {
  position: relative;
}

#gnav a {
  text-decoration: none;
  color: #000;
}

#gnav ul li ul a {
  color: #999999;
}

#gnav ul li ul a:hover {
  color: #000;
}

/* ▼ Menu の下に出る「第1階層」メニュー */
#gnav > ul > li > ul {
  background: rgba(255, 255, 255, 0.8);
  position: absolute;
  top: 5.2vw;         /* Menu の真下に落ちる位置 */
  left: 0;

  max-height: 0;
  overflow: hidden;
  padding: 0;
  transition: max-height 0.4s ease, padding 0.4s ease;
    
    /*検証*/
    /*max-height: 1000px;*/
}

/* Menu 最後の要素、下に合わせる */
#gnav > ul > li > ul > li:last-child{
    height: 0.97em;
}


/* Menu にホバーで全体オープン */
/* ★ Contact まで＋サブメニュー分も入るように余裕を持って */
#gnav > ul > li:hover > ul {
  max-height: 1000px;
  padding: 0;
}

/* ▼ 第1階層（About以外） */
#gnav > ul > li > ul > li {
  position: relative;
  padding: 0;
  white-space: nowrap;
  display: block;
}
/* ▼ 第1階層（About） */
#gnav > ul > li > ul > li.has-sub {
  display: flex;
  align-items: flex-start;
  gap: 100px;
}

/* ▼ 第2階層（右のサブメニュー：デフォルトは閉じている） */
#gnav > ul > li > ul > li.has-sub > .submenu {
  list-style: none;
  margin: 0;
  padding: 0;

  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* ▼ .open が付いた has-sub だけ展開 */
#gnav > ul > li > ul > li.has-sub.open > .submenu {
  max-height: 500px;   /* サブメニューの高さに合わせて調整 */
  opacity: 1;
}

/* ▼ 第2階層（philosophy 等） */
#gnav > ul > li > ul > li.has-sub > .submenu > li {
  padding: 3px 0;
}








ul.sns {
position: absolute;
    right: 50px;
    top: 4.4vw;
    z-index: 99
}
ul.sns li {
font-size: 3vw;
    line-height: 1;
    margin-bottom: 0.15em
}
ul.sns li:last-child {
font-size: 2.6vw;
}
ul.sns li a:hover {color: #999999}

/*--ANIMATION-------------*/
#animation{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 5
    
}
#animation img{
    width: 100%;
    height: auto
    }



/*--INDEX_WORKS_TEASER-------------*/
#index_works_teaser {
width: calc(100% - 100px);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 45px;
}
#index_works_teaser ul{
display: flex;
    flex-wrap: wrap;
    gap: 12px;
    row-gap:12px;
}
#index_works_teaser ul li{
width: calc(calc(100% / 3) - 8px);
}
#index_works_teaser ul li img{
width: 100%;
height: auto
}


/*--INDEX_MESSAGE_TEASER-------------*/
#index_message_teaser {
width: calc(100% - 100px);
    margin-left: auto;
    margin-right: auto
}
#index_message_teaser .ttl{
    font-size: 6.0rem;
    margin-bottom: 25px;
}
#index_message_teaser .message_ja,
#index_message_teaser .message_en{
    font-size: 2.6rem;
    margin-bottom: 25px;
    width: 134%
}
#index_message_teaser .message_ja img,
#index_message_teaser .message_en img{
    width: 1300px;
    height: auto;
    margin-bottom: 30px;
}



/*--CONTENTS-------------*/
#contents {}

/*--FOOTER-------------*/
footer {
padding-top: 20px;
padding-bottom: 50px;
}
footer .inner {
width: calc(100% - 100px);
margin-left: auto;
margin-right: auto;
text-align: right
}
footer .inner .en_font {
  transform-origin: top right;
}



































@media screen and (max-width: 520px) {
html {font-size: 62.5%}
body {
background-color: #FFFFFF;
min-width: 1080px;
font-size: 1.6rem;
font-family: "A-OTF 太ゴB101 Pro", sans-serif!important;
font-feature-settings: "palt";
}

.ja_font {
  font-family: "A-OTF 太ゴB101 Pro", sans-serif!important;
    transform: scale(0.745, 1);
    transform-origin: top left;
    line-height: 1.4
}
.en_font {
  font-family: "A-OTF 太ゴB101 Pro", sans-serif!important;
    transform: scale(0.745, 1);
    transform-origin: top left;
    line-height: 1.1
}

.scale_font {
  font-family: "scale-variable",sans-serif;
  font-variation-settings: 'wdth' 50, 'wght' 425;
    transform: scale(0.92, 1);
    transform-origin: top left;
}

select,input,button,textarea,button {font:99%;}
table {font-size:inherit;font:100%;}
pre,code,kbd,samp,tt {
font-family:monospace;
*font-size:108%;
line-height:100%;
}
a:link {
color: #000000;
transition: .3s;
}
a:visited {
color: #000000;
text-decoration: none;
}
a:hover {
color: #0099CC;
text-decoration: underline;
}
a:active {
color: #999999;
text-decoration: none;
}
a {
outline: none;
}
::selection {
background: #000000;
color: #FFFFFF;
}
::-moz-selection {
background:#000000;
color:#FFFFFF;
}
::-webkit-selection {
background:#000000;
color:#FFFFFF;
}
strong {
font-weight: bold;
}
.pc {
display: none!important;
}
.sp {
display: inherit!important;
}
#wrapper {
overflow: hidden;
position: relative
}

.cont_wide{
    min-width: 1080px;
    max-width: 1080px;
}

/*--HEADER-------------*/
header {
height: 190px;
position: relative;
z-index: 10
}
header a {
text-decoration: none;
}
header h1 {
    float: left
}

#logo_head{
    position: relative
}
#logo_head #logotype01{
    position: absolute;
    background-color: rgba(82,174,255,0);
    width: 48px;
    height: 240px;
    background-image: url(../../images/logo_t01.png);
    background-repeat: no-repeat;
    background-position: left center;
    left: 431px;
  top: 0px;
}
#logo_head #logotype02{
    position: absolute;
    background-color: rgba(170,255,81,0);
    width: 49px;
    height: 240px;
    background-image: url(../../images/logo_t02.png);
    background-repeat: no-repeat;
    background-position: left center;
    left: 479px;
  top: 0px;
}
/* logotype　アニメーション*/
#logotype01,
#logotype02 {    
  display: block;
  transition: all 0.4s ease;
}
#logo_head:hover #logotype01 { 
  width: 265px;
}
#logo_head:hover #logotype02 {
  width: 409px;
  margin-left: 265px;
}
    #logo_ver img{
        width: auto;
        height: 190px;
    }

/*--NAVIGATION-------------*/
#gnav {
  opacity: 0;
  position: relative;
}
#gnav {
  position: absolute;
  left: calc(calc(calc(65% - 14px) / 3) * 2);
  top: 42px;
  z-index: 1000;
  font-size: 6.0rem;
}
#gnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#gnav > ul > li {
  position: relative;
}

#gnav a {
  text-decoration: none;
  color: #000;
}

#gnav ul li ul a {
  color: #999999;
}

#gnav ul li ul a:hover {
  color: #000;
}

/* ▼ Menu の下に出る「第1階層」メニュー */
#gnav > ul > li > ul {
  background: rgba(255, 255, 255, 0.8);
  position: absolute;
  top: 92px;         /* Menu の真下に落ちる位置 */
  left: 0;

  max-height: 0;
  overflow: hidden;
  padding: 0;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

/* Menu にホバーで全体オープン */
/* ★ Contact まで＋サブメニュー分も入るように余裕を持って */
#gnav > ul > li:hover > ul {
  max-height: 1000px;
  padding: 0;
}

/* ▼ 第1階層（News / About / Projects...） */
#gnav > ul > li > ul > li {
  position: relative;
  padding: 0;
  white-space: nowrap;

  display: flex;
  align-items: flex-start;
  gap: 100px;   /* 左文字と右サブメニューの横の空き */
}

/* ▼ 第2階層（右のサブメニュー：デフォルトは閉じている） */
#gnav > ul > li > ul > li.has-sub > .submenu {
  list-style: none;
  margin: 0;
  padding: 0;

  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* ▼ .open が付いた has-sub だけ展開 */
#gnav > ul > li > ul > li.has-sub.open > .submenu {
  max-height: 500px;   /* サブメニューの高さに合わせて調整 */
  opacity: 1;
}

/* ▼ 第2階層（philosophy 等） */
#gnav > ul > li > ul > li.has-sub > .submenu > li {
  padding: 3px 0;
}

ul.sns {
position: absolute;
    right: 50px;
    top: 54px;
    z-index: 99999;
}
ul.sns li {
font-size: 5.0rem;
    line-height: 1;
    margin-bottom: 0.15em
}
ul.sns li:last-child {
font-size: 4.3rem;
}
ul.sns li a:hover {color: #999999}

/*--ANIMATION-------------*/
#animation{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 5 
}
#animation img{
    width: 100%;
    height: auto
    }



/*--INDEX_WORKS_TEASER-------------*/
#index_works_teaser {
width: calc(100% - 100px);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 45px;
}
#index_works_teaser ul{
display: flex;
    flex-wrap: wrap;
    gap: 12px;
    row-gap:12px;
}
#index_works_teaser ul li{
width: calc(calc(100% / 1) - 8px);
}
#index_works_teaser ul li img{
width: 100%;
height: auto
}


/*--INDEX_MESSAGE_TEASER-------------*/
#index_message_teaser {
width: calc(100% - 100px);
    margin-left: auto;
    margin-right: auto
}
#index_message_teaser .ttl{
    font-size: 6.0rem;
    margin-bottom: 25px;
}
#index_message_teaser .message_ja,
#index_message_teaser .message_en{
    font-size: 2.6rem;
    margin-bottom: 25px;
    width: 134%
}

/*--CONTENTS-------------*/
#contents {}

/*--FOOTER-------------*/
footer {
padding-top: 20px;
padding-bottom: 50px;
}
footer .inner {
width: calc(100% - 100px);
margin-left: auto;
margin-right: auto;
text-align: right
}
footer .inner .en_font {
  transform-origin: top right;
}




}
