@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Roboto:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap");
@media screen and (min-width: 680px) {
  .pc {
    display: inline-block;
  }
  .sp {
    display: none;
  }
}
@media screen and (max-width: 680px) {
  .pc {
    display: none;
  }
  .sp {
    display: inline-block;
  }
}
:root {
  --green: #0c9351;
  --mizuiro: #40c5d3;
  --kimidori: #6bc949;
  --yellow: #fff000;
  --red: #fe4a49;
}

body {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-weight: 600;
}

p {
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: inherit;
}

a.alink {
  text-decoration: underline;
  color: var(--green);
}

section {
  padding: 2rem 0;
}

h1 {
  font-size: 1.5rem;
}

h2 {
  font-size: 6rem;
  color: var(--mizuiro);
  letter-spacing: 0.2rem;
  font-family: "Rubik", sans-serif;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  h2 {
    font-size: 4rem;
  }
}
h2 span {
  font-size: 1.4rem;
  color: #0c0c0c;
  padding-left: 1.5rem;
}
@media (max-width: 768px) {
  h2 span {
    display: block;
  }
}

h3 {
  margin-bottom: 1.7rem;
  line-height: 1.8;
}

.bg-beige {
  background-color: #fefbf4;
}

.stripe {
  display: inline;
  background-image: repeating-linear-gradient(-45deg, #fff000, #fff000 7px, transparent 7px, transparent 14px);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.6em; /* 下線の太さ */
  padding-bottom: 0.15em; /* 文字と下線の距離 */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone; /* ← 行ごとに背景を複製 */
  line-height: 1.4;
}

.btn-daiyu {
  --green: #0c9351; /* ボタン色はここで調整 */
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.8em 1.4em;
  border-radius: 9999px; /* 角丸MAXで楕円 */
  background: var(--green);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
  transition: background 0.2s, filter 0.2s, transform 0.02s;
  letter-spacing: 0.05em;
  justify-content: center; /* ← これを追加！ */
  gap: 0.6em;
}
.btn-daiyu img {
  width: 1.2em;
}

.btn-purple {
  background-color: #3b2862;
}

.btn-daiyu:hover {
  filter: brightness(1.2);
}

.btn-daiyu:active {
  transform: translateY(1px);
}

.btn-daiyu:focus-visible {
  outline: 3px solid #b9f2d0;
  outline-offset: 2px; /* キーボード操作の可視化 */
}

.btn-s {
  --green: #0c9351; /* ボタン色はここで調整 */
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.4em 0.9em;
  border-radius: 9999px; /* 角丸MAXで楕円 */
  background: var(--green);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, filter 0.2s, transform 0.02s;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  border: 0;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}

@media (max-width: 768px) {
  #logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

#logo img {
  padding: 15px;
  width: 150px;
  filter: drop-shadow(1px 0px 5px #ffffff);
}

.hamburger {
  position: fixed;
  right: 20px;
  top: 20px;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 200;
}

.hamburger__line {
  position: absolute;
  width: 30px;
  height: 3px;
  background-color: #333333;
  border-radius: 2px;
  transition: all 300ms ease;
  transform: rotate(0deg);
}

/* 線の位置（通常） */
.hamburger__line:nth-child(1) {
  top: 0px;
}

.hamburger__line:nth-child(2) {
  top: 9px;
}

.hamburger__line:nth-child(3) {
  top: 18px;
}

/* ×変形（2本） */
/* ×変形（3本） */
.hamburger.open .hamburger__line:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

.hamburger.open .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.open .hamburger__line:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* メニュー本体 */
.menu {
  flex-direction: column;
  display: flex;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 300ms ease;
  width: 300px;
  background-color: var(--yellow);
  text-align: center;
  padding: 40px 40px 20px 40px;
  gap: 30px;
  position: fixed;
  right: 0;
  top: 0;
  border-left: black 2px solid;
  border-bottom: black 2px solid;
  z-index: 150;
}

.menu__item {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 16px;
  color: inherit;
  padding-bottom: 20px;
  border-bottom: 2px solid black;
  justify-content: center;
}

.menu__item:last-child {
  border-bottom: none;
}

/* 初期状態 */
#menu {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: 0.3s;
  visibility: hidden; /* ← ここを使うなら… */
}

/* 開いた状態 */
#menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible; /* ← これを必ず入れる */
}

.icon img {
  width: 20px;
  height: 20px;
  -o-object-fit: contain;
     object-fit: contain;
}

/* アニメーション */
/* 上から下 */
.slide-top-enter-active,
.slide-top-leave-active {
  transition: all 300ms ease;
}

.slide-top-enter-from,
.slide-top-leave-to {
  opacity: 0;
  transform: translateY(-20px);
}

.slide-top-enter-to,
.slide-top-leave-from {
  opacity: 1;
  transform: translateY(0);
}

#carousel-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: -100;
}
#carousel-top img {
  -o-object-fit: cover;
     object-fit: cover;
}

#hero {
  background-image: url("img/hata-left.png"), url("img/hata-right.png");
  background-repeat: no-repeat;
  background-position: left top, right top;
  position: relative;
  width: 100vw;
  height: 100vh;
}
@media (max-width: 768px) {
  #hero {
    background-size: 40vw;
  }
}

#hero-copy {
  position: absolute;
  top: 40vh;
  left: 60px;
}
#hero-copy img {
  width: min(550px, 90vw);
}
@media (max-width: 768px) {
  #hero-copy {
    top: 30vh;
    left: 20px;
  }
}

#carousel-top,
#carousel-top .carousel-inner,
#carousel-top .carousel-item,
#carousel-top img {
  width: 100vw;
  height: 100vh; /* 画面高さに固定 */
}

