@charset "utf-8";

/* ================================
   RESET & BASE
================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --beige:       #FFFAF0;
  --brown:       #A07C61;
  --brown-light: #b39574;
  --black:       #1a1a1a;
  --grey:        #555;
  --grey-light:  #888;
  --border:      rgba(160, 124, 97, 0.18);
}

html {
  font-size: 62.5%;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
  color: var(--black);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul {
  list-style: none;
}


/* ================================
   HEADER
================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__logo img {
  width: 44px;
  height: auto;
}

.header__menu-btn {
  width: 36px;
  height: auto;
  cursor: pointer;
}

/* Mobile nav overlay */
.nav {
  position: fixed;
  inset: 0;
  background: var(--beige);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}

.nav.active {
  transform: translateX(0);
}

.nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6%;
  border-bottom: 1px solid var(--border);
}

.nav__top img.logo {
  width: 44px;
}

.nav__close {
  width: 32px;
  cursor: pointer;
}

.nav__list {
  padding: 40px 6%;
}

.nav__item {
  font-size: 2rem;
  font-weight: 300;
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.nav__item a {
  display: block;
  color: var(--black);
}

/* Desktop nav */
@media (min-width: 769px) {
  .header {
    padding: 16px 9%;
  }

  .header__logo img {
    width: 56px;
  }

  .header__menu-btn {
    display: none;
  }

  .nav {
    position: static;
    transform: none;
    background: transparent;
    inset: auto;
  }

  .nav__top {
    display: none;
  }

  .nav__list {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0;
  }

  .nav__item {
    font-size: 1.5rem;
    font-weight: 400;
    border-bottom: none;
    padding: 0;
  }

  .nav__item a {
    position: relative;
    color: var(--black);
  }

  .nav__item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--brown);
    transition: width 0.25s ease;
  }

  .nav__item a:hover::after {
    width: 100%;
  }
}


/* ================================
   HERO
================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--beige);
}

.hero__img {
  width: 100%;
  height: auto;
}

.hero__img--sp { display: block; }
.hero__img--pc { display: none; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(255,250,240,0) 30%,
    rgba(255,250,240,0.25) 100%
  );
  pointer-events: none;
}

.hero__text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 6% 7%;
  color: #5a3e2b;
}

.hero__title {
  font-size: 6.8vw;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  text-shadow: 0 1px 6px rgba(255,250,240,0.6);
}

.hero__lead {
  font-size: 3.6vw;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(255,250,240,0.6);
}

/* Corner frame */
.hero__frame {
  position: absolute;
  inset: 5% 5%;
  pointer-events: none;
}

.hero__corner {
  position: absolute;
  width: 11vw;
  height: 11vw;
  border-color: rgba(160, 124, 97, 0.6);
  border-style: solid;
}

.hero__corner--tl { top: 0; left: 0;  border-width: 2px 0 0 2px; }
.hero__corner--tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.hero__corner--bl { bottom: 0; left: 0;  border-width: 0 0 2px 2px; }
.hero__corner--br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

@media (min-width: 769px) {
  .hero__img--sp { display: none; }
  .hero__img--pc { display: block; }

  .hero__text {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 6%;
    max-width: 560px;
  }

  .hero__title {
    font-size: 4.2rem;
    margin-bottom: 24px;
  }

  .hero__lead {
    font-size: 2rem;
  }

  .hero__corner {
    width: 72px;
    height: 72px;
  }
}


/* ================================
   SHARED SECTION STYLES
================================ */
.section {
  padding: 72px 6%;
}

.section__label {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 12px;
}

.section__title {
  font-size: 6.4vw;
  font-weight: 200;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--black);
  margin-bottom: 24px;
}

.section__body {
  font-size: 3.8vw;
  font-weight: 300;
  color: var(--grey);
  line-height: 2;
  margin-bottom: 40px;
}

@media (min-width: 769px) {
  .section {
    padding: 96px 9%;
  }

  .section__title {
    font-size: 3.2rem;
  }

  .section__body {
    font-size: 1.7rem;
  }
}


/* ================================
   SHARED BUTTON: PILL ARROW
================================ */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  background: var(--brown-light);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 3.8vw;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}

.btn-pill:hover {
  background: var(--brown);
  transform: translateX(3px);
}

.btn-pill svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.btn-pill:hover svg {
  transform: translateX(4px);
}

