/*
  
.noto-sans-jp-<uniquifier> {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
.roboto-<uniquifier> {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}
  
  */
  
  body {
  font-family: "Noto Sans JP", sans-serif;
background:#000;
  }
  

body.open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}
html.open {
  overflow: hidden;
  height: 100%;
}
  html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#page {
  flex: 1;
  display: flex;
  flex-direction: column;
}

main#primary {
  flex: 1;
}
  /*
  .wrapper {
    overflow:  hidden;
  
  }*/
  
  html, body {
  overflow-x: hidden;

}


.linkposition {
  position: relative;
  top: -100px;
  display: block;
}
svg {
width: 100%; /* 親要素に合わせて拡大縮小 */
height: auto; /* アスペクト比を保持 */
}

.svg img {
 width: 100%; /* 親要素に合わせて拡大縮小 */
height: auto; /* アスペクト比を保持 */ 
}

@media screen and (max-width: 768px) {
  .linkposition {
    position: relative;
    top: -50px;
    display: block;
  }
}








/*=======================================================
 header
 =======================================================*/

header {display: flex;justify-content: space-between;align-items: center;position: absolute;width: 100%;top: 0;
z-index: 5;
width: 100%;
top: 0;
height: 120px;position: fixed;}



  header .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 30px auto 0 0;
    padding: 0;
    height: auto;
    font-size: 14px;
    position: fixed;
  }

  header .header h1 {
    color: #fff;
    font-size: 32px;
    margin-left: 40px;
  }
header .header h1 a {
	color: #fff;
}
header .header h1 a:hover {
	color: #fff;
	opacity: 0.8;
}

  nav li {
    margin: 0;
    list-style-type: none;
  }

  nav li:nth-child(8) {
    margin: 0;

  }
/* ハンバーガー */
#nav-toggle {
  padding-right: 40px;
  cursor: pointer;
  width: 72px;
  height: 60px;          /* ←クリック領域 */
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#nav-toggle > div {
  position: relative;
  width: 32px;
  height: 20px;
}

/* 2本線 */
#nav-toggle span {
  width: 32px;
  height: 2px;
  right: 0;
  display: block;
  background: #fff;
  position: absolute;
  transform-origin: center;
  transition: transform .4s ease, top .4s ease;
}

html.open #nav-toggle span,
body.open #nav-toggle span {
  background: #000 !important;
}

/* 閉じてる時（間隔ちょい狭め） */
#nav-toggle span:nth-child(1) {
  top: 8px;
}

#nav-toggle span:nth-child(2) {
  top: 18px;
}

/* 開いた時（綺麗なバツ） */
.open #nav-toggle span:nth-child(1) {
  top: 13px;
  transform: rotate(45deg);
}

.open #nav-toggle span:nth-child(2) {
  top: 13px;
  transform: rotate(-45deg);
}

  /* z-index */
  #nav-toggle {
    z-index: 1000;
  }

  #container {
    z-index: 900;
  }


  #gloval-nav a {
    display: block;
    text-decoration: none;
    padding: 0;
    -webkit-transition: color .6s ease;
    transition: color .6s ease;
  }


  nav {
    width: 100%;
  }

  nav ul {
    margin: 0;
    display: block;
    height: 100%;
    padding: 0 30px;
  }

  nav ul li {
    width: 100%;
    text-align: left;
  }



  #gloval-nav ul {
    list-style: none;
  }

  #gloval-nav ul li {
    opacity: 0;
    -webkit-transform: translateX(200px);
    transform: translateX(200px);
    -webkit-transition: opacity .2s ease, -webkit-transform .6s ease;
    transition: opacity .2s ease, -webkit-transform .6s ease;
    transition: transform .6s ease, opacity .2s ease;
    transition: transform .6s ease, opacity .2s ease, -webkit-transform .6s ease;
  }

  /* open */
  .open {
    overflow: hidden;
  }

  .open #gloval-nav {
    visibility: visible;
    opacity: 1;
  }

  #gloval-nav {
        background: #FDF6F4;
        position: fixed;
    width: 100%;
    max-width: 480px;
        height: 100%;
        max-height: 100%;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 990;
        text-align: center;
        display: -webkit-box;
        display: flex;
        visibility: hidden;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        -webkit-box-pack: center;
        justify-content: flex-start; 
        -webkit-box-align: center;
        align-items: center;
        opacity: 0;
        -webkit-transition: opacity .6s ease, visibility .6s ease;
        transition: opacity .6s ease, visibility .6s ease;
    padding: clamp(50px, 7vw, 60px);
  }

  .open #gloval-nav li {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    -webkit-transition: opacity .9s ease, -webkit-transform 1s ease;
    transition: opacity .9s ease, -webkit-transform 1s ease;
    transition: transform 1s ease, opacity .9s ease;
    transition: transform 1s ease, opacity .9s ease, -webkit-transform 1s ease;
    text-align: center;
  }
