@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;600;700&display=swap');

/* ==========================================================
   Base
========================================================== */

h1.entry-title {
  display: none;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Zen Old Mincho", serif;
  background: #fff;
  line-height: 1.5;
  overflow-x: hidden !important;
}

.top-page {
  padding-top: 50px;
}

.top-fv {
  min-height: calc(100vh - 50px);
}

.lp-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.l-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.l-container--narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  width: 100%;
  max-width: 900px;
  margin: 3rem auto;
  padding: 1.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 600;
  color: #007B43;
  margin: 0.5rem auto;
  text-align: center;
}

p {
  font-weight: 400;
  color: #433D3C;
  letter-spacing: 0.1em;
  margin: 0.1rem auto;
}

/* ==========================================================
   First View
========================================================== */

.fv {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.fv-image {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  aspect-ratio: 16 / 8;
  background-image: url("https://kochi-lp.xrea.jp/wp-content/uploads/2025/12/fv.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(108%);
}

body.is-scrolled .fv-image {
  aspect-ratio: 14 / 7;
}

.fv-text {
  display: none;
}

.text-cta--fv {
  display: none;
}

@media (min-width: 769px) {
  .text-cta--fv {
    display: block;
    margin: 2rem auto 1.5rem;
    font-size: 1.4rem;
    font-family: "Zen Kaku Gothic New", sans-serif;
    color: #433D3C;
    letter-spacing: 0.2em;
    line-height: 1.8;
    text-align: center;
  }

  .text-cta--fv a {
    color: #028760;
    text-decoration: underline;
    font-weight: 600;
    margin: 0 0.2em;
  }

  .text-cta--fv a:hover {
    color: #3A715A;
  }
}

@media (max-width: 768px) {
  .fv {
    margin-top: 45px;
  }

  .fv-image {
    width: 100%;
    max-width: 100%;
    height: 55vh;
    min-height: 360px;
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
  }

  .fv-text {
    display: block;
    background: #ffffff;
    padding: 1.5rem 0.5em 0.8rem;
    text-align: center;
  }

  .fv-text h2 {
    font-family: "Zen Old Mincho", serif;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.7;
    letter-spacing: 0.1em;
    color: #433D3C;
    margin: 0 auto;
    max-width: 90%;
  }

  .fv-catch {
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0.1em;
    color: #433D3C;
    margin: 0 auto;
    max-width: 90%;
    padding-bottom: 1.5rem;
  }
}

/* ==========================================================
   FV CTA / Common Buttons
========================================================== */

.cta-fv-sp {
  display: none;
}

@media (min-width: 769px) {
  .cta-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: 1000px;
    margin: 1rem auto 1rem;
    padding: 0 20px;
  }

  .cta-buttons a {
    display: block;
    flex: 1;
    max-width: 420px;
  }

  .cta-buttons img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
}

@media (max-width: 768px) {

  .cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin: 1rem auto 1.6rem;
    padding: 0 1rem;
  }

  .cta-buttons a {
    width: 100%;
    max-width: 400px;
  }

  .cta-buttons img {
    display: block;
    width: 100%;
    height: auto;
  }

  .cta-fv-sp {
    display: block;
    text-align: center;
    margin: 1rem auto 1.6rem;
    padding: 0 1rem;
  }

  .cta-fv-note {
    margin: 0.25rem auto 0.4rem;
    font-size: 0.8rem;
    color: #6D7972;
  }

  a.btn-radius-solid {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(2, 135, 96, 0.35);
    background: linear-gradient(to bottom, #e6f4ef 0%, #cfe9df 100%);
    color: #028760;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-align: center;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
    transition: background 0.25s ease, transform 0.2s ease;
  }
}
  a.btn-radius-solid .fa-position-right {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9em;
  }

@media (hover: hover) and (pointer: fine) {
  a.btn-radius-solid:hover {
    background: linear-gradient(to bottom, #d9efe7 0%, #bfe1d5 100%);
    transform: translateY(-1px);
  }
}

/* ==========================================================
   Problem Section
========================================================== */

.problem-section {
  background: #B2BCAC;
  margin-top: 0;
  padding: 2rem 1rem 2.2rem;
  text-align: center;
}

.problem-inner {
  max-width: 900px;
  margin: 0 auto;
}

.lead-text,
.message-text,
.end-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #433D3C;
  margin: 1.2rem auto;
  text-align: center;
  max-width: 800px;
}

.highlight {
  font-weight: 700;
  color: #028760;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 800px;
  margin: 1.5rem auto;
}

.problem-item {
  background: #ffffff;
  border: 2px solid #C9E0D1;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.problem-text {
  font-size: 0.8rem;
  color: #433D3C;
  font-weight: 500;
  text-align: justify;
  margin: 0;
}

@media (min-width: 769px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
  }
}

@media (max-width: 768px) {
  .problem-section {
    padding: 2.2rem 1rem;
  }

  .message-text {
    text-align: left;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    width: 92%;
  }

  .problem-item {
    padding: 10px;
    min-height: 3rem;
  }

  .problem-text {
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: left;
  }
}

