body {
  background-color: #fafafa;
}

main {
  max-width: 450px;
  margin: auto;
  background-color: #fff;
  padding-bottom: 1px;
}

@media screen and (max-width: 750px) {
  main {
    max-width: none;
  }
}
#visual {
  position: relative;
  padding: 50px 23% 0;
  background: #5aa2a9 url(/assets/image/top/visual01.jpg) no-repeat center bottom;
  background-size: cover;
  aspect-ratio: 37/34;
}

#visual .copy {
  z-index: 1;
}

#visual h1 {
  width: 45%;
  margin: 15px auto 15px;
}

.slider .slick-prev {
  display: none;
}
.slider .slick-next {
  right: 40px;
  width: 26px;
  height: 26px;
  top: 50%;
  right: 42px;
  margin-top: -13px;
}
.slider .slick-next::before {
  content: "";
  display: block;
  position: absolute;
  width: 26px;
  height: 26px;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  transform: rotate(45deg);
  top: 0;
  left: 0;
}
.slider .slick-slide {
  margin-right: 30px;
  padding-left: 15px;
}

#first {
  margin-top:3%;
  margin-bottom: 50px;
  padding: 0 5%;
}
#first .organizer {
  width: 80%;
  margin: 40px auto 10px;
}
#first .about-hanauta {
  text-align: right;
  margin-bottom: 20px;
}
#first .about-hanauta a {
  position: relative;
  display: inline-block;
  background-color: #D3E6BF;
  border-radius: 10px;
  line-height: 1;
  padding: 4px 20px 6px 10px;
  font-size: 12px;
}
#first .about-hanauta a::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -3px;
  width: 5px;
  height: 5px;
  border-top: 1px solid #666;
  border-right: 1px solid #666;
  transform: rotate(45deg);
}
#first .about-text{
  width:90%;
  margin:0 auto;
}
main .basic-title {
  text-align: center;
  margin-bottom: 30px;
}
main .basic-title span {
  display: inline-block;
  background-color: #EAB668;
  border-radius: 20px;
  line-height: 1;
  padding: 6px 20px 8px 20px;
  font-size: 18px;
  color: #fff;
  text-align: center;
}
main .basic-title.color2 span {
  background-color: #5AAFB2;
}

#currently .slider {
  margin-bottom: 30px;
}
.currently-title{
  padding:0 3% 5px;
  color:#666666;
}
.currently-title span{
  color:#EAB668;
}
#currently .note{
  width:80%;
  margin:50px auto 30px;
}

#currently .sns-block .sns-layout {
  display: flex;
  justify-content: space-between;
  padding: 0 5%;
  margin-bottom: 50px;
}
#currently .sns-block .sns-layout a {
  width: 33.333%;
  text-align: center;
}
#currently .sns-block .sns-layout a img {
  height: clamp(25px, 4vw, 40px);
  line-height: 0;
  margin:0 auto 0.5rem;
}
#currently .sns-block .sns-layout a span {
  display: block;
  text-align: center;
  line-height: 1;
}
#currently #applyform {
  position: relative;
  z-index: 1;
  background-color: #FFFDF5;
  padding: 40px 5%;
}
#currently p {
  text-align: center;
}
#currently .form-row {
  margin-bottom: 20px;
}
#currently .form-row input, #currently .form-row textarea {
  border: 1px solid #B0C3CD;
  border-radius: 6px;
  padding: 8px;
  background-color: #fff;
  width: 100%;
}
#currently .form-row textarea {
  font-size: 14px;
  font-family: initial;
  field-sizing: content;
  min-height: 12rem;
}
#currently .form-row .note {
  text-align: right;
  font-size: 12px;
}
#currently .term p {
  font-size: 14px;
  margin-bottom: 1rem;
}
#currently .term .term-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
#currently .term .term-layout a {
  position: relative;
  display: inline-block;
  background-color: #D3E6BF;
  border-radius: 10px;
  line-height: 1;
  padding: 4px 20px 6px 10px;
  font-size: 12px;
  margin-right: 20px;
}
#currently .term .term-layout a::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -3px;
  width: 5px;
  height: 5px;
  border-top: 1px solid #666;
  border-right: 1px solid #666;
  transform: rotate(45deg);
}
#currently .term .term-layout label {
  font-size: 14px;
}
#currently .term .term-layout input {
  width: 16px;
  height: 16px;
}
#currently .submit-btn {
  text-align: center;
}
#currently .submit-btn img {
  max-width: 182px;
  cursor: pointer;
}
#currently .submit-btn img:hover {
  opacity: 0.8;
}

