/*
Theme Name: iro starter
Theme URI: 
Author: unino design
Description: Small business WordPress theme.
Version: 1.0
Text Domain: iro-starter
*/

/* site custom
------------------------------------------ */

:root {
  --color-base: #fff7f0;
  --color-main: #b98b73;
  --color-accent: #d8b9a3;
}

.profile-box {
  margin: 48px 0;
  padding: 40px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-base);
}

.profile-box__catch {
  margin: 0 0 12px;
  color: var(--color-main);
  font-weight: 700;
}
/* fixed header
------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

/* top hero
------------------------------------------ */
.top-hero {
  position: relative;
  min-height: 820px;
  padding: 140px 0 120px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-base);
  text-align: center;
}

.top-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.68;
  z-index: 0;
}

.top-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 250, 245, 0.62);
  z-index: 1;
}

.top-hero .inner {
  position: relative;
  z-index: 2;
}

.top-hero__content {
  max-width: 820px;
  margin-inline: auto;
}

.top-hero__lead {
  margin: 0 0 16px;
  color: var(--color-main);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}


/* top hero font adjustment
------------------------------------------ */

.top-hero__title,
.top-hero__copy {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  color: #7b5f52;
  font-weight: 500;
}

.top-hero__title {
  letter-spacing: 0.1em;
  font-size: clamp(64px, 10vw, 60px);
}

.top-hero__copy {
  color: #8a6f62;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.top-hero__text {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.9;
}


/* top message
------------------------------------------ */

.top-message {
  background: #fff;
}

.top-message__content {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.top-message__lead {
  margin: 0 0 10px;
  color: var(--color-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.top-message__content h2 {
  margin: 0 0 28px;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.6;
}

.top-message__content p {
  margin: 0 0 1.7em;
}

/* top menu
------------------------------------------ */

.top-menu {
  background: var(--color-base);
}

/* top cta
------------------------------------------ */

.top-cta {
  background: var(--color-base);
}

.top-menu,
.top-cta {
  background: #fff6f8;
}

.cta-box {
  max-width: 680px;
  padding: 44px 32px;
}

.cta-box__lead {
  margin: 0 0 6px;
}

.cta-box__title {
  margin: 0 0 14px;
  font-size: 26px;
}

.cta-box__text {
  max-width: 520px;
  margin: 0 auto 26px;
}

.button {
  min-width: 0;
  width: auto;
  padding: 12px 34px;
  border-radius: 999px;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

/* staff intro
------------------------------------------ */

.staff-intro {
  display: grid;
  grid-template-columns: 1fr 260px;
  grid-template-areas: "content image";
  gap: 40px;
  align-items: start;
  margin: 48px 0;
}

.staff-intro__content {
  grid-area: content;
  padding-top: 0;
}

.staff-intro__image {
  grid-area: image;
  margin: 0;
}

.staff-intro__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.staff-intro__position {
  margin: 0 0 10px;
  color: var(--color-main);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.staff-intro__name {
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.4;
}

.staff-intro__content p {
  margin-bottom: 1.4em;
}

/* footer white
------------------------------------------ */

.site-footer {
  background: #fff;
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
}

.site-footer__copy {
  color: var(--color-subtext);
}

.footer-nav__list {
  justify-content: center;
}

.site-footer__copy {
  text-align: center;
}


/* hamburger menu
------------------------------------------ */

.menu-toggle {
  display: none;
}

/* responsive
------------------------------------------ */

@media (max-width: 767px) {
  .site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 12px 0;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
  }

  .menu-toggle__line {
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .menu-toggle__text {
    margin-top: 2px;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .global-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 16px 32px rgba(80, 50, 30, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .site-header.is-menu-open .global-nav {
    opacity: 0.95;
    visibility: visible;
    transform: translateY(0);
  }

  .global-nav__list {
    display: block;
    margin: 0;
    padding: 0;
  }

  .global-nav__list li + li {
    margin-top: 14px;
  }

  .global-nav__list a {
    display: block;
    padding: 8px 0;
    font-size: 15px;
  }

  .site-header.is-menu-open .menu-toggle__line:nth-child(1) {
    transform: translateY(5px) rotate(35deg);
  }

  .site-header.is-menu-open .menu-toggle__line:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .menu-toggle__line:nth-child(3) {
    transform: translateY(-5px) rotate(-35deg);
  }
  .top-hero {
    min-height: 560px;
    padding: 96px 0 80px;
  }

  .top-hero::before {
    opacity: 0.68;
  }

  .top-hero::after {
    background: rgba(255, 250, 245, 0.68);
  }

  .top-hero__title {
    font-size: clamp(35px, 15vw, 35px);
  }

  .top-hero__copy {
    margin-top: 5px;
    font-size: 22px;
  }

  .top-hero__text {
    font-size: 15px;
  }
	
  .top-message__content {
    text-align: left;
  }

  .top-message__content h2 {
    font-size: 25px;
  }

  .cta-box {
    padding: 36px 22px;
  }

  .cta-box__title {
    font-size: 23px;
  }

  .cta-box__text {
    margin-bottom: 22px;
    text-align: left;
  }

  .button {
    width: 100%;
    max-width: 280px;
    padding: 12px 24px;
  }

  .staff-intro {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "content";
    gap: 20px;
    margin: 40px 0;
  }

  .staff-intro__image {
    max-width: 220px;
    margin: 0 auto;
  }

  .staff-intro__name {
    font-size: 24px;
  }
}