@charset "utf-8";

body {
  background-color: #fecaec;
  margin: 0%;
}

html {
  scroll-behavior: smooth; /* スムーズスクロールを有効化 */
}

/* ヘッダー */
.header {
  position: relative;
  height: 0px;
  padding-bottom: 230px;
  overflow: hidden;
}

.header-img {
  position: absolute;
  top: 0px;
  display: flex;
  align-items: center;
  gap: 17px;
}

.header-img img {
  width: 170px;
}

.header_logo img {
    padding: 0px;
}


@media screen and (max-width: 953px) {
  .header {
    position: relative;
    height: 0px;
    padding-bottom: 140px;
    overflow: hidden;
  }
}
@media screen and (max-width: 817px) {
  .header {
    position: relative;
    height: 0px;
    padding-bottom: 100px;
    overflow: hidden;
  }
}
@media screen and (max-width: 500px) {
  .header {
    position: relative;
    height: 0px;
    padding-bottom: 90px;
    overflow: hidden;
  }
}
@media screen and (max-width: 437px) {
  .header {
    position: relative;
    height: 0px;
    padding-bottom: 60px;
    overflow: hidden;
  }
}
@media screen and (max-width: 424px) {
  .header {
    position: relative;
    height: 0px;
    padding-bottom: 80px;
    overflow: hidden;
  }
}
@media screen and (max-width: 397px) {
  .header {
    position: relative;
    height: 0px;
    padding-bottom: 57px;
    overflow: hidden;
  }
}
@media screen and (max-width: 367px) {
  .header {
    position: relative;
    height: 0px;
    padding-bottom: 60px;
    overflow: hidden;
  }
}
@media screen and (max-width: 335px) {
  .header {
    position: relative;
    height: 0px;
    padding-bottom: 40px;
    overflow: hidden;
  }
}


.list_nav_header {
  position: absolute;
  top: 15px;
  display: flex;
  gap: 25px;
  list-style-type: none;
  font-size: 12px;
  left: 650px;
}

.list_nav_header a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding-bottom: 2px; /* テキストと下線の間隔 */
  background-image: linear-gradient(#ffffff, #ffffff);
  background-repeat: no-repeat;
  background-position: bottom right; /* 下線の初期位置 */
  background-size: 0 1px; /* 下線のサイズ（横幅、高さ） */
  transition: background-size 0.5s;
}

@media screen and (max-width: 780px) {
  .menu_list_nav_header a {
   font-size: 12px;
  }
}
@media screen and (max-width: 657px) {
  .menu_list_nav_header a {
   font-size: 12px;
  }
  .menu_list_nav_header li {
    margin-left: -10px;
  }
}
@media screen and (max-width: 544px) {
  .menu_list_nav_header a {
   font-size: 11px;
  }
  .menu_list_nav_header li {
    margin-left: -16px;
  }
  .menu {
    width: 150px;
    height: 300px;
  }
}
@media screen and (max-width: 460px) {
  .menu_list_nav_header a {
   font-size: 10px;
  }
  .menu_list_nav_header li {
    margin-left: -20px;
  }
  .menu {
    padding-left: 10px;
    width: 150px;
    height: 300px;
  }
}

.list_nav_header li {
  position: relative;
  white-space: nowrap;
}

.list_nav_header a:hover {
  background-position: bottom left; /* 下線のホバー時位置 */
  background-size: 100% 1px; /* 下線の横幅を100%にする */
}

/* ハンバーガーメニュー */
.burger {
  width: 40px;
  height: 40px;
  background-color: #d9304f;
  background-image: url(images/header_firstview/burger.png);
  background-size: 21x;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 4px;
  cursor: pointer;
  position: fixed;
  top: 14px;
  right: 10px;
  display: block;
  z-index: 10;
}

.burger:hover {
  background-color: rgb(234, 182, 199);
}

.menu {
  position: absolute;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: start;
  width: 20%;
  height: 50%;
  background-color: rgb(159, 20, 171);
  position: fixed;
  top: 0;
  right: 0;
  z-index: 5;
  display: none;
  opacity: 0.7;
  border-radius: 6px;
}

