/*
Theme Name: Nakahara Knit
Theme URI: https://nakahara-knit.com
Author: Wako Yoshida
Description: 中原ニット公式テーマ
Version: 1.0
*/

:root {
  --header-height: 50px;

  --color-text: #1a1a1a;
  --color-body: #333;
  --color-muted: #777;
  --color-border: #d8d6d3;
  --color-border-light: #D2D2D2;
  --color-bg: #fff;
  --color-bg-soft: #fff8f4;
  --color-bg-footer: #eeeeee;
  --color-accent: #caa84c;
  --color-contact-bg: #F3E7C7;

  --font-sans: "Noto Sans JP", sans-serif;
  --font-serif: "Noto Serif JP", serif;
  --font-en: "Roboto", sans-serif;

  --content-width: 960px;
  --wide-width: 1080px;
  --header-width: 1200px;
  --side-space-sp: 24px;
  --side-space-pc: 120px;
}

/* ===============================
          Base
=============================== */
html {
  scroll-behavior: smooth;
}

body {
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-sans);
  font-weight: 400;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

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


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===============================
          Utility
=============================== */
.u-sp-only {
  display: inline;
}

.u-pc-only {
  display: none;
}

@media screen and (min-width: 769px) {
  .u-sp-only {
    display: none;
  }

  .u-pc-only {
    display: inline;
  }
}

/* ===============================
          Layout
=============================== */
.main {
  position: static;
  margin-top: calc(var(--header-height) + 2rem);
  background-color: var(--color-bg);
}

.home .main {
  position: relative;
  margin-top: 100vh;
  z-index: 100;
}

.section-inner {
  padding: 0 var(--side-space-sp);
}

@media screen and (min-width: 768px) {
  .section-inner {
    width: min(var(--content-width), calc(100% - var(--side-space-pc)));
    margin: 0 auto;
    padding: 0;
  }
}

/* ===============================
    Component: Section title
=============================== */
.section-title {
  margin: 20px auto 35px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-title__en {
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2.25px;
}

.section-title__jp {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
}

@media screen and (min-width: 768px) {
  .section-title {
    margin: 20px auto 35px;
    gap: 1px;
  }

  .section-title__en {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 3.75px;
  }

  .section-title__jp {
    font-size: 36px;
    font-weight: 600;
    line-height: 2;
  }
}

/* ===============================
    Component: Legacy section body
=============================== */
.section-body {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}

.section-body p {
  margin-bottom: 1em;
}

.section-sub-title {
  margin-bottom: 20px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.8;
}

@media screen and (min-width: 768px) {
  .section-body {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.8;
  }

  .section-sub-title {
    margin-bottom: 24px;
  }
}

/* ===============================
   Figure Grid（図解コンポーネント）
=============================== */

.c-figure-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 32px 0;
}

.c-figure-item img {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}

.c-figure-title {
  margin-top: 12px;
  font-weight: 600;
  font-size: 14px;
}

.c-figure-desc {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-muted);


}

@media screen and (min-width: 768px) {

  .c-figure-grid {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
  }

  .c-figure-item {
    flex: 1;
  }

  .c-figure-item img {
    max-width: 100%;
  }

}

/* ===============================
   Video component
=============================== */

.c-video {
  margin: 48px auto;
}

.c-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.c-video-caption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--color-muted);
}

@media screen and (min-width: 768px) {
  .c-video {
    max-width: 600px;
  }
}

/* ===============================
      Component: Button arrow
=============================== */
.c-button__arrow {
  margin: 50px auto 90px;
  text-align: center;
}

.c-button__arrow a {
  display: inline-flex;
  align-items: center;
  padding: 30px 35px 10px 24px;
  font-size: 14px;
  color: inherit;
  cursor: pointer;
  background-image: url(assets/images/arrow.svg);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 7px;
  transition: opacity 0.2s;
}

.c-button__arrow a:hover {
  opacity: 0.6;
}

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

.page-header {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 64px;
  padding: 64px max(24px, calc((100vw - var(--content-width)) / 2)) 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 45%, rgba(202, 168, 76, 0.13), transparent 38%),
    radial-gradient(circle at 68% 24%, rgba(243, 231, 199, 0.55), transparent 46%),
    linear-gradient(120deg, #fbf9f3 0%, #fffdf8 52%, #f7f1e8 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 42% 68%, rgba(255, 255, 255, 0.75), transparent 42%),
    radial-gradient(circle at 78% 60%, rgba(202, 168, 76, 0.06), transparent 44%);
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}

