@charset "UTF-8";

/* --- 変数定義 --- */
:root {
  --primary-color: #9ec43a; /* コンテンツ内のアクセント（黄緑） */
  --theme-green: #41c0a0; /* ヘッダー・フッターの指定色 */
  --bg-green-light: #f4f6f0;
  --accent-green: #6b8e23;
  --accent-gold: #d4af37;
  --text-color: #444444;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
}

/* --- リセット & 基本設定 --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: var(--text-color);
  background-color: var(--white);
  line-height: 1.8;
  letter-spacing: 0.05em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
li {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-radius: var(--radius-sm);
}
.inline {
  display: inline-block;
}
/* --- 改行・文字あふれ対策 --- */
h1,
h2,
h3,
h4,
p,
li {
  word-break: break-word; /* 長い単語でも折り返す */
  overflow-wrap: anywhere; /* どのような場合でもあふれさせない */
}

/* --- アニメーション定義 --- */
.animate-trigger {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-trigger.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ctaPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 25px rgba(158, 196, 58, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
}

/* --- タイトル (clampでレスポンシブ化) --- */
.eng-title,
.eng-title-white {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  text-align: center;
  margin-bottom: 0.5rem;
}
.eng-title {
  color: var(--primary-color);
}
.eng-title-white {
  color: var(--white);
}

.section-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: bold;
  text-align: center;
  font-size: clamp(1.4rem, 5vw, 2rem);
  margin-bottom: 3rem;
  color: var(--text-color);
}
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Header (指定色 #41c0a0) --- */
header {
  width: 100%;
  background-color: var(--theme-green);
  position: fixed;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  color: var(--white);
}
.header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}
.header-logo img {
  height: 40px;
  width: auto;
  border-radius: 0 !important;
}
.header-nav ul {
  display: flex;
  gap: 25px;
  font-weight: bold;
  font-size: 0.95rem;
  align-items: center;
}
.header-nav a {
  color: var(--white);
}
.header-nav a:hover {
  color: #f0f0f0;
  opacity: 0.8;
}

.entry a {
  background-color: #ff9d00; /* パッと目立つオレンジに変更 */
  color: #fff; /* 文字は白 */
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* 少し影をつけて浮き立たせる */
  transition: 0.3s;
  display: inline-block; /* 念のため追加 */
}
.entry a:hover {
  background-color: #ffb74d; /* ホバー時は少し明るく */
  transform: translateY(-2px); /* 押せるように少し浮く */
  opacity: 1; /* 透明度は変えない */
}

/* Hamburger Menu (色は白に) */
.openbtn {
  position: relative;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: none;
  z-index: 200;
}
.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 5px;
  height: 2px;
  background: var(--white);
  width: 30px;
}
.openbtn span:nth-of-type(1) {
  top: 12px;
}
.openbtn span:nth-of-type(2) {
  top: 19px;
}
.openbtn span:nth-of-type(3) {
  top: 26px;
}
.openbtn.active span:nth-of-type(1) {
  top: 19px;
  transform: rotate(-45deg);
}
.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
  top: 19px;
  transform: rotate(45deg);
}

/* SP Nav */
.sp-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--theme-green);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sp-nav.panelactive {
  opacity: 1;
  visibility: visible;
}
.sp-nav-inner {
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}
.sp-nav.panelactive .sp-nav-inner {
  transform: translateY(0);
}
.sp-nav ul {
  display: block;
}
.sp-nav li {
  margin-bottom: 25px;
}
.sp-nav a {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--white);
}

/* --- MV --- */
.fv {
  margin-top: 70px;
  padding: 100px 0;
  background-color: #fff;
}
.fv-inner {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fv-text {
  flex: 1;
  padding-right: 40px;
}
.fv-sub {
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 15px;
  display: inline-block;
}
.fv-text h1 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: bold;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 25px;
  color: #333;
}
.fv-desc {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #666;
}
.fv-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 16px 40px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1rem;
}
.fv-btn:hover {
  background-color: var(--accent-green);
  transform: translateY(-2px);
}
.fv-img {
  flex: 1;
}
.fv-img img {
  border-radius: var(--radius-md);
  box-shadow: 10px 10px 0 var(--bg-green-light);
}

