/* ===== リセット ===== */
body {
  margin: 0;
  background-color: #fff352;
  color: #fff;
  line-height: 1.8;
  font-size: 14px;
}


// <weight>: Use a value from 100 to 900
// <uniquifier>: Use a unique and descriptive class name

.noto-sans-jp-<uniquifier> {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}





/* ===== 共通コンテナ ===== */
.inner,
.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}



@media screen and (max-width: 768px) {

  .main {
    width: 90%;
  }
}





/* ===== ヘッダー ===== */

.header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  z-index: 1000;
}


/* 帯 */

.header-band {
  height: 80px;
  width: 100%;

  background-color: #fff352;
}


/* 中身1200px */

.header-band .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  justify-content: space-between;
  display: flex;
  align-items: center;
}



.header-inner {
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 20px;

  height: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;
}






/* ロゴ */

.logo img {

  height: 5vh;

  display: block;

}




/* ボタン */

.header-buttons {

  display: flex;
  gap: 15px;
}


.header-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: .3s ease;
}



.header-btn-white {
  color: #000;
  background: #fff;
}
.header-btn-white:hover {
  background: #eee;
}



.header-btn-red {

  color: #fff;
  background: #cc0000;
}

.header-btn-red:hover {

  background: #ff2222;
}


@media screen and (max-width:768px){

  .header-btn {
    padding: 8px 14px;
    font-size: 12px;
  }

}



/* top跳ねさせる */

.title-img {
  animation: poyo 1.5s ease-out;
  transform-origin: center bottom;
}

@keyframes poyo {
  0%   { transform: scale(1); }
  15%  { transform: scale(1.08, 0.92); }
  30%  { transform: scale(0.96, 1.06) translateY(-15px); }
  45%  { transform: scale(1.03, 0.97); }
  60%  { transform: scale(0.98, 1.02) translateY(-8px); }
  75%  { transform: scale(1.01, 0.99); }
  100% { transform: scale(1); }

}
 
@keyframes poyo {
  0%  {
    transform: scale(1.0, 1.0) translate(0, 0);
  }
  15% {
    transform: scale(0.98, 0.9) translate(0, 5px);
  }
  30% {
    transform: scale(1.02, 1.0) translate(0, 8px);
  }
  50% {transform: scale(0.98, 1.05) translate(0, -8px);
  }
  70% {
    transform: scale(1.0, 0.9) translate(0, 5px);
  }
  100% {
    transform: scale(1.0, 1.0) translate(0, 0);
  }
  0%, 100% {
    opacity: 1;
  }
}


/* fukidashi */

