/*
Theme Name: Tsumugu Theme
Theme URI:
Author: Yuko
Author URI:
Description: Tsumugu Design Studio Original Theme
Version: 1.0
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 8.2
Text Domain: tsumugu
*/

/* =========================================
   基本設定
========================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #3b312f;
  background: #fff;
  font-family:
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "YuGothic",
    sans-serif;
}

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

a {
  color: inherit;
}

/* =========================================
   Header
========================================= */

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  background: transparent;
}

.site-header-inner {
  display: flex;
  align-items: center;
  width: min(calc(100% - 64px), 1440px);
  min-height: 78px;
  margin: 0 auto;
}



/* =========================================
   固定ページ・投稿ページのHeader
========================================= */

body:not(.home) .site-header {
  position: relative;
  background: #fff;
}

body:not(.home) .site-header-inner {
  min-height: 78px;
}

/* =========================================
   Header Logo
========================================= */

.header-logo {
  flex: 0 0 auto;
}

.header-logo a {
  display: block;
}

.header-logo img {
  display: block;
  width: clamp(90px, 7vw, 120px);
  height: auto;
}

/* =========================================
   Header Navigation
========================================= */

.header-nav-area {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.global-nav {
  display: flex;
  align-items: center;
}

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

.main-menu {
  gap: 24px;
}

.sub-menu {
  gap: 16px;
  margin-left: 24px;
}

.main-menu a,
.sub-menu a {
  position: relative;
  display: block;
  color: #3b312f;
  text-decoration: none;
  white-space: nowrap;
}

.main-menu a {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.sub-menu a {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

/* ホバー時の下線 */

.main-menu a::after,
.sub-menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  margin: 0 auto;
  background: #3b312f;
  transition: width 0.3s ease;
}

.main-menu a:hover::after,
.sub-menu a:hover::after,
.main-menu a:focus-visible::after,
.sub-menu a:focus-visible::after {
  width: 100%;
}

/* =========================================
   Header Contact Button
========================================= */

.header-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;

  min-width: 132px;
  min-height: 46px;
  padding: 10px 18px;

  border: 1px solid #3b312f;
  background: #3b312f;
  color: #fff;

  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;

  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);

  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.header-button:hover,
.header-button:focus-visible {
  background: #fff;
  color: #3b312f;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);
}

/* =========================================
   Hamburger Button
========================================= */

.menu-toggle {
  position: relative;
  z-index: 102;
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 9px;
  display: block;
  width: 26px;
  height: 1px;
  background: #3b312f;

  transition:
    top 0.3s ease,
    transform 0.3s ease,
    opacity 0.3s ease;
}

.menu-toggle span:nth-child(1) {
  top: 13px;
}

.menu-toggle span:nth-child(2) {
  top: 21px;
}

.menu-toggle span:nth-child(3) {
  top: 29px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}


/* =========================================
   狭いPC
========================================= */

@media (max-width: 1280px) {

  .site-header-inner {
    width: calc(100% - 40px);
    min-height: 90px;
  }

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

  .header-nav-area {
    gap: 18px;
  }

  .main-menu {
    gap: 18px;
  }

  .sub-menu {
    display: none;
  }

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

  .header-button {
    min-width: 112px;
    min-height: 42px;
    padding: 8px 12px;
    font-size: 11px;
  }
}

/* =========================================
   タブレット・スマートフォン
========================================= */

@media (max-width: 900px) {

  .site-header-inner {
    width: calc(100% - 32px);
    min-height: 80px;
    padding-top: 14px;
    padding-bottom: 10px;
    box-sizing: border-box;
  }

  .header-logo img {
    width: 92px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .header-nav-area {
    position: fixed;
    z-index: 101;
    top: 0;
    right: 0;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;

    width: min(86vw, 420px);
    height: 100dvh;
    padding: 96px 40px 48px;

    background: rgba(255, 255, 255, 0.98);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);

    visibility: hidden;
    transform: translateX(100%);

    transition:
      transform 0.35s ease,
      visibility 0.35s ease;
  }

  .header-nav-area.is-open {
    visibility: visible;
    transform: translateX(0);
  }

  .global-nav,
  .main-menu,
  .sub-menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .main-menu,
  .sub-menu {
    gap: 20px;
  }

  .sub-menu {
    display: flex;
    margin-left: 0;
    padding-top: 24px;
    border-top: 1px solid rgba(59, 49, 47, 0.18);
  }

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

  .sub-menu a {
    font-size: 13px;
  }

  .header-button {
    width: 100%;
    min-height: 48px;
    margin-top: 10px;
  }
}

/* =========================================
   小さいスマートフォン
========================================= */

@media (max-width: 560px) {

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

  .header-nav-area {
    width: 100%;
    padding: 90px 28px 40px;
  }
}

/* =========================================
   FV全体
========================================= */

.fv {
  position: relative;
  width: 100%;
  aspect-ratio: 1679 / 1007;
  overflow: hidden;
  background: #fff;

  /* cqwの基準をFV自身にする */
  container-type: inline-size;
}

/* =========================================
   下段の背景写真
========================================= */

.fv-photo {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56.3%;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.36),
      rgba(255, 255, 255, 0.36)
    ),
    url("./images/fv-photo.jpg");

  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* =========================================
   ロゴ・文字・アイコン・糸を含むSVG
