@charset 'utf-8';

:root {
  --emerald: #00a99d;
}

body {
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  line-height: 1.5;
  font-size: 15px;
  color: var(--emerald);

}

.wrapper {
    max-width: 920px;
    margin: 0 auto;
}

header {
  display: flex;
  background-color: #ffffff;
  position: fixed;
  width: 100%;
  z-index: 1;
  background: rgb(255 255 255 / 0.85);
}

.hamburger {
  display: none; /* PCでは非表示 */
  flex-direction: column;
  justify-content: space-between;
  width: 38px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  margin: 5vw 4vw 0 0;
}

.hamburger span {
  display: block;
  height: 6px;
  background: var(--emerald);
  border-radius: 1.5px;
  margin: 3.5px 0;
  transition: all 0.3s ease;
  -webkit-border-radius: 1.5px;
  -moz-border-radius: 1.5px;
  -ms-border-radius: 1.5px;
  -o-border-radius: 1.5px;
}

/* ハンバーガーがopenの時 */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(15px);
  -webkit-transform: rotate(45deg) translateY(15px);
  -moz-transform: rotate(45deg) translateY(15px);
  -ms-transform: rotate(45deg) translateY(15px);
  -o-transform: rotate(45deg) translateY(15px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-15px);
  -webkit-transform: rotate(-45deg) translateY(-15px);
  -moz-transform: rotate(-45deg) translateY(-15px);
  -ms-transform: rotate(-45deg) translateY(-15px);
  -o-transform: rotate(-45deg) translateY(-15px);
}

/* ========== オーバーレイメニュー ========== */
.menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(51, 51, 51, 0.95);
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.menu-overlay .overlay-content {
  text-align: center;
}

.menu-overlay .overlay-logo {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 2rem;
}

.menu-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-overlay li {
  margin: 1rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.menu-overlay.active li {
  opacity: 1;
  transform: translateY(0);
}

/* 順番にふわっと出す */
.menu-overlay.active li:nth-child(1) {
  transition-delay: 0.1s;
}
.menu-overlay.active li:nth-child(2) {
  transition-delay: 0.2s;
}
.menu-overlay.active li:nth-child(3) {
  transition-delay: 0.3s;
}
.menu-overlay.active li:nth-child(4) {
  transition-delay: 0.4s;
}
.menu-overlay.active li:nth-child(5) {
  transition-delay: 0.5s;
}
.menu-overlay.active li:nth-child(6) {
  transition-delay: 0.6s;
}

.menu-overlay a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
}

.logo {
  width: 15vw;
  margin: auto;
  margin-left: 1rem;
}
.header_list {
  justify-content: end;
  display: flex;
  gap: 2em;
  list-style: none;
  padding: 0;
  margin: auto 4vw;
  color: var(--emerald);
  font-size: 1.5vw;
}
.contact {
  padding: 2vw 4vw;
  margin: 0;
  color: var(--emerald);
  font-size: 1.5vw;
  background-color: #cceeeb;
}

.hero {
  margin: auto;
}

.top_pict {
  background: url("../image/top_desktop.jpg") no-repeat center center;
  background-size: cover; /* 画面いっぱいに拡大・縮小 */
  background-repeat: no-repeat;
  width: 100%;
  height: 65vw;
  position: relative;
}

.top_pict_text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  font-size: 1.5vw;
}

.top_pict_heading {
  font-size: 4vw;
  margin: 1rem auto 0;
}

@media screen and (max-width: 760px) {
  .top_pict {
    background: url("../image/top_sp.jpg") no-repeat center center;
    background-size: cover; /* 画面いっぱいに拡大・縮小 */
    background-repeat: no-repeat;
    width: 100%;
    height: 150vw;
    position: relative;
  }

  .top_pict_text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    width: 45%;
    font-size: 3.2vw;
  }

  .top_pict_heading {
    font-size: 4.5vw;
    margin: 1rem auto 0;
  }
}

