/*
Theme Name: aZUMI FIELDs
Description: aZUMI FIELDs公式サイト用WordPressテーマです。
Version: 1.0
*/

*{
  box-sizing: border-box;
}

/* ==============================
   SUB PAGE HEADER：ブログ・固定ページ
================================= */

body:not(.home) .site-header {
  min-height: 82px;
  height: auto;
  padding: 10px clamp(20px, 3vw, 48px);
  background: #fffdf6;
  border-bottom: 1px solid rgba(23, 63, 45, 0.1);
}

body:not(.home) .header-logo {
  padding-left: 0;
}

body:not(.home) .site-title {
  color: #173f2d;
}

body:not(.home) .header-nav-area {
  align-items: center;
  padding-right: 0;
}

body:not(.home) .main-menu a {
  color: #173f2d;
}

body:not(.home) .header-nav-area .header-button {
  width: auto;
  height: auto;
  min-height: 44px;
  padding: 12px 20px;
  color: #fffdf6;
  background: #e56f55;
  border: 1px solid #e56f55;
  border-radius: 100px;
  box-shadow: 0 7px 18px rgba(229, 111, 85, 0.16);
}

body:not(.home) .header-nav-area .header-button:hover {
  color: #fffdf6;
  background: #173f2d;
  border-color: #173f2d;
  box-shadow: none;
  opacity: 1;
}

@media screen and (max-width: 768px) {
  body:not(.home) .site-header {
    min-height: 68px;
    padding: 8px 18px;
  }

  body:not(.home) .menu-toggle {
    border-color: rgba(23, 63, 45, 0.32);
    background: #fffdf6;
  }

  body:not(.home) .menu-toggle span {
    background: #173f2d;
  }

  body:not(.home) .header-nav-area {
    background: #fffdf6;
  }

  body:not(.home) .header-nav-area .header-button {
    width: 100%;
    margin-top: 18px;
  }
}

/* ==============================
   MATCH：お悩み・向いていない方
================================= */

.match-section {
  padding: 124px 0 132px;
  color: #173f2d;
  background: #f2f4ee;
}

.match-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  column-gap: clamp(50px, 7vw, 100px);
  align-items: end;
  margin-bottom: 64px;
}

.match-heading .section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
  grid-column: 1 / -1;
  margin: 0 0 22px;
  color: #6b7e72;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.match-heading .section-label::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: #e56f55;
  border-radius: 50%;
}

.match-heading h2 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.match-heading h2 span {
  white-space: nowrap;
}

.match-heading > p:last-child {
  margin: 0;
  color: #526a5d;
  font-size: 15px;
  line-height: 2;
}

.match-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.match-panel {
  position: relative;
  padding: clamp(34px, 4vw, 54px);
  border: 1px solid rgba(23, 63, 45, 0.13);
}

.match-panel-worries {
  background: #fffdf6;
}

.match-panel-not-for {
  background: #e5eee8;
}

.match-panel-label {
  margin: 0 0 15px;
  color: #e56f55;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.match-panel h3 {
  margin: 0 0 34px;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 500;
  line-height: 1.55;
}

.match-panel ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.match-panel li {
  position: relative;
  margin: 0;
  padding: 18px 0 18px 30px;
  color: #405b4d;
  font-size: 14px;
  line-height: 1.8;
  border-top: 1px solid rgba(23, 63, 45, 0.12);
}

.match-panel li::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 4px;
  width: 10px;
  height: 5px;
  border-bottom: 2px solid #e56f55;
  border-left: 2px solid #e56f55;
  transform: rotate(-45deg);
}

.match-panel-not-for li::before {
  width: 9px;
  height: 9px;
  border: 1px solid #6b7e72;
  border-radius: 50%;
  transform: none;
}

.match-panel-note {
  margin: 26px 0 0;
  padding-top: 24px;
  color: #526a5d;
  font-size: 13px;
  line-height: 1.9;
  border-top: 1px solid rgba(23, 63, 45, 0.12);
}

@media screen and (max-width: 768px) {
  .match-section {
    padding: 88px 0 96px;
  }

  .match-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 44px;
  }

  .match-heading .section-label {
    grid-column: auto;
    margin-bottom: 0;
  }

  .match-heading h2 {
    font-size: clamp(27px, 8vw, 36px);
  }

  .match-heading h2 span {
    display: block;
  }

  .match-heading > p:last-child {
    font-size: 14px;
  }

  .match-panels {
    grid-template-columns: 1fr;
  }

  .match-panel {
    padding: 32px 24px;
  }

  .match-panel h3 {
    margin-bottom: 24px;
  }
}

/* ==============================
   LEGAL PAGES
================================= */

.legal-page {
  padding: 150px 24px 120px;
  color: #173f2d;
  background: #fffdf6;
}

.legal-page-inner {
  width: min(900px, 100%);
  margin: 0 auto;
}

.legal-page-label {
  margin: 0 0 20px;
  color: #e56f55;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-page h1 {
  margin: 0 0 38px;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 500;
  line-height: 1.45;
}

.legal-page-intro {
  margin: 0 0 56px;
  color: #526a5d;
  line-height: 2;
}

.legal-page section {
  padding: 32px 0;
  border-top: 1px solid rgba(23, 63, 45, 0.14);
}

.legal-page section h2 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
}

.legal-page section p,
.legal-page section li,
.legal-table dd,
.legal-page-note {
  color: #526a5d;
  font-size: 15px;
  line-height: 1.9;
}

.legal-page section ul {
  margin: 0;
  padding-left: 1.4em;
}

.legal-page a {
  color: #173f2d;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-page-date,
.legal-page-note {
  margin-top: 48px;
}

.legal-table {
  margin: 0;
  border-top: 1px solid rgba(23, 63, 45, 0.18);
}

.legal-table > div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  border-bottom: 1px solid rgba(23, 63, 45, 0.18);
}

.legal-table dt,
.legal-table dd {
  margin: 0;
  padding: 24px;
}

.legal-table dt {
  background: #f2f4ee;
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  .legal-page {
    padding: 116px 20px 88px;
  }

  .legal-page h1 {
    margin-bottom: 30px;
  }

  .legal-table > div {
    grid-template-columns: 1fr;
  }

  .legal-table dt {
    padding: 18px 18px 10px;
  }

  .legal-table dd {
    padding: 8px 18px 18px;
  }
}

.home :where(h1, h2, h3, p, li, a, dt, dd) {
  line-break: strict;
  word-break: normal;
  overflow-wrap: normal;
}

.home :where(h1, h2, h3) {
  text-wrap: balance;
}

.home :where(p, li, dt, dd) {
  text-wrap: pretty;
}

@supports (word-break: auto-phrase) {
  .home :where(h1, h2, h3, p, li, a, dt, dd) {
    word-break: auto-phrase;
  }
}

html {
  scroll-behavior: auto;
}

html,
body {
  margin: 0;
  padding: 0;
}

.body {
  margin: 0;
  font-family: sans-serif;
  line-height: 1.8;
  color: #222;
  background: #fff;
}

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

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

.site-header {
  height: 65px;
  display: flex;
  align-items: center;
  background: #3a2a22;
}

/* トップページだけヘッダーをFVに重ねる */
.home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  box-sizing: border-box;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 20px;
  flex-shrink: 0;
}

.header-logo a {
  display: block;
  flex-shrink: 0;
}

.header-logo img {
  width: 76px;
  display: block;
}

.site-title {
  margin: 0;
  font-size: 11px;
  font-weight: normal;
  line-height: 1.2;
  color: #f8f1e8;
  white-space: nowrap;
}

.header-nav-area {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding: 0 16px;
}