#gloval-nav li {
  font-size: 45px;
color: #000;
text-align: left;
padding: 15px 0;
}

#gloval-nav li.home {
    text-align: left;
font-size: 30px;
margin-bottom: 30px;
}

#gloval-nav li.small {
    text-align: left;
font-size: 21px;
padding: 5px 0;
   } 
#gloval-nav li.small#first {
  margin-top: 30px;
}

.open #gloval-nav li {
font-size: 45px;
color: #000;
text-align: left;
padding: 15px 0;
}

.open #gloval-nav li.home {
    text-align: left;
font-size: 30px;
margin-bottom: 30px;
   } 
.open #gloval-nav li.mid {
text-align: left;
font-size: 28px;
padding: 5px 0;
font-weight: 400;
   } 
.open #gloval-nav li.small {
    text-align: left;
font-size: 21px;
padding: 5px 0;
   } 
.open #gloval-nav li.small#first {
  margin-top: 30px;
}
@media screen and (max-height: 900px) {

  #gloval-nav li {
    font-size: 34px;
    padding: 10px 0;
  }

  #gloval-nav li.home {
    font-size: 26px;
    margin-bottom: 20px;
  }

  #gloval-nav li.small {
    font-size: 18px;
    padding: 4px 0;
  }

  #gloval-nav li.small#first {
    margin-top: 20px;
  }

}
@media screen and (max-height: 900px) {

  .open #gloval-nav li {
    font-size: 34px;
    padding: 10px 0;
  }

  .open #gloval-nav li.home {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .open #gloval-nav li.mid {
    font-size: 24px;
    padding: 4px 0;
  }
  .open #gloval-nav li.small {
    font-size: 18px;
    padding: 4px 0;
  }

  .open #gloval-nav li.small#first {
    margin-top: 20px;
  }

}
@media screen and (max-width: 768px) {

header .header h1 {
    color: #fff;
    font-size: 20px;
    margin-left: 15px;
}
header {display: flex;justify-content: space-between;align-items: center;position: absolute;width: 100%;top: 0;z-index: 100;width: 100%;top: 0;height: 60px;z-index: 9999;}
header .header {

    margin: 0 auto;
}

#nav-toggle {
    z-index: 1000;
}
#nav-toggle {
    padding-right: 10px;
}
#gloval-nav {
    background: #FDF6F4;
    position: fixed;
    width: 100%;
    height: 100%;
    max-height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    text-align: center;
    display: -webkit-box;
    display: flex;
    visibility: hidden;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    opacity: 0;
    -webkit-transition: opacity .6s ease, visibility .6s ease;
    transition: opacity .6s ease, visibility .6s ease;
    padding:0;
	max-width: 100%;
}
.open #gloval-nav li {
    font-size: 30px;
    color: #000;
    text-align: left;
    padding: 5px 0;
}

