@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");
header,
main,
.modal {
  transition: 0.5s;
}

.history,#period-sticky{
  background: url(../imgs/bg.png) repeat;
  background-size: 182px;
  padding: 10px 0 45px;
  /* margin: 45px 0 0; */
}


.history,
.modal-contents{
  font-family: "Noto Serif JP", serif;
  src: local("Noto Serif JP"), url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP") format("woff2");
  font-weight: 400;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt";
  text-align: left;
}
.content-underbox{
  background: transparent;
  box-shadow: none;
}
section.period {
  padding: 68px 0 120px;
}
.period-nav{
    max-width: 1000px;
    margin: 55px auto 100px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}
.period-nav h3{
  font-size: 22px;
  font-weight: bold;
  color: #38acb5;
  width: 11em;
}
.period-nav nav{
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.period-nav nav a{
  display: block;
  font-size: 14px;
  position: relative;
  flex: 1;
  text-decoration: underline;
  padding: 0.5em 2em 0.5em 0.5em;
}
.period-nav nav a:nth-child(odd){
  /* background: #fff; */
}
.period-nav nav a::after{
  content: '';
  position: absolute;
  right: 0.5em;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(../imgs/arrow-sircle.svg) no-repeat center;
  background-size: contain;
}

.next-history a.Btn{
  color: #fff;
}
@media screen and (max-width: 768px) {
  .period-nav{
    flex-direction: column;
    margin: 42px auto 60px;
    gap: 1rem;
  }
  .period-nav nav{
    gap: 0.5rem;
    padding: 0 1rem;
  }
  .period-nav nav a{
    font-size: 12px;
    padding: 4px 2rem 4px 0;
  }
  .period-nav nav a::after{
    right: 0;
  }
}

.navigation__wrap{
  /* background: #fff; */
  padding-bottom: 45px;
}
@media screen and (max-width: 768px) {
  .navigation__wrap{
    padding-bottom: 0;
  }
}

#historyNavigation{
  width: 1100px;
  margin: 60px auto 40px;
  display: flex;
  justify-content: flex-end;
}
#historyNavigation ul{
  max-width: 860px;
  display: flex;
  justify-content: space-evenly;
  background: #38acb5;
  border-radius: 8px;
}
#historyNavigation ul li a{
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: none;
  color: #fff;
  font-family: YuGothic, "Yu Gothic Medium", "Yu Gothic", 游ゴシック, "Hiragino Kaku Gothic ProN", メイリオ, meiryo, sans-serif;;
  font-weight: bold;
  height: 60px;
  padding: 0 48px;
}
#historyNavigation ul li a::after{
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  width: 2px;
  height: 30px;
  background: #fff;
  opacity: .5;
}
#historyNavigation ul li:last-child a::after{
  content: none;
}
@media screen and (max-width: 768px) {

  #historyNavigation{
    width: 88%;
    margin: 40px auto 0;
    display: block;
    padding-bottom: 40px;
  }
  #historyNavigation ul{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: transparent;
    padding: 12px 0;
    gap: 3vw 2.5vw;
  }
  #historyNavigation ul li{
    text-align: center;
    background: #38acb5;
    border-radius: 8px;
  }
  #historyNavigation ul li a{
    font-size: 3.733vw;
    height: auto;
    padding: 0.8em 0;
  }
  #historyNavigation ul li a::after{
    display: none;
  }
}




a:hover,
button:hover {
  opacity: 0.7;
}

img {
  display: block;
  width: 100%;
}

.shadow {
  box-shadow: 0px 0px 16px 3px rgba(0, 0, 0, 0.1882352941);
}