.fukidashi {
  padding-top: 20px;
  opacity: 0;
  transform: translateX(120px);
  animation: slideIn 0.7s ease-out forwards;
  animation-delay: 2s; /* タイトルが跳ね終わってから */
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(120px);
  }

  70% {
    opacity: 1;
    transform: translateX(-10px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (min-width: 768px) {
  .fukidashi {
    padding-top: 60px;
    opacity: 0;
    transform: translateX(120px);
    animation: slideIn 0.7s ease-out forwards;
    animation-delay: 3.5s; /* ←タイトルが完全に落ち着いてから */
  }
}



/* 丸（見出し） */

.circle{
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #87c540;
  font-family: 'Noto Sans JP', serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align:center;
  line-height: 80px;
}

@media screen and (max-width: 768px) {

.circle {
  display: inline-block;
  border-radius: 50%;
  font-size: 16px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align:center;
  line-height: 60px;
    }
}


/* テキスト */
.text{
  display: inline-block;
  font-family: 'Noto Sans JP', serif;
  font-size: 24px;
  color: #333333;
  font-weight: 700;
  letter-spacing: 0.1em;
}


@media screen and (max-width: 768px) {
.text{
  font-family: 'Noto Sans JP', serif;
  font-size: 16px;
}
}





/* 注意事項 */
.note{
  display: inline-block;
  font-family: 'Noto Sans JP', serif;
  font-size: 15px;
  color: #333333;
  font-weight: 400;
  letter-spacing: 0.1em;
  align-items: center;
  
}


@media screen and (max-width: 768px) {
.note{
  font-family: 'Noto Sans JP', serif;
  font-size: 10px;
  max-width: 85vw;
  align-items: center;
}
}




/* ハンバーガー */
.container {
  position: relative;
  background: #fff352;
}

.hamburger-menu {
  right: 10px;
  width: 38px;
  height: 30px;
  cursor: pointer;
  z-index: 0;
  background: #ff3366;
  border-radius: 8px;
  padding: 9px;
  box-shadow: 4px 4px 0 #222;
  transition: all 0.2s;
}

.hamburger-menu:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #222;
}

.hamburger-menu .line {
  display: block;
  position: absolute;
  width: calc(100% - 18px);
  height: 3px;
  left: 9px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-menu .line:nth-of-type(1) { top: 22%; }
.hamburger-menu .line:nth-of-type(2) { top: 50%; transform: translateY(-50%); }
.hamburger-menu .line:nth-of-type(3) { bottom: 22%; top: auto; }

.hamburger-menu.active > .line:nth-of-type(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger-menu.active > .line:nth-of-type(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger-menu.active > .line:nth-of-type(3) {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%) rotate(-45deg);
}

.nav-menu {
  display: none;
}

.nav-menu {
  display: none;
  z-index: 999;
}

.nav-menu.active {
  display: flex;
}

.hamburger-menu {
  position: relative;
  z-index: 2000;
}


.nav-menu.active {
  position: fixed;
  top: 80px;
  right: 0;
  width: 55%;
  max-width: 190px;
  height: calc(100vh - 80px);

  display: flex;
  flex-direction: column;

  background: #ff3366;
}

.nav-menu.active::before {
  content: "";
  pointer-events: none;
  position: absolute;
  top: -80px;
  right: 0;
  width: 100%;
  height: 80px;
  background: #ff3366;
}

.nav-menu a {
  display: block;
  color: #222;
  text-decoration: none;
  padding: 10px 14px;
  margin: 5px;
  background: #ffe066;
  border-radius: 8px;
  font-family: 'Noto Sans JP', serif;
  font-weight: 800;
  box-shadow: 3px 3px 0 #222;
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-menu a.show {
  opacity: 1;
  transform: translateX(0);
}


@keyframes slideFromRight {
  0% { right: -100%; opacity: 0; }
  100% { right: 0; opacity: 1; 
  }
 }






/* ===== 本文 ===== */
.main {
  margin-top: 120px; /* ロゴ分の余白 */
}

/* ===== 見出し ===== */
h1.title01 {
  position: relative;
  padding: 8px 8px;
  font-family: 'Noto Sans JP', serif;
  font-size: 28px;
  letter-spacing: 0.1em;
  color: #333;
  font-weight: 700;
  display: block;
  box-sizing: border-box;
  max-width: 140px;
  text-align: center; 
  margin: 24px;
  margin-inline: auto;
}

.title01::before {
  content:'';
  position: absolute;
  left:50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  display: inline-block;
  rotate: 45deg;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: #a1d8e2;
  z-index: -999;
}


@media screen and (max-width: 768px) {

h1.title01 {
  font-size: 16px;
}
}





h1.title02 {
  position: relative;
  padding: 8px 8px;
  font-family: 'Noto Sans JP', serif;
  font-size: 28px;
  letter-spacing: 0.1em;
  color: #333;
  font-weight: 700;
  display: block;
  box-sizing: border-box;
  max-width: 140px;
  text-align: center; 
  margin: 24px;
  margin-inline: auto;
}

.title02::before {
  content:'';
  position: absolute;
  left:50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  display: inline-block;
  rotate: 45deg;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: #f48067;
  z-index: -999;
}


@media screen and (max-width: 768px) {

h1.title01 {
  font-size: 16px;
}
}










h2 {
  font-size: 1.2em;
  margin-top: 2em;
  margin-bottom: 0.5em;
}

h3 {
  font-size: 2em;
  margin-top: 2em;
  margin-bottom: 0.2em;
}

h4 {
  font-size: 2.5em;
  margin-top: 2em;
  margin-bottom: 0.2em;
  letter-spacing: 0.1em;
}


h5 {
  font-size: 24px;
  margin-top: 0em;
  margin-bottom: 0.2em;
}



/* ===== 段落 ===== */
p {
  margin: 0;
  padding: 0;
}

p1 {
  font-size: 1.2em;
  margin: 0;
  padding: 0;
}

p2 {
  font-size: 18px;
  margin: 0;
  padding: 0;
}







/* ===== 画像 ===== */
img {
  max-width: 100%;
  height: auto;
}




/* ===== 丸 ===== */

.carousel-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  gap: 20px;
}

.carousel-track img {
  width: calc(33.333% - 14px); 
  height: auto;
  object-fit: cover;
  border-radius: 8px; 
}






/* ===== フォームボタン ===== */

.btn_box{
  transform: translate(-50%, -50%);
  margin: 0;
  position: absolute;
  left: 50%;
}

#btn_animation .btn{
  display: block;
  width: 50vw;
  height: 10vh;
  font-family: 'Noto Sans JP', serif;
  font-size: 5vh;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  background-color: #FF0071;
  text-align: center;
  cursor: pointer;
  border-radius: 78px;
  animation: btn_animation 1s infinite;
}

@keyframes btn_animation {
    0% {
        transform: scale(1, 0.8);
    }
    20% {
        transform: scale(0.8, 1.1);
    }
    95% {
        transform: scale(1, 1);
    }
    100% {
        transform: scale(1, 0.8);
    }
}




@media screen and (max-width: 767px) {

#btn_animation .btn{
  display: block;
  width: 80vw;
  height: 10vh;
  font-family: 'Noto Sans JP', serif;
  font-size: 3vh;
  line-height: 10vh;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  background-color: #FF0071;
  text-align: center;
  cursor: pointer;
  border-radius: 78px;
  animation: btn_animation 1s infinite;
}
}





/* --- スマホ時のスタイル（幅767px以下で切り替え） --- */
@media screen and (max-width: 767px) {
  .carousel-track {
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    
    /*左右余白*/
    padding-left: 10%;
    padding-right: 10%;
    scroll-behavior: auto; /* 最初の一瞬だけスムーズスクロールを無効化 */
  }

  .carousel-track img {
    width: 80%; 
    flex-shrink: 0;    
    scroll-snap-align: center;
}



}



/* ===== テキスト左・画像右レイアウト ===== */
.content-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center;
}

.content-map iframe{
    width:100%;
    height:450px;
    border:0;
}

.content-text{
 display:flex;
  justify-self: start;
  text-align: left;
 }


@media screen and (max-width: 768px){

  .content-row{
    display:flex;
    flex-direction:column;
    gap:20px;
  }

  .content-map,
  .content-text{
    width:100%;
  }

  .content-map iframe{
    height:300px; /* お好みで調整 */
  }
}


/* ===== 地図テキスト ===== */
.map-text {
  position: relative;
  padding: 2px 2px;
  font-family: 'Noto Sans JP', serif;
  font-size: 22px;
  letter-spacing: 0.1em;
  color: #333;
  font-weight: 700;
  display: block;
  box-sizing: border-box;
  margin: 1px;
  margin-inline: auto;
}


@media screen and (max-width: 768px){

.map-text {
  font-size: 13px;
}