.global-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.main-menu,
.sub-menu {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-menu {
  gap: 17px;
  line-height: 1;
}

.sub-menu {
  gap: 12px;
  line-height: 1;
  margin-top: 6px;
}

.main-menu a {
  font-size: 13px;
  font-weight: bold;
  line-height: 1;
  color: #f8f1e8;
}

.sub-menu a {
  font-size: 10px;
  font-weight: normal;
  line-height: 1;
  color: #ead8c0;
}

.sub-menu li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sub-menu li::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 5px solid #c7a47c;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

.main-menu a:hover,
.sub-menu a:hover {
  opacity: 0.7;
}

.header-button {
  width: 116px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #8a6a46;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  line-height: 1;
  white-space: nowrap;
}

.header-button:hover {
  opacity: 0.85;
}

.first-view {
  width: 100%;
  background: #333;
}

.first-view-inner {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.first-view-image {
  display: block;
  width: 100%;
}

.first-view-image > img {
  width: 100%;
  height: auto;
  display: block;
}

.first-view-buttons {
  position: absolute;
  left: 12%;
  bottom: 17%;
  display: flex;
  gap: 16px;
  align-items: center;
}

.first-view-buttons a {
  display: block;
  transition:
    transform 0.25s ease,
    filter 0.25s ease,
    opacity 0.25s ease;
}

/* マウスを乗せたとき */
.first-view-buttons a:hover {
  transform: translateY(-4px) scale(1.03);
  filter: brightness(1.08);
}

/* クリックした瞬間 */
.first-view-buttons a:active {
  transform: translateY(0) scale(0.97);
}

.first-view-buttons picture {
  display: block;
}

.first-view-buttons img {
  width: clamp(150px, 25vw, 440px);
  height: auto;
  display: block;
}

.site-footer {
  padding: 24px;
  background: #222;
  color: #fff;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer small {
  font-size: 12px;
}

.opening-section {
  padding: 40px 0;
  background: #fff;
  text-align: center;
}

.section-inner {
  max-width: 1080px;
  width: calc(100% - 40px);
  margin: 0 auto;
}

.section-label {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: bold;
  color: #777;
  letter-spacing: 0.12em;
}
 
.opening-section h2 {
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.5;
}

.section-lead {
  max-width: 720px;
  margin: 0 auto 38px;
  font-size: 16px;
  line-height: 2;
}

.opening-section ul {
   display: flex;
   gap: 24px;
   margin: 0;
   padding: 0;
   list-style: none;
   text-align: left;
}

.opening-section li {
  flex: 1;
  padding: 32px;
  background: #f7f7f7;
  border-radius: 20px;
}

.opening-section li img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  margin: 0 0 20px;
  border-radius: 14px;
}

.opening-section li h3 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.5;
}

.opening-section li p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.body-section {
  padding: 80px 0;
  background: #f7f7f7;
}

.body-section .section-inner {
  display: flex;
  align-items: center;
  gap: 56px;
}

.body-section .section-inner > img {
  width: 50%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.body-section .section-inner > div {
  flex: 1;
}

.body-section .section-label {
  margin: 0 0 14px;
}

.body-section h2 {
  margin: 0 0 24px;
  font-size: 36px;
  line-height: 1.5;
}

.body-section .section-inner > div > p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 2;
}

.body-section .section-inner > div > p:last-child {
  margin-bottom: 0;
}

.service-section {
  padding: 80px 0;
  background: #fff;
  text-align: center;
}

.service-section h2 {
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.5;
}

.service-section .section-lead {
  max-width: 780px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 2;
}
.service-section dl {
  display: grid;
  grid-template-columns: 240px 1fr;
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
  border-radius: 20px;
  overflow: hidden;
}

.service-section dt,
.service-section dd {
  margin: 0;
  padding: 24px 28px;
  border-right: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
}

.service-section dt {
  font-weight: bold;
  background: #eeeeee;
}

.service-section dd {
  background: #f7f7f7;
  line-height: 2;
}

.works-section {
  padding: 80px 0;
  background: #f7f7f7;
  text-align: center;
}

.works-section h2 {
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.5;
}

.works-section .section-lead {
  max-width: 780px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 2;
}

.works-section ul {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.works-section li img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.works-section li h3 {
  margin: 24px 24px 12px;
  font-size: 20px;
  line-height: 1.5;
}

.works-section li p {
  margin: 0 24px 28px;
  font-size: 15px;
  line-height: 1.9;
}

.flow-section {
  padding: 80px 0;
  background: #ffffff;
  text-align: center;
}

.aflow-section h2 {
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.5;
}

.flow-section .section-lead {
  max-width: 780px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 2;
}

.flow-section ol {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow-number;
  text-align: left;
}

.flow-section li {
  position: relative;
  padding: 32px 24px 28px;
  background: #f7f7f7;
  border-radius: 20px;
  counter-increment: flow-number;
}

.flow-section li::before {
  content: counter(flow-number,decimal-leading-zero);
  display: block;
  margin: 0 0 20px;
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
  color: #cccccc;
}

.flow-section li h3 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.5;
}

.flow-section li p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

.price-section {
  padding: 80px 0;
  background: #f7f7f7;
  text-align: center;
}

.price-section h2 {
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.5;
}

.price-section .section-lead {
  max-width: 780px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 2;
}

.price-section ul {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.price-section li {
  padding: 36px 28px;
  background: #ffffff;
  border-radius: 20px;
}

.price-section li h3 {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
}

.cta-section {
  padding: 80px 0;
  background: #222222;
  color: #ffffff;
  text-align: center;
}

.cta-section .section-label {
  color: #cccccc;
}

.cta-section h2 {
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.5;
}

.cta-section .section-lead {
  max-width: 780px;
  margin: 0 auto 36px;
  font-size: 16px;
  line-height: 2;
}

.cta-section a {
  display: inline-block;
  min-width: 260px;
  padding: 18px 36px;
  color: #222222;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  background: #ffffff;
  border-radius: 999px;
}

.cta-section a:hover {
  opacity: 0.8;
}

.cta-section small {
  display: block;
  margin: 20px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: #cccccc;
}

/*===== 第12章：トップページ全体の仕上げ ======*/

.opening-section,
.body-section,
.service-section,
.works-section,
.flow-section,
.price-section,
.cta-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.opening-section h2,
.body-section h2,
.service-section h2,
.works-section h2,
.flow-section h2,
.price-section h2,
.cta-section h2 {
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.5;
}

.opening-section li,
.works-section li,
.flow-section li,
.price-section li {
  box-shadow: 0 10px 30px rgba(0,0,0,0.4); 
}

/* ===== 第13章：レスポンシブ対応 ===== */

@media (max-width: 768px) {

  .section-inner {
    width: calc(100% - 32px);
    max-width: none;
    margin: 0 auto;
  }

  .opening-section,
  .service-section,
  .works-section,
  .flow-section,
  .price-section,
  .cta-section,
  .body-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .opening-section h2,
  .service-section h2,
  .works-section h2,
  .flow-section h2,
  .price-section h2,
  .cta-section h2,
  .body-section h2 {
    font-size: 28px;
    line-height: 1.5;
  }

  .section-lead {
    margin-bottom: 32px;
    font-size: 15px;
    line-height: 1.9;
  }

  /* FV */
  .first-view {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .first-view-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .first-view-image {
    display: block;
    width: 100%;
  }

  .first-view-image > img {
    width: 100%;
    height: auto;
    object-position: center center;
    display: block;
  }

  .first-view-buttons {
    left: 9%;
    right: 9%;
    bottom: 8%;
    flex-direction: column;
    gap: 10px;
  }

  .first-view-buttons a {
    width: 100%;
  }

  .first-view-buttons img {
    width: 100%;
  }

  /* Header */
  .site-header {
    height: auto;
    padding: 14px o;
  }

  .site-header .section-inner {
    display: block;
  }

  .site-title {
    margin: 0 0 10px;
    text-align: center;
  }

  .site-title img {
    max-height: 36px;
  }

  .site-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 0;
    padding: 0;
  }

  .site-nav a {
    font-size: 11px;
  }

  /* Opening:スマホでは必ず1列 */
  .opening-section ul {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .opening-section li {
    width: 100%;
    margin: 0 0 20px;
    padding: 24px;
  }

  .opening-section li:last-child {
    margin-bottom: 0;
  }

  .opening-section li img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin: 0 0 20px;
  }

  .opening-section li h3 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.5;
  }

  .opening-section li p {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
  }

  /* Body */
  .body-section .section-inner {
    display: block;
  }

  .body-section .section-inner > img {
    width: 100%;
    height: 260px;
    margin-bottom: 28px;
  }

  .body-section .section-inner > div > p {
    font-size: 15px;
    line-height: 1.9;
  }

  /* Service */
  .service-section .section-inner {
    padding-left: 0;
    padding-right: 0;
  }

  .service-section dl {
    display: block;
    width: 100%;
  }

  .service-section dt,
  .service-section dd {
    width: 100%;
    margin: 0;
    padding: 18px 20px;
    border-right: 1px solid #dddddd;
  }

  /* Works */
  .works-section ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .works-section li img {
    height: 220px;
  }

  /* Flow */
  .flow-section ol {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .flow-section li {
    padding: 28px 24px;
  }

  /* Price */
  .price-section ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    margin: 0 0 24px;
    padding: 0;
  }

  .price-section li {
    padding: 32px 24px;
  }

  /* CTA */
  .cta-section a {
    width: 100%;
    min-width: 0;
    padding: 18px 24px;
  }
}