.hr {
  padding: 0 5%;
  margin: 30px 0;
}

.past-result .slider {
  margin-bottom: 30px;
}
.past-result h3 {
  padding: 0 5%;
}



h3.basic-title2 {
  text-align: center;
  margin-bottom: 30px;
}
h3.basic-title2 span {
  min-width:60%;
  display: inline-block;
  background-color: #5AAFB2;
  border-radius: 4px;
  line-height: 1;
  padding: 6px 20px 8px 20px;
  font-size: 18px;
  color: #fff;
  text-align: center;
}

/* join-guide ***********************************************/

#join-guide {
  max-width: 450px;
  margin: 0 auto;
  padding: 0;
  background-color: #fff;
  text-align: center;
}

@media screen and (max-width: 750px) {
  #join-guide {
    max-width: none;
  }
}

#join-guide .fee-info {
  border: 1px solid #6fb6ba;
  border-radius: 10px;
  padding: 2rem;
  margin: 0 3rem 3rem;
}

#join-guide .fee-text {
  font-size: 18px;
  color: #666;
  margin-bottom: 1rem;
}

#join-guide .fee-amount {
  color: #6fb6ba;
  font-weight: bold;
}

#join-guide .tax {
  font-size: 14px;
  font-weight: normal;
}

#join-guide .payment-info {
  font-size: 14px;
  color: #6fb6ba;
  text-align: right;
}

#join-guide .join-button-container {
  margin-bottom: 3rem;
}

#join-guide .join-button {
  display: inline-block;
  background-color: #8cbed5;
  color: #fff;
  padding: 0.3rem 2rem;
  border-radius: 12px;
  font-size: 16px;
  position: relative;
  transition: all 0.3s ease;
}

#join-guide .join-button:hover {
  background-color: #7ba7bc;
}

#join-guide .join-flow {
  padding: 0 5%;
}

#join-guide .flow-text {
  font-size: 16px;
  color: #666;
  margin-bottom: 0.3rem;
}

#join-guide .flow-arrow {
  margin: 0 auto 0;
}

#join-guide .flow-arrow img {
  width: 24px;
  opacity: 0.7;
}

#join-guide .line-open {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0rem 0;
}

#join-guide .line-icon {
  width: 30px;
  margin-right: 10px;
}

#join-guide .line-open p {
  font-size: 16px;
  color: #666;
}

#join-guide .menu-image-container {
  margin: 2rem auto 0.5rem;
  width: 90%;
  max-width: 400px;
}

#join-guide .menu-image {
  width: 100%;

}

#join-guide .click-instruction {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
}

/* beneft *******************************************/
#benefit{
  margin:0 6% 0 3%;
}
#benefit p{
  text-align: center;
}

/* howtoenjoy *****************************************/
.howtoenjoy-title img{
  vertical-align: bottom;
}
.howtoenjoy-body{
  background: #FFFFF3;
  padding:7% 5%;
}
.howtoenjoy-body .items{
  display:flex;
  flex-wrap:wrap;
  justify-content: space-between;
}
.howtoenjoy-body .items .item{
  width:48%;
  margin-bottom:5%;
}
.howtoenjoy-body .items .item img{
  vertical-align: bottom;
}
.howtoenjoy-body p{
  color:#989A71;
  font-size: 14px;
}

/* voice *****************************************/

#voice {
    position: relative;
    background: url(/assets/image/top/voice-bg.jpg) no-repeat center bottom;
    background-size: cover;
    aspect-ratio: 750 / 1352;
    padding: 15% 0;
}
#voice .voice-title{
  position:absolute;
  left:6%;
  top:6%;
  width:25%;
  height:25%;
}
#voice .voice-body{
  text-align: right;
}
#voice .voice-body img{
  width:90%;
  margin-top:20%;
  margin-left:8%;
}