.open #gloval-nav li.home {
    text-align: left;
    font-size: 26px;
    margin-bottom: 20px;
}
.open #gloval-nav li.small {
    text-align: left;
    font-size: 18px;
    padding: 5px 0;
}

}

  
  /*_______________________________
  
  トップページ　メインビジュアル
  _______________________________*/
  
  .mv_pc {
    position:  relative;
    top:  60px;
  width: 100%;
      height: auto;
      background: url(../img/mv_top.png);
      background-size: 100%;
  font-size:  0;
  }
  .mv_pc::before {
      display: block;
      content: "";
      padding-top: 41.666666666667%;
  }
  
  .mv_pc img {
  
    width: 100%;
    height: auto;
  }
  
  
  .mv_pc h1 {
  position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      color: #fff;
      font-size: 40px;
      display: block;
      background-color: #000;
      padding:20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: 0.1em;
        width: 570px;
              text-align:  center;
  }
  
  
  @media screen and (max-width: 1200px) {
  .mv_pc h1 {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      color: #fff;
      font-size: 40px;
      display: block;
      background-color: #000;
      padding: 20px;
      font-family: 'Montserrat', sans-serif;
      font-weight: 400;
      letter-spacing: 0.1em;
  }}
  
  @media screen and (max-width: 1100px) {
  .mv_pc h1 {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      color: #fff;
      font-size: 36px;
      display: block;
      background-color: #000;
      padding: 10px;
      font-family: 'Montserrat', sans-serif;
      font-weight: 400;
      letter-spacing: 0.1em;
  }}
  
  @media screen and (max-width: 600px) {
  .mv_pc h1 {
  position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      color: #fff;
      font-size: 22px;
      display: block;
      background-color: #000;
      padding:10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: 0.1em;
        width: 80%;
        text-align:  center;
  }}
  
  
  /*_______________________________
  
  スライダー MP
  _______________________________*/
  
  .mvcontainer {
    position: relative;
      padding-top:  0;
      z-index: 1;
      background: #000;
  }
  
  main.new-class .mvcontainer {
  z-index: -1;
  
  }
  
  
  
  .swiper .swiper-wrapper {
      position: relative;
      width: 100%;
      /*height: 100vh;*/
      height: 100vh;
      overflow: hidden;
      z-index: 1;
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-transition-property: -webkit-transform;
      transition-property: -webkit-transform;
      -o-transition-property: transform;
      transition-property: transform;
      transition-property: transform, -webkit-transform;
      -webkit-box-sizing: content-box;
      box-sizing: content-box;
  }
  
  
  .swiper .swiper-slide img {
  position: absolute;
  left: 0;
  top: 0;
  transform: none;
  object-fit: cover;
  object-position: center top;
  width: 100%;
  height: 100vh;
  }
  
  .swiper .swiper-pagination-fraction, .swiper .swiper-pagination-custom, .swiper .swiper-container-horizontal > .swiper-pagination-bullets {
  
      left: 0;
      width: 100%;
  }
  
  
  .swiper .swiper-pagination {
      position: absolute;
      text-align: center;
      -webkit-transition: 300ms opacity;
      -o-transition: 300ms opacity;
      transition: 300ms opacity;
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
      z-index: 10;
      bottom:  10px;
  }
  .swiper .swiper-pagination-bullet {
   width: 20px!important;
    height: 5px!important;
    border-radius: 0!important;
    background: #eee!important;
    opacity: 1!important;
  }
  
  .swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #000!important;
  
  
  }
  
  
  .mvcontainer a.morephoto {
    position: absolute;
    right:  0;
    bottom:  0;
    display: block;
    padding: 20px 30px;
    background: #000;
    color:  #fff;
    z-index: 10;
    font-family: Montserrat,sans-serif;
    font-size: 16px;
  }
  
  .mvcontainer a.morephoto:hover{
    position: absolute;
    right:  0;
    bottom:  0;
    display: block;
    padding: 20px 30px;
    background: #fff;
    color:  #000;
    z-index: 10;
    font-family: Montserrat,sans-serif;
    font-size: 16px;
  }
 

  
  
  @media screen and (max-width: 768px) {
  .mvcontainer { 
    position: relative;
      padding-top:  0;
  
  }
  
  .swiper .swiper-wrapper {
      position: relative;
      width: auto;
height: 100vh;
      z-index: 1;
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-transition-property: -webkit-transform;
      transition-property: -webkit-transform;
      -o-transition-property: transform;
      transition-property: transform;
      transition-property: transform, -webkit-transform;
      -webkit-box-sizing: content-box;
      box-sizing: content-box;
  }
 /* .swiper .swiper-slide img {
  position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      object-fit: cover;
      width:  100%;
      height:  60vh;
  }*/
  .swiper .swiper-pagination-bullet {
      width: 5px!important;
      height: 5px!important;
      border-radius: 0!important;
      background: #eee!important;
      opacity: 1!important;
  }
  .swiper .swiper-pagination {
  
      bottom: -20px;
  }
  .mvcontainer a.morephoto {
    position: absolute;
    right:  15px;
    left:  15px;
    bottom:  15px;
    display: block;
    padding: 20px 0;
    background: #000;
    color:  #fff;
    z-index: 10;
    font-family: Montserrat,sans-serif;
    font-size: 16px;
    width:  calc( 100% - 30px );
    text-align: center;
    margin:  0 auto;
  }
  
  .mvcontainer a.morephoto:hover{
    position: absolute;
    right:  15px;
    left:  15px;
    bottom:  15px;
    display: block;
    padding: 20px 0;
    background: #fff;
    color:  #000;
    z-index: 10;
    font-family: Montserrat,sans-serif;
    font-size: 16px;
    width:  calc( 100% - 30px );
    text-align: center;
    margin:  0 auto;
  }
  
  
  }
  
  
  /*_______________________________
  
  リンクボタン　トップ共通
  _______________________________*/
  
  .link_btn {
    text-align: center;
    margin: 30px auto 0;
    width: 100%;
  
  
  }
  
  
  
  
  @media screen and (max-width: 768px) {
  .link_btn {
      text-align: center;
      margin: 0 auto;
      width: 100%;
  }}
  

/*_______________________________
  
main
_______________________________*/ 

main {
  margin-top: 0;
  padding: 0;
}

@media screen and (max-width: 768px) {
main {
    margin-top: 0;
    padding: 0;
min-height: calc(100vh - 180px);
}}

