@charset "UTF-8";
/* =========================================================
   KOTOTSUGI — common.css
   設計：FLOCSS（Foundation / Layout / Object[Component] / Utility）× BEM
   ・Layout   : l-  （ページ大枠）
   ・Component: c-  （再利用できる最小UI）
   ・Utility  : u-  （汎用ヘルパー）
   ・State    : is- （状態） / js- （JSフック）
   ※ Project（p-）は main.css に分離
========================================================= */

/* =========================================================
   #Foundation
========================================================= */
:root {
  --ink: #333333;
  --rust: #c06153;
  --navy: #294a6c;
  --cream: #f4e8d1;
  --taupe: #bebaae;
  --gray: #d2d2d2;
  --white: #ffffff;
  --paper: #f3f1ec;
  --paper-2: #efede7;
  --line: #e0dcd2;
  --maxw: 1200px;
  --content-maxw: 820px;
  --pad: 40px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  font-feature-settings: "palt";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

/* =========================================================
   #Layout
========================================================= */
.l-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.l-inner--narrow {
  max-width: var(--content-maxw);
}

.l-section {
  padding: 80px 0 120px;
}

/* ヘッダー */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 3vw, 44px);
  transition: background 0.4s var(--ease);
}

.l-header.is-scrolled,
.l-header--solid {
  background: rgba(41, 74, 108, 0.95);
  backdrop-filter: blur(6px);
}

.l-header__brand {
  display: inline-flex;
  align-items: center;
}

.l-header__brand .c-logo {
  height: 46px;
}

.l-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 30px);
}

.l-header__nav-item {
  font-family: "Monoton", cursive;
  font-size: 15px;
  color: var(--white);
  opacity: 0.92;
  transition:
    opacity 0.25s,
    color 0.25s;
}

.l-header__nav-item:hover {
  opacity: 1;
  color: var(--cream);
}

.l-header__menu {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  background: none;
  border: none;
}

.l-header__menu-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.l-header__menu-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rust);
}

.l-header__menu-label {
  font-family: "Monoton", cursive;
  font-size: 9px;
  color: var(--white);
  letter-spacing: 0.1em;
}

/* フッター */
.l-footer {
  background: var(--navy);
  color: #c4ccd6;
  padding: 90px 0 40px;
}

.l-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 30px;
}

.l-footer__logo .c-logo {
  height: 96px;
}

.l-footer__social {
  display: flex;
  gap: 24px;
  margin-top: 40px;
}

.l-footer__social a {
  width: 24px;
  height: 24px;
  color: #aeb8c4;
}

.l-footer__social svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.l-footer__heading {
  font-family: "Monoton", cursive;
  font-size: 18px;
  color: #aeb8c4;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.l-footer__heading::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid #aeb8c4;
  flex: 0 0 auto;
}

.l-footer__heading--sub {
  margin-top: 28px;
}

.l-footer__list li {
  font-size: 14px;
  padding: 5px 0;
  color: #c4ccd6;
  transition: color 0.25s;
}

.l-footer__list a:hover li,
.l-footer__list li:hover {
  color: var(--white);
}

.l-footer__copy {
  text-align: center;
  margin-top: 70px;
  font-family: "Monoton", cursive;
  font-size: 15px;
  color: #8b97a6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.l-footer__col {
  min-width: 0;
}

/* グリッド子要素（リンク列） */

/* =========================================================
   #Object / Component
========================================================= */

/* --- ロゴ（画像。フォントは使用しない）--- */
.c-logo {
  width: auto;
  display: block;
}

/* --- ボタン（hoverで #ffffff と反転）--- */
.c-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  max-height: 60px;
  min-width: 222px;
  gap: 14px;
  padding: 10px 40px 10px 30px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.c-btn__pin {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: background 0.3s var(--ease);
}

.c-btn__pin::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: background 0.3s var(--ease);
}

.c-btn__bird {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 30px;
}

.c-btn--plan {
  background: var(--white);
  color: var(--rust);
  border-color: var(--white);
}

.c-btn--plan .c-btn__pin {
  background: var(--rust);
}