/* ==========================================================
   Tabs
========================================================== */

.tab-block {
  width: 100%;
  max-width: 900px;
  margin: 3rem auto 1.5rem;
  text-align: center;
  padding: 0;
  position: relative;
  z-index: 0;
}

.tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 4px;
  width: 100%;
  max-width: 640px;
  margin: 2rem auto 1.5rem;
  background: #E6F2EB;
  border-radius: 999px;
}

.tab-btn {
  flex: 1;
  background: transparent;
  color: #028760;
  border: none;
  padding: 6px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}

.tab-btn.active {
  background: #028760;
  color: #fff;
}

.tab-content {
  display: none;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 1.5rem;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible;
}

.tab-content.active {
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .tab-btn:hover {
    background: rgba(0, 123, 67, 0.12);
  }
}

@media (max-width: 768px) {
  .tabs {
    background: none;
    padding: 0;
    gap: 0;
    max-width: 100%;
    margin: 1.5rem auto 1rem;
  }

  .tab-btn {
    border-radius: 0;
    color: #6f7f76;
    position: relative;
  }

  .tab-btn.active {
    color: #007B43;
    background: none;
  }

  .tab-btn.active::after {
    content: "";
    position: absolute;
    left: 20%;
    bottom: -4px;
    width: 60%;
    height: 2px;
    background: #028760;
    border-radius: 2px;
  }
}

/* ==========================================================
   Voice Section
========================================================== */

.voice-section {
  width: 100%;
  max-width: 1200px;
  margin: 1.5rem auto;
  padding: 0 1rem;
  text-align: center;
}

.voice-slider {
  display: flex;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 0;
}

.voice-slider::-webkit-scrollbar {
  display: none;
}

.voice-item {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.voice-video {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 12px;
}

.voice-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 1rem auto 0;
}

.voice-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(2,135,96,0.25);
  cursor: pointer;
}

.voice-dots .dot.active {
  background: rgba(2,135,96,0.9);
}

@media (max-width: 768px) {
  .voice-section {
    max-width: 100%;
    padding: 0 1rem;
  }

  .voice-slider {
    max-width: 100%;
  }

  .voice-video {
    max-width: 100%;
  }
}

/* ==========================================================
   Menu Section
========================================================== */

.menu-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  font-family: "Zen Old Mincho", serif;
}

.menu-image-overlay {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.menu-image-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu-overlay-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.25);
  padding: 1.5rem;
  text-align: center;
  font-family: "Zen Old Mincho", serif;
}

.menu-overlay-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin: 0.4rem 0 0.1rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.menu-overlay-desc {
  font-size: 1rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  margin: 0 0 0.4rem;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
  .menu-image-overlay {
    height: 360px;
  }

  .menu-overlay-text {
    background: rgba(0,0,0,0.35);
    padding: 1rem 1.2rem;
  }

  .menu-overlay-title,
  .menu-overlay-subtitle,
  .menu-overlay-desc {
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
  }
}

/* ==========================================================
   Price Section
========================================================== */

.price {
  padding: 1rem 20px;
  background: #8A9A85;
  text-align: center;
  overflow: visible;
}

.price h2 {
  color: #fff;
  margin: 1rem;
  letter-spacing: 0.3em;
}

.price-table {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 15px;
  align-items: stretch;
}