/* --- Trouble (修正：上下位置とスマホ余白) --- */
.about-jiu {
  padding: 80px 0;
  background-color: var(--white);
}
.trouble-box {
  background: var(--bg-green-light);
  padding: 40px;
  border-radius: var(--radius-md);
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #e0e0e0;
}
.check-list li {
  display: flex;
  /* flex-start から center に変更して上下中央揃えに */
  align-items: center;
  margin-bottom: 15px;
  font-size: clamp(1rem, 4vw, 1.2rem);
  font-weight: bold;
  line-height: 1.6;
}
.check-list .icon {
  font-size: 1.3rem;
  margin-right: 15px;
  flex-shrink: 0;
  /* 上下中央揃えのため、余計なmargin-topを削除 */
  margin-top: 0;
}
.trouble-cta {
  text-align: center;
  margin-top: 30px;
}
.arrow-area {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 10px;
}
.cta-msg {
  font-size: clamp(1rem, 4vw, 1.3rem);
  font-weight: bold;
  color: var(--accent-green);
}

/* --- Merit, Reason, Flow --- */
.merit {
  padding: 80px 0;
  background-color: #fafafa;
}
.merit-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.merit-card {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius-md);
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: 0.3s;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}
.merit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.merit-num {
  position: absolute;
  top: -15px;
  left: 20px;
  font-weight: bold;
  font-size: 1.2rem;
  background: var(--primary-color);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  line-height: 1;
}
.merit-img {
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.merit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.reason {
  padding: 80px 0;
}
.reason-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid #eee;
}
.reason-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.reason-item.reverse {
  flex-direction: row-reverse;
}
.reason-img {
  flex: 1;
}
.reason-img img {
  border-radius: var(--radius-md);
}
.reason-txt {
  flex: 1;
}
.reason-txt h3 {
  font-size: clamp(1.2rem, 4vw, 1.4rem);
  margin-bottom: 15px;
  color: var(--primary-color);
}

.flow {
  padding: 80px 0;
  background-color: var(--bg-green-light);
}
.flow-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}
.step-card {
  background: #fff;
  width: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}
.step-head {
  background: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  letter-spacing: 1px;
}
.step-body {
  padding: 25px 20px;
  text-align: center;
}
.step-body h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: var(--text-color);
}
.step-body p {
  font-size: 0.95rem;
  text-align: left;
  color: #666;
}
.step-arrow {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 50px;
}

/* --- Plan --- */
.plan {
  padding: 80px 0;
}

/* 単一カードを中央寄せにするコンテナ */
.plan-single-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 10px 0; /* 上下に少し余白を追加 */
}

.plan-card {
  /* 背景色を真っ白から、ほんのり温かみのある色へ変更 */
  background: #fffefa;
  /* 枠線をアクセントカラー（ゴールド）に変更して強調 */
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-md);
  /* 単一表示用にサイズと配置を調整 */
  width: 100%;
  max-width: 500px;
  padding: 50px 30px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: row; /* 横並び配置 */
  align-items: center;
  justify-content: center;
  /* 影を少しリッチに変更して立体感を出す */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.plan-content-wrap {
  display: flex;
  flex-direction: column;
}

.plan-price {
  color: var(--primary-color);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1;
  /* テキストにも少し影をつけてリッチに */
  text-shadow: 1px 1px 0px #fff;
}

.plan-price .unit {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-color);
  margin-right: 5px;
  vertical-align: baseline;
}

.plan-price .yen {
  font-size: 1.2rem;
}
.plan-price .tax {
  font-size: 0.8rem;
  color: #888;
  font-weight: normal;
}