========================================= */

.fv-visual {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.fv-visual svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* =========================================
   FV「詳しく見る」ボタン
========================================= */

.fv-button {
  --button-top: 87.5%;
  --button-width: clamp(76px, 14cqw, 230px);
  --button-height: clamp(22px, 2.8cqw, 46px);
  --button-gap: clamp(6px, 1cqw, 16px);
  --button-font-size: clamp(8px, 0.72cqw, 13px);
  --button-arrow-size: clamp(9px, 1cqw, 18px);
  --button-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);

  position: absolute;
  z-index: 3;
  top: var(--button-top);
  left: 50%;
  transform: translate(-50%, -50%);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--button-gap);

  width: var(--button-width);
  height: var(--button-height);
  padding: 0 clamp(7px, 1cqw, 16px);

  border: 1px solid #3b312f;
  background: #3b312f;
  color: #fff;

  font-size: var(--button-font-size);
  line-height: 1;
  letter-spacing: 0.14em;
  text-decoration: none;
  white-space: nowrap;

  box-shadow: var(--button-shadow);

  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.fv-button span:first-child,
.fv-button span:last-child {
  flex: 0 0 auto;
  margin: 0;
  line-height: 1;
  transform: none;
}

.fv-button span:first-child {
  /* 文字と矢印をボタン中央へ少し寄せる */
  transform: translateX(1px);
}

.fv-button span:last-child {
  font-size: var(--button-arrow-size);
  transform: translateX(-1px);
}

.fv-button:hover,
.fv-button:focus-visible {
  background: #fff;
  color: #3b312f;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.14);
}

/* ==========================================
   Opening
========================================== */

:root {
  --opening-color-main: #3b312f;
  --opening-color-soft: #746966;
  --opening-color-bg: #ffffff;
  --opening-color-bg-sub: #f7f5f4;
  --opening-color-line: rgba(59, 49, 47, 0.18);

  --opening-content-width: 1200px;
  --opening-text-width: 840px;

  --opening-section-pc: 144px;
  --opening-section-tablet: 112px;
  --opening-section-sp: 72px;

  --opening-gap-small: 16px;
  --opening-gap-medium: 40px;
  --opening-gap-large: 80px;
}

/* Opening全体 */

.opening-section {
  padding: var(--opening-section-pc) 0;
  overflow: hidden;
  background: var(--opening-color-bg);
  color: var(--opening-color-main);
}

.opening-inner {
  width: min(
    calc(100% - clamp(40px, 8vw, 80px)),
    var(--opening-content-width)
  );
  margin: 0 auto;
}

/* Opening見出し */

.opening-header {
  max-width: 1000px;
  margin: 0 auto var(--opening-gap-large);
  text-align: center;
}

.opening-label {
  margin: 0 0 24px;
  color: var(--opening-color-soft);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.opening-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--opening-color-main);
}