/* ======================================================
第14章：スマホ用ハンバーガーメニュー
====================================================== */

  /* PCではハンバーガーボタンを非表示 */
  .menu-toggle {
    display: none;
  }

  /* PC用:header-nav-areaの中でナビとボタンを横並びにする */
  .header-nav-area {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding: 0;
  }

  .header-nav-area .global-nav {
    margin-right: 30px;
  }

  .header-nav-area .header-button {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* スマホ表示 */
  @media (max-width: 768px) {

  .site-header {
    position: relative;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
    padding: 0 16px;
    box-sizing: border-box;
  }
  
  .header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .header-logo a {
    display: block;
    line-height: 1;
  }

  .header-logo img {
    width: 70px;
    height: auto;
    display: block;
  }

  .site-title {
    margin: 0;
    font-size: 12px;
    line-height: 1.2;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #c7a47c;
    border-radius: 8px;
    background: #f8f1e8;
    cursor: pointer;
    flex-shrink: 0;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    background: #3a2a22;
  }

  .header-nav-area {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    padding: 0 16px 20px;
    box-sizing: border-box;
    background: #3a2a22;
    z-index: 1001;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }

  .header-nav-area.is-open {
    display: block;
  }
  
  .header-nav-area .global-nav {
    margin-right: 0;
  }

  .main-menu,
  .sub-menu {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .main-menu li,
  .sub-menu li {
    display: block;
    border-bottom: 1px solid rgba(248, 241, 232, 0.24);
  }

  .main-menu a,
  .sub-menu a {
    display: block;
    padding: 22px 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
  }

  .sub-menu {
    margin-top: 0;
  }

  .sub-menu li {
    gap: 0;
  }

  .sub-menu li::before {
    display: none;
  }

  .header-nav-area .header-button {
    width: 100%;
    max-width: none;
    height: 56px;
    margin-top: 20px;
    font-size: 14px;
  }

}
  
  /* 固定ページ */
.page-main {
  padding-top: 60px;
  padding-bottom: 60px;
 }

.page-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  margin-bottom: 32px;
  font-size: 32px;
  line-height: 1.5;
  text-align: center;
}

.page-body {
  font-size: 16px;
  line-height: 1.9;
}

.page-body h2 {
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  font-size: 24px;
  line-height: 1.5;
  border-bottom: 1px solid #ddd;
}

.page-body h3 {
  margin-top: 36px;
  margin-bottom: 16px;
  font-size: 20px;
  line-height: 1.5;
}

.page-body p {
  margin-bottom: 20px;
}

.page-body ul,
.page-body ol {
  margin-bottom: 24px;
  padding-left: 1.5em;
}

.page-body li {
  margin-bottom: 8px;
}

.page-body table {
  width: 100%;
  margin-top: 24px;
  margin-bottom: 24px;
  border-collapse: collapse;
}

.page-body th,
.page-body td {
  padding: 14px 16px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

.page-body th {
  width: 30px;
  background: #f7f7f7;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
   
  .page-main {
    padding: 40px;
    padding-bottom: 40px;
  }

  .page-content {
    max-width: 100%;
  }

  .page-title {
    margin-bottom: 24px;
    font-size: 26px
  }

  .page-body {
    font-size: 15px;
  }

  .page-body h2 {
    margin-top: 40px;
    font-size: 22px;
  }

  .page-body h3 {
    margin-top: 32px;
    font-size: 18px;
  }

  .page-body table {
    font-size: 14px;
  }

  .page-body th,
  .page-body td {
    display: block;
    width: 100%;
  }
}

/* ブログ一覧 */
.blog-main,
.archive-main {
  padding: 150px 0 120px;
  color: #173f2d;
  background: #fffdf6;
}

.blog-heading,
.archive-heading {
  margin-bottom: 64px;
  text-align: center;
}

.blog-label {
  margin: 0 0 14px;
  color: #e56f55;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.blog-title,
.archive-title {
  margin: 0 0 18px;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.4;
}

.blog-lead {
  margin: 0;
  color: #526a5d;
  font-size: 15px;
  line-height: 2;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(23, 63, 45, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(23, 63, 45, 0.1);
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #e7eee8;
}

.blog-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.035);
}

.blog-card-image.is-placeholder {
  display: grid;
  place-items: center;
  color: #6b7e72;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 15px;
  letter-spacing: 0.12em;
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 26px 28px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.blog-date {
  color: #6b7e72;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.blog-category {
  color: #e56f55;
  font-size: 11px;
}

.blog-card-title {
  margin: 0 0 13px;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.65;
}

.blog-excerpt {
  margin: 0;
  color: #526a5d;
  font-size: 15px;
  line-height: 1.9;
}

.blog-read-more {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 24px;
  color: #173f2d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #e56f55;
}

.blog-pagination {
  margin-top: 56px;
  text-align: center;
}

.blog-pagination .page-numbers {
  display: inline-block;
  margin: 0 4px;
  padding: 8px 12px;
  color: #173f2d;
  border: 1px solid rgba(23, 63, 45, 0.18);
  text-decoration: none;
}

.blog-pagination .current {
  background: #173f2d;
  color: #fff;
}

.blog-empty {
  text-align: center;
  color: #526a5d;
}

/* 記事詳細 */
.single-main {
  padding: 150px 0 120px;
  color: #173f2d;
  background: #fffdf6;
}

.single-content {
  max-width: 800px;
  margin: 0 auto;
}

.single-header {
  margin-bottom: 48px;
  text-align: center;
}

.single-date {
  display: block;
  margin-bottom: 14px;
  font-size: 14px;
  color: #6b7e72;
}

.single-title {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.55;
  line-break: strict;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: balance;
}

.single-categories {
  margin-top: 16px;
  color: #e56f55;
  font-size: 12px;
}

.single-categories a {
  color: inherit;
  text-decoration: none;
}

.single-eyecatch {
  margin-bottom: 40px;
}

.single-eyecatch img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
}

.single-body {
  font-size: 16px;
  line-height: 2;
  line-break: strict;
  word-break: normal;
}

.single-body h2 {
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  font-size: 24px;
  line-height: 1.5;
  color: #173f2d;
  border-bottom: 1px solid rgba(23, 63, 45, 0.18);
}

.single-body h3 {
  margin-top: 40px;
  margin-bottom: 16px;
  color: #173f2d;
  font-size: 20px;
}

.single-body a {
  color: #d75f47;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-body img {
  max-width: 100%;
  height: auto;
}

.single-body p {
  margin-bottom: 20px;
  text-wrap: pretty;
}

@supports (word-break: auto-phrase) {
  .single-title,
  .single-body {
    word-break: auto-phrase;
  }
}

.single-body ul,
.single-body ol {
  margin-bottom: 24px;
  padding-left: 1.5em;
}

.single-body li {
  margin-bottom: 8px;
}

.single-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
}

.single-nav a,
.back-to-blog a {
  color: #173f2d;
  text-decoration-color: #e56f55;
  text-underline-offset: 5px;
}

.back-to-blog {
  margin-top: 32px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  
  .blog-main,
  .archive-main,
  .single-main {
    padding: 112px 0 88px;
  }

  .blog-heading,
  .archive-heading {
    margin-bottom: 32px;
  }

  .blog-title,
  .archive-title,
  .single-title {
    font-size: 28px;
  }

  .blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-card-body {
    padding: 20px;
  }

  .single-header {
    margin-bottom: 32px;
  }

  .single-eyecatch {
    margin-bottom: 32px;
  }

  .single-body {
    font-size: 15px;
  }

  .single-body h2 {
    margin-top: 40px;
    font-size: 22px;
  }

  .single-body h3 {
    margin-top: 32px;
    font-size: 18px;
  }

  .single-nav {
    display: block;
  }

  .single-nav-prev,
  .single-nav-text {
    margin-bottom: 16px;
  }
}

/* お問い合わせフォーム */
.page-body .wpcf7-form {
  max-width: 640px;
  margin: 0 auto;
}

.page-body .wpcf7-form p {
  margin-bottom: 20px;
}

.page-body .wpcf7-form label {
  display: block;
  font-weight: 700;
}

.page-body .wpcf7-form input[type="text"],
.page-body .wpcf7-form input[type="email"],
.page-body .wpcf7-form input[type="tel"],
.page-body .wpcf7-form select,
.page-body .wpcf7-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  font-size: 16px;
  line-height: 1.6;
}

.page-body .wpcf7-form textarea {
  min-height: 180px;
}

.page-body .wpcf7-form input[type="submit"] {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border: none;
  background: #333;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.page-body .wpcf7-form input[type="submit"]:hover {
  opacity: 0.8;
}

.page-body .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 14px;
  color: #c00;
}

.page-body .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 16px;
}

/* トップページではロゴ部分を丸ごと非表示 */
.home .header-logo {
  display: none;
}

/* ========================================
   ヘッダー右側：PC
======================================== */

/* 右側全体 */
.header-nav-area {
  padding-right: 24px;
}

/* メインメニューの間隔 */
.main-menu {
  gap: 28px;
}

/* 下段メニューの間隔 */
.sub-menu {
  gap: 20px;
  margin-top: 10px;
}