/*_______________________________
  
breadcrumb
  _______________________________*/

.breadcrumb {
  position: fixed;
  top: 100px;
z-index: 100;
}

.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 0 40px;
}

.breadcrumb li {
  position: relative;
  margin-right: 10px;
  padding-right: 10px;
  font-size: 14px;
  color: #fff;
}

/* 区切り（/） */
.breadcrumb li::after {
  content: "/";
  position: absolute;
  right: 0;
  color: #fff;
}

/* 最後は消す */
.breadcrumb li:last-child::after {
  content: "";
}

/* リンク */
.breadcrumb a {
  text-decoration: none;
color: #fff;
}

.breadcrumb a:hover {
  text-decoration: none;
color: #fff;
  opacity: 0.8;
}
  


@media screen and (max-width: 768px) {
.breadcrumb {
  position: fixed;
  top: 50px;
  z-index: 9999;
}
.breadcrumb ul {
  margin: 0 0 0 15px;
}
}
/*_______________________________
  
footer
  _______________________________*/
  
  footer {
    position: fixed;
    bottom: 50px;
    left: 40px;
    z-index: 1;

  }
footer {
  position: relative;
  left: 20px;
  bottom: auto;
}

.home footer {
  position: fixed;
  left: 20px;
  bottom: env(safe-area-inset-bottom);
}

footer ul.footer_menu {
display: flex;
align-items: flex-start;
justify-content: flex-start;
margin-bottom: 10px;
}
footer ul.footer_menu li {
color: #fff;
font-size: 21px;
margin-right: 30px;
}
footer ul.footer_menu li a {
	color: #fff;
}
footer .copy {
  font-size: 15px;;
  color: #fff;
}
@media screen and (max-width: 768px) {
footer ul.footer_menu {display: flex;align-items: flex-start;justify-content: flex-start;margin-bottom: 10px;}
footer ul.footer_menu li {
color: #fff;
font-size: 16px;
margin-right: 20px;
}
footer .copy {
  font-size: 12px;;
  color: #fff;
}
  footer {
    position: relative;
    bottom: 20px;
    left: 20px;
    z-index: 1;
  }
.home footer {
position:fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1;		
}
}

/*_______________________________
  
news
_______________________________*/

.news {width: 100%;max-width: 1000px;margin: 200px auto 0;}


ul.newslist {
  display: flex;
  flex-wrap: wrap;
  color: #fff;
  width: 100%; /* ← ここ変更 */
  justify-content: flex-start; /* ← centerやめる */
  align-items: flex-start;
  padding: 0 30px;

}

ul.newslist li {
  margin-bottom: 60px;
}
ul.newslist li {
  margin-bottom: 60px;
}

ul.newslist.jp.has-en li {
  margin-bottom: 20px;
}
ul.newslist li.date {
  width: 120px;

}

ul.newslist li.txt {
  width: calc( 100% - 120px );
}

ul.newslist li.txt.jp {
	font-size: 20px;
}
ul.newslist li.txt.en {
	font-size: 18px;
}

ul.newslist a {
	color: #fff;
}

.news-single {
margin: 200px auto 0;
}
.news-single .textarea {
  width:  100%;
  max-width:  900px;
  margin:  0 auto;
 }

.news-single .textarea .center {
text-align: center;
  margin:  0 auto;
 }

.news-single {
margin: 200px auto 0;
}
.news-single .textarea .center img {
margin-bottom:  30px;
 }

.news-single .title {
  font-size:  16px;
  margin-bottom: 20px;
}


.news-single .date {
    font-size: 16px;
    line-height: 1.5em;
  font-family: "Roboto", sans-serif;
}

.news-single ul.backlist {
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 100px auto 0;
  text-align: center;
}

.news-single ul.backlist a {
	color: #fff;
}


.news-single h2 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 40px;
    margin-top: 0;
}

.news-single ul.backlist li:nth-child(2) {
  margin: 0 30px;
}

.news-single ul.contactlist li:nth-child(odd) {
margin-right:  2%;
}


.news-single ul.contactlist {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width:  100%;
  margin:  60px auto 0;
  max-width: 600px;

}