.page-header .section-title {
  position: relative;
  z-index: 1;
  margin: 0;
}

.page-header .section-title__en {
  margin-bottom: 6px;
}

.page-header .section-title__jp {
  font-size: 26px;
  line-height: 1.6;
}

.header__nav {
  display: flex;
  align-items: center;
}

.header__nav-list {
  display: flex;
  align-items: center;
}

.header__instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: 28px;
  color: #1a1a1a;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.header__instagram:hover {
  opacity: 0.6;
}

.header__instagram-icon {
  display: block;
  width: 20px;
  height: 20px;
}

@media screen and (min-width: 768px) {
  .page-header {
    margin-bottom: 88px;
    padding-top: 72px;
    padding-bottom: 84px;
  }

  .page-header .section-title__jp {
    font-size: 32px;
  }
}

/* ===============================
   Component: Page right background
   About / Access 共通
=============================== */

.c-page-bg-right {
  position: relative;
  overflow: hidden;
  background-color: #fff;
}

.c-page-bg-right::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(58vw, 680px);
  height: min(72vw, 760px);
  background: url("assets/images/bg-right-about.jpg") no-repeat right top / contain;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

.c-page-bg-right>* {
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 767px) {
  .c-page-bg-right::before {
    width: 88vw;
    height: 88vw;
    opacity: 0.55;
  }
}

/* ===============================
    Page content
=============================== */
.page-content {
  font-size: 14px;
  font-weight: 600;
  line-height: 2;
}

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

.page-content>*+* {
  margin-top: 24px;
}