.c-btn--plan .c-btn__pin::after {
  background: var(--white);
}

.c-btn--plan:hover {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust);
}

.c-btn--plan:hover .c-btn__pin {
  background: var(--white);
}

.c-btn--plan:hover .c-btn__pin::after {
  background: var(--rust);
}

.c-btn--contact {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  position: relative;
}

.c-btn--icon {
  position: absolute;
  width: 128.082px;
  height: 129.196px;
  top: -39px;
  right: -79px;
}

.c-btn--contact .c-btn__pin {
  background: var(--navy);
}

.c-btn--contact .c-btn__pin::after {
  background: var(--cream);
}

.c-btn--contact:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.c-btn--contact:hover .c-btn__pin {
  background: var(--white);
}

.c-btn--contact:hover .c-btn__pin::after {
  background: var(--navy);
}

.c-btn--contact .c-btn__bird path {
  fill: var(--navy);
  transition: fill 0.3s var(--ease);
}

.c-btn--contact:hover .c-btn__bird path {
  fill: var(--white);
}

.c-btn--see {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.c-btn--see .c-btn__pin {
  background: var(--navy);
}

.c-btn--see .c-btn__pin::after {
  background: var(--white);
}

.c-btn--see:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.c-btn--see:hover .c-btn__pin {
  background: var(--white);
}

.c-btn--see:hover .c-btn__pin::after {
  background: var(--navy);
}

.c-btn--inq {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.c-btn--inq .c-btn__pin {
  background: var(--white);
}

.c-btn--inq .c-btn__pin::after {
  background: var(--navy);
}

.c-btn--inq:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}

.c-btn--inq:hover .c-btn__pin {
  background: var(--navy);
}

.c-btn--inq:hover .c-btn__pin::after {
  background: var(--white);
}

/* --- ドロワー（モバイルナビ）--- */
.c-drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.c-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.c-drawer__link {
  font-family: "Monoton", cursive;
  font-size: 22px;
  color: var(--white);
}

.c-drawer__close {
  position: absolute;
  top: 26px;
  right: 30px;
  font-size: 34px;
  color: var(--white);
  cursor: pointer;
}

/* --- 円形ナビ矢印（カルーセル用）--- */
.c-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid currentColor;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}

.c-arrow svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.c-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.c-arrow--light {
  color: var(--white);
}

.c-arrow--light:hover:not(:disabled) {
  background: var(--white);
  color: var(--navy);
}

.c-arrow--dark {
  color: var(--navy);
}

.c-arrow--dark:hover:not(:disabled) {
  background: var(--navy);
  color: var(--white);
}

/* --- パンくず --- */
.c-breadcrumb {
  background: var(--paper-2);
  font-size: 13px;
  color: #777;
}

.c-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--pad);
}

.c-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.c-breadcrumb__item:not(:last-child)::after {
  content: "/";
  color: #bbb;
}

.c-breadcrumb__item a {
  color: var(--rust);
}

.c-breadcrumb__item a:hover {
  text-decoration: underline;
}

.c-breadcrumb__item[aria-current] {
  color: #999;
}

/* --- ページ送り --- */
.c-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}

.c-pagination__item {
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  color: #777;
}

.c-pagination__item:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.c-pagination__item--current {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* --- タグ --- */
.c-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #777;
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  transition: 0.25s;
}

.c-tag:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* --- 記事メタ --- */
.c-postMeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  font-size: 13px;
  color: #888;
}

.c-postMeta__cat {
  background: var(--rust);
  color: #fff;
  padding: 4px 12px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 12px;
}

.c-postMeta time {
  font-weight: 700;
  color: var(--navy);
}

/* --- 本文タイポグラフィ（WordPress the_content 想定の再利用コンポーネント）---
   ※ 編集画面が出力する素のh1〜h6/p/ul…を要素セレクタで装飾（WYSIWYGパターン） */
.c-content {
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink);
  word-break: break-word;
}

.c-content > *:first-child {
  margin-top: 0;
}