.news-single ul.contactlist li {
width:  49%;
  background: #f8f8f8;
  color:  #000;
  padding:  20px;
  text-align: center;
    font-family: Montserrat,sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.news-single ul.contactlist li:nth-child(odd) {
margin-right:  2%;
}

.news-single ul.contactlist li:nth-child(even) {
margin-right:  0;
}

.news-single ul.contactlist li.phone img {
    height: 20px;
    margin-right: 5px;
    vertical-align: text-bottom;
}

.news-single ul.contactlist li.contact img {
    height: 15px;
    margin-right: 5px;
    vertical-align: text-bottom;
}
.newslist .txt p {
  margin: 0;

}

@media screen and (max-width: 768px) {
.link_btn {
    text-align: center;
    margin: 0 auto;
    width: 100%;
}}

@media screen and (max-width: 1160px) {

.news-single {
  padding: 0 30px;
}}

@media screen and (max-width: 768px) {

.news {width: 100%;max-width: 1000px;margin: 120px auto 0;}
.news-single {
  padding: 40px 15px 0; 

}

.news-single h1 {
    margin: 0 0 30px;
    font-size: 20px;
    letter-spacing: 0.02em;
    font-family: Montserrat,sans-serif;
    text-align: center;

}
.news-single h2 {
        text-align: center;
        font-size: 20px;
        margin-bottom: 60px;
        margin-top: 80px;
}
}

/* works */
.works {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}



.works ul.works_menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: #fff;
  margin: 80px 0;
  font-size: 17px;
}
.works_menu {
    position: relative;
    z-index: 10;
}

.works ul.works_menu li {
  padding-right: 20px;
  padding-left: 10px;
  position: relative;
}

.works_menu li.active {
  color: #fff; /* 好きな色に変更OK */
}
.works ul.works_menu li:first-child {
  padding-right: 20px;
  cursor: default;
}
 .works ul.works_menu li::after {
    content: "/";
    position: absolute;
    right: 0;
    color: #fff;
}
.works ul.works_menu li:first-child::after {
  content: none;
}
.works ul.works_menu li:last-child::after {
  content: none;
}

/* 横並び */
.workslist {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* 左：固定 */
.works-left {
  width: 40%;
  /* position: sticky; */
  top: 0;
  overflow: hidden;
  color: #fff;
}

/* swiper */
.swiper_works {
  height: 100%;
}

.swiper_works .swiper-wrapper {
  height: 100%;
}

.swiper_works .swiper-slide {
  height: 100%;
}

.swiper_works .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.swiper_works .swiper-slide img {
    position: absolute;
    left: 0;
    top: 0;
    transform: none;
    object-fit: contain;
    object-position: center center;
    width: auto;
}

/* 右：スクロール */
.works-right {
  width: 60%;
  overflow-y: auto; /* スクロールON */
  padding: 40px;
  box-sizing: border-box;
  color: #fff;
  display: flex;
justify-content: center;
  align-items: flex-start;
  overflow-y: scroll; /* 常にスクロールバーを出す */
  display: block;   /* ←重要 */
}

.works-right ul.details {
  display: flex;
  flex-wrap: wrap;
}

.works-right ul.details li.years {
  width: 100px;
}
.works-right ul.details li.subject {
  width: calc( 100% - 100px );
  
}

.works-right ul.details li.subject .txt {
  margin-bottom: 20px;
font-size: 14px;
}

.works-right ul.details li.subject .txt span.ttl {
	font-size: 16px;
}

.works-right ul.details li.subject .txt#nb {
  margin-bottom: 0;
}


/* コンテンツ余白 */
.works-right .content {
  margin: 0 auto;
}

.tab-panel { display: none; width: 100%; }
.tab-panel.active { display: flex; }
.works_menu li { cursor: pointer; opacity: 0.5; }
.works_menu li.active { opacity: 1; }

body.open .works_menu,
html.open .works_menu {
  z-index: 0 !important;
}

/* Chrome / Safari / Edge */
.works-right::-webkit-scrollbar {
  width: 6px; /* 太さ */
}

.works-right::-webkit-scrollbar-track {
  background: transparent; /* 背景 */
}

.works-right::-webkit-scrollbar-thumb {
  background: #111;        /* 黒 */
  border-radius: 10px;     /* 角丸 */
  border: 1px solid rgba(255,255,255,0.15); /* うっすら浮かせる */
}

/* ホバー時 */
.works-right::-webkit-scrollbar-thumb:hover {
  background: #000;
}
/* タブ強制修正 */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: flex; /* ←今のレイアウト維持 */
}
.tab-btn.active {
  color: #fff;
}
.swiper_works {
  opacity: 0;
  transition: opacity .3s;
}

.swiper_works.is-ready {
  opacity: 1;
}
@media (max-width: 768px) {
.works-right ul.details li.years {
  width: 80px;
	font-size: 14px;
}
.works-right ul.details li.subject {
  width: calc( 100% - 80px );
		font-size: 14px;
  
}
ul.newslist {

  padding: 0 15px;
}

.tab-panel.active { display: flex;
flex-wrap: wrap;
}
  .workslist {
    flex-direction: column; /* 縦並び */
    height: auto; /* 高さ自動 */
  }

  .works-left,
  .works-right {
    width: 100% !important; /* 左右幅100% */
    position: relative !important; /* sticky解除 */
    top: auto;
  }

  .swiper_works,
  .swiper_works .swiper-wrapper,
  .swiper_works .swiper-slide {
    height: 50vh;
  }


.swiper_works .swiper-slide img {
position: absolute;
        left: 0;
        top: 0;
        transform: none;
        object-fit: cover;
        object-position: center top;
        width: 100%;
        height: 50vh;
}


  .works-right {
    overflow-y: visible;
    padding: 20px;
  }
.works ul.works_menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: #fff;
    margin: 20px 0;
    font-size: 15px;
}
	
}
.tab-top-btn {
  display: none;
}
.works-right {
  scrollbar-gutter: stable;
}

