@charset "utf-8";
/*  idea.css
---------------------------------------------- */

/*  pc
---------------------------------------------- */
/*-------- idea-block --------*/
.idea-block {
  display: grid;
  /* 画面端の余白 / 文章 / 中央の余白 / 画像（画面端まで）
     中央の余白を画面中央に置き、左右反転のブロックと境界を共有させる */
  grid-template-columns: max(3%, calc(47.4% - 560px)) minmax(0, 560px) 5.2% 47.4%;
  align-items: center;
  margin-bottom: 100px;
  overflow: hidden;
}
.idea-block_txt {
  grid-row: 1;
  grid-column: 2;
}
.idea-block_img {
  grid-row: 1;
  grid-column: 4;
}
.idea-block-rev {
  grid-template-columns: 47.4% 5.2% minmax(0, 560px) max(3%, calc(47.4% - 560px));
}
.idea-block-rev .idea-block_txt {
  grid-column: 3;
}
.idea-block-rev .idea-block_img {
  grid-column: 1;
}
.idea-block_img img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/*-------- approach-detail --------*/
#approach-detail {
  padding-bottom: 100px;
}
.idea-subhead {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 60px;
}
.idea-subhead::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: #d8d3cc;
}
.num-list {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  margin-top: 25px;
}
.num-list_item {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  gap: 12px;
  max-width: 280px;
  min-height: 78px;
  background: linear-gradient(to top right, #f6f1e8 0%, #fdfcfa 100%);
}
.num-list-3 .num-list_item {
  max-width: none;
}
.num-list_item .num {
  position: relative;
  top: -6px;
  flex: 0 0 auto;
  width: 72px;
  text-align: right;
  color: #b19e72;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 5.2rem;
  line-height: 1;
}
.num-list_item p {
  position: relative;
  padding-left: 13px;
  line-height: 1.8;
}
.num-list_item p::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 35px;
  transform: translateY(-50%);
  background: #e2ddd7;
}
.spread-list {
  display: flex;
  gap: 20px;
  margin-top: 25px;
}
.spread-list_item {
  width: calc((100% - 20px) / 2);
  padding: 20px 0 30px;
  background: #fff;
}
.spread-list_img {
  margin-top: 25px;
}
.spread-list_img img {
  width: 100%;
  height: auto;
}

/*-------- vision --------*/
#vision {
  padding-bottom: 120px;
}
#vision .vision-img {
  margin-top: 50px;
}
#vision .vision-img img {
  width: 100%;
  height: auto;
}

/*-------- practice --------*/
.practice-wrap {
  background: #fff;
  padding: 100px 0;
}
#practice .practice-cont {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}
#practice .practice-cont_txt {
  flex: 0 0 auto;
  width: 46%;
}
#practice .practice-cont_img {
  flex: 1 1 auto;
  min-width: 0;
}
#practice .practice-cont_img img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
#practice .practice-saki {
  margin-top: 70px;
  padding: 45px 40px 55px;
  background: #f2efe9;
}
#practice .practice-saki_ttl {
  text-align: center;
  line-height: 1.6;
}
#practice .practice-saki_list {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 35px;
}
#practice .practice-saki_item {
  /* gap 120px と左右の余白 230px を引いた幅 */
  width: calc((100% - 350px) / 3);
  text-align: center;
}
#practice .practice-saki_icon img {
  width: 80px;
  height: auto;
}
#practice .practice-saki_head {
  margin-top: 20px;
  line-height: 1.6;
  text-align: center;
}
#practice .practice-saki_txt {
  margin-top: 12px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  text-align: center;
}

