/* =========================================
   F設計 | 無添加住宅LP 専用CSS
   page-mutenka.php 専用
========================================= */

.mutenka-page {
  --green: #009245;
  --green-dark: #007a39;
  --orange: #f08b2e;
  --text: #333333;
  --muted: #595959;
  --surface: #f6f6f6;
  --material: #ffffff;
  --line: #d6d8d2;
  --max: 1120px;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  --radius: 20px;

  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.85;
}

.mutenka-page *,
.mutenka-page *::before,
.mutenka-page *::after {
  box-sizing: border-box;
}

.mutenka-page img {
  display: block;
  width: 100%;
  height: auto;
}

.mutenka-page a {
  color: inherit;
  text-decoration: none;
}

.mutenka-page .container {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.mutenka-page .section {
  padding: 110px 0;
}

.mutenka-page .white-surface {
  background: var(--surface);
}

.mutenka-page .material-bg {
  background: var(--material);
}

.mutenka-page .card-shadow {
  box-shadow: var(--shadow);
}

.mutenka-page .section-kicker {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #444;
}

.mutenka-page .section-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 2.4rem);
  line-height: 1.25;
  font-weight: 700;
}

.mutenka-page .section-title--light {
  color: #fff;
}

.mutenka-page .section-subtitle {
  margin: 0 0 42px;
  color: var(--muted);
}

/* =========================================
   Hero
========================================= */

.mutenka-page .hero {
  position: relative;
  background: #fff;
  margin: 0;
}

.mutenka-page .hero__image-wrap {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
}

.mutenka-page .hero__image {
  display: block;
  width: 100%;
  min-height: 420px;
  height: 90vh;
  object-fit: cover;
  object-position: center center;
}

.mutenka-page .hero__inner {
  position: absolute;
  inset: 0;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  z-index: 2;
}

.mutenka-page .hero__copy-wrap {
  margin-bottom: 0;
}

.mutenka-page .hero__copy {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
}

.mutenka-page .hero__wave-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  line-height: 0;
  z-index: 3;
}

.mutenka-page .hero__wave-bottom svg {
  display: block;
  width: 100%;
  height: 110px;
}

/* =========================================
   Intro
========================================= */

.mutenka-page .intro {
  background: var(--surface);
  margin: 0;
}

.mutenka-page .intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(320px, 1fr);
  column-gap: 54px;
  align-items: center;
}

.mutenka-page .intro__title {
  margin: 0 0 32px;
  font-size: clamp(2rem, 4vw, 2.4rem);
  line-height: 1.2;
  font-weight: 700;
}

.mutenka-page .intro__title span {
  color: var(--green-dark);
}

.mutenka-page .intro__photo-card {
  overflow: hidden;
  border-radius: 24px;
}

.mutenka-page .intro__content {
  padding-top: 120px;
}

.mutenka-page .partner-card--logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.mutenka-page .partner-card__logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

.mutenka-page .partner-card__logo--fsekei {
  max-height: 38px;
}

.mutenka-page .partner-card__logo--mutenka {
  max-height: 34px;
}

.mutenka-page .partner-card__cross {
  font-size: 22px;
  line-height: 1;
  color: #666;
  transform: translateY(-1px);
}

.mutenka-page .partner-note {
  margin-top: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #b8b8b8;
}

.mutenka-page .partner-note__heading {
  margin: 0 0 10px;
  font-weight: 700;
}

.mutenka-page .partner-note p {
  margin: 6px 0;
  color: #4f4f4f;
}

.mutenka-page .cta-stack {
  margin-top: 24px;
}

.mutenka-page .cta-stack__lead {
  margin: 0 0 14px;
  color: #555;
}

.mutenka-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 56px;
  padding: 16px 22px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(0, 146, 69, 0.22);
  transition: background 0.2s ease, transform 0.2s ease;
}

.mutenka-page .button:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

/* =========================================
   Concept
========================================= */

.mutenka-page .concept {
  position: relative;
  background: var(--green);
  overflow: hidden;
  margin: 0;
  margin-top: -2px;
  padding: 250px 0 110px;
}

.mutenka-page .concept__wave-top {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.mutenka-page .concept__wave-top svg {
  display: block;
  width: 100%;
  height: 175px;
}

.mutenka-page .concept__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: 54px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.mutenka-page .concept__content {
  color: #fff;
}

.mutenka-page .concept__lead {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1.6;
  font-weight: 700;
}

.mutenka-page .concept__text {
  margin: 28px 0 0;
  max-width: 620px;
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.95);
}

.mutenka-page .concept__photo {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

/* =========================================
   Features
========================================= */

.mutenka-page .features {
  padding-top: 120px;
}

.mutenka-page .features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px dashed var(--line);
  border-left: 1px dashed var(--line);
}