@media (max-width: 768px) {
  .tab-top-btn {
    display: block;
    position: fixed;
    right: 15px;
    bottom: 20px;
    z-index: 999999;
    padding: 10px 12px;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    background: transparent;
  }

  .tab-top-btn.show {
    opacity: 1;
    pointer-events: auto;
  }
  .tab-top-btn {
  position: fixed;
  right: 15px;
  bottom: 20px;
  z-index: 999999999;
  pointer-events: auto !important;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-top-btn {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 99999;
  pointer-events: auto;
}
.works-left,
.works-right,
.tab-panel {
  position: relative;
  z-index: 1000;
}
}

@media (max-width: 768px) {

  .tab-top-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;

    position: fixed;
    right: 15px;
    bottom: calc(20px + env(safe-area-inset-bottom));

    z-index: 9999999999;

    opacity: 1;
    visibility: visible;

    pointer-events: auto;

    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
.tab-top-btn:hover,
.tab-top-btn:focus,
.tab-top-btn:active {
  color: #fff;
  opacity: 1;
  background: transparent;
}
  .works,
  .workslist,
  .tab-panel {
    overflow: visible !important;
  }
}
/* ==================================
   works 左だけフル画面
   ↑ 今のworks CSSの一番下に追加
================================== */

@media (min-width:769px){

  .works,
  .workslist{
    overflow:visible;
  }

  .tab-panel.active{
    display:flex;
    align-items:stretch;
    width:100%;
    height:100vh;
  }

  /* 左：フル表示 */
  .works-left{
    flex:0 0 50vw;
    width:50vw;
    height:100vh;
    margin-left:calc(50% - 50vw);
    overflow:hidden;
    position:relative;
  }

  /* 右：残り幅 */
  .works-right{
    flex:1 1 auto;
    width:auto;
    min-width:0;
    height:100vh;
    overflow-y:auto;
    padding:40px;
  }

  /* swiper full */
  .swiper_works,
  .swiper_works .swiper-wrapper,
  .swiper_works .swiper-slide{
    width:100%;
    height:100%;
  }

  .swiper_works .swiper-slide img{
    width:100%;
    height:100%;
    object-fit:contain;   /* coverでも可 */
    object-position:center;
    position:relative;
    left:auto;
    top:auto;
  }

}
/* ==================================
   biography
================================== */


.biography{
  width:100%;
  max-width:1300px;
  margin:0 auto;
}

/* -----------------------------
   menu
------------------------------ */
.biography_menu{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  width:100%;
  margin:80px 0;
  padding:0;
  list-style:none;
  color:#fff;
  font-size:17px;
position: relative;
z-index: 10;
}

.biography_menu li{
  position:relative;
  padding:0 20px 0 10px;
  cursor:pointer;
  opacity:.5;
  transition:.3s;
}

.biography_menu li.active{
  opacity:1;
}

.biography_menu li::after{
  content:"/";
  position:absolute;
  right:0;
  top:0;
}

.biography_menu li:last-child::after{
  content:none;
}
.biography_menu li.biography-title {
  cursor: default;
}
body.open .biography_menu,
html.open .biography_menu {
  z-index: 0 !important;
}
/* -----------------------------
   layout
------------------------------ */
.biography-list{
  display:flex;
  height:100vh;
  overflow:hidden;
}

/* left */
.biography-left{
  width:40%;
  height:100%;
  overflow:hidden;
  position:relative;
}

/* right */
.biography-right{
  width:60%;
  height:100%;
  overflow-y:auto;
  padding:40px;
  box-sizing:border-box;
  color:#fff;
}

/* -----------------------------
   panel
------------------------------ */
.bio-panel{
  display:none;
  width:100%;
  height:100%;
}

.bio-panel.active{
  display:flex;
}

/* -----------------------------
   content
------------------------------ */
.biography-right .content{
  width:100%;
}

.biography-right .title{
  font-size:24px;
}

.biography-right .subtitle{
  font-size:16px;
  line-height:1.8;
  margin-bottom:20px;
}


.biography-right .txt{
  font-size:16px;
  line-height:1.8;
  margin-bottom:20px;
  font-weight:300;
}

/* -----------------------------
   image / swiper
------------------------------ */
.biography-left img,
.swiper_bio,
.swiper_bio .swiper-wrapper,
.swiper_bio .swiper-slide{
  width:100%;
  height:100%;
}

.swiper_bio .swiper-slide img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  object-position:center center;
}