/* メインメニューの文字 */
.main-menu a {
  color: #173f2d;
  font-size: 17px;
  font-weight: 600;
}

/* 下段メニューの文字 */
.sub-menu a {
  color: #9ecb36;
  font-size: 13px;
}

/* メニューとお問い合わせボタンの間隔 */
.header-nav-area .global-nav {
  margin-right: 36px;
}

/* お問い合わせボタン */
.header-nav-area .header-button {
  width: 120px;
  height: 60px;
  background: #42c7c3;
  color: #001704;
  font-size: 13px;
  line-height: 1.4;
  border-radius: 6px;
}

/* ボタンにマウスを乗せたとき */
.header-nav-area .header-button:hover {
  background: #4ddfdb;
  opacity: 1;
}

/* 画面を小さくするとヘッダー右側が徐々に上がる */
@media (min-width: 769px) {
  .home .header-nav-area {
    position: relative;
    top: clamp(-8px, calc(3.4vw - 34px), 15px);
  }
}

/* サブメニュー左の三角 */
.home .site-header .sub-menu li::before {
  border-left-color: #173f2d;
}

/* PC～タブレットでヘッダーメニューを自動縮小 */
@media (min-width: 769px) {
  /* メインメニュー */
  .main-menu {
    gap: clamp(10px, 1.8vw, 28px);
  }

  .main-menu a {
    font-size: clamp(12px, 1.1vw, 17px);
  }

  /* サブメニュー */
  .sub-menu {
    gap: clamp(8px, 1.3vw, 20px);
    margin-top: clamp(5px, 0.85vw, 10px);
  }

  .sub-menu a {
    font-size: clamp(9px, 0.9vw, 13px);
  }

  /* メニューとお問い合わせボタンの間隔 */
  .header-nav-area .global-nav {
    margin-right: clamp(12px, 2.5vw, 36px);
  }
}

/* お問い合わせボタン全体を画面に合わせて縮める */
@media (min-width: 769px) {
  .home .header-nav-area .header-button {
    width: clamp(65px, 8vw, 150px);
    height: clamp(40px, 4vw, 65px);
    flex: 0 0 clamp(65px, 8vw, 150px);
    box-sizing: border-box;
    font-size: clamp(8px, 0.8vw, 14px);
    line-height: 1.3;
  }
}

/* SP：FV画像内のボタン */
@media (max-width: 768px) {
  .first-view-buttons {
    left: 8%;
    right: auto;
    bottom: 39%;
  }

  .first-view-buttons a {
    width: auto;
  }

  .first-view-buttons img {
    width: clamp(200px, 70vw, 400px);
    height: auto;
  }
}

.why-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background-color: #fffdf6;
}

.why-section::before {
  content: "";
  position: absolute;
  top: 80px;
  right: 15%;
  z-index: 0;
  width: 120px;
  height: 120px;
  background-color: #9bc84b;
  border-radius: 50%;
  opacity: 0.7;
}

.why-section .section-inner {
  position: relative;
  z-index: 1;
}

.why-label {
  margin: 0 0 20px;
  color: #173f2d;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.why-title {
  margin: 0 0 64px;
  color: #173f2d;
  font-size: 45px;
  line-height: 1.4;
  letter-spacing: -0.04em;
}

.why-title span {
  color: #ef633d;
}

.why-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.why-message {
  color: #173f2d;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.8;
}

.why-message-en {
  margin-top: 40px;
  color: #9bc84b;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.why-description {
  color: #173f2d;
  font-size: 16px;
  line-height: 2;
}

.why-description p {
  margin: 0 0 24px;
}


/* ==============================
   WHAT I CAN DO
================================= */

.service-section {
  padding: 120px 0;
  color: #173f2d;
  background-color: #fff9e9;
  text-align: left;
}

.service-label {
  margin: 0 0 20px;
  color: #9bc84b;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.service-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
  text-align: left;
}

.service-heading h2 {
  margin: 0;
  font-size: 45px;
  line-height: 1.4;
  letter-spacing: -0.04em;
  text-align: left;
}

.service-heading > p {
  margin: 47px 0 0;
  padding-left: 18px;
  border-left: 3px solid #e980ad;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.8;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-item {
  position: relative;
  min-height: 315px;
  padding: 35px 27px;
  overflow: hidden;
  color: #173f2d;
  text-align: left;
  border: 2px solid #173f2d;
  box-shadow: 6px 6px 0 #173f2d;
}

.service-item:nth-child(1) {
  background-color: #9bc84b;
}

.service-item:nth-child(2) {
  background-color: #e980ad;
}

.service-item:nth-child(3) {
  background-color: #42c7c3;
}

.service-item:nth-child(4) {
  background-color: #f3ae2b;
}

.service-item::after {
  content: "";
  position: absolute;
  top: -48px;
  right: -48px;
  width: 110px;
  height: 110px;
  background-color: rgba(255, 255, 255, 0.35);
  border: 2px solid #173f2d;
  border-radius: 50%;
}

.service-number {
  display: block;
  color: #173f2d;
  font-size: 16px;
  font-weight: 800;
}

.service-item h3 {
  margin: 30px 0 15px;
  font-size: 23px;
  line-height: 1.45;
}

.service-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.service-tags li {
  padding: 8px 16px;
  color: #173f2d;
  background-color: #9bc84b;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
}


/* ==============================
   SP
================================= */

@media screen and (max-width: 768px) {
  .why-section {
    padding: 80px 0;
  }

  .why-section::before {
    top: 40px;
    right: -20px;
    width: 70px;
    height: 70px;
    opacity: 0.4;
  }

  .why-title {
    margin-bottom: 40px;
    font-size: 23px;
  }

  .why-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-message {
    font-size: 18px;
  }

  .why-message-en {
    margin-top: 24px;
    font-size: 20px;
  }

  .service-section {
    padding: 80px 0;
  }

  .service-heading {
    display: block;
    margin-bottom: 40px;
  }

  .service-heading h2 {
    margin: 0 0 24px;
    font-size: 25px;
    line-height: 1.5;
  }

  .service-heading > p {
    margin: 0 0 40px;
    font-size: 16px;
  }

  .service-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-item {
    min-height: auto;
    padding: 30px 24px;
    box-shadow: 4px 4px 0 #173f2d;
  }

  .service-number {
    font-size: 20px;
  }

  .service-item h3 {
    margin: 24px 0 14px;
    font-size: 21px;
  }

  .service-item p {
    font-size: 15px;
  }
}

/* ==============================
   WHAT I CAN DO：落ち着いたカードデザイン
================================= */

.service-section {
  padding: 132px 0 140px;
  color: #173f2d;
  background: #f4f1e8;
  text-align: left;
}

.service-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: #6b7e72;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.service-label::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #e56f55;
  border-radius: 50%;
}

.service-heading {
  align-items: end;
  gap: clamp(40px, 7vw, 100px);
  margin-bottom: 70px;
}

.service-heading h2 {
  color: #173f2d;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.035em;
}

.service-heading > p {
  position: relative;
  margin: 0 0 9px;
  padding: 0 0 0 24px;
  color: #334f41;
  border-left: 0;
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 600;
  line-height: 1.85;
}

.service-heading > p::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 2px;
  height: 3.1em;
  background: #e56f55;
  border-radius: 10px;
}

.service-list {
  gap: 18px;
}