#carousel-top img {
  -o-object-fit: cover;
     object-fit: cover; /* はみ出しても縦横比維持して拡大 */
  -o-object-position: center;
     object-position: center; /* 中央を基準に切り取り */
}

@media (max-width: 768px) {
  #carousel-top img#slide3-position {
    -o-object-position: right 20%;
       object-position: right 20%;
  }
}

#contact-tag {
  background-color: var(--yellow);
  padding: 25px 35px 25px 20px;
  border: black 2px solid;
  position: fixed;
  right: -20px;
  top: 40vh;
  z-index: 100;
  border-radius: 20px 0 0 20px;
  transition: 0.3s;
}
@media (max-width: 768px) {
  #contact-tag {
    padding: 15px;
    right: -10px;
    top: 70vh;
  }
}
#contact-tag img {
  width: 20px;
}
@media (max-width: 768px) {
  #contact-tag img {
    width: 15px;
  }
}
#contact-tag:hover {
  transform: translateX(-10px);
}

.cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: stretch;
  justify-items: stretch;
}
@media (max-width: 768px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* グリッド直下の子（a/div）は stretch に任せる。高さ100%は不要 */
.cards > * {
  display: flex;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* a の見た目調整だけ残す */
.cards > a {
  text-decoration: none;
  color: inherit;
}

/* カード本体は親（a）の中で高さを埋める */
.card-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  /* ここがポイント */
  flex: 1;
  /* height:100%; は外す */
  padding: 1rem;
  border: 4px solid var(--kimidori);
  border-radius: 15px;
  box-sizing: border-box;
}
.card-box h4 {
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  text-align: center;
}
.card-box img {
  max-height: 80px;
  margin-bottom: 15px;
}
.card-box p {
  margin-bottom: 0;
  line-height: 1.5;
}

.b-mizuiro {
  border: 4px solid var(--mizuiro);
}

.modal {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
}
.modal p {
  padding: 0 1rem;
  text-align: justify;
}
@media (max-width: 768px) {
  .modal {
    --bs-modal-margin: 2rem; /* デフォルトは .5rem */
  }
}
.modal h5 {
  font-size: 1rem;
  letter-spacing: 0.1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--mizuiro);
  line-height: 1.8;
}

.modal-header {
  justify-content: center;
  flex-direction: column;
}
.modal-header img {
  width: 100px;
  margin-bottom: 1rem;
}

ul.list li {
  margin-bottom: 0.5rem;
}
ul.list li::marker {
  color: var(--green); /* 好きな色 */
  font-size: 1.6rem; /* 大きさ調整も可能 */
}

.youtube {
  width: 100%;
  aspect-ratio: 16/9;
}

.youtube iframe {
  width: 100%;
  height: 100%;
}

.jirei-name {
  background-color: var(--mizuiro);
  color: white;
  text-align: center;
  border-radius: 30px;
  padding: 5px;
  margin-bottom: 1rem;
}

.jirei-face {
  border-radius: 50%;
}
@media (max-width: 768px) {
  .jirei-face {
    width: 130px;
  }
}

.jirei h4 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.8;
}

.qa {
  background-color: white;
  padding: 1rem;
  border-radius: 20px;
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.qa-title {
  text-indent: -2rem; /* 1行目を左にずらす */
  padding-left: 2rem; /* 全体を右に寄せる */
}
.qa-title span {
  font-family: "Rubik", sans-serif;
  font-size: 1.7rem;
  margin-right: 0.5rem;
}

.color-q span {
  color: var(--mizuiro);
}

.color-a span {
  color: var(--red);
}

.policy-box {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
  font-weight: 400;
  font-size: 13px;
  height: 150px;
  overflow: scroll;
}
.policy-box h2 {
  font-size: 13px;
  font-weight: bold;
  margin: 1rem 0 0.6rem;
  letter-spacing: 0.1rem;
  color: #000;
}

.form-label {
  color: var(--mizuiro);
}

.maru {
  color: var(--mizuiro);
  font-size: 0.6rem;
}

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
  margin: 7rem 0;
}

.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0;
}

.scroll-infinity__list--left {
  animation: infinity-scroll-left 80s infinite linear 0.5s both;
}

.scroll-infinity__item {
  width: 20vw;
  padding-right: 1rem;
}
.scroll-infinity__item:nth-child(odd) {
  padding-top: 2rem;
}
@media (max-width: 768px) {
  .scroll-infinity__item {
    width: 50vw;
  }
}

.scroll-infinity__item > img {
  width: 100%;
  border-radius: 10px;
}

#footer {
  padding: 5rem 0 1rem;
  background-color: #ececec;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  position: relative;
  padding-top: 80px; /* イラストがかぶる分だけ余白を足す */
  z-index: 1;
}
#footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -90px; /* ここが “かぶせ量” */
  height: 110px; /* イラストの縦サイズ */
  background: url("img/il-bottom-left.png") left/40% no-repeat, url("img/il-bottom-right.png") right/40% no-repeat;
  display: block;
  pointer-events: none; /* クリックを邪魔しない */
  z-index: 2; /* フッター本体より前面 */
}
@media (max-width: 768px) {
  #footer::before {
    background: url("img/cars-line-sp.png") center/100% no-repeat;
  }
}

.copyright {
  font-size: 12px;
  color: #999999;
}

.w-50-sp100 {
  width: 50%;
}
@media (max-width: 768px) {
  .w-50-sp100 {
    width: 100%;
  }
}

/* 見た目だけ弱くしたい場合（任意） */
.btn-daiyu.is-weak {
  opacity: 0.6;
  filter: grayscale(30%);
}/*# sourceMappingURL=daiyu.css.map */