/* -----------------------------
   scrollbar
------------------------------ */
/*.biography-right::-webkit-scrollbar{
  width:6px;
}

.biography-right::-webkit-scrollbar-track{
  background:transparent;
}

.biography-right::-webkit-scrollbar-thumb{
  background:#111;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.15);
}

.biography-right::-webkit-scrollbar-thumb:hover{
  background:#000;
}

*/
/* Chrome / Safari / Edge */
.biography-right::-webkit-scrollbar {
  width: 6px; /* 太さ */
}

.biography-right::-webkit-scrollbar-track {
  background: transparent; /* 背景 */
}

.biography-right::-webkit-scrollbar-thumb {
  background: #111;        /* 黒 */
  border-radius: 10px;     /* 角丸 */
  border: 1px solid rgba(255,255,255,0.15); /* うっすら浮かせる */
}

/* ホバー時 */
.biography-right::-webkit-scrollbar-thumb:hover {
  background: #000;
}





/* ==================================
   SP
================================== */
@media (max-width:768px){

  .biography_menu{
    justify-content:center;
    margin:20px 0;
    font-size:15px;
    flex-wrap:wrap;
  }

  .biography-list{
    height:auto;
  }

  .bio-panel.active{
    display:flex;
    flex-wrap:wrap;
  }

  .biography-left,
  .biography-right{
    width:100%;
    height:auto;
  }

  .biography-left{
    height:50vh;
  }

  .biography-right{
    overflow:visible;
    padding:20px;
  }

  .biography-right .title{
    font-size:20px;
  }

  .biography-right .txt{
    font-size:14px;
  }

  .swiper_bio .swiper-slide img{
    object-fit:cover;
    object-position:center top;
  }

}
/* ==================================
   左だけフル画面 修正版
================================== */
@media (min-width:769px){

  .biography,
  .biography-list{
    overflow:visible;
  }

  .bio-panel.active{
    display:flex;
    align-items:stretch;
    width:100%;
    height:100vh;
  }

  /* 左：画面左半分いっぱい */
  .biography-left{
    flex:0 0 50vw;               /* 幅固定 */
    width:50vw;
    height:100vh;
    margin-left:calc(50% - 50vw);
    overflow:hidden;
    position:relative;
  }

  /* 右：残り全部 */
  .biography-right{
    flex:1 1 auto;
    width:auto;
    min-width:0;                /* ←重要 圧縮バグ防止 */
    height:100vh;
    overflow-y:auto;
  }

  /* 左画像 */
  .biography-left img,
  .swiper_bio,
  .swiper_bio .swiper-wrapper,
  .swiper_bio .swiper-slide,
  .swiper_bio .swiper-slide img{
    width:100%;
    height:100%;
    object-fit:contain; /* 必要ならcover */
    object-position:center;
  }

}
/* =========================
Contct
========================= */

.contact {
	margin: 0 auto 200px;
	padding: 0;
	width: 100%;
	max-width: 1000px;
	color: #fff;
	position: relative;
}
.contact h2 {
	text-align: center;
	font-size: 30px;
	margin-bottom: 100px;
	margin-top: 204px;
}
/* input文字色 */
.smf-form input,
.smf-form textarea,
.smf-form select {
  color: #fff;
}

/* プレースホルダーも白にする */
.smf-form input::placeholder,
.smf-form textarea::placeholder {
  color: rgba(255,255,255,0.6);
}

/* フォーカス時も維持 */
.smf-form input:focus,
.smf-form textarea:focus {
  color: #fff;
  outline: none;
}
/* 矢印アイコン */
.smf-form .smf-select-control__toggle::before,
.smf-form .smf-select-control__toggle:focus::before,
.smf-form .smf-select-control__toggle:focus-visible::before,
.smf-form .smf-select-control__toggle[aria-expanded="true"]::before {
  color: #fff;
}

/* セレクト本体のフォーカス青も消す */
.smf-form select:focus,
.smf-form .smf-select-control__toggle:focus {
  outline: none;
  border-color: #fff;
  box-shadow: none;
}
.smf-form .smf-select-control__toggle::before {
  color: #fff !important;
}
.smf-form .smf-text-control__control {
    background-color: transparent;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .035);
    max-width: 100%;
    padding: .75rem 1rem;
    border-radius: 0;
    border-color: #fff;

    border-radius: var(--_border-radius);
    outline: 0;
    --_transition-duration: var(--_global--transition-duration);
    --_transition-function-timing: var(--_global--transition-function-timing);
    --_transition-delay: var(--_global--transition-delay);
    transition: border var(--_transition-duration) var(--_transition-function-timing) var(--_transition-delay);
    border: 0;
    width: 100%;