.service-item {
  --card-accent: #4faeb0;
  min-height: 330px;
  padding: 34px 28px 30px;
  overflow: hidden;
  color: #173f2d;
  background: rgba(255, 253, 246, 0.9) !important;
  border: 1px solid rgba(23, 63, 45, 0.14);
  border-top: 4px solid var(--card-accent);
  box-shadow: 0 12px 35px rgba(23, 63, 45, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-item:nth-child(1) { --card-accent: #8eb75b; }
.service-item:nth-child(2) { --card-accent: #e58aa7; }
.service-item:nth-child(3) { --card-accent: #4faeb0; }
.service-item:nth-child(4) { --card-accent: #e4a53b; }

.service-item:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 46px rgba(23, 63, 45, 0.11);
}

.service-item::after {
  top: -34px;
  right: -34px;
  width: 96px;
  height: 96px;
  background: color-mix(in srgb, var(--card-accent) 14%, transparent);
  border: 0;
  border-radius: 50%;
}

.service-number {
  position: relative;
  z-index: 1;
  color: var(--card-accent);
  font-family: Arial, sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
}

.service-item h3 {
  position: relative;
  z-index: 1;
  margin: 48px 0 17px;
  color: #173f2d;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
}

.service-item p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #526a5d;
  font-size: 14px;
  line-height: 1.85;
}

.service-tags {
  gap: 10px;
  margin-top: 44px;
}

.service-tags li {
  padding: 8px 16px;
  color: #526a5d;
  background: rgba(255, 253, 246, 0.72);
  border: 1px solid rgba(23, 63, 45, 0.16);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

@keyframes service-card-in {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: translateY(0); }
}

@supports (animation-timeline: view()) {
  .service-item {
    animation: service-card-in linear both;
    animation-timeline: view();
    animation-range: entry 4% cover 29%;
  }

  .service-item:nth-child(2) { animation-range: entry 7% cover 32%; }
  .service-item:nth-child(3) { animation-range: entry 10% cover 35%; }
  .service-item:nth-child(4) { animation-range: entry 13% cover 38%; }
}

@media screen and (min-width: 769px) and (max-width: 1100px) {
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .service-section {
    padding: 88px 0 96px;
  }

  .service-heading {
    margin-bottom: 48px;
  }

  .service-heading h2 {
    font-size: clamp(27px, 7.8vw, 36px);
  }

  .service-heading > p {
    margin-bottom: 0;
    padding-left: 20px;
    font-size: 16px;
  }

  .service-list {
    gap: 18px;
  }

  .service-item {
    min-height: 0;
    padding: 28px 24px 30px;
    box-shadow: 0 10px 28px rgba(23, 63, 45, 0.06);
  }

  .service-number {
    font-size: 36px;
  }

  .service-item h3 {
    margin-top: 34px;
  }
}

/* ==============================
   WORKS：作品を主役にしたレイアウト
================================= */

.works-section {
  padding: 132px 0 140px;
  color: #173f2d;
  background: #fffdf6;
  text-align: left;
}

.works-section .section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: #6b7e72;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.works-section .section-label::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #e56f55;
  border-radius: 50%;
}

.works-section h2 {
  margin: 0 0 20px;
  color: #173f2d;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.035em;
}

.works-section .section-lead {
  max-width: 690px;
  margin: 0 0 64px;
  color: #526a5d;
  font-size: 15px;
  line-height: 2;
}

.works-section ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.works-section li {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(23, 63, 45, 0.13);
  box-shadow: 0 14px 38px rgba(23, 63, 45, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.works-section li:first-child {
  grid-column: 1 / -1;
}

.works-section li:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(23, 63, 45, 0.1);
}

.works-section li::after {
  content: "VIEW PROJECT";
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 7px 11px;
  color: #173f2d;
  background: rgba(255, 253, 246, 0.9);
  border-radius: 100px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.works-section li.works-item--sp::after {
  content: "SP LANDING PAGE";
}

.works-section li.works-item--responsive::after {
  content: "PC / SP LANDING PAGE";
}

.works-section li img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  border-bottom: 0;
  transition: transform 0.65s cubic-bezier(.2,.7,.2,1);
}

.works-section li.works-item--sp img {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
}

.works-section li:first-child img {
  height: 430px;
}

.works-section li:hover img {
  transform: scale(1.035);
}

.works-section li h3 {
  margin: 23px 24px 9px;
  color: #173f2d;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.55;
}

.works-section li:first-child h3 {
  margin-top: 28px;
  font-size: 23px;
}

.works-section li p {
  margin: 0 24px 25px;
  color: #526a5d;
  font-size: 13px;
  line-height: 1.8;
}

.works-section li:first-child p {
  font-size: 14px;
}

@keyframes works-card-in {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}

@supports (animation-timeline: view()) {
  .works-section li {
    animation: works-card-in linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 31%;
  }

  .works-section li:nth-child(2) { animation-range: entry 9% cover 35%; }
  .works-section li:nth-child(3) { animation-range: entry 13% cover 39%; }
  .works-section li:nth-child(4) { animation-range: entry 9% cover 35%; }
  .works-section li:nth-child(5) { animation-range: entry 13% cover 39%; }
}

@media screen and (max-width: 900px) {
  .works-section ul {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .works-section li:first-child {
    grid-column: auto;
  }

  .works-section li img,
  .works-section li:first-child img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media screen and (max-width: 768px) {
  .works-section {
    padding: 88px 0 96px;
  }

  .works-section h2 {
    font-size: clamp(27px, 7.8vw, 36px);
  }

  .works-section .section-lead {
    margin-bottom: 44px;
  }

  .works-section ul {
    gap: 20px;
  }

  .works-section li h3,
  .works-section li:first-child h3 {
    margin: 22px 20px 9px;
    font-size: 19px;
  }

  .works-section li p,
  .works-section li:first-child p {
    margin: 0 20px 24px;
    font-size: 13px;
  }
}

/* ==============================
   NEW FIRST VIEW
   画像を使わず、HTML＋CSSで表現
================================= */

.first-view {
  position: relative;
  min-height: 100svh;
  padding: 138px 0 104px;
  overflow: hidden;
  color: #173f2d;
  background:
    radial-gradient(circle at 86% 14%, rgba(243, 174, 43, 0.2) 0 5%, transparent 5.2%),
    linear-gradient(135deg, #fffdf6 0%, #fff9e9 58%, #eef7ef 100%);
}

.first-view::before,
.first-view::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.first-view::before {
  top: -19vw;
  right: -11vw;
  width: 48vw;
  height: 48vw;
  border: 1px solid rgba(23, 63, 45, 0.16);
}

.first-view::after {
  left: -9vw;
  bottom: -19vw;
  width: 38vw;
  height: 38vw;
  background: rgba(111, 191, 193, 0.1);
}

.first-view .first-view-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(56px, 7vw, 120px);
  width: min(1240px, calc(100% - 80px));
  min-height: calc(100svh - 242px);
  margin: 0 auto;
}

.first-view-copy {
  position: relative;
  z-index: 2;
  padding-left: clamp(20px, 4vw, 64px);
}

.first-view-copy::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 2px;
  background: #173f2d;
  transform-origin: top;
  animation: fv-line 1.1s ease-out both;
}

.first-view-label {
  margin: 0 0 30px;
  color: #6b7e72;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  animation: fv-rise 0.75s 0.1s ease-out both;
}

.first-view-copy h1 {
  margin: 0;
  color: #173f2d;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(43px, 5.2vw, 76px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.045em;
  animation: fv-rise 0.85s 0.22s ease-out both;
}

.first-view-copy h1 .first-view-impact {
  position: relative;
  display: inline-block;
}

.first-view-copy h1 .first-view-line {
  white-space: nowrap;
}

.first-view-lead {
  margin: 36px 0 0;
  color: #334f41;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 2;
  animation: fv-rise 0.8s 0.38s ease-out both;
}

.first-view-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
  animation: fv-rise 0.8s 0.52s ease-out both;
}

.first-view-contact {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-width: 260px;
  padding: 17px 20px 17px 24px;
  color: #fffdf6;
  background: #e56f55;
  border: 1px solid #e56f55;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.first-view-contact span {
  display: inline-block;
  font-size: 20px;
  animation: fv-arrow 1.8s ease-in-out infinite;
}

.first-view-contact:hover {
  color: #fffdf6;
  background: #173f2d;
  border-color: #173f2d;
  transform: translateY(-3px);
}

/* ==============================
   WHY I DO THIS：新FVからつながるデザイン
================================= */

.why-section {
  position: relative;
  padding: 132px 0 140px;
  overflow: hidden;
  color: #173f2d;
  background:
    radial-gradient(circle at 88% 24%, rgba(111, 191, 193, 0.1) 0 12%, transparent 12.3%),
    #fffdf6;
  text-align: left;
}

.why-section::before {
  top: 86px;
  right: 8%;
  width: 108px;
  height: 108px;
  background: transparent;
  border: 1px solid rgba(229, 111, 85, 0.5);
  opacity: 1;
  animation: why-circle-float 6s ease-in-out infinite;
}

.why-section::after {
  content: "WHY";
  position: absolute;
  right: -0.04em;
  bottom: -0.22em;
  z-index: 0;
  color: rgba(23, 63, 45, 0.035);
  font-family: Arial, sans-serif;
  font-size: clamp(180px, 27vw, 430px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.1em;
  pointer-events: none;
}

.why-section .section-inner {
  position: relative;
  z-index: 1;
}

.why-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: #6b7e72;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.why-label::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #e56f55;
  border-radius: 50%;
}

.why-title {
  max-width: 860px;
  margin: 0 0 76px;
  color: #173f2d;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.035em;
}

.why-title span {
  color: #e56f55;
}

.why-content {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(52px, 8vw, 120px);
  align-items: start;
}

.why-message {
  padding-top: 0;
  color: #173f2d;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 500;
  line-height: 1.9;
}

.why-message p {
  margin-top: 0;
}

.why-message-en {
  margin-top: 52px;
  color: #4faeb0;
  font-family: Arial, sans-serif;
  font-size: clamp(27px, 3vw, 43px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.why-description {
  padding: 4px 0 4px clamp(30px, 4vw, 62px);
  color: #334f41;
  border-left: 1px solid rgba(23, 63, 45, 0.16);
  font-size: 16px;
  line-height: 2.15;
}

.why-description p {
  margin: 0 0 30px;
}

.why-description p:last-child {
  margin-bottom: 0;
}

.why-description strong {
  color: #173f2d;
  font-weight: 700;
  background: linear-gradient(transparent 72%, rgba(229, 111, 85, 0.2) 72%);
}

@keyframes why-circle-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(12px) rotate(8deg); }
}

@keyframes why-reveal-left {
  from { opacity: 0; transform: translateX(-34px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes why-reveal-right {
  from { opacity: 0; transform: translateX(34px); }
  to { opacity: 1; transform: translateX(0); }
}

@supports (animation-timeline: view()) {
  .why-label,
  .why-title,
  .why-message {
    animation: why-reveal-left linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 34%;
  }

  .why-description {
    animation: why-reveal-right linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 34%;
  }
}

@media screen and (max-width: 768px) {
  .why-section {
    padding: 88px 0 96px;
  }

  .why-section::before {
    top: 38px;
    right: -28px;
    width: 82px;
    height: 82px;
  }

  .why-section::after {
    bottom: -0.08em;
    font-size: 50vw;
  }

  .why-title {
    margin-bottom: 52px;
    font-size: clamp(27px, 7.8vw, 36px);
    line-height: 1.6;
  }

  .why-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .why-message {
    font-size: 18px;
  }

  .why-message-en {
    margin-top: 34px;
    font-size: 28px;
  }

  .why-description {
    padding: 0;
    border-left: 0;
    font-size: 15px;
    line-height: 2;
  }
}

.first-view-note {
  margin: 18px 0 0;
  color: #6b7e72;
  font-size: 12px;
  letter-spacing: 0.06em;
  animation: fv-rise 0.8s 0.6s ease-out both;
}

.first-view-visual {
  position: relative;
  width: min(100%, 520px);
  margin: 0 auto;
  animation: fv-visual-in 1s 0.25s cubic-bezier(.2,.75,.25,1) both;
}

.first-view-arch {
  position: relative;
  width: 78%;
  aspect-ratio: 0.77;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(23, 63, 45, 0.48);
  border-radius: 48% 48% 8px 8px / 34% 34% 8px 8px;
  background:
    linear-gradient(to bottom,
      #dcefeb 0 38%,
      #72c2c1 38% 63%,
      #4faeb0 63% 69%,
      #f0d6a7 69% 100%);
  box-shadow: 20px 24px 0 rgba(23, 63, 45, 0.07);
}

.first-view-arch::before {
  content: "";
  position: absolute;
  top: 38%;
  left: -10%;
  width: 120%;
  height: 31%;
  background:
    repeating-radial-gradient(ellipse at 50% 0%, transparent 0 15px, rgba(255,255,255,0.45) 16px 17px, transparent 18px 32px);
  opacity: 0.5;
  animation: fv-sea 8s linear infinite;
}

.first-view-arch::after {
  content: "";
  position: absolute;
  left: -15%;
  bottom: -13%;
  width: 88%;
  height: 37%;
  background: #fff7e5;
  border-radius: 50%;
  transform: rotate(-12deg);
}

.first-view-arch p {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  margin: 0;
  color: #173f2d;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.18em;
  text-align: right;
}

.first-view-sun {
  position: absolute;
  top: 8%;
  right: 4%;
  z-index: 2;
  width: 78px;
  height: 78px;
  background: #f3ae2b;
  border-radius: 50%;
  animation: fv-float 5s ease-in-out infinite;
}

.first-view-island {
  position: absolute;
  top: 34%;
  right: -3%;
  z-index: 2;
  width: 58%;
  height: 10%;
  background: #70934f;
  border-radius: 90% 0 0 20%;
  transform: rotate(-2deg);
}

.first-view-wave {
  position: absolute;
  z-index: 2;
  width: 48%;
  height: 16px;
  border-top: 1px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  animation: fv-wave 4.5s ease-in-out infinite;
}

.first-view-wave-one {
  top: 49%;
  left: 4%;
}

.first-view-wave-two {
  top: 58%;
  right: 2%;
  animation-delay: -2s;
}

.first-view-sideword {
  position: absolute;
  top: 49%;
  right: -56px;
  margin: 0;
  color: #173f2d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.25em;
  transform: rotate(90deg);
}

.first-view-skills {
  position: absolute;
  right: 0;
  bottom: -70px;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid rgba(23, 63, 45, 0.2);
  color: #526a5d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  animation: fv-rise 0.8s 0.7s ease-out both;
}

.first-view-skills li::before {
  content: "●";
  margin-right: 10px;
  color: #e56f55;
  font-size: 7px;
  vertical-align: 2px;
}

@keyframes fv-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fv-line {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes fv-visual-in {
  from { opacity: 0; transform: translateX(32px) scale(0.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes fv-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fv-wave {
  0%, 100% { transform: translateX(-8px) scaleX(0.92); opacity: 0.55; }
  50% { transform: translateX(8px) scaleX(1.08); opacity: 1; }
}

@keyframes fv-sea {
  from { transform: translateX(-16px); }
  to { transform: translateX(16px); }
}

@keyframes fv-arrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

@media screen and (max-width: 768px) {
  .first-view {
    min-height: auto;
    padding: 124px 0 60px;
  }

  .first-view .first-view-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 54px;
    width: min(100% - 40px, 520px);
    min-height: auto;
  }

  .first-view-copy {
    padding-left: 22px;
  }

  .first-view-label {
    margin-bottom: 22px;
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .first-view-copy h1 {
    font-size: clamp(30px, 9.8vw, 54px);
    line-height: 1.42;
  }

  .first-view-lead {
    margin-top: 28px;
    font-size: 14px;
    line-height: 1.9;
  }

  .pc-only {
    display: none;
  }

  .first-view-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 30px;
  }

  .first-view-contact {
    width: 100%;
    min-width: 0;
  }

  .first-view-visual {
    width: min(92%, 390px);
  }

  .first-view-arch {
    width: 82%;
    box-shadow: 14px 16px 0 rgba(23, 63, 45, 0.07);
  }

  .first-view-sun {
    width: 58px;
    height: 58px;
  }

  .first-view-sideword {
    right: -48px;
  }

  .first-view-skills {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .first-view *,
  .first-view *::before,
  .first-view *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==============================
   HEADER：新FVのトンマナに統一
================================= */

.home .site-header .sub-menu a {
  color: #6b7e72;
  transition: color 0.25s ease;
}

.home .site-header .sub-menu li::before {
  border-left-color: #e56f55;
}

.home .site-header .sub-menu a:hover {
  color: #173f2d;
  opacity: 1;
}

.home .header-nav-area .header-button {
  color: #fffdf6;
  background: #e56f55;
  border: 1px solid #e56f55;
  border-radius: 100px;
  box-shadow: 0 7px 18px rgba(229, 111, 85, 0.2);
  transition: color 0.3s ease, background-color 0.3s ease,
    border-color 0.3s ease, transform 0.3s ease;
}

.home .header-nav-area .header-button:hover {
  color: #fffdf6;
  background: #173f2d;
  border-color: #173f2d;
  box-shadow: none;
  opacity: 1;
  transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
  .home .menu-toggle {
    border-color: rgba(23, 63, 45, 0.32);
    background: #fffdf6;
  }

  .home .menu-toggle span {
    background: #173f2d;
  }

  .home .header-nav-area {
    background: #fffdf6;
  }

  .home .header-nav-area .main-menu a {
    color: #173f2d;
  }

  .home .header-nav-area .sub-menu a {
    color: #6b7e72;
  }

  .home .header-nav-area .main-menu li,
  .home .header-nav-area .sub-menu li {
    border-bottom-color: rgba(23, 63, 45, 0.14);
  }

  .home .header-nav-area .header-button {
    width: 100%;
    margin-top: 18px;
  }
}

/* ==============================
   FLOW：サイト全体のトンマナに統一
================================= */

.flow-section {
  padding: 132px 0 140px;
  color: #173f2d;
  background: #f4f1e8;
  text-align: left;
}

.flow-section .section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: #6b7e72;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.flow-section .section-label::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: #e56f55;
  border-radius: 50%;
}

.flow-section h2 {
  margin: 0 0 20px;
  color: #173f2d;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.035em;
}

.flow-section .section-lead {
  max-width: 690px;
  margin: 0 0 64px;
  color: #526a5d;
  font-size: 15px;
  line-height: 2;
}

.flow-section ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow-number;
  text-align: left;
}

.flow-section li {
  position: relative;
  min-height: 270px;
  padding: 30px 24px 28px;
  overflow: hidden;
  background: rgba(255, 253, 246, 0.94);
  border: 1px solid rgba(23, 63, 45, 0.13);
  border-top: 3px solid #72b9b5;
  border-radius: 0;
  box-shadow: 0 12px 32px rgba(23, 63, 45, 0.055);
  counter-increment: flow-number;
}

.flow-section li::before {
  content: counter(flow-number, decimal-leading-zero);
  display: block;
  margin: 0 0 34px;
  color: #e56f55;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.flow-section li h3 {
  margin: 0 0 14px;
  color: #173f2d;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
}

.flow-section li p {
  margin: 0;
  color: #526a5d;
  font-size: 13px;
  line-height: 1.9;
}

@media screen and (max-width: 1100px) {
  .flow-section ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .flow-section li:last-child {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 768px) {
  .flow-section {
    padding: 88px 0 96px;
  }

  .flow-section h2 {
    font-size: clamp(27px, 7.8vw, 36px);
  }

  .flow-section .section-lead {
    margin-bottom: 44px;
  }

  .flow-section ol {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .flow-section li,
  .flow-section li:last-child {
    grid-column: auto;
    min-height: 0;
    padding: 27px 24px 28px;
  }

  .flow-section li::before {
    margin-bottom: 22px;
    font-size: 36px;
  }
}

/* ==============================
   PRICE：相談しやすい4つの料金目安
================================= */

.price-section {
  padding: 132px 0 140px;
  color: #173f2d;
  background: #fffdf6;
  text-align: left;
}

.price-section .section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: #6b7e72;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.price-section .section-label::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: #e56f55;
  border-radius: 50%;
}

.price-section h2 {
  margin: 0 0 20px;
  color: #173f2d;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.035em;
}

.price-section .section-lead {
  max-width: 690px;
  margin: 0 0 64px;
  color: #526a5d;
  font-size: 15px;
  line-height: 2;
}

.price-section ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.price-section li {
  position: relative;
  padding: 34px 32px 32px;
  background: #f4f1e8;
  border: 1px solid rgba(23, 63, 45, 0.13);
  border-radius: 0;
  box-shadow: 0 12px 32px rgba(23, 63, 45, 0.055);
}

.price-section li h3 {
  margin: 0 0 24px;
  color: #173f2d;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.55;
  text-align: left;
}

.price-section .price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 0 0 22px;
  color: #e56f55;
}

.price-section .price strong {
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.price-section .price span {
  color: #526a5d;
  font-size: 14px;
  font-weight: 600;
}

.price-section li > p:not(.price) {
  margin: 0;
  color: #526a5d;
  font-size: 14px;
  line-height: 1.9;
}

.price-section .price-external-costs {
  margin: 0 0 28px;
  color: #405b4d;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}

.maintenance-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  margin: 34px 0 22px;
  padding: clamp(28px, 4vw, 44px);
  background: #e5eee8;
  border-left: 4px solid #e56f55;
}

.maintenance-support .maintenance-label {
  margin: 0 0 10px;
  color: #e56f55;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.maintenance-support h3 {
  margin: 0 0 14px;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.6;
}

.maintenance-support div > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #526a5d;
  font-size: 13px;
  line-height: 1.9;
}

.maintenance-support .maintenance-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 0;
  color: #e56f55;
  white-space: nowrap;
}

.maintenance-support .maintenance-price strong {
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
  line-height: 1;
}

.maintenance-support .maintenance-price span {
  color: #526a5d;
  font-size: 13px;
  font-weight: 600;
}

.price-section .section-inner > p:last-child {
  margin: 0;
  color: #6b7e72;
  font-size: 12px;
  line-height: 1.8;
}

@media screen and (max-width: 768px) {
  .price-section {
    padding: 88px 0 96px;
  }

  .price-section h2 {
    font-size: clamp(27px, 7.8vw, 36px);
  }

  .price-section .section-lead {
    margin-bottom: 44px;
  }

  .price-section ul {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .price-section li {
    padding: 29px 24px 28px;
  }

  .price-section .price strong {
    font-size: 38px;
  }

  .maintenance-support {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 28px;
    padding: 28px 24px;
  }

  .maintenance-support .maintenance-price strong {
    font-size: 38px;
  }
}

/* ==============================
   HEADER：情報を整理した1段ナビ
================================= */

.home .site-header {
  min-height: 82px;
  padding: 14px clamp(20px, 3vw, 48px);
}

.home .header-logo {
  padding-left: 0;
}

.home .header-logo img {
  width: 82px;
}

.home .header-nav-area {
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  padding: 0;
}

.home .global-nav {
  flex-direction: row;
  align-items: center;
}

.home .main-menu {
  gap: clamp(13px, 1.45vw, 24px);
}

.home .main-menu a {
  position: relative;
  padding: 8px 0;
  color: #173f2d;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.home .main-menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: #e56f55;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.home .main-menu a:hover {
  color: #e56f55;
  opacity: 1;
}

.home .main-menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.home .header-nav-area .header-button {
  width: auto;
  height: auto;
  min-height: 44px;
  padding: 12px 20px;
  line-height: 1.2;
}

@media screen and (max-width: 980px) and (min-width: 769px) {
  .home .main-menu {
    gap: 11px;
  }

  .home .main-menu a {
    font-size: 11px;
  }

  .home .header-nav-area .header-button {
    padding-right: 15px;
    padding-left: 15px;
    font-size: 12px;
  }
}

@media screen and (max-width: 768px) {
  .home .site-header {
    min-height: 68px;
    padding: 10px 18px;
  }

  .home .header-logo img {
    width: 72px;
  }

  .home .header-nav-area {
    align-items: stretch;
    gap: 0;
    padding: 18px;
  }

  .home .global-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .home .main-menu {
    gap: 0;
  }

  .home .main-menu a {
    display: block;
    padding: 15px 4px;
    font-size: 13px;
  }

  .home .main-menu a::after {
    display: none;
  }
}

/* ==============================
   FOOTER：ブランドカラーに統一
================================= */

.site-footer {
  padding: 0;
  color: #fffdf6;
  background: #173f2d;
  text-align: left;
}

.footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 58px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

.footer-logo {
  display: inline-block;
}

.footer-logo img {
  display: block;
  width: 112px;
  height: auto;
}

.footer-brand p {
  margin: 20px 0 0;
  color: rgba(255, 253, 246, 0.72);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.footer-nav {
  display: flex;
  align-items: flex-start;
  gap: clamp(48px, 7vw, 100px);
}

.footer-main-menu,
.footer-sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-main-menu {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 18px 42px;
}

.footer-sub-menu {
  display: grid;
  gap: 12px;
}

.footer-main-menu a {
  color: #fffdf6;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.footer-sub-menu a {
  color: rgba(255, 253, 246, 0.65);
  font-size: 11px;
}

.footer-main-menu a,
.footer-sub-menu a {
  transition: color 0.25s ease;
}

.footer-main-menu a:hover,
.footer-sub-menu a:hover {
  color: #f3ae2b;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 253, 246, 0.14);
}

.footer-bottom p {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 22px;
  color: rgba(255, 253, 246, 0.5);
  text-align: right;
}

.footer-bottom small {
  font-size: 10px;
  letter-spacing: 0.08em;
}

@media screen and (max-width: 768px) {
  .footer-inner {
    width: min(100% - 40px, 520px);
    padding: 56px 0 44px;
    flex-direction: column;
    gap: 42px;
  }

  .footer-logo img {
    width: 96px;
  }

  .footer-nav {
    width: 100%;
    flex-direction: column;
    gap: 34px;
  }

  .footer-main-menu {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
  }

  .footer-bottom p {
    width: min(100% - 40px, 520px);
    padding: 18px 0 20px;
    text-align: left;
  }
}

/* ==============================
   CONTACT：Contact Form 7をブランド仕様に
================================= */

.cta-section {
  padding: 132px 0 140px;
  color: #173f2d;
  background: #e5eee8;
  text-align: center;
}

.cta-section .section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: #6b7e72;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cta-section .section-label::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: #e56f55;
  border-radius: 50%;
}

.cta-section h2 {
  margin: 0 0 20px;
  color: #173f2d;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.035em;
}

.cta-section .section-lead {
  max-width: 720px;
  margin: 0 auto 54px;
  color: #526a5d;
  font-size: 15px;
  line-height: 2;
}

.contact-form-wrap {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 46px 48px 48px;
  color: #173f2d;
  background: #fffdf6;
  border: 1px solid rgba(23, 63, 45, 0.12);
  box-shadow: 0 20px 48px rgba(23, 63, 45, 0.1);
  text-align: left;
}

.contact-form-wrap .wpcf7-form > p {
  margin: 0 0 24px;
}

.contact-form-wrap label {
  display: block;
  color: #173f2d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.contact-form-wrap .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.contact-form-wrap input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.contact-form-wrap select,
.contact-form-wrap textarea {
  width: 100%;
  padding: 14px 16px;
  color: #173f2d;
  background: #f4f1e8;
  border: 1px solid rgba(23, 63, 45, 0.18);
  border-radius: 0;
  font: inherit;
  line-height: 1.6;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.contact-form-wrap textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
  background: #ffffff;
  border-color: #72b9b5;
  box-shadow: 0 0 0 3px rgba(114, 185, 181, 0.15);
}

.contact-form-wrap input[type="submit"] {
  min-width: 220px;
  padding: 15px 30px;
  color: #fffdf6;
  background: #e56f55;
  border: 1px solid #e56f55;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    transform 0.3s ease;
}

.contact-form-wrap input[type="submit"]:hover {
  background: #173f2d;
  border-color: #173f2d;
  transform: translateY(-2px);
}

.contact-form-wrap .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #c95645;
  font-size: 12px;
}

.contact-form-wrap .wpcf7-response-output {
  margin: 22px 0 0 !important;
  padding: 13px 16px !important;
  color: #173f2d;
  border-color: #72b9b5 !important;
  font-size: 13px;
  line-height: 1.7;
}

.contact-form-notice {
  margin: 0;
  color: #526a5d;
  font-size: 14px;
  line-height: 1.9;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .cta-section {
    padding: 88px 0 96px;
  }

  .cta-section h2 {
    font-size: clamp(27px, 7.8vw, 36px);
  }

  .cta-section .section-lead {
    margin-bottom: 40px;
  }

  .contact-form-wrap {
    padding: 31px 22px 34px;
  }

  .contact-form-wrap input[type="submit"] {
    width: 100%;
    min-width: 0;
  }
}

/* ==============================
   PROFILE：宮古島で働く人柄を伝える
================================= */

.profile-section {
  padding: 124px 0 132px;
  color: #173f2d;
  background: #fffdf6;
}

.profile-inner {
  display: block;
}

.profile-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(243, 174, 43, 0.18) 0 8%, transparent 8.3%),
    linear-gradient(145deg, #e3f0eb 0%, #f4f1e8 62%, #fff4dc 100%);
  border: 1px solid rgba(23, 63, 45, 0.12);
}

.profile-visual::before,
.profile-visual::after {
  display: none;
}

.profile-visual::before {
  top: -110px;
  right: -90px;
  width: 270px;
  height: 270px;
}

.profile-visual::after {
  bottom: -130px;
  left: -100px;
  width: 310px;
  height: 310px;
}

.profile-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.profile-visual p {
  position: absolute;
  right: 24px;
  bottom: 21px;
  z-index: 1;
  margin: 0;
  padding: 8px 11px;
  color: #fffdf6;
  background: rgba(23, 63, 45, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.profile-copy {
  max-width: 780px;
  margin: 0 auto;
}

.profile-copy .section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: #6b7e72;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.profile-copy .section-label::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: #e56f55;
  border-radius: 50%;
}

.profile-copy h2 {
  margin: 0 0 8px;
  color: #173f2d;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.profile-role {
  margin: 0 0 38px;
  color: #e56f55;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.profile-copy > p:not(.section-label):not(.profile-role) {
  margin: 0 0 22px;
  color: #526a5d;
  font-size: 15px;
  line-height: 2.05;
}

.profile-copy .profile-belief {
  margin: 30px 0;
  color: #e56f55;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 500;
  line-height: 1.75;
}

.profile-copy > p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  .profile-section {
    padding: 88px 0 96px;
  }

  .profile-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .profile-visual {
    min-height: 340px;
  }

  .profile-copy h2 {
    font-size: clamp(27px, 7.8vw, 36px);
  }

  .profile-role {
    margin-bottom: 30px;
  }

  .profile-copy > p:not(.section-label):not(.profile-role) {
    font-size: 14px;
    line-height: 2;
  }
}

/* ==============================
   SALES COPY：検討・安心材料
================================= */

.match-panels-single {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}

.price-section li .price-includes {
  margin-top: 22px;
  padding-top: 18px;
  color: #405b4d;
  font-size: 12px;
  line-height: 1.8;
  border-top: 1px solid rgba(23, 63, 45, 0.12);
}

.fit-section {
  padding: 120px 0;
  color: #173f2d;
  background: #e5eee8;
}

.fit-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.fit-heading .section-label,
.faq-section .section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: #6b7e72;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fit-heading .section-label::before,
.faq-section .section-label::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: #e56f55;
  border-radius: 50%;
}

.fit-heading h2,
.faq-section h2 {
  margin: 0 0 28px;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 500;
  line-height: 1.55;
}

.fit-heading > p:last-child {
  margin: 0;
  color: #526a5d;
  font-size: 14px;
  line-height: 2;
}

.fit-content {
  padding: clamp(30px, 4vw, 50px);
  background: #fffdf6;
  border: 1px solid rgba(23, 63, 45, 0.13);
}

.fit-content h3 {
  margin: 0 0 26px;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(21px, 2.1vw, 28px);
  font-weight: 500;
}

.fit-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-content li {
  position: relative;
  padding: 16px 0 16px 28px;
  color: #405b4d;
  font-size: 14px;
  line-height: 1.8;
  border-top: 1px solid rgba(23, 63, 45, 0.12);
}

.fit-content li::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 3px;
  width: 9px;
  height: 9px;
  border: 1px solid #6b7e72;
  border-radius: 50%;
}

.fit-content > p {
  margin: 24px 0 0;
  padding-top: 22px;
  color: #526a5d;
  font-size: 13px;
  line-height: 1.9;
  border-top: 1px solid rgba(23, 63, 45, 0.12);
}

.faq-section {
  padding: 120px 0 128px;
  color: #173f2d;
  background: #fffdf6;
}

.faq-section h2 {
  margin-bottom: 50px;
}

.faq-list {
  margin: 0;
  border-top: 1px solid rgba(23, 63, 45, 0.16);
}

.faq-list > div {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 5vw, 70px);
  padding: 28px 0;
  border-bottom: 1px solid rgba(23, 63, 45, 0.16);
}

.faq-list dt {
  position: relative;
  padding-left: 34px;
  font-weight: 600;
  line-height: 1.8;
}

.faq-list dt::before {
  content: "Q";
  position: absolute;
  top: 0;
  left: 0;
  color: #e56f55;
  font-family: Georgia, serif;
  font-size: 20px;
}

.faq-list dd {
  margin: 0;
  color: #526a5d;
  font-size: 14px;
  line-height: 1.9;
}

@media screen and (max-width: 768px) {
  .fit-section,
  .faq-section {
    padding: 88px 0 96px;
  }

  .fit-inner,
  .faq-list > div {
    grid-template-columns: 1fr;
  }

  .fit-inner {
    gap: 38px;
  }

  .fit-heading h2,
  .faq-section h2 {
    font-size: clamp(27px, 8vw, 36px);
  }

  .fit-content {
    padding: 30px 24px;
  }

  .faq-section h2 {
    margin-bottom: 36px;
  }

  .faq-list > div {
    gap: 12px;
    padding: 24px 0;
  }
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 96px;
}

#service,
#works,
#flow,
#price,
#contact {
  scroll-margin-top: 96px;
}

.works-section li p + .works-voice,
.works-section li:first-child p + .works-voice {
  margin: -5px 24px 25px;
  padding: 16px 18px;
  color: #405b4d;
  background: #f2f4ee;
  border-left: 2px solid #e56f55;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* プロフィールの中心メッセージは本文指定より優先する */
.profile-section .profile-copy > p.profile-belief {
  margin: 30px 0;
  color: #e56f55;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(20px, 1.9vw, 25px);
  font-weight: 500;
  line-height: 1.7;
}

@media screen and (max-width: 768px) {
  .profile-section .profile-copy > p.profile-belief {
    font-size: clamp(18px, 5.5vw, 22px);
  }
}

/* ==============================
   NEW BRAND LOGO
================================= */

.home .header-logo {
  display: flex;
}

.site-title {
  display: none;
}

.header-logo img,
.home .header-logo img,
body:not(.home) .header-logo img {
  width: clamp(138px, 12vw, 176px);
  height: auto;
  max-height: 72px;
  object-fit: contain;
}

.footer-logo {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.footer-logo img {
  width: 184px;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

@media screen and (max-width: 980px) and (min-width: 769px) {
  .header-logo img,
  .home .header-logo img,
  body:not(.home) .header-logo img {
    width: 128px;
  }
}

@media screen and (max-width: 768px) {
  .header-logo img,
  .home .header-logo img,
  body:not(.home) .header-logo img {
    width: 132px;
    max-height: 54px;
  }

  .footer-logo img {
    width: 160px;
  }
}