/* ========== メディアクエリ ========== */
@media (max-width: 760px) {
  header {
    display: flex;
    justify-content: space-between;
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    z-index: 3;
    background: rgb(255 255 255 / 0);
  }
  .contact {
    display: none;
  }

  .logo {
    width: 40vw;
    margin: 3.5vw 0 0 2.25vw;
  }

  .header_list {
    display: none; /* スマホでは通常メニュー非表示 */
  }
  .hamburger {
    display: flex; /* スマホでは表示 */
  }
}

.carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 2.5rem auto;
  overflow: hidden; /* 横スクロールなどを隠す */
}

/* 左端グラデーション */
.carousel-wrapper::before,
.carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px; /* グラデーションの幅 */
  height: 100%;
  z-index: 2; /* スライドの上にかぶせる */
  pointer-events: none; /* クリックをブロックしない */
}

.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}

.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}


.slide-items {
  width: 100%  !important;      /* ページ幅いっぱいに広げる場合 */

}

.carousel-wrapper img {
  width: 95%;
  margin: 0 auto;
  object-fit: cover;
}

/* 初期状態: SP用は非表示 */
.slide-items-sp {
  display: none !important;
}

/* スマホ表示 */
@media screen and (max-width: 500px) {
  .slide-items {
    display: none !important;
  }
  .slide-items-sp {
    display: block !important;
  }
}