.price-card {
  background: #E6F2EB;
  padding: 1em;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: auto;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.price-card h3,
.price-card h4 {
  color: #433D3C;
  font-size: 1em;
  margin-bottom: 0.8rem;
  font-weight: bold;
  border-bottom: 2px solid #8A9A85;
}

.price-card h3 {
  padding-bottom: 10px;
}

.price-card h4 {
  padding-top: 0.5rem;
}

.small-title {
  font-size: 0.8em;
  letter-spacing: 0.2em;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: -1rem auto 0;
  color: #433D3C;
}

.price-list li {
  padding: 0.8rem 0 0.5rem;
  font-size: 1em;
  font-family: Arial, sans-serif;
  font-weight: bold;
  border-bottom: 1px solid rgba(138,154,133,0.2);
}

.price-list li:last-child {
  border-bottom: none;
}

.price-list .time {
  font-size: 0.9em;
  font-weight: normal;
  color: #666;
}

.price-list .additional {
  font-size: 1em;
  color: #433D3C;
}

.note {
  font-size: 1em;
  color: #fff;
  margin-top: 1em;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.2em;
}

.note-small {
  font-size: 0.8em;
  color: #433D3C;
  margin-top: 1em;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-align: justify;
}

.calendar-card {
  display: flex;
  flex-direction: column;
}

.calendar-embed {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.calendar-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .price {
    padding: 1.2rem 15px;
  }

  .price h2 {
    font-size: 1.6em;
    margin-bottom: 30px;
  }

  .price-table {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .price-card {
    padding: 20px 15px;
  }
}

/* ==========================================================
   2nd CTA
========================================================== */
@media (min-width: 769px) {

  .cta-buttons--2nd {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0;
  }

  .cta-buttons--2nd a {
    flex: 1;
    max-width: 420px;
    display: block;
  }

  .cta-buttons--2nd img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .cta-buttons--2nd a {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
  }

  .cta-buttons--2nd a:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  }
}

@media (max-width: 768px) {
  .cta-section-2 {
    padding: 1.2rem 0 1.8rem;
  }

  .cta-buttons--2nd {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 1rem auto;
    padding: 0 1rem;
  }

  .cta-buttons--2nd a {
    width: 100%;
    max-width: 320px;
  }

  .cta-buttons--2nd img {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* ==========================================================
   Profile
========================================================== */

.profile-section {
  margin: 1rem auto;
  width: 100%;
  padding: 2rem 0;
  background-color: #F7F4F0;
}

.profile-box {
  width: 900px;
  max-width: 95%;
  margin: 0 auto;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  text-align: center;
}

.profile-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #C9E0D1;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-headings {
  text-align: center;
  margin-bottom: 1.8rem;
}

.profile-section h2 {
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 0.3em;
  padding-bottom: 0.8em;
  color: #028760;
}

.profile-section h3 {
  font-size: 1.3em;
  letter-spacing: 0.5em;
  font-weight: bold;
  padding-bottom: 0.3em;
}

.profile-section h4 {
  font-size: 0.8em;
  color: #8A9A85;
  letter-spacing: 0.2em;
  font-weight: 500;
}

.profile-section h5 {
  font-size: 1em;
  color: #6D7972;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.profile-section h6 {
  font-size: 0.9em;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.profile-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.profile-section p {
  font-size: 0.95em;
  margin: 0 1.5em;
  color: #433D3C;
  text-align: justify;
}

@media (max-width: 768px) {
  .profile-heading-image {
    width: 150px;
    height: 150px;
    margin-bottom: 1rem;
  }

  .profile-box {
    width: 95%;
  }

  .profile-text {
    width: 98%;
    margin: 0 auto;
  }
}

/* ==========================================================
   FAQ
========================================================== */

.faq {
  padding-top: 1rem;
  padding-bottom: 40px;
  background: #ffffff;
}

.faq h2 {
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 0.3em;
  margin: 0 auto 0.6rem;
  text-align: center;
  color: #028760;
}

.faq h3 {
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin: 0 auto;
  text-align: center;
  color: #028760;
}

.accordion-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 20px auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
  align-items: start;
}

.accordion-item {
  position: relative;
  background: #ffffff;
  padding: 0.15rem 0;
  border-top: 2px solid #028760;
  border-bottom: 2px solid #028760;
  border-radius: 10px;
  overflow: hidden;
  align-self: start;
}

.accordion-item::before,
.accordion-item::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 2px;
  height: calc(100% - 16px);
  background: #028760;
  border-radius: 2px;
}

.accordion-item::before {
  left: 0;
}

.accordion-item::after {
  right: 0;
}

.accordion-toggle {
  background: none;
  border: none;
  width: 100%;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0.55rem 1.6rem;
  color: #433D3C;
}

.accordion-toggle h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: #433D3C;
  text-align: left;
  padding: 0 0.5rem;
}

.accordion-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(201,224,209,0.7) inset;
}

.rotate-icon {
  width: 1.4em;
  height: 1.4em;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: rgba(2,135,96,0.7);
}

.accordion-item.active .rotate-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1rem;
}

.accordion-item.active .accordion-content {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  border-top: 1px solid #E2EAE5;
}

.accordion-content p {
  margin: 0;
  color: #433D3C;
  line-height: 1.5;
  font-size: 0.9rem;
  padding: 0 0.6rem;
}

.accordion-content a {
  color: #028760;
  text-decoration: underline;
}

.accordion-content a:hover {
  color: #3A715A;
}

@media (max-width: 768px) {
  .accordion-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 0.9rem;
  }

  .accordion-toggle {
    padding: 0.5rem 1.4rem;
  }

  .accordion-item::before {
    left: 1px;
  }

  .accordion-item::after {
    right: 1px;
  }

  .rotate-icon {
    width: 1em;
    height: 1em;
  }

  .accordion-content {
    padding: 0 1.2rem;
  }

  .accordion-item.active .accordion-content {
    padding-top: 0.7rem;
    padding-bottom: 0.9rem;
  }
}

/* ==========================================================
   Contact
========================================================== */

.contact {
  width: 100%;
  background: #D3D7CF;
  text-align: center;
  margin: 0 auto;
  padding: 0.5em 0;
}

.contact h2 {
  font-size: 1.4em;
  margin: 1.5em auto 0.5em;
}

.contact h3 {
  font-size: 1em;
  margin: 0.5em auto;
  color: #433D3C;
  font-weight: 400;
}

.contact h4 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.contact p {
  font-size: 0.9em;
  letter-spacing: 0.1em;
  margin: 0.3em auto;
}

.contact .info {
  margin-top: 1rem;
  font-size: 1em;
  line-height: 1.8;
}

.contact .info a {
  color: #007B43;
  text-decoration: underline;
}

.contact .info a:hover {
  color: #3A715A;
}
