/* 個々のパーツのスタイル指定
ページごとの個別cssファイル設定は控える
原則としてhtmlルールで述べたid（html, section）が付くセレクタで指定する */

/* ■■■■■■ Header（#header） ■■■■■■ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--white);
}
#header .section__inner {
  padding: 2.8rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header .header__logo {
  max-width: 278px;
}
#header .header__logo img {
  width: 100%;
  height: auto;
  max-width: 100%;
}
#header .header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem 0;
  flex-wrap: wrap;
}
#header .header__nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
}
#header .header__nav-item a {
  font-family: var(--font-family-inter);
  font-weight: bold;
  line-height: 1.1875;
  padding: 0 3.2rem;
  border-right: 1px solid var(--black);
}
#header .header__nav-item:last-child a {
  border-right: none;
}

#header .header__nav-btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-family-inter);
  font-weight: bold;
  line-height: 1.1875;
  padding: 1rem 3rem;
  border-radius: 50px;
  background-color: var(--red);
  border: 2px solid var(--red);
  color: var(--white);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
#header .header__nav-btn a:after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  transform: rotate(45deg);
  transition: border-color 0.3s ease-in-out;
}
#header .header__nav-btn a:hover {
  background-color: var(--white);
  color: var(--red);
}
#header .header__nav-btn a:hover:after {
  border-top: 2px solid var(--red);
  border-right: 2px solid var(--red);
}
#header .header__btn {
  width: 4rem;
  height: 3.6rem;
  position: relative;
  display: none;
}
#header .header__btn .bar {
  display: block;
  width: 100%;
  height: 0.2rem;
  background-color: var(--black);
  transition: background-color 0.3s ease-in-out;
  position: absolute;
  transition: transform 0.3s ease-in-out;
}
#header .header__btn .bar:nth-child(1) {
  top: 0;
  transform-origin: left top;
}
#header .header__btn .bar:nth-child(2) {
  top: 0.8rem;
}
#header .header__btn .bar:nth-child(3) {
  top: 1.6rem;
  transform-origin: left bottom;
}
#header .header__btn .text {
  font-family: var(--font-family-poppins);
  font-size: 1.2rem;
  color: var(--black);
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  line-height: 1;
}
#header .header__btn .text.menu {
  display: block;
}
#header .header__btn .text.close {
  display: none;
}
@media (max-width: 767px) {
  #header .section__inner {
    padding: 2.3rem 0;
  }
  #header .header__logo {
    max-width: 264px;
  }
  #header .header__nav {
    display: none;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 7.8rem;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 0.8rem 2rem 6.4rem;
    z-index: 100;
    gap: 6.4rem;
  }
  #header .header__nav-list {
    width: 100%;
    flex-direction: column;
    gap: 0;
  }
  #header .header__nav-item {
    width: 100%;
  }
  #header .header__nav-item a {
    display: block;
    font-size: 4rem;
    color: var(--red);
    line-height: 1;
    padding: 2.4rem 0;
    border-right: none;
    border-bottom: 1px dashed var(--black);
  }
  #header .header__nav-btn {
    width: 100%;
  }
  #header .header__nav-btn a {
    padding: 2.2rem 1rem;
  }
  #header .header__btn {
    display: block;
  }
  #header.is-open .header__nav {
    display: flex;
  }
  #header.is-open .header__btn .bar {
    width: 120%;
  }
  #header.is-open .header__btn .bar:nth-child(1) {
    transform: rotate(20deg);
  }
  #header.is-open .header__btn .bar:nth-child(2) {
    opacity: 0;
  }
  #header.is-open .header__btn .bar:nth-child(3) {
    transform: rotate(-20deg);
  }
  #header.is-open .header__btn .text.menu {
    display: none;
  }
  #header.is-open .header__btn .text.close {
    display: block;
  }
}

/* ■■■■■■ MV（#mv） ■■■■■■ */
#mv {
  position: relative;
  /* margin-top: 99px; */
}
#mv::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 47.847222vw;
  height: 100%;
  background: url('../img/mv_bg.png') no-repeat center right / contain;
}
#mv .mv__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4.1rem;
  max-width: 1440px;
  padding: 5.7rem 0 8.5rem;
  margin: 0 auto;
}
#mv .mv__image {
  width: 49.3%;
  max-width: 710px;
}
#mv .mv__image img {
  width: 100%;
  height: auto;
  max-width: 100%;
}
#mv .mv__contents {
  width: calc(100% - 49.3% - 4.1rem);
  padding-left: 4.8rem;
  padding-right: 2rem;
  position: relative;
}
#mv .mv__logo {
  width: 100%;
  margin-bottom: 2.8rem;
}
#mv .mv__title-en {
  font-family: var(--font-family-poppins);
  font-size: 3.314rem;
  font-weight: 600;
  line-height: 1;
  color: var(--red);
  margin-bottom: 2.5rem;
}
#mv .mv__title-jp {
  margin-bottom: 4.8rem;
}
#mv .mv__title-jp img {
  width: 100%;
  height: auto;
  max-width: 468px;
}
#mv .mv__text {
  font-size: 2.6rem;  
  font-weight: bold;
  line-height: 1.84615;
  color: var(--black);
}
@media (max-width: 767px) {
  #mv {
    overflow: hidden;
  }
  #mv::before {
    width: 83vw;
    transform: translate(21%, 0%);
  }
  #mv .mv__inner {
    padding: 0;
    flex-direction: column;
    gap: 0;
  }
  #mv .mv__image {
    width: 100%;
  }
  #mv .mv__contents {
    width: 100%;
    padding: 6.4rem 2rem 8rem;
  }
  #mv .mv__logo {
    margin-bottom: 2rem;
  }
  #mv .mv__logo img {
    max-width: 52px;
  }
  #mv .mv__title-en {
    font-size: 2.4rem;
    margin-bottom: 2rem;
  }
  #mv .mv__title-jp {
    margin-bottom: 2.4rem;
  }
  #mv .mv__text {
    font-size: 1.6rem;
  }
}