.c-content h1 {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.35;
  font-weight: 700;
  margin: 2.4em 0 0.8em;
}

.c-content h2 {
  font-size: clamp(23px, 3vw, 28px);
  line-height: 1.4;
  font-weight: 700;
  margin: 2.2em 0 0.9em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid var(--line);
  position: relative;
}

.c-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 84px;
  height: 2px;
  background: var(--rust);
}

.c-content h3 {
  font-size: clamp(19px, 2.4vw, 22px);
  line-height: 1.5;
  font-weight: 700;
  margin: 2em 0 0.7em;
  padding-left: 0.7em;
  border-left: 5px solid var(--rust);
}

.c-content h4 {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
  margin: 1.8em 0 0.6em;
  color: var(--navy);
}

.c-content h5 {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
  margin: 1.6em 0 0.5em;
}

.c-content h6 {
  font-size: 13px;
  line-height: 1.6;
  font-weight: 700;
  margin: 1.6em 0 0.5em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
}

.c-content p {
  margin: 0 0 1.5em;
}

.c-content a {
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.c-content a:hover {
  text-decoration: none;
}

.c-content strong {
  font-weight: 700;
}

.c-content em {
  font-style: italic;
}

.c-content mark {
  background: var(--cream);
  padding: 0.05em 0.25em;
}

.c-content small {
  font-size: 0.82em;
  color: #777;
}

.c-content ul,
.c-content ol {
  margin: 0 0 1.6em;
  padding-left: 1.4em;
}

.c-content ul li {
  list-style: disc;
  margin: 0.4em 0;
  padding-left: 0.2em;
}

.c-content ol li {
  list-style: decimal;
  margin: 0.4em 0;
  padding-left: 0.2em;
}

.c-content ul li::marker {
  color: var(--rust);
}

.c-content ol li::marker {
  color: var(--rust);
  font-weight: 700;
}

.c-content li > ul,
.c-content li > ol {
  margin: 0.4em 0 0.6em;
}

.c-content blockquote {
  margin: 1.8em 0;
  padding: 18px 24px;
  background: var(--paper-2);
  border-left: 5px solid var(--navy);
  color: #555;
  font-size: 15.5px;
  border-radius: 0 6px 6px 0;
}

.c-content blockquote p:last-child {
  margin-bottom: 0;
}

.c-content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.6em 0;
}

.c-content img,
.c-content figure {
  margin: 1.8em 0;
  border-radius: 6px;
}

.c-content figure figcaption {
  font-size: 13px;
  color: #888;
  margin-top: 0.6em;
  text-align: center;
}

.c-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--paper-2);
  padding: 0.12em 0.4em;
  border-radius: 4px;
  color: #a14336;
}

.c-content pre {
  background: #27313f;
  color: #e9eef5;
  padding: 18px 20px;
  border-radius: 8px;
  overflow: auto;
  margin: 1.8em 0;
  line-height: 1.7;
}

.c-content pre code {
  background: none;
  color: inherit;
  padding: 0;
}

.c-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8em 0;
  font-size: 15px;
}

.c-content th,
.c-content td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
}

.c-content thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}

.c-content tbody tr:nth-child(even) {
  background: var(--paper-2);
}

/* =========================================================
   #Object / Utility
========================================================= */
.u-en {
  font-family: "Monoton", cursive;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* =========================================================
   #State / JS hook
========================================================= */
.js-reveal {
  opacity: 0;
  will-change: opacity, transform;
}

.is-reduced-motion .js-reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* .js-parallax はJS側でtransformを付与するフック（CSS定義は不要） */

/* =========================================================
   #Responsive（共通レイヤー）
========================================================= */
@media (max-width: 768px) {
  :root {
    --pad: 24px;
  }

  .l-header__nav {
    display: none;
  }

  .l-header__menu {
    display: flex;
  }

  .l-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 390px) {
  :root {
    --pad: 18px;
  }

  .c-btn {
    padding: 13px 22px 13px 14px;
    font-size: 14px;
  }

  .l-footer__grid {
    grid-template-columns: 1fr;
  }
}

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

  .js-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
