@charset "utf-8";
:root {
  --dark: #000;
  --black: #333;
  --light: #666;
  --white: #fff;
  --blue: #4184F3;
  --gray: #e6e6e6;
  --orange: #ffae00;
  --about: #5585B4;
  --menu: #7CD9A4;
  --staff: #F5C1F7;

  --shadow: 0 1px 5px rgba(104, 104, 104, 0.8);
}



/* 各セクションの外枠 */
/* 各セクション間の余白 */
.section-wrap {
  padding-bottom: 120px;
}
/* 各セクションの横幅を制限する囲み */
.section-box {
  width: 100vw;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* トップ画像 */
.img-container {
  width: 100%;
}
.img-container .img {
  width: 100%;
  padding-top: 133%;
}





/* 英字タイトル */
.eg-title {
  width: 100%;
  font-family: canada-type-gibson, sans-serif;
  font-weight: 400;
  font-style: normal;
}
.eg-title li {
  display: flex;
  justify-content: space-between;
  list-style-type: none;
  line-height: 1;
  text-transform: uppercase;
}

/* about英字エリア */
.eg-title-about .li-top  {
  font-size: clamp(37px, 12vw, 57px);
}
.eg-title-about .li-center,
.eg-title-about .li-bottom{
  font-size: clamp(56px, 15vw, 76px);
}
.eg-title-about .li-center {
  color: #5585B4;
}

 /* menu英字エリア */
.eg-title-menu .li-top {
  font-size: clamp(37px, 12vw, 57px);
}
.eg-title-menu .li-center {
  font-size: clamp(58px, 17vw, 78px);
}
.eg-title-menu .li-center {
  color:#7CD9A4;
}
.eg-title-menu .li-bottom {
  font-size: clamp(54px, 14vw, 74px);
}

/* staff英字エリア */
.eg-title-staff .li-top {
  font-size: clamp(37px, 12vw, 57px);
}
.eg-title-staff .li-center {
  font-size: clamp(56px, 15vw, 76px);
  color: #F5C1F7;
}
.eg-title-staff .li-bottom {
  font-size: clamp(35px, 10vw, 57px);
}





/*コンテンツエリア */

.text-box {
 text-align: center;
 padding-bottom: 40px;
}
.jp-title {
  font-size: 2.4rem;
  display: inline-block;
  position: relative;
  padding-top: 8px;
}
.jp-title::before {
  content: "";
  position: absolute;
  border-bottom: 2px solid #5585B4;
  top: 0;
  left: 0;
  right: 0;
}
.eg-title {
  font-size: 2.4rem;
  padding-bottom: 8px;
  font-family: canada-type-gibson, sans-serif;
font-weight: 400;
font-style: normal;
letter-spacing: 0.05em;
}
.article {
  letter-spacing: 1px;
  padding:35px 0 35px;
}

/* コンテンツエリア画像 */

.img-box .img {
  width: 60%;
  padding-top: 60%;
  margin: 0 auto 16px;
  
}



/* 開閉アコーディオンボックス */
.accordion-content {
  list-style: none;
}

.accordion-content-box {
  padding: 24px 8px 24px;
  max-width: 100%;
  border-radius: 3px;
}
/* 各アコーディオンセクションのタイトル */
.accordion-title-eg {
display: inline-block;
font-size: 2rem;
font-family: canada-type-gibson, sans-serif;
font-weight: 200;
font-style: normal;
letter-spacing: 0.05em;
line-height: 1.5;
}

/* 開閉ボタン・バツ印 */
/* jsと連動・名前変更注意 */
.read {
  position: relative;
  text-align: right;
  padding: 0px 24px 8px 0px;
  cursor: pointer;
  font-size: 1.7rem;
  letter-spacing: 0.05em;
  border-top: 1px solid  var(--about);
  transition: all .5s ease;
}
.read::before {
  position: absolute;
  content: "";
  width: 15px;
  height: 2px;
  top: 30%;
  right: 0;
  transform: rotate(0deg);
  background-color: var(--orange);
}

.read::after {
  position: absolute;
  content: "";
  width: 15px;
  height: 2px;
  top: 30%;
  right: 0;
  transform: rotate(90deg);
  background-color: var(--about);
} 

/* JSで.closeがついたら変化 */
.read.close::before {
  transform: rotate(45deg);
}
.read.close::after {
  transform: rotate(-45deg);
} 
/* ここから開閉 */
.box {
  display: none;
}
.box-inside {
  padding: 32px 0 48px;
} 

/* アコーディオンボックス画像 */
.accordion-img-box {
  width: 60%;
  margin: 0 auto;
 }
 .accordion-img-box .img {
   width: 100%;
   padding-top: 100%;
 }

/* アコーディオン・テキスト */
.accordion-text-box {
  letter-spacing: 1px;
  padding:32px 0 0px;
}
.intro {
  padding-bottom: 32px;
  font-weight: bold;
}





@media screen and (min-width: 835px) {

/* 開閉ボタン・バツ印 */
/* jsと連動・名前変更注意 */
.read {
  border-bottom: none;
}
/* 開閉アコーディオンボックス */
/* jsと連動・名前変更注意 */
.box-inside {
  display: flex;
  gap: 40px;
}
/* アコーディオンボックス画像 */
.accordion-img-box {
 width: 40%;
}

.accordion-text-box {
  width: 60%;
  display: block;
  padding-top:0;
}
  

  /* コンテンツエリア */
  .grid-box {
    display: grid;
    grid-template-columns: 10% 40% 40% 10%;
    grid-template-rows: auto;
  }
  .text-box {
    grid-column: 3/4;
    grid-row: 1/2;
    text-align: left;
  }
  .img-box {
     grid-column: 2/3;
     grid-row: 1/2;
  }
  .img-box .img {
  width: 50%;
  padding-top: 50%;

  }
  

  /* トップ背景画像 */
  .about-bg {
    /* width: 90vw; */
    height: 100vh;
    /* margin: 0 auto; */
    background-image: url(../img/design/about-top.jpg) ;
 background-position: middle;
 background-size: cover;
  }
 
  .variable-box-common {
    display: grid;
    grid-template-columns: 30% 30% 40%;
    grid-template-rows: 50% 50%;
    height: 100vh;
   } 


   /* 画像 */
   .img-box-common {
    display: none;
  }
  /* 文字の白背景 */
.bg-title {
  background-color: rgb(235, 235, 235, 0.8);
  padding: 32px;
}

   .about .eg-title {
    grid-column: 3/4;
    grid-row: 2/3;
   }

/* about英字エリア */
.eg-title-about .under-line {
  width: 100%;
  height: 3px;
  margin-top: 20px;
  background-color: var(--white);
}

.eg-title-about .li-top  {
  font-size: clamp(27px, 2vw, 47px);
  color: var(--white);
}
.eg-title-about .li-center,
.eg-title-about .li-bottom{
  font-size: clamp(46px, 5vw, 66px);
  color: var(--white);
}
.eg-title-about .li-center {
  /* color: #5585B4; */
  color: var(--white);
}

}



/* ipad縦用*/
@media screen and (min-width: 1023px) and (orientation: portrait) {
  .wrap {
    overflow-x: hidden;
  }
  .about-bg {
   height: 60vh;
    background-image: url(../img/design/about-top.jpg) ;
    background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  }
   
  .variable-box-common {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 50% 50%;
    height: 60vh;
   } 
  .about .eg-title {
    grid-column: 2/-1;
    grid-row: 2/-1;
   }

}
