@charset "utf-8";
/* CSS Document */
#S01 {
  background: #213555;
}
/* リストの2列化と中央ラインのベース */
#S01 .flexBox2 ul {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2分割 */
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
}
/* 中央の縦ライン（上下に少しマージンを持たせたライン） */
#S01 .flexBox2 ul::after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 50%;
  width: 1px;
  background: #b79f7e; /* smallと同じアクセントカラー */
  transform: translateX(-50%);
}
#S01 .flexBox2 ul li {
  padding: 1.5em 0;
  box-sizing: border-box;
  border-bottom: 1px solid #7f766d;
  width: inherit;
}
#S01 h3 {
  color: #fff;
  margin: 0;
  font-size: calc(var(--text-h3) * 0.9);
}
#S01 h3 small {
  color: #b79f7e;
  display: block;
  font-size: calc(var(--text-h3) * 0.9);
  padding: 0 0 3px;
  font-weight: normal;
}
#S01 h3 span {
  display: block;
  font-size: calc(var(--text-h3) * 0.6);
  color: #213555;
  padding: 3px 8% 3px;
  background: #9D9287;
  background: linear-gradient(90deg, rgba(157, 146, 135, 0) 0%, rgba(157, 146, 135, 1) 25%, rgba(157, 146, 135, 1) 50%, rgba(157, 146, 135, 1) 75%, rgba(157, 146, 135, 0) 100%);
  margin: 8px 0;
}
#S01 h3 em {
  color: #fff;
}
#S01 h3 br.sp {
  display: none;
}
#S02 .detailBox {
  display: flex;
  padding: 40px 0;
  align-items: center;
}
#S02 .leftBox {
  max-width: 800px;
}
#S02 .rightBox {
  min-width: 400px;
  flex: 1;
}
#S02 h2 {
  text-align: left;
  line-height: 2em;
}
#S02 h2 rt {
  font-size: calc(var(--text-h2) * 0.3);
}
#S02 p {
  text-align: left;
}
#S03 {
  background: #213555;
}
#S03 .contents:nth-child(1) .contentsDetail, #S04 .contents:nth-child(1) .contentsDetail, #S05 .contents:nth-child(1) .contentsDetail, #S06 .contents:nth-child(1) .contentsDetail {
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
}
#S03 .titleBox, #S04 .titleBox, #S05 .titleBox, #S06 .titleBox {
  position: absolute;
}
#S03 .contents:nth-child(1) .contentsDetail h2, #S04 .contents:nth-child(1) .contentsDetail h2, #S05 .contents:nth-child(1) .contentsDetail h2, #S06 .contents:nth-child(1) .contentsDetail h2 {
  font-size: calc(var(--text-h2) * 1.4);
}
#S03 .contents:nth-child(1) .contentsDetail h2 small, #S04 .contents:nth-child(1) .contentsDetail h2 small, #S05 .contents:nth-child(1) .contentsDetail h2 small, #S06 .contents:nth-child(1) .contentsDetail h2 small {
    background: #1f0711;
    color: #fff;
    margin: 0 auto 1em;
    padding: 0.7em 1.5em;
    width: fit-content;
}
#S03 #routeBox {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0;
}
#S03 #routeBox .bg {
  background: #8c8278;
  position: absolute;
  mix-blend-mode: multiply;
  width: 100%;
  height: 100%;
}
#S03 #routeBox .leftBox {
  position: relative;
  width: 50%;
  padding: 1em 1em 2em;
}
#S03 #routeBox .rightBox {
  position: relative;
  width: 50%;
  padding: 1em 1em 2em;
}
#S03 #routeBox h3 {
  color: #fff;
}
#S03 #routeBox ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, 176px);
  max-width: 600px;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: auto;
  justify-content: center;
}
#S03 #routeBox li {
  padding: 0.75em 0.5em;
  font-size: calc(var(--text-body) * 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
}
#S03 #routeBox .leftBox li:nth-child(9) {
  font-size: calc(var(--text-body) * 0.75);
  letter-spacing: 0;
}
#S03 #routeBox .leftBox li:nth-child(10) {
  font-size: calc(var(--text-body) * 0.75);
  letter-spacing: 0;
  padding: 1.25em 0;
}
#S03 #routeBox .leftBox li {
  background: #2a1c16;
  color: #fff;
}
#S03 #routeBox .rightBox li {
  background: #bdb5ac;
  color: #000;
  font-weight: 500;
}
#S03 .contents:nth-child(2) .contentsDetail {
  padding: clamp( 2em, 8.0vw, 5em ) 0 ;
}
#S03 .contents:nth-child(2) .contentsDetail h2 {
  color: #fff;
}
#S03 .contents:nth-child(2) .contentsDetail h3 {
  color: #fff;
  padding: 1em 0;
}
#S03 .contents:nth-child(2) .contentsDetail h4 {
  color: #fff;
}
#S03 .contents:nth-child(2) .contentsDetail h4 small {
  color: #9d9287;
  padding: 0.5em;
  display: flex;
  flex-flow: column;
  align-items: center;
}
#S03 .contents:nth-child(2) .contentsDetail h4 small::before {
  display: block;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 15px solid transparent;
  border-left: 15px solid transparent;
  border-top: 15px solid #8d9287;
  border-bottom: 0;
  padding: 0 0 10px;
}
#S03 ul.line {
  display: flex;
  flex-flow: column;
  gap: 10px;
}
#S03 ul.line li {
  background: #fff;
  padding: 0.75em;
  width: 60%;
  min-width: 320px;
  margin: auto;
}
#S03 .contents:nth-child(2) .contentsDetail .leftBox {
  padding: 0 10px 0 0;
}
#S03 .contents:nth-child(2) .contentsDetail .rightBox {
  padding: 0 0 0 10px;
}
#S03 .leftBox ul.line li:nth-child(1) {
  border-bottom: 5px solid #009b6b;
}
#S03 .leftBox ul.line li:nth-child(2) {
  border-bottom: 5px solid #eb6d9a;
}
#S03 .rightBox ul.line li:nth-child(1) {
  border-bottom: 5px solid #00a0e9;
}
#S03 .rightBox ul.line li:nth-child(2) {
  border-bottom: 5px solid #eb6100;
}
#S04 {
  padding: clamp(2em, 8vw, 5em) 0;
}
#S04 h2 {
  padding: 0 0 2em;
}
#S04 .textBox {
  padding: 0 0 2em;
  max-width: 800px;
  margin: auto;
}
#S04 .textBox h3 {
  background: #5c4b44;
  color: #fff;
}
#S04 .textBox p {
  text-align: left;
}
#S04 h4 {
  background: #5c4b44;
  color: #fff;
  margin: 1em 0 0;
}
#S04 li p {
  text-align: left;
}
#S05 {
  background: #213555;
}
#S05 .contents:nth-child(2) .contentsDetail {
  padding: clamp(2em, 8vw, 5em) 0;
}
#S05 h2 {
  color: #fff;
  padding: 0 0 2em;
}
#S05 h4 {
  color: #fff;
}
#S05 h5 {
  background: #cec8c1;
}
#S05 p {
  color: #fff;
  text-align: left;
}
#S06 .contents:nth-child(1) .contentsDetail h2 {
  color: #fff;
}
#S06 .contents:nth-child(1) .contentsDetail h2 small {
  background: #ffffffbd;
  color: #222;
}
#S06 .contents:nth-child(2) .contentsDetail {
  padding: clamp(2em, 8vw, 5em) 0;
}
#S06 .textBox {
    padding: clamp( 1em, 3.2vw, 2em ) 0 ;
    max-width: 800px;
    margin: auto;
}
#S06 .textBox h3 {
  background: #cec8c1;
}
#S06 .textBox p {
  text-align: left;
}
#S06 h4 {
  background: #cec8c1;
  margin: 1em 0 0;
}
#S06 p {
  text-align: left;
}
#S06 .detailBox {
  padding: 0;
}
#S06 .detailBox:last-of-type {
  flex-direction: row-reverse;
}
#S06 .detailBox {
  padding: 0;
}
#S06 .leftBox {
  max-width: 600px;
}
#S06 .rightBox {
  flex: 1;
  padding: 0 clamp( 1em, 3.2vw, 2em )  ;
  display: flex;
  flex-flow: column;
  justify-content: center;
}
/*----------------------------------------------------------- 1280px */
@media (max-width: 1280px) {
  #S03 #routeBox {
    position: relative;
  }
  #S03 #routeBox .leftBox li {
    background: #55392d;
  }
  #S03 .contents:nth-child(1) .contentsDetail {
    padding-inline: 0;
  }
  #S03 .contents:nth-child(2) .contentsDetail {
    padding-inline: 20px;
  }
  #S04 .contents:nth-child(1) .contentsDetail {
    padding-inline: 0;
  }
  #S04 .contents:nth-child(2) .contentsDetail {
    padding-inline: 20px;
  }
  #S05 .contents:nth-child(1) .contentsDetail {
    padding-inline: 0;
  }
  #S05 .contents:nth-child(2) .contentsDetail {
    padding-inline: 20px;
  }
  #S06 .contents:nth-child(1) .contentsDetail {
    padding-inline: 0;
  }
  #S06 .contents:nth-child(2) .contentsDetail {
    padding-inline: 20px;
  }
}
/*----------------------------------------------------------- 1024px */
@media (max-width: 1024px) {
  #S02 .detailBox {
    flex-flow: column;
  }
  #S02 .rightBox {
    min-width: 100%;
}
  #S02 .rightBox {
    display: flex;
    flex-flow: column;
    align-items: center;
  }
  #S03 .contents:nth-child(2) .contentsDetail .detailBox {
    flex-flow: column;
  }
  #S03 .contents:nth-child(2) .contentsDetail .leftBox, #S03 .contents:nth-child(2) .contentsDetail .rightBox {
    padding: 0 0 3em;
  }
  #S06 .detailBox {
    flex-flow: column;
  }
  #S06 .leftBox {
    width: 100%;
  }
  #S06 .detailBox:last-of-type {
    flex-direction: column;
  }
}
/*----------------------------------------------------------- 812px */
@media (max-width: 812px) {
  #S03 #routeBox ul {
    grid-template-columns: repeat(auto-fill, 340px);
  }
}
/*----------------------------------------------------------- 768px */
@media (max-width: 768px) {
  #S01 .flexBox2 ul {
    display: block; /* 1列に戻す */
  }
  #S01 .flexBox2 ul::after {
    display: none; /* 縦ラインを消去 */
  }
  #S01 .flexBox2 ul li:last-child {
    border-bottom: none;
  }
  #S01 h3 br.sp {
    display: block;
  }
  #S01 h3 em {
    display: none;
  }
  #S03 #routeBox {
    flex-flow: column;
  }
  #S03 #routeBox .leftBox {
    width: 100%;
  }
  #S03 #routeBox .rightBox {
    width: 100%;
  }
  #S03 .contents:nth-child(1) .contentsDetail h2, #S04 .contents:nth-child(1) .contentsDetail h2, #S05 .contents:nth-child(1) .contentsDetail h2, #S06 .contents:nth-child(1) .contentsDetail h2 {
    font-size: calc(var(--text-h2) * 1.0);
}
}

/*----------------------------------------------------------- 640px */
@media (max-width: 640px) {
#S04 .contents:nth-child(1) img  {
    margin: 50px 0 0;
}
}