/* ■■■■■■ Slider（#slider） ■■■■■■ */
#slider .slider__inner {
  display: flex;
  align-items: center;
  overflow: hidden;
  flex-direction: row;
}
#slider .slider__list {
  padding-top: 10.2rem;
  display: flex;
  align-items: center;
  gap: 3.2rem;
  animation: scrolling 30s linear infinite;
  padding-right: 3.2rem;
  flex-shrink: 0;
}
#slider .slider__list > *  {
  flex: 0 0 auto;
}
@keyframes scrolling {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
#slider .slider__item {
  flex-shrink: 0;
}
#slider .slider__item.--image {
  max-width: 147px;
}
#slider .slider__item.--text {
  max-width: 380px;
}
#slider .slider__item img {
  width: 100%;
  height: auto;
  max-width: 100%;
}
@media (max-width: 767px) {
  #slider .slider__list {
    padding-top: 0;
  } 
  #slider .slider__item.--image {
    max-width: 72px;
  }
  #slider .slider__item.--text {
    max-width: 211px;
  }
}


/* ■■■■■■ About（#about） ■■■■■■ */
#about{
  overflow:hidden;
}
#about .about__inner {
  padding-bottom: 6.4rem;
}
#about .about__title{
  padding-top: 80px;
  color: var(--red);
  font-size: 6.4rem;
  font-weight: bold;
  line-height: 1.125;
  /* 1.125=72/65 */
}
#about .about__h2{
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 1.75;
  /* 1.75=56/32 */
}
#about .about__honbun{
  padding-top: 24px;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.8;
  /* 1.8=28.8/16 */
}
#about .about__midashi{
  display: flex;
  justify-content: space-between;
  padding-top: 80px;
  gap: 15px;
}
#about .about__set{
  width: 539px;
}
#about .about__mountain{
  width: 399px;
  height: auto;
  max-width: 100%;
  flex-shrink: 1;
}
#about .about__img{
  padding-top: 24px;
  padding-bottom: 24px;
  
  /* margin: 0 auto; */
}
#about .about__twopic{
  position: relative;
  display: flex;
  justify-content: space-between;
  z-index: 2;
  /* margin-left: -82.333px !important;
  margin-right: -82.333px !important; */
  /* width: 100vw; */
  
}
#about .about__men{
  width: 202.95px;
  height: 125.5px;
  transform: translateX(40px);
  /* margin-left: 955px;
  margin-right: 0px;
  padding-right: 0px; */
}
#about .about__husen{
  width: 161.85px;
  height: 100px;
  margin-top: 120px;
  transform: translateX(-40px);
}
#about .about__teikyou{
  width: 100%;
  margin-top: -130.66px;
}
#about .about__scroll{
  max-width: 1161px;
}
#about .about__intro{
  padding-top: 64px;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1;
}
#about .about__threepng{
  display: flex;
  padding-top: 40px;
  padding-bottom: 24px;
  justify-content: space-between;
  gap: 16px;
}
#about .about__slidpng{
  display: none;
}