/*-------- commitment --------*/
#commitment {
  padding: 100px 0 120px;
}
#commitment .sdgs-about {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  padding: 35px 45px;
  background: #fff;
}
#commitment .sdgs-about_logo {
  flex: 0 0 auto;
  width: 200px;
}
#commitment .sdgs-about_logo img {
  width: 100%;
  height: auto;
}
#commitment .sdgs-about_ttl {
  line-height: 1.6;
}
#commitment .sdgs-about_txt p {
  margin-top: 12px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.9;
}
#commitment .sdgs-item {
  margin-top: 50px;
}
#commitment .sdgs-item_ttl {
  position: relative;
  padding: 12px 50px 12px 20px;
  border-left: 4px solid #385874;
  border-bottom: 1px solid #385874;
  cursor: pointer;
}
/* 十字（30×30）。開くと縦線が横線に重なって「−」になる */
#commitment .sdgs-item_ttl::before,
#commitment .sdgs-item_ttl::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 30px;
  height: 1px;
  background: #385874;
  transition: transform 0.3s;
}
#commitment .sdgs-item_ttl::before {
  transform: translateY(-50%);
}
#commitment .sdgs-item_ttl::after {
  transform: translateY(-50%) rotate(90deg);
}
#commitment .sdgs-item_ttl.open::after {
  transform: translateY(-50%) rotate(0);
}
#commitment .sdgs-item_body {
  display: none;
}
#commitment .sdgs-item_cont {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 25px;
}
#commitment .sdgs-item_lead {
  flex: 1 1 auto;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.9;
}
#commitment .sdgs-item_icon {
  flex: 0 0 auto;
  width: 42%;
}
#commitment .sdgs-item_icon img {
  width: 100%;
  height: auto;
}
#commitment .sdgs-item_icon-6 img {
  width: calc(100% / 7 * 6);
}
#commitment .sdgs-item_box {
  margin-top: 25px;
  padding: 25px 35px 30px;
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.9;
}
#commitment .sdgs-item_list {
  margin-top: 8px;
}
#commitment .sdgs-item_list li {
  padding-left: 1em;
  text-indent: -1em;
}
#commitment .sdgs-item_list li::before {
  content: "・";
}
#commitment .sdgs-btn_list {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
}
#commitment .sdgs-btn {
  width: 100%;
  height: 70px;
}
#commitment .sdgs-btn_list li {
  width: calc((100% - 60px) / 3);
}

/*-------- principles --------*/
.principles-wrap {
  background: #fff;
  padding: 100px 0 120px;
}
#principles {
  text-align: center;
}
#principles .principles-sub {
  margin-top: 30px;
  line-height: 1.6;
  text-align: center;
}
#principles .principles-list {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 60px;
}
#principles .principles-item01 {
  --accent: #f0a72c;
}
#principles .principles-item02 {
  --accent: #2bc0c0;
}
#principles .principles-item03 {
  --accent: #5688c7;
}
#principles .principles-item {
  position: relative;
  width: calc((100% - 80px) / 3);
  padding-bottom: 25px;
  border-bottom: 1px solid var(--accent);
}
#principles .principles-item::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
}
#principles .principles-item_mark {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 96px;
  height: 96px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  line-height: 1;
  text-align: center;
}
#principles .principles-item_txt {
  margin-top: 25px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 2;
  text-align: center;
}