.Btn {
  font-family: "noto Sans JP", sans-serif;
  position: relative;
  display: inline-block;
  padding: 18px;
  border-radius: 5px;
  background-color: #38acb5;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s, opacity 0.5s;
  width: 225px;
}
@media screen and (max-width: 768px) {
  .Btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
.Btn svg.arrow-01 {
  width: 26px;
  position: absolute;
  right: 10%;
  top: 45%;
}
.Btn:hover {
  opacity: 0.9;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
  transform: scale(0.97);
}
.cls-1 {
  fill: none;
  stroke: #fff;
  stroke-miterlimit: 10;
}

.standby {
  pointer-events: none !important;
}

.pc {
  display: block;
}

.tb {
  display: none;
}

.sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }
  .tb {
    display: none;
  }
  .sp {
    display: block;
  }
}
.Btn2 {
  font-family: "noto Sans JP", sans-serif;
  position: relative;
  display: inline-block;
  padding: 15.12px 24px 15.12px 21.6px;
  border-radius: 5px;
  border-width: 4px;
  background-color: white;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  width: -moz-fit-content;
  width: fit-content;
}
.Btn2 svg.arrow-01 {
  display: inline-block;
  width: 26px;
  vertical-align: middle;
  text-align: right;
  margin-left: 4rem;
  margin-bottom: 0.2em;
}
.Btn2:hover {
  opacity: 0.9;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
  transform: scale(0.95);
}
.Btn2:hover .arrow-01 {
  transform: translateX(5px);
}

.cls-1 {
  fill: none;
  stroke-miterlimit: 10;
}

.kv {
  height: 150%;
  overflow: auto;
}
.kv.history01::after {
  position: absolute;
  top: 0;
  left: 0;
  /* background: #fff; */
  display: inline-block;
  content: '';
  width: 100%;
  height: 200px;
}
@media screen and (max-width: 768px) {
  .kv.history01::after {
    height: 100px;
  }
}

.kv .content-inner {
  position: relative;
}
.kv .content-inner .kv-img {
  width: 100%;
  height: 100%;
}
.kv .content-inner .kv-title {
  position: absolute;
  top: 68px;
  left: -28px;
  right: 0;
  max-width: 95px;
  margin: auto;
  z-index: 2;
}
@media screen and (max-width: 768px) {
  .kv .content-inner .kv-title {
    top: 5.7vw;
    left: -4vw;
    max-width: 11vw;
  }
}
.kv .content-inner .kv-text-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: -140px;
}

@media screen and (max-width: 768px) {
  .kv .content-inner .kv-text-wrapper {
    top: -14vw;
  }
}
.kv .content-inner .kv-text-wrapper .kv-text-img {
  width: 146px;
}
@media screen and (max-width: 768px) {
  .kv .content-inner .kv-text-wrapper .kv-text-img {
    width: 24.2666666667vw;
  }
}
.kv .content-inner .kv-text-wrapper .kv-text {
  letter-spacing: 0.1em;
  display: block;
  writing-mode: vertical-rl;
  color: #4c4948;
  font-size: 1rem;
  line-height: 2.25rem;
}
@media screen and (max-width: 768px) {
  .kv .content-inner .kv-text-wrapper .kv-text {
    font-size: 2.5vw;
    line-height: 4.5vw;
  }
}
.kv .content-inner .kv-text-wrapper .kv-text span {
  background-color: white;
  padding: 2px;
}
.kv .content-inner .kv-text-wrapper .kv-text span .num-horizontal {
  text-combine-upright: all;
}
.kv .content-inner .kv-text-wrapper .kv-text span > i {
  font-style: normal;
  display: inline-block;
  transform: translateX(1px);
}
.kv .content-inner .kv-text-wrapper .kv-text .text-num {
  position: relative;
  left: 0.19em;
}

.bubble {
  margin-top: -180px;
}
.bubble .content-inner img {
  width: 81.08829%;
  margin: 0 auto;
}

.interview-btn,
.toTop {
  width: min(50vw, 220px);
  margin: 0 auto;
}

.toTop {
  position: absolute;
  bottom: 3%;
  left: 0;
  right: 0;
  margin: auto;
  padding: 18px;
  background-color: white;
  font-size: 1rem;
  color: #38acb5;
  justify-self: center;
  cursor: pointer;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}