.page-content h2 {
  margin-top: 56px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.page-content h3 {
  margin-top: 48px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.page-content h4 {
  margin-top: 36px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}

.page-content h5 {
  margin-top: 28px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}

.page-content p {
  margin: 0;
}

.page-content h2+*,
.page-content h3+*,
.page-content h4+*,
.page-content h5+* {
  margin-top: 14px;
}

.page-content ul,
.page-content ol {
  padding-left: 1.4em;
}

.page-content li+li {
  margin-top: 0.4em;
}

.page-content .page-list {
  margin: 20px 0 0;
  padding-left: 0;
  list-style: none;
}

.page-content .page-list li {
  position: relative;
  padding-left: 1.2em;
  line-height: 1.9;
}

.page-content .page-list li+li {
  margin-top: 0.55em;
}

.page-content .page-list li::before {
  content: "";
  position: absolute;
  top: 0.85em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.page-content .page-list--spec li {
  display: flex;
  gap: 0.5em;
  padding-left: 0;
}

.page-content .page-list--spec li::before {
  display: none;
}

.page-content .page-list--spec li span {
  min-width: 7em;
  flex-shrink: 0;
}

.page-content ul+p,
.page-content ol+p {
  margin-top: 24px;
}

.page-content figure {
  margin: 40px 0;
}

.page-content img {
  display: block;
}

.page-content figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-muted);
}

.page-content .image--narrow {
  max-width: 800px;
  margin-inline: auto;
}

.page-content .text-lead {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

@media screen and (min-width: 768px) {
  .page-content {
    font-size: 16px;
    line-height: 2.1;
  }

  .page-content>*+* {
    margin-top: 32px;
  }

  .page-content h2 {
    margin-top: 80px;
    font-size: 36px;
    line-height: 1.8;
  }

  .page-content h3 {
    margin-top: 64px;
    font-size: 28px;
    line-height: 1.8;
  }

  .page-content h4 {
    margin-top: 48px;
    font-size: 20px;
  }

  .page-content h5 {
    margin-top: 40px;
    font-size: 18px;
  }

  .page-content h2+*,
  .page-content h3+*,
  .page-content h4+*,
  .page-content h5+* {
    margin-top: 18px;
  }

  .page-content figure {
    margin: 56px 0;
  }

  .page-content .page-list {
    margin-top: 24px;
  }

  .page-content .page-list li+li {
    margin-top: 0.65em;
  }

  .page-content .text-lead {
    font-size: 22px;
    line-height: 2;
    margin-bottom: 42px;
  }
}

/* ===============================
          Page content hr
=============================== */

.page-content hr {
  border: none;
  height: 1px;
  margin: 56px 0;
  background: linear-gradient(to right,
      transparent,
      rgba(202, 168, 76, 0.35),
      transparent);
}

/* ===============================
   News Archive
=============================== */

.news-archive {
  padding: 0 0 80px;
}

.news-filter {
  margin: 32px 0 32px;
}

.news-filter__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-filter__item {
  margin: 0;
  padding: 0;
}

.news-filter__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 13px;
  border: 1px solid rgba(202, 168, 76, 0.55);
  border-radius: 999px;
  background: #fff;
  color: #c98a00;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

.news-filter__link:hover,
.news-filter__link.is-current {
  border-color: var(--color-accent);
  background: #d08a00;
  color: #fff;
}

.news-archive__list {
  border-top: 1px solid var(--color-border-light);
}

.news-card {
  border-bottom: 1px solid var(--color-border-light);
}

.news-card__link {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 14px 0;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.news-card__link:hover {
  opacity: 0.72;
}

.news-card__thumb {
  width: 90px;
  aspect-ratio: 1.28 / 1;
  overflow: hidden;
  background: #d9d9d9;
}

.news-card__thumb img,
.news-card__noimage {
  display: block;
  width: 100%;
  height: 100%;
}

.news-card__thumb img {
  object-fit: cover;
}

.news-card__body {
  min-width: 0;
  padding-top: 2px;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  margin-bottom: 12px;
}

.news-card__date {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.news-card__category {
  color: #c98a00;
  font-size: 12px;
  font-weight: 600;
}

.news-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
  word-break: break-word;
}

/* ===============================
   Common Pagination
   ニュース一覧・編み地アーカイブ共通
=============================== */

.pagination {
  margin-top: 34px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #eee;
  border-radius: 50%;
  background: #fff;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
}

.page-numbers.current {
  border-color: #d08a00;
  background: #d08a00;
  color: #fff;
}

.page-numbers.prev,
.page-numbers.next {
  display: none;
}

@media screen and (min-width: 768px) {
  .news-archive {
    padding-bottom: 120px;
  }

  .news-filter {
    margin: 40px 0 44px;
  }

  .news-card__link {
    grid-template-columns: 120px 1fr;
    gap: 28px;
    padding: 14px 0;
  }

  .news-card__thumb {
    width: 120px;
  }

  .news-card__body {
    padding-top: 6px;
  }

  .news-card__meta {
    gap: 36px;
    margin-bottom: 14px;
  }

  .news-card__title {
    font-size: 16px;
    line-height: 1.7;
  }
}


/* ===============================
          COMMON Header
=============================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-height);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.8px;
}

.header__inner {
  max-width: var(--header-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__logo img {
  height: 25px;
}

.header--scrolled {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header__contact {
  display: none;
}

.header__menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
}

.header__menu-btn img {
  width: 24px;
  height: 24px;
}

.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: 0.3s;
}

.nav--open {
  right: 0;
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.nav__item a {
  color: var(--color-body);
  font-size: 14px;
}

.nav__close-btn {
  display: block;
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
}

.nav .header__instagram {
  margin-left: 0;
  margin-top: 24px;
  align-self: flex-start;
}

@media screen and (min-width: 450px) {
  .header__contact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 17px 5px 13px;
    border-radius: 999px;
    background: var(--color-contact-bg);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
  }

  .header__contact img {
    height: 20px;
  }
}

@media screen and (min-width: 769px) {
  .header__menu-btn {
    display: none;
  }

  .nav {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    flex-direction: row;
    transition: none;
  }

  .nav__list {
    flex-direction: row;
    gap: 32px;
    margin-top: 0;
  }

  .nav__close-btn {
    display: none;
  }

  .icon-insta {
    width: 18px;
    height: 20px;
    fill: #000;
  }

  .nav .header__instagram {
    margin-top: 0;
    margin-left: 28px;
    align-self: center;
  }
}

/* =======================
      COMMON Contact
======================= */
#contact {
  position: relative;
  padding: 100px 24px;
  color: #fff;
  background: url("assets/images/bg-contact.jpg") no-repeat center / cover;
  overflow: hidden;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#contact>* {
  position: relative;
  z-index: 1;
}

.contact__inner {
  position: relative;
  z-index: 1;
}

#contact hr {
  margin: 20px auto 30px;
  width: 40px;
  border: none;
  border-top: 1px solid #fff;
}

#contact .section-title {
  text-align: center;
}