.contact_space {
  width: 100%;
  height: 400px;
  padding: 2rem;
  background: var(--emerald);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.contact_space_heading {
  margin: 2rem auto;
  color: #ffffff;
  text-align: center;
  font-size: 1.5rem;
}

.contact_space_link {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.contact_space_line {
  width: 350px;
  height: 100px;
  border-radius: 6px;
  margin: 0rem auto 2rem;
  padding: 0 0 0.5rem 0;
  background-color: #39b54a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  box-shadow: 0 0 0 3px #ffffff, 4px 4px 0 3px #ffffff;
}

.contact_space p {
  text-align: center;
}

.contact_space_line p:first-of-type {
  font-size: 2rem;
}

.contact_space_tel {
  width: 350px;
  height: 100px;
  border-radius: 6px;
  margin: 0rem auto 2rem;
  padding: 0 0 0.25rem 0;
  background-color: #cf5522;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  box-shadow: 0 0 0 3px #ffffff, 4px 4px 0 3px #ffffff;
}

.contact_space p {
  text-align: center;
}

.contact_space_tel p:nth-of-type(2) {
  font-size: 2rem;
  margin: -0.5rem 0 -0.25rem;
}

@media (max-width: 760px) {
  .contact_space {
    height: auto; /* 高さを自動に変更 */
    padding: 1.5rem; /* 余白を少し小さく */
    font-size: 14px; /* 文字サイズを調整 */
  }

  .contact_space_link {
    display: flex;
    flex-wrap: wrap;
    gap: 0rem;
  }

  .contact_space_heading {
    margin: 1.5rem auto;
    color: #ffffff;
    text-align: center;
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  .contact_space_line p:first-of-type {
    font-size: 8vw;
  }

  .contact_space_tel p:nth-of-type(2) {
    font-size: 7vw;
    margin: -0.5rem 0 -0.25rem;
  }

  .contact_space_line {
    width: 70vw;
    height: 30vw;
    border-radius: 6px;
    margin: 0rem auto 2rem;
    padding: 0 0 0.5rem 0;
    background-color: #39b54a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    box-shadow: 0 0 0 3px #ffffff, 4px 4px 0 3px #ffffff;
  }

  .contact_space_tel {
    width: 70vw;
    height: 30vw;
    border-radius: 6px;
    margin: 0rem auto 2rem;
    padding: 0 0 0.25rem 0;
    background-color: #cf5522;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    box-shadow: 0 0 0 3px #ffffff, 4px 4px 0 3px #ffffff;
  }
}

.problems {
  margin: 0 auto;
  width: 90%;
  max-width: 980px;
}

.problems_model {
  margin: 5% auto;
  width: 80%; 
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}

.problems_fukidashi {
  margin: 3rem auto;
  width: auto;
}

.problems_fukidashi_img {
  position: relative;
  height: auto;
  width: auto;
}

.problems_fukidashi_img img {
  width: 30vw;
  height: auto;
}

.problems_fukidashi_text {
  position: absolute;
  top: 8vw;
  left: 18vw;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  width: 30vw;
  font-size: 2.25vw;
}

.problems_fukidashi_out {
  position: absolute;
  left: 15vw;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  width: 30vw;
  font-size: 2vw;
}

.problems_img img {
  max-width: 35vw;
  width: auto;
  height: auto;
}

.solutions_link {
  margin: -1rem auto 3rem;
  width: 45vw;
  text-align: center;
  background-color: var(--emerald);
  color: #ffffff;
  padding: 1rem;
  font-size: 2vw;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.solution_text {
  font-size: 2.5rem;
  text-align: center;
}

.solution_text p:nth-of-type(2) {
  font-size: 3.5rem;
}


@media (max-width: 900px){
  .solution_text {
  font-size: 1.5rem;
  text-align: center;
  margin: 3rem auto;
  }

  .solution_text p:nth-of-type(2) {
    font-size: 2.5rem;
  }
}

@media (max-width: 400px) {
  .problems_fukidashi_img img {
    width: 50vw;
    height: auto;
  }

  .problems_fukidashi_text {
    position: absolute;
    top: 14vw;
    left: 28vw;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    width: 50vw;
    font-size: 4vw;
  }

  .problems_fukidashi_out {
    position: absolute;
    left: 16vw;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    width: 30vw;
    font-size: 4vw;
  }

  .solutions_link {
    margin: -1rem auto 3rem;
    width: 75vw;
    text-align: center;
    background-color: var(--emerald);
    color: #ffffff;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    font-size: 3.5vw;
  }

  .solution_text {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 2.5rem;
  }

  .solution_text p:nth-of-type(2) {
    font-size: 1.5rem;
  }
}

.reform_section {
  margin: 4vw auto 4vw;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.reform_section img {
  width: 90%;
}

.reform_section p {
  margin: 1rem;
}

.reform_section_img {
  width: 19rem;
  margin: 0 auto;
  text-align: center;
    opacity: 0;
    transform: translateY(60px);
    /*下から浮いてくる*/transition: all 0.8s ease-out;
    -webkit-transition: all 0.8s ease-out;
    -moz-transition: all 0.8s ease-out;
    -ms-transition: all 0.8s ease-out;
    -o-transition: all 0.8s ease-out;
    -webkit-transform: translateY(60px);
    -moz-transform: translateY(60px);
    -ms-transform: translateY(60px);
    -o-transform: translateY(60px);
}

.reform_section_img.show {
  opacity: 1;
  transform: translateY(0);
}

.reform_link {
  margin: -6vw auto 20vw;
  width: 55vw;
  text-align: center;
  background-color: var(--emerald);
  color: #ffffff;
  padding: 1.5rem;
  font-size: 1.8vw;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

@media (max-width: 690px) {
  .reform_section {
    gap: 0rem;
  }

  .reform_link {
    width: 90%;
    text-align: center;
    background-color: var(--emerald);
    color: #ffffff;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
  }
}

.vacant {
  padding: 2.8rem 0;
  margin: 0rem auto;  
  background-color: #f1d7ab;
}

.section_title {
  width: 15rem;
  height: 5rem;
  border-radius: 6px;
  margin: 2.5rem auto;
  background-color: #ffffff;
  color: var(--emerald);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  box-shadow: 0 0 0 3px var(--emerald), 4px 4px 0 3px var(--emerald);
}

.section_title p:first-of-type {
  font-size: 1.25rem;
  margin: -0.25rem auto;
}

.vacant_img {
  margin: 2rem auto;
  text-align: center;
}

.vacant_img img {
  width: 60%;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}

.vacant_text {
  text-align: center;
  color: #000000;
}

.heading {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 2.5rem;
}

.vacant_text_inner {
  margin: 0 auto;
  width: 65%;
  text-align: left;
  line-height: 1.8rem;
}

.vacant_link {
  margin: 3rem auto;
  text-align: center;
  background-color: #ff9500;
  color: #ffffff;
  padding: 1.5vw;
  font-size: 1.5rem;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

@media (max-width: 400px) {
  .vacant_img img {
    width: 90%;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
  }

  .heading {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 2rem;
  }

  .vacant_text_inner {
    margin: 0 auto;
    width: 85%;
    text-align: left;
    line-height: 1.8rem;
    font-size: 0.9rem;
  }

  .vacant_link {
    margin: 3rem auto;
    text-align: center;
    background-color: #ff9500;
    color: #ffffff;
    padding: 1.5rem;
    font-size: 1rem;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
  }
}

.constructions {
  overflow: hidden;
  width: 100%;
  margin: 5rem auto;
}

.examples {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  width: calc(350px * 12);
  animation: scroll-parade 35s linear infinite;
  -webkit-animation: scroll-parade 35s linear infinite;
}

  @keyframes scroll-parade {
    from {
      transform: translateX(0);
      -webkit-transform: translateX(0);
      -moz-transform: translateX(0);
      -ms-transform: translateX(0);
      -o-transform: translateX(0);
}
    to {
      transform: translateX(-50%);
      -webkit-transform: translateX(-50%);
      -moz-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
      -o-transform: translateX(-50%);
}
  }



.examples_card {
  width: 20rem;
  padding: 1.25rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  border: 2px solid var(--emerald);
  text-align: left;
  gap: 1rem;

}

.example_img {
  margin: 0 auto;
}

.example_img img {
  width: 17rem;
  text-align: center;
}

.example_heading {
  width: 15rem;
  margin: 0 auto;
}

.example_prof {
  width: 15rem;
  margin: 0 auto;
  font-size: 0.7rem;
  color: #000000;
  border-collapse: collapse;
}

.example_prof td,
th {
  border-top: 1px solid #000; /* 上に線 */
  border-bottom: 1px solid #000; /* 下に線 */
  border-left: none; /* 左はなし */
  border-right: none; /* 右はなし */
  padding: 8px;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); -webkit-transform: translateX(-50%); -moz-transform: translateX(-50%); -ms-transform: translateX(-50%); -o-transform: translateX(-50%); } /* 1セット分左に移動 */
}

.flowchart {
  padding: 2.8rem 0 5rem;
  margin: 0 auto 0rem;
  width: 100%;
  background-color: #e5f6f5;
}

.flowboard {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0 auto;
  padding: 0rem 1rem;
}

.flow_comment {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.flow_heading {
  width: 20rem;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.flow_text {
  width: 20rem;
}

.flow_step {
  width: 50px; /* 円の幅 */
  height: 50px; /* 円の高さ */
  border-radius: 50%; /* 正円にする */
  background: var(--emerald); /* 背景色 */
  color: #ffffff; /* 文字色 */
  display: flex; /* 中央揃え */
  justify-content: center; /* 横中央 */
  align-items: center; /* 縦中央 */
  text-align: center; /* 文字を中央揃え */
  flex-direction: column; /* 縦方向に並べる（2行対応） */
  font-size: 0.8rem;
  line-height: 1rem;
}

.flow_img img {
    width: 20rem;
    opacity: 0;
    transform: translateY(40px);
    /*下から浮いてくる*/transition: all 0.4s ease-out;
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -ms-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    -webkit-transform: translateY(40px);
    -moz-transform: translateY(40px);
    -ms-transform: translateY(40px);
    -o-transform: translateY(40px);
}

.flow_img img.show {
  opacity: 1;
  transform: translateY(0);
}

.flow_arrow {
  text-align: center;
  margin: 2rem auto;
}

.flow_arrow img {
  width: 1.5rem;
  margin: 1rem auto;
}

.faq {
  margin: 0 auto;
  padding: 3rem;
  background-color: #0ac9bb;
  width: 100%;
}

.faq-container {
  width: 80%;
  margin: 0 auto;
}

dt {
  color: #ffffff;
  padding: 16px;
  margin: 0.5rem;
  cursor: pointer;
  user-select: none;
  position: relative;
  background: rgb(255, 255, 255, 0.3);
}

dt:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

dt::before {
  content: "Q. ";
}

dt::after {
  content: "＋";
  position: absolute;
  right: 16px;
  top: 30%;
  transition: transform 0.5s;
  -webkit-transition: transform 0.5s;
  -moz-transition: transform 0.5s;
  -ms-transition: transform 0.5s;
  -o-transition: transform 0.5s;
}

.question.appear dt::after {
  content: "―";
}

dd {
  padding: 10px 16px 20px;
  display: none;
  color: #fff;
}

.question.appear dd {
  display: block;
  animation: 0.5s fadeIn;
  -webkit-animation: 0.5s fadeIn;
  font-weight: 600;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.faq_link {
  margin: 3.5rem auto;
  width: 60vw;
  text-align: center;
  background-color: #ffffff;
  color: var(--emerald);
  padding: 1.5rem;
  font-size: 1.5rem;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

@media (max-width: 400px) {
  .faq {
    padding: 2rem 0;
  }

  .faq-container {
    width: 95%;
    margin: 0 auto;
  }

  .faq_link {
    margin: 3.5rem auto;
    width: 80%;
    text-align: center;
    background-color: #ffffff;
    color: var(--emerald);
    padding: 1.5rem;
    font-size: 1rem;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
  }

  dt {
    color: #ffffff;
    padding: 16px;
    margin: 0.75rem;
    cursor: pointer;
    user-select: none;
    position: relative;
    background: rgb(255, 255, 255, 0.3);
  }
}

footer {
  background: #f9efdd;
  overflow: hidden;
}

.footer_wrapper {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 3vw 0;
}

.footer_section {
    color: var(--emerald);
    width: 35%;
}

.footer_image_section {
  text-align: center;
  width: 65%;
}

.footer_image_section img {
  width: 100%;
  margin: 0 auto;
}

.footer_heading {
  margin: 0 auto;
  width: 100%;
  text-align: center;
  background-color: var(--emerald);
  color: #ffffff;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.footer_logo {
  width: 70%;
  margin: 1.5vw auto;
}

.footer_logo p {
  text-align: center;
  margin: 0.5rem auto;
  font-size: 1rem;
}

.footer_info {
max-width: 800px;
margin: 0 auto;
line-height: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

.footer_list {
    width: 90%;
    margin: 0 auto;
}

.footer_list ul {
  width: 95%;
  margin: 2vw auto;
  column-count: 2;
  list-style: none;
  font-size: 0.8rem;
  padding: 0;
}

.footer_list li {
  margin: 0 auto;
}

@media (max-width: 960px) {
    .footer_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    padding: 3vw 0;
    gap: 3vw;
    }    
    .footer_section {
        color: var(--emerald);
        width: 85%;
    }

    .footer_image_section {
    text-align: center;
    width: 85%;
    }
    .footer_logo {
    width: 50%;
    margin: 1.5vw auto;
    }
    .footer_heading {
    margin: 0 auto;
    width: 65%;
    text-align: center;
    background-color: var(--emerald);
    color: #ffffff;
    padding: 3vw;
    font-size: 2.5vw;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    }
    .footer_info {
    max-width: 800px;
    margin: 0 auto;
    line-height: 3vw;
    text-align: center;
    font-size: 2vw;
    }

    .footer_list ul {
    width: 60%;
    margin: 3vw auto;
    column-count: 2;
    list-style: none;
    font-size: 2vw;
    padding: 0;
    }
    .footer_list li {
    margin: 0 auto 1.2vw;
    }
}


@media (max-width: 400px) {
    .footer_wrapper {
    display: flex;
    flex-wrap: wrap;
    align-self: stretch;
    flex-direction: column;
    width: 100%;
    padding: 3vw 0;
    gap: 3vw;
    margin: 0 auto;
    }    
  .footer_logo {
    width: 70%;
    margin: 3vw auto;
  }
.footer_logo p {
  text-align: center;
  margin: 0.5rem auto;
  font-size: 3vw;
}
  .footer_image_section img {
    width: 100%;
    margin: 4.5vw auto;
  }

.footer_info {
    max-width: 800px;
    margin: 0 auto;
    line-height: 2.5rem;
    text-align: center;
    font-size: 2vw;
    }

  .footer_list ul {
    width: 60%;
    margin: 6vw auto;
    column-count: 1;
    list-style: none;
    font-size: 4.2vw;
    padding: 0;
    text-align: center;
  }

  .footer_heading {
  margin: 0 auto;
  width: 65vw;
  text-align: center;
  background-color: var(--emerald);
  color: #ffffff;
  padding: 3vw;
  font-size: 3.5vw;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
    }
    .footer_info {
    margin: 0 auto;
    line-height: 4.2vw;
    text-align: center;
    font-size: 3vw;
    }
}

.copy {
  width: 100%;
  background: var(--emerald);
  padding: 1rem;
  color: #ffffff;
  text-align: center;
  font-size: 0.6rem;
  margin: 0 auto;
}


/* ぽよぽよ収縮 */
.anim-box.poyopoyo {
  animation: poyopoyo 2s ease-out infinite;
  opacity: 1;
}
@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1.0);
  }
  50%, 70% {
    transform: scale(0.95);
  }
}

.anim-box.kiran {
  opacity: 1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}
.anim-box.kiran::before {
  background-color: #fff;
  content: "";
  display: block;
  position: absolute;
  top: -100px;
  left: 0;
  width: 30px;
  height: 100%;
  opacity: 0;
  transition: cubic-bezier(0.32, 0, 0.67, 0);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
.anim-box.kiran:hover::before {
  animation: kiran 0.5s linear;
}

@keyframes kiran {
  0% {
    transform: scale(2) rotate(45deg);
    opacity: 0;
  }
  20% {
    transform: scale(20) rotate(45deg);
    opacity: 0.6;
  }
  40% {
    transform: scale(30) rotate(45deg);
    opacity: 0.4;
    -webkit-transform: scale(30) rotate(45deg);
    -moz-transform: scale(30) rotate(45deg);
    -ms-transform: scale(30) rotate(45deg);
    -o-transform: scale(30) rotate(45deg);
}
  80% {
    transform: scale(45) rotate(45deg);
    opacity: 0.2;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}


/* fv-anim */
.fade-in {
  opacity: 0;
  /*初期状態は透明*/animation: fadeIn 1s forwards;
   /* 1秒でアニメーション、終了後は保持 */
  -webkit-animation: fadeIn 2s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* ホバーアニメーション */
.hover-text {
  display: block;
  width: 70vw;
  max-width: 500px;
  /*自分の幅だけにする*/margin: 6.5vw auto 3.5vw;
  /*ブロック要素の横中央*/transition: transform 0.5s ease;
  -webkit-transition: transform 0.3s ease;
  -moz-transition: transform 0.3s ease;
  -ms-transition: transform 0.3s ease;
  -o-transition: transform 0.3s ease;
}

.hover-text:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}

/* ホバーで色反転 */
.reverse-hover {
  display: inline-block;          /* 範囲を扱いやすくする */
  color: var(--emerald);                    /* 初期文字色 */
  background-color: transparent;  /* 初期は背景なし */
  padding: 0.2em 0.2em;           /* ちょっと余白を付ける */
  transition: all 0.3s ease;      /* スムーズに変化 */
}

.reverse-hover:hover {
  color: #fff;          /* 文字色を白に */
  background-color: var(--emerald); /* 背景を黒に */
}