@media screen and (max-width: 768px) {
  .toTop {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 46.66vw;
  }
}
.toTop .cls-1 {
  stroke: #38acb5;
}
.toTop svg.arrow-01 {
  width: 26px;
  position: absolute;
  left: 10%;
  top: 45%;
  transform: translateX(5px);
  transform: rotate(180deg);
}
.toTop:hover {
  opacity: 0.9;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
  transform: scale(0.95);
}
.toTop:hover .arrow-01 {
  transform: translateX(5px);
  transform: rotate(180deg);
}

section {
  overflow: hidden;
}
section.message h2 {
  font-size: 2.35rem;
  text-align: center;
  font-weight: 400;
  line-height: 1.6em;
  color: #38acb5;
  margin: 18px 0px;
}
@media screen and (max-width: 768px) {
  section.message h2 {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 768px) {
  section.hanshin-quiz .hanshin-quiz-contents {
    padding: 23px 40px;
  }
}
section.hanshin-quiz .hanshin-quiz-contents .kentei-explain {
  margin-top: 2rem;
  position: relative;
  width: 180%;
  z-index: 2;
}
@media screen and (max-width: 768px) {
  section.hanshin-quiz .hanshin-quiz-contents .kentei-explain {
    width: 100%;
  }
}
section.hanshin-quiz .hanshin-quiz-contents .kentei-explain span {
  color: #716752;
  background-color: white;
  font-size: 1rem;
  line-height: 2rem;
  font-family: "Noto Sans JP";
  src: local("Noto Sans JP"), url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP") format("woff2");
  font-weight: 400;
}
section.hanshin-quiz .hanshin-quiz-contents .hanshin-img-wrapper {
  position: relative;
  width: 170%;
  z-index: 0;
}
@media screen and (max-width: 768px) {
  section.hanshin-quiz .hanshin-quiz-contents .hanshin-img-wrapper {
    width: 120%;
  }
}
section.hanshin-quiz .hanshin-quiz-contents .hanshin-img-wrapper img {
  position: absolute;
  transform: translateY(-50%);
  top: 50px;
}
@media screen and (max-width: 768px) {
  section.hanshin-quiz .hanshin-quiz-contents .hanshin-img-wrapper img {
    position: relative;
    transform: translateY(0);
  }
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row {
  border-radius: 1.5rem;
  margin-top: 42px;
  padding: 42px 18px;
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row .col + .col {
  padding-left: 42px;
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row .keitei-figure {
  position: relative;
  width: 100%;
  height: 100%;
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row .keitei-figure .kentei-img {
  position: absolute;
  left: -100%;
  width: 200%;
  margin: auto;
  top: 0;
  bottom: 0;
  z-index: 0;
}
@media screen and (max-width: 768px) {
  section.hanshin-quiz .hanshin-quiz-contents .quiz-row .keitei-figure .kentei-img {
    position: relative;
    left: 0;
    top: -80px;
    width: 100%;
  }
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row .keitei-figure figcaption {
  width: 100%;
  height: 100%;
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row .keitei-figure figcaption img {
  position: absolute;
  right: -28%;
  top: -27%;
  width: 69%;
}
@media screen and (max-width: 768px) {
  section.hanshin-quiz .hanshin-quiz-contents .quiz-row .keitei-figure figcaption img {
    position: absolute;
    right: -50px;
    top: -120px;
    width: 30%;
  }
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row .quiz-discription .Qimg {
  width: 3.7329412263%;
  margin-bottom: 1.3456031898%;
}
@media screen and (max-width: 768px) {
  section.hanshin-quiz .hanshin-quiz-contents .quiz-row .quiz-discription .Qimg {
    width: 6.1202792628%;
  }
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row .btn-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row .btn-wrapper .Btn2 {
  margin-right: -58px;
  font-weight: 600;
}
@media screen and (max-width: 768px) {
  section.hanshin-quiz .hanshin-quiz-contents .quiz-row .btn-wrapper .Btn2 {
    margin-right: 0;
  }
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row:nth-child(even) .btn-wrapper {
  justify-content: flex-start;
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row:nth-child(even) .btn-wrapper .Btn2 {
  margin-left: -58px;
}
@media screen and (max-width: 768px) {
  section.hanshin-quiz .hanshin-quiz-contents .quiz-row:nth-child(even) .btn-wrapper .Btn2 {
    margin-left: 0px;
  }
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row:nth-child(even) .keitei-figure .kentei-img {
  right: -100%;
  left: 0;
  width: calc(200% + 42px);
}
@media screen and (max-width: 768px) {
  section.hanshin-quiz .hanshin-quiz-contents .quiz-row:nth-child(even) .keitei-figure .kentei-img {
    right: 0;
    width: 100%;
  }
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row:nth-child(even) figcaption img {
  position: absolute;
  right: 0;
  left: -28%;
  top: -27%;
  width: calc(69% + 18px);
}
@media screen and (max-width: 768px) {
  section.hanshin-quiz .hanshin-quiz-contents .quiz-row:nth-child(even) figcaption img {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
  }
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row.beginner {
  background-color: rgba(0, 108, 184, 0.1);
  position: relative;
}
@media screen and (max-width: 768px) {
  section.hanshin-quiz .hanshin-quiz-contents .quiz-row.beginner {
    margin-top: 120px;
  }
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row.beginner .btn-wrapper .Btn2 {
  color: #006cb8;
  border-color: rgba(0, 108, 184, 0.2);
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row.beginner .btn-wrapper .Btn2 .cls-1 {
  stroke: #006cb8;
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row.beginner::after {
  content: "";
  position: absolute;
  width: 30%;
  height: 75%;
  background-image: url(../imgs/kentei-bg-ill-01.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: -34%;
  right: 0;
  left: -23%;
  margin: auto;
  mix-blend-mode: darken;
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row.intermediate {
  background-color: rgba(56, 172, 181, 0.1);
  position: relative;
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row.intermediate .btn-wrapper .Btn2 {
  color: #38acb5;
  border-color: rgba(56, 172, 181, 0.2);
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row.intermediate .btn-wrapper .Btn2 .cls-1 {
  stroke: #38acb5;
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row.intermediate::after {
  content: "";
  position: absolute;
  width: 30%;
  height: 53%;
  background-image: url(../imgs/kentei-bg-ill-02.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: -39%;
  right: -10%;
  left: auto;
  margin: auto;
  mix-blend-mode: darken;
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row.advanced {
  background-color: rgba(113, 103, 82, 0.1);
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row.advanced .btn-wrapper .Btn2 {
  color: #716752;
  border-color: rgba(113, 103, 82, 0.2);
}
section.hanshin-quiz .hanshin-quiz-contents .quiz-row.advanced .btn-wrapper .Btn2 .cls-1 {
  stroke: #716752;
}
section.hanshin-quiz .hanshin-quiz-contents .ques {
  font-size: 1.125rem;
  line-height: 1.8rem;
  font-family: "Noto Sans JP";
  src: local("Noto Sans JP"), url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP") format("woff2");
  font-weight: 700;
  color: #666666;
}







/* History Story */
/* 2026.03 追加 */

#historyHeader{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  font-family: "Noto Serif JP", serif;
  background: #fff;
}
#historyHeader h1{
  margin-bottom: 30px;
  font-size: 35px;
  font-weight: bold;
  color: #38acb5;
  text-align: center;
  letter-spacing: 0.05em;
}
#historyHeader nav.history-nav ul{
  display: flex;
  justify-content: space-between;
}

#historyHeader nav.history-nav a{
  display: block;
  font-size: 16px;
  font-weight: bold;
  color: #38acb5;
  position: relative;
  flex: 1;
}
#historyHeader nav.history-nav a::after{
  content: '';
  position: absolute;
  right: -1.5em;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(../imgs/arrow-sircle.svg) no-repeat center;
  background-size: contain;
}

.history-header-area{
  display: block;
}
.history-header-area::before{
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  background: transparent linear-gradient(90deg, #9B2287 0%, #B0308B 3%, #E15196 8%, #E62848 21%, #F19000 33%, #FFD903 50%, #00954E 70%, #0085CD 89%, #00B5ED 100%) 0% 0% no-repeat padding-box;
  width: 100%;
  height: 4px;
}
.history-header-inner{
  max-width: 1100px;
  padding: 40px 0 20px;
  margin: 0 auto;
}

#historyStory{
  padding-top: 68px;
}
#historyStory h2{
  font-size: 28px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 0.5em;
}
#historyStory h2 span{
  display: block;
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #38acb5;
  margin-bottom: 0.25em;
}

#historyStory .period{
  font-size: 18px;
  font-weight: bold;
  color: #38acb5;
}

#historyStory article{
  padding: 80px 0;
  border-bottom: solid 2px #ccc;
}
#historyStory article:last-child{
  padding: 80px 0 0;
  border-bottom: none;
}
#historyStory article > header{
  /* margin-bottom: 100px; */
}
#historyStory article .story-content{
  font-family: 'noto sans jp', sans-serif;
}
#historyStory article .story-content h3{
  font-size: 20px;
  font-weight: bold;
  color: #38acb5;
  margin-bottom: 1em;
  margin-top: 100px;
}
#historyStory article .story-content p{
  line-height: 2;
}

#historyStory article .story-content figure{
  max-width: 500px;
  margin: 2em auto;
}
#historyStory article .story-content figure + h3{
  margin-top: calc(100px - 2em);
}
#historyStory article .story-content figure:last-child{
  margin-bottom: 0;
}
#historyStory article .story-content figcaption{
  font-size: 80%;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  #historyHeader{
    /* position: absolute; */
    border-bottom: solid 1px #ccc;
  }
  #historyHeader h1{
    font-size: 20px;
    margin-bottom: 15px;
  }
  #historyHeader nav.history-nav ul{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 2.5vw;
    padding: 0 18px;
    flex-direction: column;
  }

  #historyHeader nav.history-nav a{
    font-size: 12px;
    padding: 1em 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
  }
  #historyHeader nav.history-nav a::after{
    position: static;
    width: 15px;
    height: 15px;
    transform: translateY(0) rotate(90deg);
  }
  .history-header-inner{
    padding: 20px 0 10px;
  }

  #historyStory{
    padding-top: 35vw;
  }
  #historyStory h2{
    font-size: 1em;
  }
  #historyStory h2 span{
    font-size: 1.2em;
  }

  #historyStory .period{
    font-size: 0.8em;
  }

  #historyStory article .story-content h3{
    font-size: 1em;
    font-weight: bold;
    color: #38acb5;
    margin-bottom: 1em;
    margin-top: 12.8vw;
  }
  #historyStory article .story-content p{
    font-size: 14px;
  }
  #historyStory article .story-content figcaption{
    font-size: 80%;
    font-weight: bold;
  }
  
}


#story01, #story02, #story03, #story04, #story05, #story06 {
    scroll-margin-top: 120px;
}
@media screen and (max-width: 768px) {
  #story01, #story02, #story03, #story04, #story05, #story06 {
    scroll-margin-top: 0;
  }
}


#stories #headerArea{
  display: none;
  height: 120px;
}
@media screen and (max-width: 768px) {
  #stories #headerArea{
    height: 0;
  }
}

#gallery{
  padding: 0 0 120px;
}



.btn-area-taisetsu{
  padding-top: 120px;
}
.btn-area-taisetsu p{
  margin-bottom: 30px;
  font-size: 30px;
  font-weight: bold;
  color: #38acb5;
  text-align: center;
  letter-spacing: 0.05em;
}
.btn-area-taisetsu a{
  display: block;
  width: 500px;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .btn-area-taisetsu{
    padding-top: 4em;
  }
  .btn-area-taisetsu p{
    margin-bottom: 1em;
    font-size: 18px;
  }
  .btn-area-taisetsu a{
    display: block;
    width: 80%;
    margin: 0 auto;
  }
}