#contact .section-body {
  margin-bottom: 2em;
}

.contact__info {
  text-align: center;
}

.contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 280px;
  background: #caa84c;
  color: #fff;
  text-decoration: none;
  padding: 14px 24px;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.contact__btn:hover {
  opacity: 0.85;
}

.contact__icon {
  font-size: 16px;
  line-height: 1;
}

.contact__arrow {
  margin-left: 10px;
  font-size: 18px;
  line-height: 1;
}

.contact__tel {
  margin-top: 30px;
  font-size: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

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

.contact__time {
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.9;
  text-align: center;
}

.contact__tel-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}

@media screen and (min-width: 768px) {
  #contact {
    padding: 110px 0;
  }

  .contact__inner {
    width: min(1180px, calc(100% - 120px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 520px;
    column-gap: 90px;
    align-items: center;
  }

  .contact__lead {
    text-align: left;
  }

  #contact hr {
    margin: 24px 0 34px;
    width: 56px;
  }

  #contact .section-title {
    text-align: left;
  }

  #contact .section-body {
    margin-bottom: 0;
    text-align: left;
    font-size: 16px;
    line-height: 2;
    max-width: 520px;
  }

  .contact__info {
    text-align: left;
  }

  .contact__btn {
    min-width: 420px;
    justify-content: space-between;
    padding: 26px 34px;
    font-size: 18px;
    font-weight: 600;
  }

  .contact__icon {
    font-size: 28px;
  }

  .contact__arrow {
    margin-left: 24px;
    font-size: 36px;
  }

  .contact__tel {
    margin-top: 52px;
    justify-content: flex-start;
    gap: 18px;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
  }

  .contact__tel-icon svg {
    width: 34px;
    height: 34px;
  }

  .contact__time {
    margin-top: 10px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
  }
}

/* ==========================
   Single News
========================== */

.single-news {
  padding: 80px 0 110px;
  background: #fff;
}

.single-news__article {
  width: min(680px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.single-news__header {
  margin-bottom: 44px;
}

.single-news__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #777;
}

.single-news__category {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid #d8d2c8;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.2;
  color: #6f665a;
  background: #faf8f4;
}

.single-news__title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: #222;
}

/* Content */
.single-news__content {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 2.05;
  letter-spacing: 0.04em;
  color: #333;
}

.single-news__content p {
  margin: 0;
}

.single-news__content p+p {
  margin-top: 1.8em;
}

/* 強調 */
.single-news__content strong {
  font-weight: 700;
  color: #1f1f1f;
  background: linear-gradient(transparent 62%, rgba(178, 151, 103, 0.28) 62%);
  padding: 0 0.08em;
}

/* リンク */
.single-news__content a {
  color: #4d463d;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* 画像 */
.single-news__content figure {
  margin: 44px 0;
}

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

.single-news__content figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #777;
  text-align: center;
}

/* ギャラリー */
.single-news__content .wp-block-gallery {
  margin: 44px 0;
  gap: 14px;
}

.single-news__content .wp-block-gallery.has-nested-images figure.wp-block-image {
  margin: 0;
}

.single-news__content .wp-block-gallery.has-nested-images figure.wp-block-image img {
  border-radius: 2px;
}

/* 戻るリンク */
.single-news__back {
  margin-top: 72px;
  text-align: center;
}

.single-news__back a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 11px 24px;
  border: 1px solid #cfc7b8;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #4d463d;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.single-news__back a:hover {
  background: #4d463d;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .single-news {
    padding: 64px 0 84px;
  }

  .single-news__article {
    width: min(100% - 32px, 680px);
  }

  .single-news__header {
    margin-bottom: 36px;
  }

  .single-news__meta {
    font-size: 12px;
  }

  .single-news__title {
    font-size: 26px;
    line-height: 1.6;
  }

  .single-news__content {
    font-size: 15px;
    line-height: 2;
  }

  .single-news__content p+p {
    margin-top: 1.7em;
  }

  .single-news__content figure,
  .single-news__content .wp-block-gallery {
    margin: 36px 0;
  }

  .single-news__content .wp-block-gallery.has-nested-images {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .single-news__content .wp-block-gallery.has-nested-images figure.wp-block-image {
    width: 100% !important;
  }

  .single-news__back {
    margin-top: 56px;
  }

  .single-news__back a {
    width: 100%;
  }
}