#about .about__threepng img{
  width: 354px;
  height: auto;
  
  
}
/* #about .about__tatemono{
  width: 354px;
}
#about .about__desk{
  width: 354px;
}
#about .about__room{
  width: 354px;
} */
#about .about__red{
  background-color: var(--red);
  border-radius: 6px;
  color: var(--white);
  width: 100%;
}
#about .about__unei{
  font-size: 2.4rem;
  line-height: 1;
  font-weight: bold;
  padding-top: 48px;
  padding-bottom: 40px;
  text-align: center;
}
#about .about__logos{
  display: flex;
  gap: 16px;
  margin-left: 32px;
  margin-right: 32px;
  padding-bottom: 48px;
}
#about .about__pclogopng1, .about__pclogopng2, .about__pclogopng3, .about__pclogopng4{
  width: 247px;
  height: auto;
  max-width: 100%;    
  flex-shrink: 1;     /* 縮小可能 */ 
}
#about .about__pclogo1, .about__pclogo2, .about__pclogo3, .about__pclogo4{
  width: 247px;
  height: auto;
  max-width: 100%;  
  flex-shrink: 1;     /* 縮小可能 */ 
}
#about .about__logotitle{
  font-size: 1.6rem;
  line-height: 2;
  font-weight: bold;
  padding-top: 16px;
  padding-bottom: 8px;
}
#about .about__logotitle3{
  line-height:1.5 ;
}
#about .about__logotext{
  font-size: 1.4rem;
  line-height: 1.8;
  /* font-weight:; */
}
@media screen and (max-width: 1100px) {
  /* #about .about__pclogopng1, .about__pclogopng2, .about__pclogopng3, .about__pclogopng4{
    width: 170px;
  } */
}
@media screen and (max-width:767px){
  #about .about__title{
  padding-top: 32px;
  font-size: 3rem;
  line-height: 1.6;
  }
  #about .about__h2{
    font-size: 2rem;
    line-height: 1.8;
  }
  #about .about__honbun{
    padding-top: 16px;
    font-size: 1.4rem;
    line-height: 1.8;   
  }
  #about .about__midashi{
    display:block;
    padding-top: 32px;
    /* width: 537px; */
  }
  #about .about__set{
    width: 100%;
  }
  #about .about__mountain{
    margin-top: 40px;
    /* width: 335.02px; */
    width: 100%;
    height: auto;
  }
  #about .about__img{ 
    padding-top: 0px;
    padding-bottom: 24px;
    /* margin: 0 auto; */
  }
  #about .about__twopic{
    display: flex;
    justify-content: flex-start;
    justify-content: space-between;
    margin-left: 0px !important;
    margin-right: 0px !important;
    padding-top: 12px;
    gap: 11px;
    width: 100%;
  }
  #about .about__men{
    width: 161.85px;
    /* height: 100px; */
    width: 100%;
    height: auto;
    transform: translateX(0px);
  }
  #about .about__husen{
    /* width: 161.85px;
    height: 100px; */
    width: 100%;
    height: auto;
    margin-top: 0px;
    transform: translateX(0px);

  }
  #about .about__scroll{
    
    overflow-x: auto; 
    /* margin-left: -21.760px;
    margin-right: -21.760px; */
    /* margin:0 calc(100% - 100vw); */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  #about .about__teikyou{
    max-width: none;    /* 自動縮小を防ぐ */
    min-width: 1000px;
    margin-top: 0px;
    padding-top: 48px;
    /* margin:0 calc(100% - 100vw);  */
  }
  #about .about__intro{
    padding-top: 64px;
    font-size: 1.6rem;
    line-height: 1.5;
  }
  #about .about__threepng{
    display: flex;
    padding-top: 24px;
    padding-bottom: 24px;
    justify-content: space-between;
    width: max-content;   
    gap: 8px;
    animation: aboutSlide 15s linear infinite;
  }

  #about .about__threepng img{
    width: 210px;
    flex: 0 0 min(355px, 56vw);
    height: auto; 
  }
  /* #about .about__tatemono{
    width: 354px;
  }
  #about .about__desk{
    width: 354px;
  }
  #about .about__room{
    width: 354px;
  } */
  #about .about__slidpng{
    display: block;
  }
  #about .about__slid{
    margin-top: 0;
    margin-bottom: 0;
    /* margin-left: -21.760px;
    margin-right: -21.760px;  */
    /* width: 100%; */
    margin:0 calc(100% - 100vw);

    gap: 8px;
    overflow: hidden;
  }
  /* スライド本体 */

  /* 1.5枚表示にする */
  /* #about .about__threepng img{
    flex-shrink: 0;
  } */

  @keyframes aboutSlide{
    from{
      transform: translateX(0);
    }
    to{
      transform: translateX(-50%);
    }
  }
  #about .about__red{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #about .about__unei{
  
  }
  #about .about__logos{
    margin: 0px;
    padding-left: 20px;
    padding-right: 20px;
    display: block;
  }
  #about .about__logos img{
    width: 100%;
    /* max-width: 100%;  */
    flex-shrink: 1;     /* 縮小可能 */
  }
  #about .about__pclogopng1{
    content: url("../img/about_mobilogo1.png");
  }
  #about .about__pclogopng2{
    content: url("../img/about_mobilogo2.png");
  }
  #about .about__pclogopng3{
    content: url("../img/about_mobilogo3.png");
  }
  #about .about__pclogopng4{
    content: url("../img/about_mobilogo4.png");
  }
  #about .about__pclogo1, .about__pclogo2, .about__pclogo3, .about__pclogo4{
    width: 100%;
  }
  #about .about__pclogo1, .about__pclogo2, .about__pclogo3{
    padding-bottom: 24px;
  }
  #about .about__logotitle{
    font-size: 1.343rem;
    line-height: 2;
    padding-top: 8.95px;
    padding-bottom: 4.48px; 
  }
  #about .about__logotext{
    font-size: 1.343rem;
    line-height: 1.7;
  }
}

