@charset 'utf-8';

html {
  scroll-behavior: smooth;
}

: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 5rem;
}

.topics {
    margin: 5rem auto 0;
}

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: #00644A;
  font-size: 1.5vw;
  background-color: #cceeeb;
}

/* ========== メディアクエリ ========== */
@media (max-width: 760px) {
  header {
    display: flex;
    justify-content: space-between;
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    z-index: 1;
    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; /* スマホでは表示 */
  }
}

.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;
  }
}

/* ここから各ページ用カスタマイズ */

.heading {
    font-size: 2rem;
    text-align: center;
    margin: 1rem auto;
}

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

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

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

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

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

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

.top_pict_contact {
    background-color: #81d4be;
    background-size: cover; /* 画面いっぱいに拡大・縮小 */
    background-repeat: no-repeat;
    width: 100%;
    height: 30vw;
    position: relative;
}

.hero p {
    font-weight: 800;
    font-size: 4vw;
    line-height: 7vw;
    text-align: center;
    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%);
    color: #ffffff;
}

@media  (max-width: 760px) {
    .top_pict_reform {
        height: 50vh;
    }    
    .top_pict_reform p{
        font-size: 6.5vw;
        line-height: 12vw;
    }    
    .top_pict_realestate {
        height: 50vh;
    }    
    .top_pict_realestate p{
        font-size: 6.5vw;
        line-height: 12vw;
    }    
    .top_pict_profile {
        height: 50vh;
    }    
    .top_pict_profile p{
        font-size: 6.5vw;
        line-height: 12vw;
    }    
    .top_pict_example {
        height: 50vh;
    }    
    .top_pict_example p{
        font-size: 6.5vw;
        line-height: 12vw;
    }    
    .top_pict_faq {
        height: 50vh;
    }    
    .top_pict_faq p{
        font-size: 6.5vw;
        line-height: 12vw;
    }    
    .top_pict_pp {
        height: 50vh;
    }    
    .top_pict_pp p{
        font-size: 6.5vw;
        line-height: 12vw;
    }
    .top_pict_contact {
        height: 30vh;
    }
    .top_pict_contact p{
        font-size: 6.5vw;
        line-height: 12vw;
    }    

}

.index {
    margin: 3rem auto;
}

.index_heading {
    font-size: 2rem;
    line-height: 3rem;
    text-align: center;
    margin: 2rem;
}

.index_text {
    color: #000000;
    width: 70%;
    font-size: 1rem;
    line-height: 1.8rem;
    margin: 0 auto 3rem;
}

.index_box ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.index_box_example ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    margin: 0 auto 8rem;
    text-align: center;
}

.index_box li {
    padding: 1rem 0 0 0 ;
    width: 35%;
    background-color: #d9f2f0;
    height: 5rem;
    position: relative;
}

.index_box_example li {
    padding: 1rem 0 0 0 ;
    width: 35%;
    background-color: #f4e4de;
    color: #b64b24;
    height: 5rem;
    position: relative;
}

.index_box li::after {
    content: "▼";
    position: absolute;
    left: 50%;
    bottom: 20%;
    transition: transform 0.5s;
    -webkit-transition: transform 0.5s;
    -moz-transition: transform 0.5s;
    -ms-transition: transform 0.5s;
    -o-transition: transform 0.5s;
}

.index_box_example li::after {
    content: "▼";
    position: absolute;
    left: 50%;
    bottom: 20%;
    transition: transform 0.5s;
    -webkit-transition: transform 0.5s;
    -moz-transition: transform 0.5s;
    -ms-transition: transform 0.5s;
    -o-transition: transform 0.5s;
}

@media (max-width: 400px) {
    .index_heading {
    font-size: 1.5rem;
    line-height: 2rem;
    text-align: center;
    margin: 2rem;
    }

    .index_box li {
    padding: 1rem 0 0 0 ;
    width: 70%;
    background-color: #d9f2f0;
    height: 5rem;
    position: relative;
    }

    .index_box_example li {
    padding: 1rem 0 0 0 ;
    width: 70%;
    background-color: #f4e4de;
    color: #b64b24;
    height: 5rem;
    position: relative;
    }
}

.section_title {
  width: 50%;
  min-width: 300px;
  padding: 2rem;
  font-size: 1.75rem;
  border-radius: 6px;
  margin: 2.5rem auto;
  background-color: #ffffff;
  color: var(--emerald);
  text-align: center;
  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;
}

.section_pict {
    margin: 1rem auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 70%;
}

.section_pict_top {
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
}