/* ==========================
   Single News Gallery
   自然な比率を保つギャラリー
========================== */

.single-news__content .wp-block-gallery.has-nested-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 48px 0;
}

.single-news__content .wp-block-gallery.has-nested-images figure.wp-block-image {
  width: 100% !important;
  margin: 0 !important;
}

.single-news__content .wp-block-gallery.has-nested-images figure.wp-block-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

/* キャプション */
.single-news__content .wp-block-gallery.has-nested-images figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: #777;
  text-align: center;
}

/* SP */
@media screen and (max-width: 767px) {
  .single-news__content .wp-block-gallery.has-nested-images {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 40px 0;
  }
}

/* ===============================
   Access Page
=============================== */

.access-page {
  padding: 64px 0 96px;
}

.access-page__title {
  margin-bottom: 64px;
}

.access-page__lead {
  max-width: 640px;
  margin-bottom: 56px;
}

.access-page__lead p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.04em;
}

.access-map {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 72px;
}

.access-map iframe {
  display: block;
  width: 100%;
  height: 300px;
}

.access-guide {
  display: grid;
  gap: 32px;
}

.access-guide__image img {
  display: block;
  width: 100%;
  height: auto;
}

.access-guide__body {
  font-weight: 600;
}

.access-guide__name {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.6;
}

.access-guide__postal,
.access-guide__address,
.access-guide__text {
  margin: 0;
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.access-guide__address {
  margin-bottom: 24px;
}

.access-guide__text+.access-guide__text {
  margin-top: 16px;
}

@media screen and (min-width: 768px) {
  .access-page {
    padding: 72px 0 120px;
  }

  .access-page__title {
    margin-bottom: 72px;
  }

  .access-page__lead {
    margin-bottom: 64px;
  }

  .access-page__lead p {
    font-size: 14px;
    line-height: 2.1;
  }

  .access-map {
    margin-bottom: 80px;
  }

  .access-map iframe {
    height: 360px;
  }

  .access-guide {
    grid-template-columns: 360px 1fr;
    gap: 96px;
    align-items: center;
  }

  .access-guide__name {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .access-guide__postal,
  .access-guide__address,
  .access-guide__text {
    font-size: 14px;
    line-height: 2.1;
  }
}

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

.contact-form {
  margin-top: 48px;
}

.wpcf7 {
  width: 100%;
  margin-bottom: 80px;
}

.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.wpcf7-form p {
  margin: 0;
}

.wpcf7 label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: #fff;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
}

.wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

.wpcf7 select {
  appearance: auto;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(202, 168, 76, 0.18);
}

.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 200px;
  width: auto;
  margin-top: 8px;
  padding: 13px 32px;
  border: 1px solid var(--color-accent);
  border-radius: 12px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

.wpcf7 input[type="submit"]:hover {
  background: #fff;
  color: var(--color-accent);
  opacity: 1;
  transform: translateY(-1px);
}

.wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #b3261e;
  font-size: 13px;
  font-weight: 600;
}

.wpcf7-response-output {
  margin: 24px 0 0;
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.8;
}