/* ■■■■■■ Project（#project） ■■■■■■ */
#project {
  background: url('../img/project_bg@2x.jpg') no-repeat center center / cover;
}
#project .project__inner {
  padding-bottom: 9.3rem;
}
#project .project__container {
  background-color: var(--white);
  padding: 4.8rem 6.4rem;
  border-radius: 6px;
}
#project .project__title {
  padding-left: 0;
  text-align: center;
  margin-bottom: 4.8rem;
}
#project .section__title::before {
  display: none;
}
#project .project__contents {
  display: flex;
  justify-content: space-between;
}
#project .project__text {
  width: 48%;
}
#project .project__text p {
  font-weight: bold;
  line-height: 2;
}
#project .project__text p + p {
  margin-top: 1.6rem;
}
#project .project__image {
  width: 47.82%;
}
#project .project__image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 4px;
}
@media (max-width: 767px) {
  #project {
    background: url('../img/project_bg-sp@2x.jpg') no-repeat center center / cover;
  }
  #project .project__inner {
    padding-top: 6.4rem;
    padding-bottom: 6.4rem;
  }
  #project .project__container {
    padding: 3.2rem;
  }
  #project .project__title {
    margin-bottom: 2.4rem;
  }
  #project .project__contents {
    flex-direction: column;
    gap: 2.4rem;
  }
  #project .project__text {
    width: 100%;
  }
  #project .project__text p {
    font-size: 0.875em;
    line-height: 1.8;
  }
  #project .project__image {
    width: 100%;
  }
  #project .project__image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 2.333px;
  }
}

/* ■■■■■■ News（#news） ■■■■■■ */
#news {
  background-color: var(--black);
}
#news .news__inner {
  display: flex;
  justify-content: space-between;
  gap: 2.4rem;
}
#news .news__contents {
  width: 189px;
  flex-shrink: 0;
}
#news .news__title {
  font-size: 3.6rem;
  font-weight: bold;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 2.4rem;
}
#news .news__button.pc_only  {
  display: block;
}
#news .news__button.sp_only {
  display: none;
}
#news .news__button a {
  font-weight: bold;
  font-size: 1.4rem;
  color: var(--red);
  background-color: var(--beige);
  padding: 1.1385rem 1.6rem;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