.mutenka-page .feature-item {
  display: flex;
  gap: 20px;
  padding: 28px 24px 30px;
  border-right: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.mutenka-page .feature-item__num {
  min-width: 54px;
  color: var(--green);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  padding-top: 2px;
}

.mutenka-page .feature-item h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.45;
}

.mutenka-page .feature-item p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.9;
}

/* =========================================
   Materials
========================================= */

.mutenka-page .materials {
  background: #fff;
  margin: 0;
  padding-top: 120px;
  padding-bottom: 0;
}

.mutenka-page .materials__title {
  margin: 0 0 52px;
  font-size: clamp(2.2rem, 4vw, 2.5rem);
  line-height: 1.2;
}

.mutenka-page .materials__title span {
  color: var(--orange);
}

.mutenka-page .materials-group + .materials-group {
  margin-top: 80px;
  padding-top: 72px;
  border-top: 1px solid #cfd2ca;
}

.mutenka-page .materials-group__label {
  margin: 0 0 26px;
  font-size: 2rem;
  line-height: 1.3;
}

.mutenka-page .materials-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 0 46px;
}

.mutenka-page .materials-nav a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 12px 16px;
  text-align: center;
  color: #333;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mutenka-page .materials-nav a::after {
  content: "⌄";
  margin-top: 2px;
  color: #666;
  line-height: 1;
  font-size: 12px;
}

.mutenka-page .materials-nav a:hover {
  background: #f9faf8;
  border-color: #c5c9c0;
  transform: translateY(-1px);
}

.mutenka-page .material-list {
  display: grid;
  gap: 0;
}

.mutenka-page .material-item {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid #cfd2ca;
  scroll-margin-top: 120px;
}

.mutenka-page .material-item:first-child {
  padding-top: 20px;
}

.mutenka-page .material-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.mutenka-page .material-item__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.mutenka-page .material-item__num {
  margin: 0;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  color: var(--green);
}

.mutenka-page .material-item__heading h4 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
}

.mutenka-page .material-item__text p:last-child {
  margin: 0;
  color: #4d4d4d;
}

.mutenka-page .material-item__images--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.mutenka-page .material-item__images--4col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, 190px);
  gap: 5px;
}

.mutenka-page .material-item__images--left2-right1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 190px 190px;
  gap: 5px;
}

.mutenka-page .material-item__image--large {
  grid-column: 2;
  grid-row: 1 / 3;
}

.mutenka-page .material-item__image,
.mutenka-page .material-item__image--single {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
  background: #fff;
}

.mutenka-page .material-item__image {
  height: 100%;
}

.mutenka-page .material-item__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mutenka-page .material-item__image--single {
  height: 400px;
}

.mutenka-page .material-item__image--single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.mutenka-page .contact {
  position: relative;
  background: var(--green);
  overflow: hidden;
  margin: 0;
  margin-top: -1px;
  padding: 110px 0 72px;
}

.mutenka-page .contact__wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.mutenka-page .contact__wave-top svg {
  display: block;
  width: 100%;
  height: 92px;
}

.mutenka-page .contact__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.mutenka-page .contact__eyebrow {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.22em;
}

.mutenka-page .contact__title {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
}

.mutenka-page .contact__text {
  margin: 18px 0 38px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
}

.mutenka-page .contact__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.mutenka-page .contact-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mutenka-page .contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.mutenka-page .contact-card__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.mutenka-page .contact-card__logo--fsekei {
  max-height: 48px;
}

.mutenka-page .contact-card__logo--mutenka {
  max-height: 42px;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 1024px) {
  .mutenka-page .hero__image-wrap {
    min-height: 360px;
  }

  .mutenka-page .hero__image {
    min-height: 360px;
    height: 360px;
  }

  .mutenka-page .hero__inner {
    padding: 0 24px;
  }

  .mutenka-page .hero__wave-bottom svg {
    height: 88px;
  }

  .mutenka-page .concept {
    padding: 128px 0 96px;
  }

  .mutenka-page .concept__wave-top svg {
    height: 145px;
  }

  .mutenka-page .concept__grid {
    grid-template-columns: 1fr 420px;
    gap: 36px;
  }
}