.section_pict_bottom {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.section_pict_top img {
    width: 100%;
    height: auto;
}

.section_pict_bottom img {
    flex: 1;
    width: 48%;
    height: auto;
    display: block;
}

.section_text {
    color: #000000;
    width: 70%;
    font-size: 1rem;
    line-height: 1.8rem;
    margin: 3rem auto ;
}

.section_recommend {
    margin: 4rem auto 2rem;
    background-color: #fff2e3;
    width: 70%;
    padding: 1.75rem 3rem;
    text-align: center;
    position: relative;
}

.section_recommend p {
    color: #736357;
    font-size: 1.5rem;
    font-weight: 800;
    position: absolute;
    width: 100%;
    top: -0%;
    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;
}

.section_recommend ul {
    margin: 1rem auto 0; 
}

.section_recommend li {
    list-style: none;
    text-align: left;
    color: #736357;
    font-size: 1rem;
    line-height: 1.25rem;
    margin: 0 auto 1.25rem;
}

.section_recommend li:nth-child(2) {
    border-top: 1px solid #736357;
    border-bottom: 1px solid #736357;
    padding: 1rem 0;
}

@media (max-width: 400px) {
    .section_recommend {
        margin: 4rem auto 2rem;
        background-color: #fff2e3;
        width: 80%;
        padding: 1.75rem 1.5rem;
        text-align: center;
        position: relative;
    }

    .section_recommend p {
        color: #736357;
        font-size: 1rem;
        font-weight: 800;
        position: absolute;
        width: 100%;
        top: -0%;
        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;
    }

    .section_title {
        width: 70%;
        min-width: 200px;
        padding: 1rem 0;
        font-size: 1.2rem;
        text-align: center;
    }



}

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

    .example_title {
        display: flex;
        justify-content: center;
        margin: 2rem auto;
        gap: 1.5rem;
    }

    .examples_card {
    width: 70%;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: left;
    gap: 1rem;
    }

    .example_img {
    margin: 0 auto;
    }

    .example_img img {
    width: 100%;
    text-align: center;
    }

    .example_heading {
    width: 100%;
    font-size: 2rem;
    margin: 2rem auto;
    }

    .example_prof {
    width: 100%;
    margin: 0 auto;
    font-size: 1rem;
    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: 1rem;
    }

    .col1 {
      width: 30%;
    }

    .col2 {
      width: 70%;
    }

    .flow_step {
    width: 50px; /* 円の幅 */
    height: 50px; /* 円の高さ */
    min-width: 50px;
    min-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_heading {
    width: 100%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
    color: #000000;
    }

    .wave_strup {
        margin: 3rem auto -2rem; 
        width: 100%;
    }

    #contact {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 12px;
    }

    .akiya_flow {
    background-color: #f1d7ab;
    text-align: center;
    padding: 2rem 0 5rem;
    }

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

    .flow_comment { 
      width: 25em;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .flow_text {
      color: #000000;
      text-align: left;
      font-weight: 400;
    }

    .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: 100%;
        opacity: 0;
        border-radius: 10px;
        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);
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        -ms-border-radius: 10px;
        -o-border-radius: 10px;
}

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

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

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

@media (max-width: 400px) {
    .example_title {  
        display: flex;
        justify-content: center;
        margin: 0 auto;
        gap: 1rem;
    }

    .examples_card {
    width: 95%;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: left;
    gap: 1rem;
    }

    .example_heading {
    width: 100%;
    font-size: 1.5rem;
    margin: 1.5rem auto;
    }

    .example_heading p {
    font-size: 1.25rem;
    }

    .example_prof {
    width: 100%;
    margin: 0 auto;
    font-size: 0.75rem;
    color: #000000;
    border-collapse: collapse;
    }
    .flow_heading { 
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: #000000;
    }
    .flow_comment { 
      width: 90%;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
}


    .akiya_fin {
      margin: 3rem auto;
    }

    .akiya_fin_heading {
      margin: 0 auto;
      text-align: center;
    }

    .akiya_fin_heading img {
      width: 90%;
      max-width: 600px;
    }

    .akiya_fin_pict {
      width: 100%;
      text-align: center;
      margin: 0 auto;
    }

    .akiya_fin_pict img {
      width: 100%;
      text-align: center;
    }

    .profile_section {
      margin: 3rem auto;
      width: 75%;
      max-width: 550px;
    }

    .profile_block {
      margin: 2rem auto;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid #000;
    }

    .profile_heading {
      font-size: 1.5rem;
      margin-bottom: 0.5rem;
    }

    .profile_text {
      color: #000000;
      font-size: 1rem;
      line-height: 2rem;
    }

    .access {
      width: 100%;
      margin: 2rem auto;
      text-align: center;
    }

    .access iframe{
      width: 100%;
      height: 30rem;
    }

    .faq_section {
      width: 85%;
      margin: 4rem auto;
      padding-bottom: 2rem;
      border-bottom: 1px solid #000000;
    }

    .faq_heading {
      font-size: 1.2rem;
      margin-bottom: 1rem;
    }

    .faq_text {
      font-size: 1rem;
      color: #000000;
      font-weight: 400;
    }

/* ここまで各ページ用カスタマイズ */


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: 20rem;
  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;
}


@media (max-width: 400px) {
        .hover-text {
    display: block;
    width: 15rem;
    font-size: 1.5rem;
    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); /* 背景を黒に */
}

/* モーダルの背景 */