#news .news__button a::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--red);
  border-right: 2px solid var(--red);
  transform: rotate(45deg);
  transition: border-color 0.3s ease-in-out;
}
#news .news__button a:hover {
  background-color: var(--red);
  color: var(--white);
}
#news .news__button a:hover::after {
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
}
#news .news__list {
  width: 74.545%;
}
#news .news__item {
  padding-bottom: 2.4rem;
  border-bottom: 1px dashed var(--white);
  margin-top: 2.4rem;
}
#news .news__item a:hover .news__item-title {
  color: var(--red);
}
#news .news__item:first-child {
  margin-top: 0;
}
#news .news__item-date {
  font-family: var(--font-family-inter);
  color: var(--white);
  margin-bottom: 0.8rem;
}
#news .news__item-title {
  font-weight: bold;
  color: var(--white);
  position: relative;
  transition: color 0.3s ease-in-out;
  padding-right: 2.4rem;
}
#news .news__item-title::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  transition: border-color 0.3s ease-in-out;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
@media (max-width: 767px) {
  #news .news__button.pc_only {
    display: none;
  }
  #news .news__button.sp_only {
    display: block;
  }
  #news .news__button a {
    padding: 1.94rem;
  }
  #news .news__inner {
    padding-top: 6.4em;
    padding-bottom: 6.4rem;
    flex-direction: column;
  }
  #news .news__contents {
    width: 100%;
  }
  #news .news__title {
    font-size: 2.4rem;
  }
  #news .news__list {
    width: 100%;
    margin-bottom: 2.4rem;
  }
  #news .news__item-date {
    font-size: 1.4rem;
  }
  #news .news__item-title {
    font-size: 1.4rem;
  }
}
/* ■■■■■■ Access（#access） ■■■■■■ */
#access .access__inner {
  display: flex;
  justify-content: space-between;
}
#access .access__contents {
  width: 36.3636%;
}
#access .access__title {
  margin-bottom: 2.4rem;
}
#access .access__image {
  margin-bottom: 1.6rem;
  max-width: 260px;
}
#access .access__image img {
  width: 100%;
  height: auto;
}
#access .access__info {
  font-size: 1.4rem;
  line-height: 1.7857;
}
#access .access__map {
  width: 61.795%;
}
#access .access__map iframe {
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 680/422;
}
@media (max-width: 767px) {
  #access .access__inner {
    flex-direction: column;
    gap: 2.4rem;
    padding-top: 6.4rem;
    padding-bottom: 6.4rem;
  }
  #access .access__contents {
    width: 100%;
  }
  #access .access__title {
    margin-bottom: 2.4rem;
  }
  #access .access__image {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.6rem;
  }
  #access .access__info {
    font-size: 1.2rem;
    line-height: 1.8;
  }
  #access .access__map {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
  }
  #access .access__map iframe {
    height: 112.533vw;
  }
}

/* ■■■■■■ Footer（#footer） ■■■■■■ */
#footer {
  background-color: var(--black);
}
#footer .footer__inner {
  padding: 8rem 0;
}
#footer .footer__logo {
  text-align: center;
  max-width: 389px;
  margin: 0 auto 6.4rem;
}
#footer .footer__logo img {
  width: 100%;
  height: auto;
  max-width: 100%;
}
#footer .footer__links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 6.4rem;
}
#footer .footer__link img {
  width: 100%;
  height: auto;
  max-width: 100%;
}
#footer .footer__copyright {
  font-size: 1.2rem;
  color: var(--white);
  text-align: center;
}
@media (max-width: 767px) {
  #footer .footer__inner {
    padding: 6.4rem 0;
  }
  #footer .footer__logo {
    max-width: 260px;
    margin: 0 auto 3.2rem;
  }
  #footer .footer__links {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 3.2rem;
  }
}
/* アニメーション */
.fadeup {
  opacity: 0;
}
.anim-box.fadeup.is-animated {
  animation: fadeup 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
@keyframes fadeup {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-title {
  display: inline-block;
  overflow: hidden;
}
.fade-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: 
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-title.is-animated span {
  opacity: 1;
  transform: translateY(0);
}

.fadeup-list {
  opacity: 0;
  transform: translateY(30px);
  transition: 
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fadeup-list.is-animated {
  opacity: 1;
  transform: translateY(0);
}

.fadeup-item {
  opacity: 0;
  transform: translateY(30px);
  transition: 
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fadeup-item.is-animated {
  opacity: 1;
  transform: translateY(0);
}