/* theme ***********************/



    /* 既存のCSS */
    .theme-container {
      padding: 20px 0 0;
      margin: 0 3% 30px;
      border: 1px solid #5AAFB2;
      background-color: #FFFDF5;
      border-radius: 20px;
    }

    .theme-header {
      padding: 0 3%;
    }

    .theme-header p {
      text-align: center;
    }

    .theme-header p span {
      color: #5AAFB2;
      cursor: pointer;
      border-bottom: 1px solid #5AAFB2;
      position: relative;
      /* 矢印のため追加 */
      padding-right: 20px;
      /* 矢印のスペース */
      transition: all 0.3s;
      /* アニメーション */
    }

    .theme-header .theme-title {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .theme-header .theme-ttl-ui {
      width: 34%;
    }

    .theme-header .theme-ttl-month {
      width: 20%;
      margin: 0 3%;
    }

    .theme-header .theme-ttl-atention {
      width: 35%;
      font-size: 14px;
    }

    .theme-header .click-text {
      font-size: 14px;
    }

    /* 追加CSS - 矢印アニメーション */
    .theme-header p span::after {
      content: '';
      position: absolute;
      right: 0;
      top: 50%;
      width: 10px;
      height: 10px;
      border-right: 2px solid #5AAFB2;
      border-bottom: 2px solid #5AAFB2;
      transform: translateY(-50%) rotate(45deg);
      transition: transform 0.3s ease;
    }

    .theme-header.active p span::after {
      transform: translateY(-50%) rotate(-135deg);
    }

    /* アニメーション用追加CSS */
    /* スライドダウン/アップのアニメーション用 */
    .theme-body {
      overflow: hidden;
      max-height: 0;
      transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease;
      opacity: 0;
      border-top: 1px solid #5AAFB2;
      padding: 0 3% 0;
      margin-top: 20px;
    }

    .theme-body.active {
      display: block;
      max-height: 1200px;
      /* コンテンツの最大高さより大きな値 */
      opacity: 1;
      padding-top: 20px;
    }

    /* 矢印アニメーション */
    .theme-header p span {
      position: relative;
      padding-right: 20px;
      transition: all 0.3s;
    }

    .theme-header p span::after {
      content: '';
      position: absolute;
      right: 0;
      top: 50%;
      width: 10px;
      height: 10px;
      border-right: 2px solid #5AAFB2;
      border-bottom: 2px solid #5AAFB2;
      transform: translateY(-50%) rotate(45deg);
      transition: transform 0.3s ease;
    }

    .theme-header.active p span::after {
      transform: translateY(-20%) rotate(-135deg);
    }

    /* リストアイテムのフェードインアニメーション */
    .theme-body ul {
      padding: 0;
      margin: 0;
    }

    .theme-body ul li {
      opacity: 0;
      padding: 0;
      margin: 0 0 1em;
      transform: translateY(20px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .theme-body.active ul li {
      opacity: 1;
      transform: translateY(0);
    }

    /* アイテムをずらして表示するアニメーション */
    .theme-body.active ul li:nth-child(1) {
      transition-delay: 0.1s;
    }

    .theme-body.active ul li:nth-child(2) {
      transition-delay: 0.2s;
    }

    .theme-body.active ul li:nth-child(3) {
      transition-delay: 0.3s;
    }


    /* contest *****************************************/

#contest {
    position: relative;
    background: url(/assets/image/top2/contest_bg.jpg) no-repeat center top;
    background-size: cover;
    padding: 15% 0;
}

#contest .contest-body{
  text-align: center;
  width:90%;
  margin:0 auto;
}
#contest .contest-body img{
  margin:0 0 20px;
}

#contest .contest-button {
  display: inline-block;
  background-color: #FBB03B;
  color: #fff;
  padding: 0.3rem 2rem;
  border-radius: 12px;
  font-size: 16px;
  position: relative;
  transition: all 0.3s ease;
}

/* #faq-sections  ***********************************************/

#faq-section {
  padding: 5rem 0 7rem;
  background-color: #e6f7f9;
  max-width: 450px;
  margin: 0 auto;
}

@media screen and (max-width: 750px) {
  #faq-section {
    max-width: none;
  }
}

#faq-section .faq-container {
  padding: 0 8%;
}

#faq-section .faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

#faq-section .faq-header img {
  width:25%;
  height: auto;
  margin:0 auto;
}

#faq-section .faq-item {
  margin-bottom: 3.5rem;
}

#faq-section .faq-item:last-child {
  margin-bottom: 0;
}

#faq-section .question {
  display: flex;
  margin-bottom: 1rem;
  align-items: flex-start;
}

#faq-section .q-marker {
  color: #6fb6ba;
  font-size: 24px;
  margin-right: 1rem;
  line-height: 1;
  font-weight: 500;
}

#faq-section .question p {
  color: #6fb6ba;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 0.3rem;
}

#faq-section .answer {
  display: flex;
  align-items: flex-start;
}

#faq-section .a-marker {
  color: #f0a54a;
  font-size: 24px;
  margin-right: 1rem;
  line-height: 1;
  font-weight: 500;
}

#faq-section .answer-content {
  flex: 1;
}

#faq-section .answer-content p {
  color: #666;
  font-size: 13px;
  line-height: 1.8;
  margin-top: 0.3rem;
}