/*  sp
---------------------------------------------- */
@media only screen and (max-width: 959px) {
  /*-------- idea-block --------*/
  .idea-block {
    display: block;
    margin-bottom: 60px;
  }
  .idea-block_txt,
  .idea-block-rev .idea-block_txt {
    width: 90%;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
  }
  .idea-block_img {
    width: 90%;
    margin: 30px auto 0;
  }

  /*-------- approach-detail --------*/
  #approach-detail {
    padding-bottom: 60px;
  }
  .idea-subhead {
    gap: 12px;
    margin-top: 40px;
  }
  .num-list {
    display: block;
    margin-top: 15px;
  }
  .num-list_item {
    max-width: none;
    min-height: 65px;
    padding-left: 12px;
  }
  .num-list_item + .num-list_item {
    margin-top: 8px;
  }
  .num-list_item .num {
    width: auto;
    font-size: 7rem;
  }
  .num-list_item p {
    flex: 1 1 auto;
    padding-right: 13px;
    text-align: center;
  }
  .spread-list {
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
    margin-top: 15px;
  }
  .spread-list_item {
    width: auto;
    padding: 15px 0 20px;
  }
  .spread-list_img {
    margin-top: 15px;
  }

  /*-------- vision --------*/
  #vision {
    padding-bottom: 70px;
  }
  /* 画像を縮小せず横スワイプで見せる。
     rotateX で上下を反転させ、スクロールバーを画像の上部に出す */
  #vision .vision-img {
    margin-top: 25px;
    overflow-x: auto;
    transform: rotateX(180deg);
  }
  #vision .vision-img img {
    width: auto;
    max-width: none;
    height: 300px;
    transform: rotateX(180deg);
    vertical-align: bottom;
  }
  #vision .vision-img::-webkit-scrollbar {
    height: 6px;
  }
  #vision .vision-img::-webkit-scrollbar-track {
    background: transparent;
  }
  #vision .vision-img::-webkit-scrollbar-thumb {
    background: #d9d9d9;
    border-radius: 3px;
  }

  /*-------- practice --------*/
  .practice-wrap {
    padding: 60px 0;
  }
  #practice .practice-cont {
    display: block;
  }
  #practice .practice-cont_txt {
    width: auto;
  }
  #practice .practice-cont_img {
    margin-top: 25px;
  }
  #practice .practice-saki {
    margin-top: 40px;
    padding: 25px 15px 30px;
  }
  #practice .practice-saki_list {
    display: block;
    margin-top: 20px;
  }
  #practice .practice-saki_item {
    width: auto;
  }
  #practice .practice-saki_item + .practice-saki_item {
    margin-top: 25px;
  }
  #practice .practice-saki_icon img {
    width: 90px;
  }
  #practice .practice-saki_head {
    margin-top: 12px;
  }

  /*-------- commitment --------*/
  #commitment {
    padding: 60px 0 70px;
  }
  #commitment .sdgs-about {
    display: block;
    margin-top: 25px;
    padding: 20px 15px;
  }
  #commitment .sdgs-about_logo {
    width: 160px;
    margin: 0 auto;
  }
  #commitment .sdgs-about_txt {
    margin-top: 15px;
  }
  #commitment .sdgs-item {
    margin-top: 30px;
  }
  #commitment .sdgs-item_ttl {
    padding: 10px 40px 10px 12px;
    border-left-width: 3px;
  }
  #commitment .sdgs-item_ttl::before,
  #commitment .sdgs-item_ttl::after {
    width: 20px;
  }
  #commitment .sdgs-item_cont {
    display: block;
    margin-top: 15px;
  }
  #commitment .sdgs-item_icon {
    width: 100%;
    margin-top: 15px;
  }
  #commitment .sdgs-item_box {
    margin-top: 15px;
    padding: 15px;
  }
  #commitment .sdgs-btn_list {
    display: block;
    margin-top: 35px;
  }
  #commitment .sdgs-btn_list li {
    width: auto;
  }
  #commitment .sdgs-btn_list li + li {
    margin-top: 10px;
  }
  #commitment .sdgs-btn {
    height: 60px;
  }

  /*-------- principles --------*/
  .principles-wrap {
    padding: 60px 0 70px;
  }
  #principles .principles-sub {
    margin-top: 20px;
  }
  #principles .principles-list {
    display: block;
    margin-top: 35px;
  }
  #principles .principles-item {
    width: auto;
    padding-bottom: 20px;
  }
  #principles .principles-item + .principles-item {
    margin-top: 30px;
  }
  #principles .principles-item::before {
    top: 40px;
  }
  #principles .principles-item_mark {
    width: 80px;
    height: 80px;
  }
  #principles .principles-item_txt {
    margin-top: 18px;
  }
}