@media (max-width: 960px) {
  .mutenka-page .section {
    padding: 82px 0;
  }

  .mutenka-page .intro__grid,
  .mutenka-page .concept__grid,
  .mutenka-page .material-item {
    grid-template-columns: 1fr;
  }

  .mutenka-page .intro__content {
    padding-top: 0;
  }

  .mutenka-page .features__grid {
    grid-template-columns: 1fr 1fr;
  }

  .mutenka-page .materials-nav {
    grid-template-columns: 1fr 1fr;
  }

  .mutenka-page .material-item {
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .mutenka-page .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .mutenka-page .hero__image-wrap {
    min-height: 260px;
  }

  .mutenka-page .hero__image {
    min-height: 260px;
    height: 260px;
  }

  .mutenka-page .hero__inner {
    padding: 0 18px;
  }

  .mutenka-page .hero__copy {
    font-size: clamp(22px, 7vw, 34px);
    line-height: 1.2;
  }

  .mutenka-page .hero__wave-bottom svg {
    height: 58px;
  }

  .mutenka-page .intro.section {
    padding: 32px 0 44px;
  }

  .mutenka-page .intro__grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
    align-items: start;
  }

  .mutenka-page .section-kicker {
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.04em;
  }

  .mutenka-page .intro__title {
    margin: 0 0 16px;
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.25;
    letter-spacing: 0.01em;
  }

  .mutenka-page .intro__photo-card {
    border-radius: 16px;
  }

  .mutenka-page .partner-card--logos {
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .mutenka-page .partner-card__logo--fsekei {
    max-height: 24px;
  }

  .mutenka-page .partner-card__logo--mutenka {
    max-height: 20px;
  }

  .mutenka-page .partner-card__cross {
    font-size: 16px;
  }

  .mutenka-page .partner-note {
    margin-top: 18px;
    padding-bottom: 18px;
  }

  .mutenka-page .partner-note__heading {
    font-size: 13px;
  }

  .mutenka-page .partner-note p {
    font-size: 14px;
    line-height: 1.8;
  }

  .mutenka-page .cta-stack {
    margin-top: 16px;
    text-align: center;
  }

  .mutenka-page .cta-stack__lead {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.6;
  }

  .mutenka-page .button {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    font-size: 15px;
    letter-spacing: 0.06em;
  }

  .mutenka-page .concept {
    padding: 88px 0 72px;
  }

  .mutenka-page .concept__wave-top {
    top: -1px;
  }

  .mutenka-page .concept__wave-top svg {
    height: 92px;
  }

  .mutenka-page .concept__lead {
    font-size: clamp(20px, 5.8vw, 28px);
    line-height: 1.55;
  }

  .mutenka-page .concept__text {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.9;
  }

  .mutenka-page .concept__photo {
    border-radius: 18px;
  }

  .mutenka-page .features__grid,
  .mutenka-page .materials-nav,
  .mutenka-page .contact__cards {
    grid-template-columns: 1fr;
  }

  .mutenka-page .feature-item {
    padding: 22px 18px;
  }

  .mutenka-page .feature-item h3 {
    font-size: 1.1rem;
  }

  .mutenka-page .materials__title,
  .mutenka-page .contact__title {
    word-break: keep-all;
  }

  .mutenka-page .materials-group__label {
    font-size: 1.6rem;
  }

  .mutenka-page .materials-nav {
    gap: 10px 12px;
    margin-top: 18px;
  }

  .mutenka-page .materials-nav a {
    min-height: 52px;
    padding: 10px 8px;
    font-size: 13px;
    line-height: 1.45;
  }

  .mutenka-page .material-item {
    display: flex;
    flex-direction: column;
    padding: 40px 0;
  }

  .mutenka-page .material-item__text {
    order: 1;
    margin-bottom: 14px;
  }

  .mutenka-page .material-item__images,
  .mutenka-page .material-item__image--single {
    order: 2;
  }

  .mutenka-page .material-item__heading {
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
  }

  .mutenka-page .material-item__num {
    font-size: 22px;
  }

  .mutenka-page .material-item__heading h4 {
    font-size: 20px;
    line-height: 1.3;
  }

  .mutenka-page .material-item__text > p:last-child {
    font-size: 14px;
    line-height: 1.8;
  }

  .mutenka-page .material-item__images--2col,
  .mutenka-page .material-item__images--4col,
  .mutenka-page .material-item__images--left2-right1 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }

  .mutenka-page .material-item__image--large {
    grid-column: auto;
    grid-row: auto;
  }

  .mutenka-page .material-item__image,
  .mutenka-page .material-item__image--single {
    border-radius: 14px;
    box-shadow: none;
  }

  .mutenka-page .material-item__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .mutenka-page .material-item__image--single {
    height: 220px;
  }

  .mutenka-page .contact {
    padding: 96px 0 56px;
  }

  .mutenka-page .contact__wave-top svg {
    height: 68px;
  }

  .mutenka-page .contact__text {
    font-size: 1rem;
  }

  .mutenka-page .contact-card {
    min-height: 96px;
    border-radius: 16px;
    padding: 16px;
  }

  .mutenka-page .contact-card__logo--fsekei {
    max-height: 38px;
  }

  .mutenka-page .contact-card__logo--mutenka {
    max-height: 34px;
  }
}