@media (min-width: 769px) {
  .btn-pill {
    font-size: 1.6rem;
    padding: 16px 32px;
  }
}


/* ================================
   LIFE SECTION
================================ */
.life {
  background: #fff;
}

.life__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.life__img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.life__img--pc { display: none; }
.life__img--sp { display: block; }

@media (min-width: 769px) {
  .life {
    padding: 0;
  }

  .life__inner {
    flex-direction: row;
    gap: 0;
    align-items: stretch;
  }

  .life__img--sp { display: none; }

  .life__img--pc {
    display: block;
    width: 52%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    flex-shrink: 0;
  }

  .life__content {
    flex: 1;
    padding: 80px 7%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}


/* ================================
   Q&A SECTION
================================ */
.qanda {
  background: var(--beige);
  text-align: center;
}

.qanda__lead {
  font-size: 3.8vw;
  font-weight: 300;
  color: var(--grey);
  line-height: 2;
  margin-bottom: 36px;
}

/* Search bar */
.search-bar {
  display: flex;
  align-items: center;
  max-width: 480px;
  margin: 0 auto 48px;
  border: 1px solid rgba(160,124,97,0.3);
  border-radius: 100px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(160,124,97,0.08);
}

.search-bar__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 13px 20px;
  font-size: 3.4vw;
  font-family: 'Noto Sans JP', sans-serif;
  background: transparent;
  color: var(--black);
}

.search-bar__input::placeholder {
  color: #b0a090;
}

.search-bar__btn {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--brown);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

.search-bar__btn:hover {
  background: #7a5c42;
}

/* Cards */
.qanda__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
  text-align: left;
}

.qanda__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}

.qanda__card:hover {
  box-shadow: 0 6px 24px rgba(160,124,97,0.14);
  transform: translateY(-2px);
}

.qanda__card a {
  display: block;
  padding: 24px;
  color: inherit;
}

.qanda__card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 16px;
  border-radius: 4px;
}

.qanda__card-title {
  font-size: 4.2vw;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 10px;
  color: var(--black);
}

.qanda__card-text {
  font-size: 3.2vw;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.qanda__more {
  display: flex;
  justify-content: center;
}

@media (min-width: 769px) {
  .qanda__lead {
    font-size: 1.8rem;
  }

  .search-bar {
    max-width: 560px;
  }

  .search-bar__input {
    font-size: 1.6rem;
    padding: 15px 24px;
  }

  .search-bar__btn {
    width: 54px;
    height: 54px;
  }

  .qanda__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
  }

  .qanda__card-title {
    font-size: 1.7rem;
  }

  .qanda__card-text {
    font-size: 1.4rem;
  }
}


/* ================================
   ABOUT SECTION
================================ */
.about {
  background: #fff;
}

.about__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about__img--sp { display: block; width: 100%; border-radius: 4px; }
.about__img--pc { display: none; }

@media (min-width: 769px) {
  .about {
    padding: 0;
  }

  .about__inner {
    flex-direction: row-reverse;
    gap: 0;
    align-items: stretch;
  }

  .about__img--sp { display: none; }

  .about__img--pc {
    display: block;
    width: 48%;
    object-fit: cover;
    flex-shrink: 0;
  }

  .about__content {
    flex: 1;
    padding: 80px 7%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}


/* ================================
   CONTACT SECTION
================================ */
.contact {
  background: var(--beige);
  text-align: center;
}

.contact__lead {
  font-size: 3.8vw;
  font-weight: 300;
  color: var(--grey);
  line-height: 2;
  margin-bottom: 8px;
}

.contact__cta {
  margin: 36px auto 0;
}

.contact__social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}

.contact__social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 28px;
  border: 1px solid rgba(160,124,97,0.3);
  border-radius: 100px;
  color: var(--black);
  font-size: 2rem;
  font-weight: 300;
  transition: background 0.2s, border-color 0.2s;
}

.contact__social-link:hover {
  background: rgba(160,124,97,0.08);
  border-color: var(--brown);
}

.contact__social-link img {
  width: 28px;
  height: auto;
}

@media (min-width: 769px) {
  .contact__lead {
    font-size: 1.8rem;
  }

  .contact__social {
    flex-direction: row;
    justify-content: center;
    gap: 28px;
  }
}