.menu_list_nav_header li {
  list-style-type: none;
  line-height: 40px;
}

.menu_list_nav_header a {
  text-decoration: none;
  color: #ffffff;
  padding-bottom: 2px; /* テキストと下線の間隔 */
  background-image: linear-gradient(#ffffff, #ffffff);
  background-repeat: no-repeat;
  background-position: bottom right; /* 下線の初期位置 */
  background-size: 0 1px; /* 下線のサイズ（横幅、高さ） */
  transition: background-size 0.5s;
}
.menu_list_nav_header a:hover {
  background-position: bottom left; /* 下線のホバー時位置 */
  background-size: 100% 1px; /* 下線の横幅を100%にする */
}

.menu.is-active {
  position: relative;
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
}

.burger.is-active {
  background-image: url(images/header_firstview/close.png);
  position: fixed;
  top: 14;
  right: 10;
}

.rogo-top-home {
  cursor: pointer;
}

.rogo-top-home:hover {
  cursor: pointer;
  opacity: 3;
}


/* Header レスポンシブ */
@media screen and (max-width: 1110px) {
  .list_nav_header {
    display: none;
  }
}
@media screen and (max-width: 620px) {
  .header-img img {
    width: 150px;
  }
  .burger {
    position: fixed;
    top: 10px;
    right: 10px;
  }
}
@media screen and (max-width: 545px) {
  .header-img img {
    width: 130px;
  }
  .burger {
    position: fixed;
    top: 10px;
    right: 10px;
  }
}
@media screen and (max-width: 500px) {
  .header-img img {
    width: 130px;
  }
  .burger {
    position: fixed;
    top: 10px;
    right: 10px;
  }
}
@media screen and (max-width: 487px) {
  .header-img img {
    width: 130px;
  }
  .burger {
    position: fixed;
    top: 10px;
    right: 10px;
  }
}
@media screen and (max-width: 475px) {
  .header-img {
    gap: 10px;
  }
  .header-img img {
    width: 130px;
  }
  .burger {
    position: fixed;
    top: 10px;
    right: 10px;
  }
}
@media screen and (max-width: 465px) {
  .header-img {
    gap: 10px;
  }
  .header-img img {
    width: 110px;
  }
  .burger {
    position: fixed;
    top: 10px;
    right: 10px;
  }
}
@media screen and (max-width: 470px) {
  .header-img {
    gap: 8px;
  }
}
@media screen and (max-width: 407px) {
  .header-img img {
    width: 98px;
  }
}
@media screen and (max-width: 360px) {
  .header-img img {
    width: 90px;
  }
  .burger {
    position: fixed;
    top: 10px;
    right: 10px;
  }
}
@media screen and (max-width: 338px) {
  .header-img img {
    width: 87px;
  }
}

.anketo-wrapper {
  position: relative;
  margin: 0%;
  background-image: url(images/anketo/haikei_anketo.png);
  background-repeat: no-repeat;
  background-size: 100%;      /* 画面いっぱい */
  background-position: center 0%;
  padding: 0px 0px 0px;      /* 上下余白（背景を見せる） */
}

.coment {
  text-align: center;
  font-size: 75%;
  font-family: A P-OTF くれたけ銘石 StdN B;
  width: 100%;
  color: #c70404;
}

@media(max-width: 550px) {
  .coment {
    text-align: center;
    font-size: 65%;
    font-family: A P-OTF くれたけ銘石 StdN B;
    width: 100%;
    color: #c70404;
  }
}
@media(max-width: 485px) {
  .coment {
    font-size: 45%;
  }
}
@media(max-width: 460px) {
  .coment {
    font-size: 35%;
  }
}

/* アンケート画像を並べるグリッド */
.anketo-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 2列 */
  gap: 0;
  padding-top: 20%;
  padding-left: 15%;
  padding-right: 15%;
}

/* アンケート1枚 */
.anketo-item {
  text-align: center;
  padding-top: 0%;
  margin: 20% 0% 0% 0%;
  display: flex;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.35s ease, top 0.35s ease, left 0.35s ease;
}
.anketo-item.is-floating {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -120%) scale(1.7);
  z-index: 2000;
  margin: 0; /* 追加 */
}