.plan-note {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #666;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .plan-card {
    padding: 30px 20px;
  }
  .plan-price {
    font-size: 1.8rem;
  }
  .plan-price .unit {
    font-size: 1.2rem;
  }
}
/* --- Access --- */
.access {
  padding: 80px 0;
  background-color: #fafafa;
}
.access-wrap {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.access-info {
  flex: 1;
  background: #fff;
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid #eee;
}
.access-info h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--text-color);
}
.address {
  font-size: 1.05rem;
  margin-bottom: 25px;
  line-height: 1.6;
}
.access-detail li {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.contact-mini {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-weight: bold;
  color: var(--text-color);
}
.access-map {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 350px;
  border: 1px solid #eee;
}
.access-map iframe {
  width: 100%;
  height: 100%;
}

/* --- Contact --- */
.contact {
  padding: 80px 0;
}
.contact-box {
  background: var(--primary-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  color: #fff;
}
.contact-head {
  text-align: center;
  padding: 40px 20px 25px;
}
.offer-text {
  font-weight: bold;
  margin-top: 15px;
  background: rgba(0, 0, 0, 0.1);
  display: inline-block;
  padding: 8px 25px;
  border-radius: 30px;
}
.contact-inner {
  background: #fff;
  color: #333;
  padding: 50px 40px;
  text-align: center;
}
.free-msg {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary-color);
}
.arrow-down-w {
  color: #ccc;
  margin: 15px 0 35px;
  font-size: 0.8rem;
}
.form-body {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
.form-item {
  margin-bottom: 25px;
}
.form-item label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--text-color);
}
.req {
  background: var(--accent-gold);
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}
.form-item input,
.form-item textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fcfcfc;
  font-size: 1rem;
}
.form-item input:focus,
.form-item textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}
.submit-btn {
  width: 100%;
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 10px;
}
.submit-btn:hover {
  background: var(--accent-green);
}

/* --- Footer (指定色 #41c0a0) --- */
footer {
  background-color: var(--theme-green);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
  padding-bottom: 80px;
}
.footer-logo {
  margin-bottom: 15px;
}
.footer-logo img {
  /* 修正：ロゴが大きくなりすぎないようにサイズ固定 */
  width: 200px;
  height: auto;
  /* もしロゴが黒色で見えにくい場合は以下で白くできます */
  /* filter: brightness(0) invert(1); */
}

/* --- Floating CTA --- */
.floating-cta {
  position: fixed;
  z-index: 100;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background-color 0.3s;
  animation: ctaPulse 2s infinite;
}
.floating-cta:hover {
  background-color: var(--accent-green);
}
.cta-sub {
  font-size: 0.8rem;
  font-weight: bold;
  opacity: 0.9;
}
.cta-main {
  font-size: 1.1rem;
  font-weight: bold;
}

/* --- SP Responsive --- */
.sp-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-only {
    display: block;
  }
  .header-nav,
  .openbtn {
    display: none;
  }
  .openbtn {
    display: block;
  }

  .fv {
    padding: 60px 0;
  }
  .fv-inner {
    flex-direction: column-reverse;
    text-align: center;
  }
  .fv-text {
    padding-right: 0;
    margin-top: 30px;
  }

  /* Trouble 貫通修正: Paddingを小さくし、文字サイズもclampで制御されているため収まります */
  .trouble-box {
    padding: 30px 15px;
  }

  .merit-cards {
    grid-template-columns: 1fr;
  }
  .reason-item {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    padding-bottom: 40px;
    margin-bottom: 40px;
  }
  .reason-item.reverse {
    flex-direction: column;
  }
  .flow-steps {
    flex-direction: column;
    align-items: center;
  }
  .step-arrow {
    transform: rotate(90deg);
    margin: 15px 0;
  }

  .access-wrap {
    flex-direction: column;
  }
  .access-map {
    height: 300px;
  }
  .contact-inner {
    padding: 30px 0px;
  }

  /* Floating CTA (スマホ用) */
  .floating-cta {
    bottom: 0;
    right: 0;
    left: 0;
    border-radius: 0;
    width: 100%;
    padding: 15px 0;
    background: linear-gradient(
      90deg,
      var(--primary-color),
      var(--accent-green)
    );
    flex-direction: row;
    gap: 10px;
    animation: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }
  .cta-sub {
    font-size: 0.9rem;
  }
  .cta-main {
    font-size: 1.1rem;
  }
  .offer-text {
    padding: 8px;
    font-size: 15px;
  }
  .fv-btn {
    padding: 16px 20px;
  }
}