/* ================================
   MESSAGE BAND
================================ */
.message-band {
  padding: 80px 6%;
  text-align: center;
  border-top: 1px solid var(--border);
}

.message-band__text {
  font-size: 4vw;
  font-weight: 200;
  color: var(--grey-light);
  letter-spacing: 0.08em;
  line-height: 2;
}

@media (min-width: 769px) {
  .message-band {
    padding: 100px 9%;
  }

  .message-band__text {
    font-size: 2rem;
  }
}


/* ================================
   FOOTER
================================ */
.footer {
  padding: 48px 6% 28px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  margin-bottom: 40px;
}

.footer__logo img {
  width: 48px;
  margin-bottom: 40px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer__nav a {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--black);
}

.footer__copy {
  text-align: center;
  font-size: 1.2rem;
  color: var(--grey-light);
}

@media (min-width: 769px) {
  .footer {
    padding: 48px 9% 28px;
  }

  .footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
  }

  .footer__logo img {
    width: 56px;
    margin-bottom: 0;
  }

  .footer__nav {
    flex-direction: row;
    gap: 40px;
  }

  .footer__nav a {
    font-size: 1.5rem;
  }

  .footer__copy {
    font-size: 1.3rem;
  }
}


/* ================================
   SEARCH SECTION
================================ */
.search-section {
  background: #fff;
  padding: 56px 6% 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.search-section__eyebrow {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 14px;
}

.search-section__title {
  font-size: 6vw;
  font-weight: 200;
  letter-spacing: 0.04em;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.5;
}

.search-section__lead {
  font-size: 3.6vw;
  font-weight: 300;
  color: var(--grey-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

/* Search bar — shared between search-section and qanda */
.search-bar {
  display: flex;
  align-items: center;
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid rgba(160,124,97,0.3);
  border-radius: 100px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 16px rgba(160,124,97,0.1);
}

.search-bar__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 15px 22px;
  font-size: 3.6vw;
  font-family: 'Noto Sans JP', sans-serif;
  background: transparent;
  color: var(--black);
}

.search-bar__input::placeholder { color: #b0a090; }

.search-bar__btn {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--brown);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

.search-bar__btn:hover { background: #7a5c42; }

@media (min-width: 769px) {
  .search-section {
    padding: 80px 9% 72px;
  }

  .search-section__title {
    font-size: 3.6rem;
  }

  .search-section__lead {
    font-size: 1.8rem;
  }

  .search-bar__input {
    font-size: 1.7rem;
    padding: 17px 28px;
  }
}


/* ================================
   TRUST BAND
================================ */
.trust-band {
  background: var(--beige);
  border-bottom: 1px solid var(--border);
  padding: 16px 6%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  text-align: center;
}

.trust-band__item {
  font-size: 2.8vw;
  font-weight: 300;
  color: var(--grey);
  letter-spacing: 0.04em;
}

.trust-band__sep {
  color: var(--border);
  font-size: 2.8vw;
}

@media (min-width: 769px) {
  .trust-band {
    padding: 18px 9%;
    gap: 0 28px;
  }

  .trust-band__item {
    font-size: 1.4rem;
  }

  .trust-band__sep {
    font-size: 1.4rem;
  }
}


/* ================================
   CATEGORY GRID
================================ */
.categories {
  background: #fff;
  text-align: center;
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--beige);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  text-decoration: none;
}

.cat-card:hover {
  box-shadow: 0 4px 20px rgba(160,124,97,0.14);
  transform: translateY(-2px);
  border-color: var(--brown-light);
}

.cat-card__icon {
  font-size: 6vw;
  line-height: 1;
}

.cat-card__label {
  font-size: 3.4vw;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.03em;
}

.cat-card__desc {
  font-size: 2.8vw;
  font-weight: 300;
  color: var(--grey-light);
  line-height: 1.5;
}

@media (min-width: 769px) {
  .categories__grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 40px;
  }

  .cat-card__icon  { font-size: 3.2rem; }
  .cat-card__label { font-size: 1.5rem; }
  .cat-card__desc  { font-size: 1.3rem; }
}


/* ================================
   POPULAR BADGE (Q&A cards)
================================ */
.qanda__card--featured {
  position: relative;
}

.popular-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brown);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 3px 12px;
  border-radius: 100px;
  z-index: 1;
}

/* Make featured card's image position relative so badge stacks correctly */
.qanda__card--featured a {
  position: relative;
}