.anketo-item.is-floating .anketo-img {
  width: 100%;
  max-width: 480px; /* 拡大サイズ */
}


.anketo-item.is-active {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -125%) scale(2);
  z-index: 999;
}

/* アンケート画像 */
.anketo-img {
  width: 70%;
  max-width: 320px;   /* 大きさ調整 */
  display: block;
}

.anketo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 998;
}

.anketo-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}


/* スマホ時：1列に変更 */
@media(max-width: 768px) {
  .anketo-img {
    width: 50%;
    display: block;
  }
  .anketo-grid {
    grid-template-columns: 1fr;
    gap: 0px;
  }
  .anketo-wrapper {
    background-size: contain;      /* 画面いっぱい */
    background-position: center 0%;
    padding: 0px 0px 0px;      /* 上下余白（背景を見せる） */
  }
  .anketo-item.is-active {
    transform: translate(-50%, -100%) scale(2.7);
  }
}
@media (max-width: 475px) {
  .anketo-img {
    width: 50%;
    display: block;
    margin-top: -10%;
  }
  .anketo-item.is-active {
    transform: translate(-50%, -70%) scale(3);
  }
}


/* 初期状態：下にずらして透明 */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

/* 表示されたときに適用される */
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}


/* ====== フッター全体 ====== */
.wave-footer {
  position: relative;
  text-align: center;
  overflow: hidden;
  margin-top: 0%;
}

/* ====== フッター内容 ====== */
.footer-content {
  background-color: #4a0e70;
  color: #fff;
  padding: 5rem 1rem 3rem;
  position: relative;
  z-index: 2;
  margin-top: -3%;
}

.footer-content h2 {
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: rgb(255, 255, 255);
}

.footer-content h2 span {
  font-size: 1.2rem;
  vertical-align: middle;
  color: gold;
}

.footer-content hr {
  border: none;
  border-top: 1px dotted #d6c9bc;
  width: 60%;
  margin: 1rem auto 3rem;
}

.wave-svg {
  padding-bottom: 0%;
}

.question_btn {
  width: 250px;
  cursor: pointer;
}

.question_btn:hover {
  opacity: 70%;
}

@media screen and (max-width: 430px) {
  .question_btn {
    width: 200px;
  }
}

/* ====== メニュー部分 ====== */
.footer-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: auto;
  gap: 1rem;
}

ul.lineup {
  padding: 0%;
}

.footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 240px;
}

.hoken-icon {
  width: 30%;
}

.footer-item .text p {
  margin: 0.3rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #f5f5f5;
}

.lineup a {
  text-decoration: none;
  color: #ffffff; 
  font-size: 0.8rem;
}

.lineup span {
  font-size: 70%;
}

.lineup li {
  list-style: none;
  color: #ffffff; 
  text-align: left;
}

.lineup a {
  text-decoration: none;
  color: #ffffff;
  padding-bottom: 2px; /* テキストと下線の間隔 */
  background-image: linear-gradient(#ffffff, #ffffff);
  background-repeat: no-repeat;
  background-position: bottom right; /* 下線の初期位置 */
  background-size: 0 1px; /* 下線のサイズ（横幅、高さ） */
  transition: background-size 0.5s;
}
.lineup a:hover {
  background-position: bottom left; /* 下線のホバー時位置 */
  background-size: 100% 1px; /* 下線の横幅を100%にする */
}

/* ====== コピーライト ====== */
.copyright {
  margin-top: 3rem;
  font-size: 0.8rem;
  color: #ddd;
}

/* 承認番号 */
.shounin {
  font-size: 0.7rem;
  color: #ddd;
  margin: 5% 0% 0 60%;
}

/* ====== レスポンシブ対応 ====== */
@media screen and (max-width: 768px) {
  .footer-menu {
    flex-direction: column;
    align-items: center;
  }
  .footer-item {
    width: 80%;
  }
  .footer-content h2 {
    font-size: 1.3rem;
  }
}