color: #fff;
}
.smf-form .smf-select-control__control {
    appearance: none;
    background-color: transparent;
    cursor: pointer;
    display: inline-block;
    max-width: 100%;
    padding: .75rem 1rem;
    padding-right: var(--_s1);
    position: relative;
    z-index: 1;
    --_border-radius: var(--_global--border-radius);
    --_border-color: var(--_form-control-border-color);
    border: 0;
    border-radius: var(--_border-radius);
    outline: 0;
    --_transition-duration: var(--_global--transition-duration);
    --_transition-function-timing: var(--_global--transition-function-timing);
    --_transition-delay: var(--_global--transition-delay);
    transition: border var(--_transition-duration) var(--_transition-function-timing) var(--_transition-delay);
    width: 100% !important;
}
		
.smf-form--simple-table .smf-item {
  border-bottom: 0.1px solid rgba(255, 255, 255, 0.5);
}
.smf-form .smf-select-control {
    display: inline-block;
    position: relative;
    width: 100%;
}
.smf-form .smf-textarea-control__control {
    background-color: transparent;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .035);
    display: block;
    max-width: 100%;
    padding: .75rem 1rem;
    width: 100%;
    --_border-radius: var(--_global--border-radius);
    --_border-color: var(--_form-control-border-color);
    border: 0;
    border-radius: var(--_border-radius);
    outline: 0;
    --_transition-duration: var(--_global--transition-duration);
    --_transition-function-timing: var(--_global--transition-function-timing);
    --_transition-delay: var(--_global--transition-delay);
    transition: border var(--_transition-duration) var(--_transition-function-timing) var(--_transition-delay);
}


/* フォーカス時も強制 */
.smf-form .smf-select-control__toggle:focus::before,
.smf-form .smf-select-control__toggle[aria-expanded="true"]::before {
  border-top-color: #fff !important;
  border-right-color: #fff !important;
}

.smf-form .smf-select-control__toggle::before {
  border-color: #fff !important;
}
/* 動画を全面に敷く */
.mv-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 220px;
  object-fit: cover;
  margin-top: -100px;
}

.smf-item__label {
    padding: .75rem 1rem .75rem 0;
}
@media (max-width: 1060px) {
.contact {
	padding: 0 30px;
}
}

@media (max-width: 768px) {
.contact {
	padding: 0 15px;
}

.contact h2 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 60px;
    margin-top: 80px;
}
.smf-form .smf-text-control__control {
        padding: .2rem 0;
	}
.mv-video {
        position: static;
        width: 180px;
        height: 220px;
        object-fit: cover;
        margin-top: 0;
        margin: 0 auto;
        text-align: center;
        display: flex;
    }
.smf-form--simple-table .smf-item__col--label {
    padding-bottom: 10px;
	font-size: 16px;
}
.smf-form .smf-select-control__control {
    padding: .2rem 0;
	}
.smf-form .smf-textarea-control__control {
    padding: .2rem 0;
}
}

/* 必須*/
/* 必須マーク（Snow Monkey v8対応） */
.smf-item__label__text {
  position: relative;
}


.smf-item:has([data-validations~="required"]) .smf-item__label__text::after {
  content: "・";
  display: inline-block;
  margin-left: 6px;
  color: #e60023;
  font-size: 16px;
  font-weight: bold;
}
/* select本体（閉じてる時） */
.smf-form select {
  -webkit-appearance: none;
  appearance: none;

  background: #000 !important;
  color: #fff !important;
  border: 1px solid #ccc;
}
/* focus（クリック・開いてる時も黒維持） */
.smf-form select:focus,
.smf-form select:active {
  background: #000 !important;
  color: #fff !important;
}
/* optionリスト */
.smf-form select option {
  background: #fff;
  color: #000;
}
.smf-form input[type="email"],
.smf-form input[type="text"],
.smf-form input[type="tel"],
.smf-form textarea {
  background: #000 !important;
  color: #fff !important;
  border: none;
}

/* autofill対策（ここが本体） */
.smf-form input:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 0 0px 1000px #000 inset !important;
  transition: background-color 9999s ease-in-out 0s;
}

.smf-item__description {
  font-size: 11px;
  opacity: 0.6;
  margin-top: 2px;
  line-height: 1.4;
  color: rgba(255,255,255,.9) !important;
  opacity: 1!important;
}

/* swiper */
.swiper_works {
    opacity: 0;
 transition: opacity .9s;
}

.swiper_works.is-ready {
    opacity: 1;
}