.opening-title-small {
  display: block;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.opening-title-large {
  display: block;
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* 本文共通 */

.opening-content {
  max-width: var(--opening-text-width);
  margin: 0 auto;
}

.opening-content p {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.025em;
}

.opening-content p + p {
  margin-top: var(--opening-gap-small);
}

.opening-intro,
.opening-discovery,
.opening-philosophy,
.opening-relationship,
.opening-definition {
  margin-bottom: var(--opening-gap-large);
}

/* 導入 */

.opening-request-list {
  font-size: clamp(18px, 1.7vw, 22px) !important;
  font-weight: 500;
  line-height: 1.85 !important;
  letter-spacing: 0.025em !important;
}

/* 「何を解決したいのか」 */

.opening-key-message {
  margin: 64px 0 80px;
  padding: 44px 46px;
  background: var(--opening-color-bg-sub);

  text-align: center;
}

.opening-key-before {
  margin-bottom: 14px !important;
  color: var(--opening-color-soft);
}

.opening-key-main {
  margin: 0 !important;
}

.opening-key-main span,
.opening-key-main strong {
  display: block;
}

.opening-key-main span {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.opening-key-main strong {
  margin-top: 4px;
  font-size: clamp(25px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* 課題の具体例 */

.opening-discovery {
  padding-left: 32px;
  border-left: 1px solid var(--opening-color-line);
}

.opening-discovery-lead {
  color: var(--opening-color-soft);
}

.opening-discovery-list {
  margin: var(--opening-gap-medium) 0;
}

.opening-discovery-list p {
  position: relative;
  padding-left: 1.5em;
  font-size: clamp(17px, 1.55vw, 20px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.025em;
}

.opening-discovery-list p::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "—";
  color: var(--opening-color-soft);
}

.opening-discovery-list p + p {
  margin-top: 22px;
}

/* Tsumuguの考え方 */

.opening-philosophy-lead {
  font-size: clamp(22px, 2.2vw, 30px) !important;
  font-weight: 600;
  line-height: 1.6 !important;
  letter-spacing: 0.02em !important;
}

.opening-skills {
  margin-top: var(--opening-gap-medium) !important;
  font-size: clamp(18px, 1.65vw, 22px) !important;
  font-weight: 600;
  line-height: 1.8 !important;
  letter-spacing: 0.05em !important;
}

/* 「必要な答えが違う」 */

.opening-answer {
  margin: 44px 0 !important;
  font-size: clamp(18px, 1.7vw, 22px) !important;
  line-height: 1.65 !important;
}

.opening-answer strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(25px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* 「一緒に考え〜」 */

.opening-process {
  margin: 44px 0 !important;
  padding: 26px 0 26px 28px;
  border-left: 2px solid var(--opening-color-main);
  font-size: clamp(24px, 2.4vw, 34px) !important;
  font-weight: 600;
  line-height: 1.7 !important;
  letter-spacing: 0.02em !important;
}

/* 「困ったらTsumugu」 */

.opening-quote {
  margin: var(--opening-gap-medium) 0 !important;
}

.opening-quote-text,
.opening-quote-main {
  display: block;
}

.opening-quote-text {
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 400;
  line-height: 1.6;
}

.opening-quote-main {
  margin-top: 8px;
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

/* 「これからが楽しみ」 */

.opening-hope-block {
  margin: 80px 0;
  padding: 56px 32px;
  text-align: center;
  border-top: 1px solid var(--opening-color-line);
  border-bottom: 1px solid var(--opening-color-line);
}

.opening-hope-before {
  color: var(--opening-color-soft);
}

.opening-hope {
  margin: 18px 0 !important;

  font-family: inherit !important;
  font-size: clamp(27px, 2.8vw, 38px) !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: 0.01em !important;
}

/* 地域・最後のメッセージ */

.opening-footer {
  padding-top: 64px;
  border-top: 1px solid var(--opening-color-line);
}

.opening-area {
  color: var(--opening-color-soft);
}

.opening-closing {
  margin-top: 48px !important;
}

.opening-closing-main,
.opening-closing-sub {
  display: block;
}

.opening-closing-main {
  font-size: clamp(27px, 2.8vw, 38px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.opening-closing-sub {
  margin-top: 10px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

/* PC・スマホ用改行 */

.sp-only {
  display: none;
}

.pc-only {
  display: block;
}

/* ==========================================
   タブレット
========================================== */

@media screen and (max-width: 1024px) {
  .opening-section {
    padding: var(--opening-section-tablet) 0;
  }

  .opening-inner {
    width: min(calc(100% - 96px), var(--opening-content-width));
  }

  .opening-header {
    margin-bottom: 72px;
  }

  .opening-intro,
  .opening-discovery,
  .opening-philosophy,
  .opening-relationship,
  .opening-definition {
    margin-bottom: 76px;
  }

  .opening-key-message {
    margin: 60px 0 76px;
    padding: 42px 38px;
  }

  .opening-hope-block {
    margin: 76px 0;
    padding: 52px 28px;
  }
}

/* ==========================================
   スマートフォン
========================================== */

@media screen and (max-width: 767px) {
  .opening-section {
    padding: var(--opening-section-sp) 0 80px;
  }


  .opening-header {
    margin-bottom: 56px;
  }

  .opening-label {
    margin-bottom: 22px;
    font-size: 11px;
  }

  .opening-title {
    gap: 8px;
  }

  .opening-title-small {
    font-size: 19px;
    line-height: 1.65;
  }

  .opening-title-large {
    font-size: clamp(24px, 6.7vw, 29px);
    line-height: 1.55;
  }

  .opening-content {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .opening-content p {
    font-size: 16px;
    line-height: 1.85;
    letter-spacing: 0.015em;
  }

  .opening-content p + p {
    margin-top: 16px;
  }

  .opening-intro,
  .opening-discovery,
  .opening-philosophy,
  .opening-relationship,
  .opening-definition {
    margin-bottom: 64px;
  }

  .opening-request-list {
    font-size: 17px !important;
    line-height: 2 !important;
    letter-spacing: 0.01em !important;
  }

  .opening-key-message {
    margin: 52px 0 64px;
    padding: 34px 20px;
  }

  .opening-key-before {
    margin-bottom: 14px !important;
  }

  .opening-key-main span {
    font-size: 17px;
    line-height: 1.7;
  }

  .opening-key-main strong {
    margin-top: 6px;
    font-size: clamp(24px, 6.7vw, 29px);
    line-height: 1.55;
  }

  .opening-discovery {
    padding-left: 18px;
  }

  .opening-discovery-list {
    margin: 30px 0;
  }

  .opening-discovery-list p {
    padding-left: 1.2em;
    font-size: 16px;
    line-height: 1.85;
  }

  .opening-discovery-list p + p {
    margin-top: 22px;
  }

  .opening-philosophy-lead {
    font-size: clamp(22px, 6.2vw, 27px) !important;
    line-height: 1.65 !important;
  }

  .opening-skills {
    margin-top: 32px !important;
    font-size: 17px !important;
    line-height: 1.9 !important;
  }

  .opening-answer {
    margin: 40px 0 !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
  }

  .opening-answer strong {
    margin-top: 5px;
    font-size: clamp(24px, 6.7vw, 29px);
    line-height: 1.55;
  }

  .opening-process {
    margin: 42px 0 !important;
    padding: 20px 0 20px 18px;
    font-size: clamp(22px, 6.2vw, 27px) !important;
    line-height: 1.7 !important;
  }

  .opening-quote {
    margin: 36px 0 !important;
  }

  .opening-quote-text {
    font-size: 17px;
    line-height: 1.6;
  }

  .opening-quote-main {
    margin-top: 7px;
    font-size: clamp(24px, 6.7vw, 29px);
    line-height: 1.55;
  }

  .opening-hope-block {
    margin: 64px 0;
    padding: 46px 0;
  }

  .opening-hope {
    margin: 16px 0 !important;
    font-size: clamp(25px, 7vw, 30px) !important;
    line-height: 1.55 !important;
  }

  .opening-footer {
    padding-top: 52px;
  }

  .opening-closing {
    margin-top: 42px !important;
  }

  .opening-closing-main {
    font-size: clamp(25px, 7vw, 30px);
    line-height: 1.55;
  }

  .opening-closing-sub {
    margin-top: 10px;
    font-size: clamp(22px, 6.2vw, 27px);
    line-height: 1.6;
  }

  .sp-only {
    display: block;
  }

  .pc-only {
    display: none;
  }
}

/* ==========================================
   幅の狭いスマートフォン
========================================== */

@media screen and (max-width: 360px) {
  .opening-content p {
    font-size: 15px;
  }

  .opening-request-list {
    font-size: 16px !important;
  }

  .opening-title-small {
    font-size: 18px;
  }
}

/* ==========================================
   Service
========================================== */

:root {
  --service-color-main: #3b312f;
  --service-color-soft: #746966;
  --service-color-bg: #f8f6f5;
  --service-color-white: #ffffff;
  --service-color-line: rgba(59, 49, 47, 0.16);

  --service-content-width: 1200px;
}

/* 全体 */

.service-section {
  padding: 144px 0;
  background: var(--service-color-bg);
  color: var(--service-color-main);
}

.service-inner {
  width: min(
    calc(100% - clamp(48px, 10vw, 120px)),
    var(--service-content-width)
  );
  margin: 0 auto;
}

/* 見出し */

.service-header {
  max-width: 840px;
  margin: 0 auto 88px;
  text-align: center;
}

.service-label {
  margin: 0 0 24px;
  color: var(--service-color-soft);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.service-title {
  margin: 0;
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.service-lead {
  margin: 32px 0 0;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 600;
  line-height: 1.8;
}

.service-text {
  margin: 22px 0 0;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.9;
  letter-spacing: 0.025em;
}

/* サービス一覧 */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 88px;
  border-top: 1px solid var(--service-color-line);
  border-left: 1px solid var(--service-color-line);
}

.service-item {
  min-width: 0;
  padding: 38px 50px 42px;
  border-right: 1px solid var(--service-color-line);
  border-bottom: 1px solid var(--service-color-line);
  background: var(--service-color-white);
  text-align: center;
}

.service-item-en {
  margin: 0 0 16px;
  color: var(--service-color-soft);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.18em;
}

.service-item-title {
  margin: 0;
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.5;
}

.service-item-text {
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* 費用・相談 */

.service-consult {
  max-width: 840px;
  margin: 112px auto 0;
  padding: 64px 56px;
  background: var(--service-color-white);
  text-align: center;
}

.service-consult p {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.service-consult p + p {
  margin-top: 20px;
}

.service-consult-heading {
  font-size: clamp(24px, 2.4vw, 32px) !important;
  font-weight: 700;
  line-height: 1.6 !important;
}

.service-consult-message {
  margin-top: 40px !important;
  font-size: clamp(20px, 1.9vw, 25px) !important;
  font-weight: 600;
}

/* LINEボタン */

.service-consult-button-wrap {
  margin-top: 48px;
}

.service-consult-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  min-width: 250px;
  padding: 16px 26px;

  border: 1px solid var(--service-color-main);
  background: var(--service-color-main);
  color: #fff;

  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-decoration: none;

  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);

  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.service-consult-button span:last-child {
  font-size: 16px;
  line-height: 1;
}

.service-consult-button:hover,
.service-consult-button:focus-visible {
  background: #fff;
  color: var(--service-color-main);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.13);
}

.service-consult-note {
  margin-top: 18px !important;
  color: var(--service-color-soft);
  font-size: 12px !important;
}

/* ==========================================
   タブレット
========================================== */

@media screen and (max-width: 1024px) {

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


  .service-item {
    padding: 34px 40px 38px;
  }

  }

  .service-header {
    margin-bottom: 72px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 72px;
  }

  .service-consult {
    margin-top: 88px;
    padding: 56px 44px;
  }


/* ==========================================
   スマートフォン
========================================== */

@media screen and (max-width: 767px) {

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

  .service-header {
    margin-bottom: 56px;
  }

  .service-label {
    margin-bottom: 20px;
    font-size: 11px;
  }

  .service-title {
    font-size: clamp(25px, 7vw, 30px);
  }

  .service-lead {
    margin-top: 28px;
    font-size: 18px;
  }

  .service-text {
    margin-top: 18px;
    font-size: 16px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    margin-top: 56px;
  }

  .service-item {
    padding: 30px 50px 34px;
  }

  .service-item-title {
    font-size: 22px;
  }

  .service-item-text {
    margin-top: 16px;
    font-size: 15px;
  }

  .service-consult {
    margin-top: 64px;
    padding: 44px 22px;
  }

  .service-consult-heading {
    font-size: clamp(23px, 6.5vw, 28px) !important;
  }

  .service-consult-message {
    margin-top: 32px !important;
    font-size: 20px !important;
  }

  .service-consult-button-wrap {
    margin-top: 38px;
  }

  .service-consult-button {
    width: 100%;
    min-width: 0;
    padding: 15px 20px;
    gap: 16px;
    font-size: 13px;
  }
}

/* ==========================================
   Experience
========================================== */

:root {
  --experience-color-main: #3b312f;
  --experience-color-soft: #746966;
  --experience-color-bg: #ffffff;
  --experience-color-line: rgba(59, 49, 47, 0.16);

  --experience-content-width: 1200px;
  --experience-text-width: 840px;
}

/* 全体 */

.experience-section {
  padding: 144px 0;
  background: var(--experience-color-bg);
  color: var(--experience-color-main);
}

.experience-inner {
  width: min(
    calc(100% - clamp(48px, 10vw, 120px)),
    var(--experience-content-width)
  );
  margin: 0 auto;
}

/* 見出し */

.experience-header {
  max-width: var(--experience-text-width);
  margin: 0 auto 72px;
  text-align: center;
}

.experience-label {
  margin: 0 0 24px;
  color: var(--experience-color-soft);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.experience-title {
  margin: 0;
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.experience-copy {
  margin: 30px 0 0;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

/* 導入 */

.experience-intro {
  max-width: var(--experience-text-width);
  margin: 0 auto 96px;
}

.experience-intro p {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.9;
  letter-spacing: 0.025em;
}

.experience-intro p + p {
  margin-top: 20px;
}

.experience-key-message {
  margin: 44px 0 !important;
  padding: 34px 0;
  text-align: center;
  border-top: 1px solid var(--experience-color-line);
  border-bottom: 1px solid var(--experience-color-line);

  font-size: clamp(20px, 1.9vw, 25px) !important;
  line-height: 1.7 !important;
}

.experience-key-message strong {
  display: inline-block;
  margin-top: 6px;
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.55;
}

/* 経験領域 */

.experience-list {
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid var(--experience-color-line);
}

.experience-item {
  display: grid;
  grid-template-columns: 180px 220px 1fr;
  gap: 28px;
  align-items: start;

  padding: 34px 0;

  border-bottom: 1px solid var(--experience-color-line);
}

.experience-item-en {
  margin: 0;
  color: var(--experience-color-soft);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.16em;
}

.experience-item-title {
  margin: 0;
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 700;
  line-height: 1.5;
}

.experience-item-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* 締め */

.experience-closing {
  max-width: var(--experience-text-width);
  margin: 96px auto 0;
  padding-top: 56px;
  text-align: center;
  border-top: 1px solid var(--experience-color-line);
}

.experience-closing p {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.8;
}

.experience-closing strong {
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.6;
}


/* ==========================================
   タブレット
========================================== */

@media screen and (max-width: 1024px) {

  .experience-section {
    padding: 112px 0;
  }

  .experience-header {
    margin-bottom: 64px;
  }

  .experience-intro {
    margin-bottom: 80px;
  }

  .experience-item {
    grid-template-columns: 130px 190px 1fr;
    gap: 22px;
    padding: 30px 0;
  }

  .experience-closing {
    margin-top: 80px;
  }
}


/* ==========================================
   スマートフォン
========================================== */

@media screen and (max-width: 767px) {

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

  .experience-header {
    margin-bottom: 52px;
  }

  .experience-label {
    margin-bottom: 20px;
    font-size: 11px;
  }

  .experience-title {
    font-size: clamp(25px, 7vw, 30px);
  }

  .experience-copy {
    margin-top: 24px;
    font-size: clamp(20px, 5.8vw, 25px);
  }

  .experience-intro {
    margin-bottom: 64px;
  }

  .experience-intro p {
    font-size: 16px;
  }

  .experience-key-message {
    margin: 36px 0 !important;
    padding: 30px 0;
    font-size: 18px !important;
  }

  .experience-key-message strong {
    font-size: clamp(23px, 6.5vw, 28px);
  }

  .experience-item {
    display: block;
    padding: 28px 0;
  }

  .experience-item-en {
    margin-bottom: 8px;
  }

  .experience-item-title {
    font-size: 21px;
  }

  .experience-item-text {
    margin-top: 14px;
    font-size: 15px;
  }

  .experience-closing {
    margin-top: 64px;
    padding-top: 44px;
  }

  .experience-closing p {
    font-size: 17px;
  }

  .experience-closing strong {
    font-size: clamp(23px, 6.5vw, 28px);
  }
}

/* ==========================================
   Flow
========================================== */

:root {
  --flow-color-main: #3b312f;
  --flow-color-soft: #746966;
  --flow-color-bg: #f8f6f5;
  --flow-color-line: rgba(59, 49, 47, 0.16);

  --flow-content-width: 1000px;
}

.flow-section {
  padding: 144px 0;
  background: var(--flow-color-bg);
  color: var(--flow-color-main);
}

.flow-inner {
  width: min(
    calc(100% - clamp(48px, 10vw, 120px)),
    var(--flow-content-width)
  );
  margin: 0 auto;
}

/* 見出し */

.flow-header {
  max-width: 760px;
  margin: 0 auto 88px;
  text-align: center;
}

.flow-label {
  margin: 0 0 24px;
  color: var(--flow-color-soft);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.flow-title {
  margin: 0;
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 700;
  line-height: 1.55;
}

.flow-lead {
  margin: 28px 0 0;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.9;
  letter-spacing: 0.025em;
}

/* 流れ */

.flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--flow-color-line);
}

.flow-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 30px;
  padding: 38px 0;
  border-bottom: 1px solid var(--flow-color-line);
}

.flow-number {
  margin: 0;
  color: var(--flow-color-soft);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.16em;
}

.flow-content h3 {
  margin: 0;
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 700;
  line-height: 1.5;
}

.flow-content p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* ==========================================
   タブレット
========================================== */

@media screen and (max-width: 1024px) {

  .flow-section {
    padding: 112px 0;
  }

  .flow-header {
    margin-bottom: 72px;
  }

  .flow-item {
    grid-template-columns: 70px 1fr;
    gap: 24px;
    padding: 34px 0;
  }
}

/* ==========================================
   スマートフォン
========================================== */

@media screen and (max-width: 767px) {

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

  .flow-header {
    margin-bottom: 56px;
  }

  .flow-label {
    margin-bottom: 20px;
    font-size: 11px;
  }

  .flow-title {
    font-size: clamp(25px, 7vw, 30px);
  }

  .flow-lead {
    margin-top: 22px;
    font-size: 16px;
  }

  .flow-item {
    display: block;
    padding: 30px 0;
  }

  .flow-number {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .flow-content h3 {
    font-size: 21px;
  }

  .flow-content p {
    margin-top: 14px;
    font-size: 15px;
  }
}

/* ========================================
   固定ページ
======================================== */

.page-main {
  padding: 100px 0;
}

.page-content {
  width: min(calc(100% - 40px), 800px);
  margin: 0 auto;
}

.page-title {
  margin: 0 0 48px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.5;
  text-align: center;
}

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

@media (max-width: 768px) {

  .page-main {
    padding: 64px 0;
  }

  .page-content {
    width: calc(100% - 32px);
  }

  .page-title {
    margin-bottom: 32px;
  }

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

/* =========================================
   Contact Form 7
========================================= */

.page-body .wpcf7 {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.page-body .wpcf7-form p {
  margin: 0 0 28px;
}

.page-body .wpcf7-form label {
  display: block;
  color: #3b312f;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.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: 13px 15px;

  border: 1px solid rgba(59, 49, 47, 0.35);
  border-radius: 0;

  background: #fff;
  color: #3b312f;

  font: inherit;
  line-height: 1.6;

  box-sizing: border-box;
}

.page-body .wpcf7-form select {
  min-height: 48px;
}

.page-body .wpcf7-form textarea {
  min-height: 200px;
  resize: vertical;
}

.page-body .wpcf7-form input:focus,
.page-body .wpcf7-form select:focus,
.page-body .wpcf7-form textarea:focus {
  outline: none;
  border-color: #3b312f;
}

.page-body .wpcf7-form input[type="submit"] {
  display: block;
  width: min(100%, 280px);
  min-height: 52px;
  margin: 40px auto 0;
  padding: 12px 28px;

  border: 1px solid #3b312f;
  background: #3b312f;
  color: #fff;

  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;

  cursor: pointer;

  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.page-body .wpcf7-form input[type="submit"]:hover,
.page-body .wpcf7-form input[type="submit"]:focus-visible {
  background: #fff;
  color: #3b312f;
}

.page-body .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
}

.page-body .wpcf7-response-output {
  margin: 28px 0 0 !important;
  padding: 14px 18px !important;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 768px) {

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

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

  .page-body .wpcf7-form input[type="submit"] {
    width: 100%;
  }
}

/* =========================================
   トップページ Contact
========================================= */

.contact-section {
  padding: 140px 0;
  background: #f8f6f5;
  color: #3b312f;
}

.contact-inner {
  width: min(calc(100% - 80px), 960px);
  margin: 0 auto;
}

.contact-heading {
  margin-bottom: 70px;
  text-align: center;
}

.contact-label {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.22em;
}

.contact-title {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.55;
}

.contact-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact-lead {
  margin: 0 0 28px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.9;
}

.contact-text {
  margin: 0 0 56px;
  font-size: 16px;
  line-height: 2;
}

.contact-line {
  padding: 48px 40px;
  border: 1px solid rgba(59, 49, 47, 0.22);
  background: #fff;
}

.contact-line-title {
  margin: 0 0 26px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
}

.contact-line-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  width: min(100%, 360px);
  min-height: 58px;
  margin: 0 auto;
  padding: 14px 28px;

  border: 1px solid #3b312f;
  background: #3b312f;
  color: #fff;

  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;

  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.contact-line-button:hover,
.contact-line-button:focus-visible {
  background: #fff;
  color: #3b312f;
}

.contact-mail {
  margin-top: 38px;
}

.contact-mail p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.9;
}

.contact-form-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding-bottom: 4px;
  border-bottom: 1px solid #3b312f;

  color: #3b312f;
  font-size: 14px;
  text-decoration: none;
}

.contact-sp-only {
  display: none;
}


/* =========================================
   トップページ Contact スマートフォン
========================================= */

@media (max-width: 768px) {

  .contact-section {
    padding: 90px 0;
  }

  .contact-inner {
    width: calc(100% - 40px);
  }

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

  .contact-label {
    font-size: 11px;
  }

  .contact-title {
    font-size: 28px;
  }

  .contact-lead {
    font-size: 17px;
  }

  .contact-text {
    margin-bottom: 42px;
    font-size: 15px;
  }

  .contact-line {
    padding: 36px 24px;
  }

  .contact-line-title {
    font-size: 16px;
  }

  .contact-line-button {
    width: 100%;
  }

  .contact-sp-only {
    display: block;
  }
}

/* =========================================
   Footer
========================================= */

.site-footer {
  padding: 90px 0 32px;
  background: #3b312f;
  color: #fff;
}

.site-footer-inner {
  width: min(calc(100% - 80px), 1200px);
  margin: 0 auto;
}

.footer-brand {
  text-align: center;
}

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

.footer-logo img {
  width: 120px;
  height: auto;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}

.footer-name {
  margin: 20px 0 0;
  font-size: 14px;
  letter-spacing: 0.12em;
}

.footer-message {
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
}


/* メインメニュー */

.footer-nav {
  margin-top: 64px;
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 38px;

  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}


/* 補助リンク */

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;

  margin-top: 32px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.6;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* コピーライト */

.footer-bottom {
  margin-top: 56px;
  text-align: center;
}

.footer-copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.08em;
}


/* =========================================
   Footer スマートフォン
========================================= */

@media (max-width: 768px) {

  .site-footer {
    padding: 70px 0 28px;
  }

  .site-footer-inner {
    width: calc(100% - 40px);
  }

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

  .footer-name {
    margin-top: 18px;
    font-size: 13px;
  }

  .footer-message {
    margin-top: 22px;
    font-size: 14px;
  }

  .footer-nav {
    margin-top: 48px;
    padding: 30px 0;
  }

  .footer-nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
  }

  .footer-nav a {
    font-size: 13px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
  }

  .footer-bottom {
    margin-top: 44px;
  }

  .footer-copyright {
    font-size: 10px;
  }
}

/* =========================================
   404 Error
========================================= */

.error-section {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 70vh;
  padding: 140px 0 120px;

  background: #f8f6f5;
  color: #3b312f;
}

.error-inner {
  width: min(calc(100% - 40px), 720px);
  margin: 0 auto;
  text-align: center;
}

.error-code {
  margin: 0 0 28px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.22em;
}

.error-title {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.5;
}

.error-message {
  margin-top: 42px;
}

.error-message p {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
}

.error-message p + p {
  margin-top: 18px;
}

.error-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  min-width: 280px;
  min-height: 56px;
  margin-top: 52px;
  padding: 14px 28px;

  border: 1px solid #3b312f;
  background: #3b312f;
  color: #fff;

  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;

  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.error-button:hover,
.error-button:focus-visible {
  background: #fff;
  color: #3b312f;
}

@media (max-width: 768px) {

  .error-section {
    min-height: 65vh;
    padding: 100px 0 90px;
  }

  .error-title {
    font-size: 28px;
  }

  .error-message {
    margin-top: 34px;
  }

  .error-message p {
    font-size: 15px;
  }

  .error-button {
    width: 100%;
    min-width: 0;
    margin-top: 42px;
  }
}

/* =========================================
   Blog pages
========================================= */

.blog-main {
  min-height: 60vh;
}

.blog-header {
  margin-bottom: 56px;
  text-align: center;
}

.blog-header .page-label {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.18em;
}

.blog-list {
  width: min(100%, 760px);
  margin: 0 auto;
}

.blog-empty {
  margin: 0;
  padding: 36px 0 80px;
  text-align: center;
  line-height: 1.8;
}

.blog-card {
  border-top: 1px solid rgba(59, 49, 47, 0.22);
}

.blog-card:last-child {
  border-bottom: 1px solid rgba(59, 49, 47, 0.22);
}

.blog-card-link {
  display: block;
  padding: 32px 4px;
  color: inherit;
  text-decoration: none;
}

.blog-card-date,
.blog-article-date {
  color: rgba(59, 49, 47, 0.68);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.blog-card-title {
  margin: 12px 0 10px;
  font-size: 22px;
  line-height: 1.6;
  transition: opacity 0.25s ease;
}

.blog-card-excerpt,
.blog-card-excerpt p {
  margin: 0;
  line-height: 1.8;
}

.blog-card-link:hover .blog-card-title,
.blog-card-link:focus-visible .blog-card-title {
  opacity: 0.62;
}

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

.blog-pagination .page-numbers {
  display: inline-block;
  margin: 0 5px;
  color: inherit;
}

.blog-article {
  width: min(100%, 800px);
  margin: 0 auto;
}

.blog-article-date {
  margin: -28px 0 44px;
  text-align: center;
}

.blog-article-thumbnail {
  margin: 0 0 48px;
}

.blog-article-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-back {
  margin: 64px 0 0;
  text-align: center;
}

.blog-back-link {
  color: inherit;
  text-underline-offset: 0.25em;
}

@media (max-width: 768px) {
  .blog-header {
    margin-bottom: 40px;
  }

  .blog-card-link {
    padding: 24px 2px;
  }

  .blog-card-title {
    font-size: 19px;
  }

  .blog-article-date {
    margin: -20px 0 32px;
  }
}