@media screen and (min-width: 768px) {
  .contact-form {
    margin-top: 64px;
  }

  .wpcf7 {
    margin-bottom: 120px;
  }

  .wpcf7-form {
    gap: 32px;
  }

  .wpcf7 label {
    font-size: 16px;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"],
  .wpcf7 select,
  .wpcf7 textarea {
    padding: 15px 16px;
  }

  .wpcf7 .wpcf7-submit {
    margin-left: auto;
    margin-right: auto;
  }
}

/* =======================
        COMMON Footer
======================= */
.footer {
  position: relative;
  z-index: 999;
  background: #efefef;
  padding: 70px 0 28px;
}

.footer__inner {
  width: min(1260px, calc(100% - 160px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 460px 1fr 260px;
  column-gap: 90px;
  align-items: start;
}

.footer__col--info {
  min-height: 365px;
  display: flex;
  flex-direction: column;
}

.footer__logo {
  width: 250px;
  margin-bottom: 30px;
}

.footer__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.footer__name {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.footer__address {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.footer__map {
  margin: 0 0 30px;
}

.footer__map a {
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.footer__sns {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.footer__sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer__sns a img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

a.footer__owary-icon img {
  margin-left: 14px;
  display: block;
  width: 94px;
  height: auto;
  object-fit: contain;
}

.footer__nav-list,
.footer__sub-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.footer__sub-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer__nav-list a,
.footer__sub-list a {
  color: inherit;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.footer__sub-list a {
  font-size: 13px;
  font-weight: 600;
}

.footer__map a,
.footer__nav-list a,
.footer__sub-list a {
  transition: opacity 0.3s ease;
}

.footer__map a:hover,
.footer__nav-list a:hover,
.footer__sub-list a:hover {
  opacity: 0.6;
}

.footer__copy {
  margin: auto 0 0;
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #999;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

.footer__sns a svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer__instagram-icon {
  color: #1a1a1a;
  fill: currentColor;
}

@media screen and (max-width: 767px) {
  .footer {
    padding: 56px 0 28px;
  }

  .footer__inner {
    width: calc(100% - 48px);
    display: flex;
    flex-direction: column;
    gap: 44px;
  }

  .footer__col--info {
    min-height: auto;
  }

  .footer__logo {
    width: 210px;
    margin-bottom: 28px;
  }

  .footer__name {
    margin-bottom: 10px;
    font-size: 17px;
  }

  .footer__address {
    margin-bottom: 20px;
    font-size: 12px;
    line-height: 1.8;
  }

  .footer__map {
    margin-bottom: 28px;
  }

  .footer__map a {
    font-size: 13px;
  }

  .footer__sns {
    gap: 16px;
    margin-bottom: 36px;
  }

  .footer__sns a img {
    width: 20px;
    height: 20px;
  }

  a.footer__owary-icon img {
    width: 60px;
    height: auto;
  }

  .footer__nav-list,
  .footer__sub-list {
    gap: 20px;
  }

  .footer__nav-list a {
    font-size: 14px;
    line-height: 1.7;
  }

  .footer__sub-list a {
    font-size: 13px;
    line-height: 1.7;
  }

  .footer__copy {
    margin-top: 8px;
    font-size: 10px;
  }
}

/* ===============================
   Tablet Layout
   768px - 1024px
   PC/SPの既存指定を保ったまま、タブレット幅だけ調整
=============================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  :root {
    --side-space-tablet: 48px;
  }

  /* Layout */
  .section-inner {
    width: calc(100% - var(--side-space-tablet) * 2);
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0;
  }

  .main {
    margin-top: calc(var(--header-height) + 2.4rem);
  }

  /* Header
     タブレットではPCナビを横並びにすると詰まりやすいため、
     SPと同じドロワーメニューに戻す */
  .header__inner {
    padding: 0 24px;
  }

  .header__menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(420px, 82vw);
    height: 100vh;
    padding: 28px;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: right 0.3s ease;
    box-shadow: -12px 0 28px rgba(0, 0, 0, 0.08);
  }

  .nav--open {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 26px;
    margin-top: 48px;
  }

  .nav__close-btn {
    display: block;
    align-self: flex-end;
  }

  .nav .header__instagram {
    margin-left: 0;
    margin-top: 28px;
    align-self: flex-start;
  }

  /* Page Header */
  .page-header {
    margin-bottom: 72px;
    padding: 68px var(--side-space-tablet) 72px;
  }

  .page-header .section-title__jp {
    font-size: 30px;
  }

  /* Page content */
  .page-content {
    font-size: 15px;
    line-height: 2.05;
  }

  .page-content h2 {
    margin-top: 72px;
    font-size: 30px;
  }

  .page-content h3 {
    margin-top: 56px;
    font-size: 24px;
  }

  .page-content h4 {
    margin-top: 44px;
    font-size: 18px;
  }

  .page-content .text-lead {
    font-size: 20px;
  }

  /* Figure Grid */
  .c-figure-grid {
    gap: 28px;
  }

  .c-figure-title {
    font-size: 13px;
  }

  .c-figure-desc {
    font-size: 12px;
  }

  /* Contact */
  #contact {
    padding: 96px var(--side-space-tablet);
  }

  .contact__inner {
    width: 100%;
    max-width: 760px;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 42px;
    margin: 0 auto;
  }

  .contact__lead,
  #contact .section-title,
  #contact .section-body,
  .contact__info,
  .contact__time {
    text-align: center;
  }

  #contact hr {
    margin: 24px auto 34px;
  }

  #contact .section-body {
    max-width: 620px;
    margin: 0 auto;
    font-size: 15px;
  }

  .contact__btn {
    min-width: min(420px, 100%);
    width: min(420px, 100%);
    padding: 22px 30px;
    font-size: 17px;
  }

  .contact__tel {
    justify-content: center;
    margin-top: 38px;
    font-size: 32px;
  }

  /* News */
  .news-card__link {
    grid-template-columns: 112px 1fr;
    gap: 24px;
  }

  .news-card__thumb {
    width: 112px;
  }

  /* Single News */
  .single-news {
    padding: 72px 0 100px;
  }

  .single-news__article {
    width: min(720px, calc(100% - var(--side-space-tablet) * 2));
  }

  .single-news__title {
    font-size: clamp(30px, 3.8vw, 36px);
  }

  .single-news__content .wp-block-gallery.has-nested-images {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Access */
  .access-page {
    padding: 72px 0 112px;
  }

  .access-page__lead {
    max-width: 720px;
  }

  .access-map iframe {
    height: 340px;
  }

  .access-guide {
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: 48px;
  }

  .access-guide__name {
    font-size: 26px;
  }

  /* Footer */
  .footer {
    padding: 64px 0 28px;
  }

  .footer__inner {
    width: calc(100% - var(--side-space-tablet) * 2);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    column-gap: 48px;
  }

  .footer__col--info {
    min-height: 320px;
  }

  .footer__logo {
    width: 220px;
  }

  .footer__nav-list {
    gap: 28px;
  }

  .footer__sub-list {
    gap: 24px;
  }

  .footer__nav-list a {
    font-size: 14px;
  }

  .footer__sub-list a {
    font-size: 12px;
  }
}

/* 768px付近の細いタブレットでは、さらにSP寄りにする */
@media screen and (min-width: 768px) and (max-width: 860px) {
  .access-guide {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .access-guide__image {
    max-width: 520px;
  }

  .footer__inner {
    display: flex;
    flex-direction: column;
    gap: 44px;
  }

  .footer__col--info {
    min-height: auto;
  }

  .single-news__content .wp-block-gallery.has-nested-images {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   Footer: tablet / narrow PC
   1025px〜1220px の崩れ対策
=============================== */

@media screen and (min-width: 1025px) and (max-width: 1220px) {
  .footer__inner {
    width: calc(100% - 96px);
    grid-template-columns: 360px minmax(180px, 1fr) 220px;
    column-gap: 48px;
  }

  .footer__logo {
    width: 220px;
  }

  .footer__nav-list {
    gap: 30px;
  }

  .footer__sub-list {
    gap: 24px;
  }

  .footer__nav-list a {
    font-size: 14px;
    letter-spacing: 0.05em;
  }

  .footer__sub-list a {
    font-size: 12px;
    letter-spacing: 0.05em;
  }
}

/* ===============================
   Footer: tablet
   768px〜1024px
=============================== */

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .footer {
    padding: 64px 0 32px;
  }

  .footer__inner {
    width: calc(100% - 96px);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    column-gap: 64px;
    row-gap: 48px;
  }

  .footer__col--info {
    min-height: auto;
    grid-row: span 2;
  }

  .footer__logo {
    width: 220px;
  }

  .footer__nav-list {
    gap: 26px;
  }

  .footer__sub-list {
    gap: 22px;
  }

  .footer__nav-list a {
    font-size: 14px;
    letter-spacing: 0.06em;
  }

  .footer__sub-list a {
    font-size: 13px;
    letter-spacing: 0.06em;
  }

  .footer__copy {
    margin-top: 32px;
  }
}