@charset "UTF-8";html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
    min-inline-size: 0;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

hr {
    display:block;
    height:1px;
    border:0;  
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

:root {
  --color-white: #ffffff;
  --color-text: #000000;
  --color-blue: #003e8a;
  --color-light-blue: #00a0ee;
  --color-gray: #a0a0a0;
  --color-text-gray: #707070;
  --color-border: #d0d0d0;
  --color-border-light: #ededed;
  --color-category: rgba(0, 0, 0, 0.7);
  --color-bg-gray: #f2f4f3;
  --color-bg-light-gray: #f5f5f5;
  --color-bg-blue-gray: #d5dde1;
  --color-required: #da418d;
  --color-input-border: #bababa;
  --color-placeholder: #c7c7c7;
  --header-height: 60px;
  --header-motion-duration: 280ms;
}

@media screen and (min-width: 1200px) {
  :root {
    --header-height: 120px;
  }
}
:root {
  --font-family-sans: 'Noto Sans JP', sans-serif;
  --font-family-serif: "Shippori Mincho", serif;
  --font-family-en: "Afacad", sans-serif;
  --line-height-base: 1.5;
  --line-height-large: 1.8;
  --container-width: 1200px;
  --container-width-large: 1400px;
  --container-padding: 15px;
}

@media screen and (min-width: 768px) {
  :root {
    --font-size-base: 1rem;
    --font-size-18: 1.125rem;
    --font-size-24: 1.5rem;
    --font-size-28: 1.75rem;
    --font-size-32: 2rem;
    --font-size-36: 2.25rem;
    --font-size-40: 2.5rem;
    --line-height-large: 2;
    --container-padding: 50px;
  }
}
* {
  box-sizing: border-box;
}

html {
  font-size: 4.2666666667vw;
}

@media screen and (min-width: 375px) {
  html {
    font-size: 100%;
  }
}
@media screen and (min-width: 768px) {
  html {
    font-size: 1.3333333333vw;
  }
}
@media screen and (min-width: 1200px) {
  html {
    font-size: 100%;
  }
}
body {
  font-size: var(--font-size-base);
  font-family: var(--font-family-sans);
  font-weight: 400;
  line-height: var(--line-height-base);
}

a, button, input, textarea {
  color: inherit;
  font-size: inherit;
}

a {
  cursor: pointer;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

p {
  line-height: var(--line-height-large);
}

/* ページ内リンク（#id）で移動したとき、追従するヘッダーに隠れないよう
   ヘッダーの高さ＋40px の位置で止める（js/smooth-scroll.js と併用） */
[id] {
  scroll-margin-top: calc(var(--header-height) + 40px);
}

/* 画面上部に追従する（sticky なので本文の位置はずれない） */
.l-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--color-text);
  background-color: var(--color-white);
}

/* ログイン中は WordPress の管理バーの下に付ける */
.admin-bar .l-header {
  top: var(--wp-admin--admin-bar--height, 0px);
}

/* 幅600px以下では管理バーが追従しないため、画面の一番上に付ける */
@media screen and (max-width: 600px) {
  .admin-bar .l-header {
    top: 0;
  }
}
.l-header__inner {
  display: flex;
  align-items: center;
  height: var(--header-height);
}

.l-header__logo {
  flex-shrink: 0;
  width: 161px;
  height: 40px;
  margin-left: 7px;
}

.l-header__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.l-header__nav {
  display: none;
}

.l-header__inner > .c-contactButton {
  margin-left: auto;
}

.l-header__menuButton {
  position: relative;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  background-color: var(--color-light-blue);
  cursor: pointer;
}

.l-header__menuLine {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 20px;
  height: 1px;
  background-color: var(--color-white);
  transition: transform var(--header-motion-duration) ease, opacity var(--header-motion-duration) ease;
}

.l-header__menuLine:nth-child(1) {
  transform: translateY(-5px);
}

.l-header__menuLine:nth-child(3) {
  transform: translateY(5px);
}

.l-header__menuButton[aria-expanded=true] .l-header__menuLine:nth-child(1) {
  transform: rotate(45deg);
}

.l-header__menuButton[aria-expanded=true] .l-header__menuLine:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.l-header__menuButton[aria-expanded=true] .l-header__menuLine:nth-child(3) {
  transform: rotate(-45deg);
}

.l-header__menu {
  position: absolute;
  inset: 100% 0 auto;
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-block: 40px;
  padding-inline: 40px;
  color: var(--color-white);
  background-color: var(--color-light-blue);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity var(--header-motion-duration) ease, transform var(--header-motion-duration) ease, visibility 0s var(--header-motion-duration);
}

.l-header__menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.l-header__menuList {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.l-header a:focus-visible,
.l-header button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}

@media screen and (min-width: 1200px) {
  .l-header__logo {
    width: 289px;
    height: 72px;
    margin-left: 30px;
  }
  .l-header__nav {
    display: block;
    margin-left: auto;
  }
  .l-header__navList {
    display: flex;
    align-items: center;
    gap: 40px;
  }
  .l-header__navLink {
    display: block;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 2;
    white-space: nowrap;
    transition: color 180ms ease;
  }
  .l-header__inner > .c-contactButton {
    margin-left: 34px;
  }
  .l-header__menuButton,
  .l-header__menu {
    display: none;
  }
}
@media (min-width: 1200px) and (hover: hover) {
  .l-header__navLink:hover {
    color: var(--color-light-blue);
  }
}
@media (prefers-reduced-motion: reduce) {
  .l-header__menuLine,
  .l-header__menu {
    transition: none;
  }
}
/* ========================================
  contact
======================================== */
.l-footer__contact {
  padding-block: 50px;
  color: var(--color-white);
  background: var(--color-text) url("../images/bg-footer-sp-B-vllg5E.jpg") no-repeat center/cover;
}

.l-footer__contact-inner {
  padding-inline: var(--container-padding);
}

.l-footer__contact-content {
  margin-bottom: 30px;
  text-align: center;
}

.l-footer__contact-heading {
  margin-bottom: 1.25rem;
}

.l-footer__contact-lead {
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}

.l-footer__contact-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 300px;
  margin-inline: auto;
}

.l-footer__contact-tel,
.l-footer__contact-form {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
  font-weight: 500;
  white-space: nowrap;
  transition: color 280ms ease, background-color 280ms ease;
}

.l-footer__contact-form {
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.l-footer__contact-tel {
  flex-direction: column;
  color: var(--color-blue);
  background-color: rgba(255, 255, 255, 0.9);
}

.l-footer__contact-tel-number {
  display: flex;
  align-items: center;
  gap: 0.3125rem;
  font-family: var(--font-family-en);
  font-size: 1.625rem;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.l-footer__contact-tel-icon {
  display: block;
  flex-shrink: 0;
  width: 1.1875rem;
  height: 1.5625rem;
}

.l-footer__contact-tel-time {
  font-size: 0.8125rem;
  line-height: 1.45;
}

.l-footer__contact-form {
  gap: 0.75rem;
  color: var(--color-white);
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 0.1em;
}

.l-footer__contact-form-icon {
  display: block;
  flex-shrink: 0;
  width: 1.3125rem;
  height: 0.9375rem;
}

@media screen and (min-width: 768px) {
  .l-footer__contact {
    padding-block: 8rem;
    background-image: url("../images/bg-footer-dUCB6lOj.jpg");
  }
  .l-footer__contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 65.5625rem;
    margin-inline: auto;
    padding-inline: 0;
  }
  .l-footer__contact-content {
    width: 30rem;
    margin-bottom: 0;
    text-align: left;
  }
  .l-footer__contact-heading {
    margin-bottom: 1.875rem;
  }
  .l-footer__contact-lead {
    font-size: 1.75rem;
  }
  .l-footer__contact-links {
    gap: 1.875rem;
    width: 27.3125rem;
    max-width: none;
    margin-inline: 0;
  }
  .l-footer__contact-tel,
  .l-footer__contact-form {
    height: 8.125rem;
  }
  .l-footer__contact-tel-number {
    gap: 0.375rem;
    font-size: 2.5rem;
  }
  .l-footer__contact-tel-time {
    font-size: 0.875rem;
  }
  .l-footer__contact-form {
    gap: 0.875rem;
    font-size: 1.5rem;
  }
  .l-footer__contact-form-icon {
    width: 1.75rem;
    height: 1.25rem;
  }
}
/* ========================================
  main
======================================== */
.l-footer__main {
  padding-block: 50px 39px;
  padding-inline: var(--container-padding);
}

.l-footer__inner {
  margin-bottom: 27px;
}

.l-footer__info {
  margin-bottom: 50px;
  text-align: center;
}

.l-footer__logo {
  display: block;
  width: 289px;
  max-width: 100%;
  margin-bottom: 30px;
  margin-inline: auto;
}

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

.l-footer__address {
  font-size: 0.9375rem;
  font-style: normal;
}

.l-footer__address p {
  line-height: 2;
}

.l-footer__nav-title {
  margin-bottom: 10px;
  font-family: var(--font-family-en);
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.069em;
  text-align: center;
}

.l-footer__nav-lists {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.l-footer__nav-list:first-child {
  padding-inline-start: 10px;
}

.l-footer__nav-link {
  display: block;
  padding-block: 0.55em;
  font-size: 0.8125rem;
  line-height: 1.4;
  transition: color 280ms ease;
}

.l-footer__copyright {
  font-size: 0.8125rem;
  line-height: 2;
  text-align: center;
}

.l-footer__copyright small {
  font-size: inherit;
}

@media screen and (min-width: 768px) {
  .l-footer__main {
    padding-block: 6.25rem 3.125rem;
    padding-inline: 0;
  }
  .l-footer__inner,
  .l-footer__copyright {
    max-width: 68.75rem;
    margin-inline: auto;
  }
  .l-footer__inner {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.625rem;
  }
  .l-footer__info {
    flex-shrink: 0;
    width: 20rem;
    margin-bottom: 0;
    text-align: left;
  }
  .l-footer__logo {
    width: 18.0625rem;
    margin-bottom: 1.875rem;
    margin-inline: 0;
  }
  .l-footer__address {
    white-space: nowrap;
  }
  .l-footer__break {
    display: none;
  }
  .l-footer__nav {
    margin-left: 16.9375rem;
  }
  .l-footer__nav-title {
    margin-bottom: 1.875rem;
    font-size: 0.875rem;
    line-height: 1.18;
    letter-spacing: 0.0786em;
    text-align: left;
  }
  .l-footer__nav-lists {
    display: flex;
    gap: 3.75rem;
  }
  .l-footer__nav-list:first-child {
    padding-inline-start: 0;
  }
  .l-footer__nav-link {
    padding-block: 0.595em;
    font-size: 0.875rem;
    white-space: nowrap;
  }
  .l-footer__copyright {
    text-align: left;
  }
}
@media (min-width: 768px) and (hover: hover) {
  .l-footer__contact-tel:hover {
    color: var(--color-white);
    background-color: var(--color-blue);
  }
  .l-footer__contact-form:hover {
    color: var(--color-blue);
    background-color: var(--color-white);
  }
  .l-footer__nav-link:hover {
    color: var(--color-light-blue);
  }
}
@media (prefers-reduced-motion: reduce) {
  .l-footer__contact-tel,
  .l-footer__contact-form,
  .l-footer__nav-link {
    transition: none;
  }
}
.c-contactButton {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: var(--header-height);
  height: var(--header-height);
  color: var(--color-white);
  background-color: var(--color-blue);
  transition: background-color 180ms ease;
}

.c-contactButton__icon {
  position: absolute;
  top: 18px;
  left: 20px;
  display: block;
  width: 20px;
  height: 14px;
}

.c-contactButton__label {
  position: absolute;
  top: 35px;
  left: 50%;
  font-size: max(8px, 0.5rem);
  font-weight: 500;
  line-height: normal;
  white-space: nowrap;
  transform: translateX(-50%);
}

@media screen and (min-width: 1200px) {
  .c-contactButton__icon {
    top: 40px;
    left: 46px;
    width: 28px;
    height: 20px;
  }
  .c-contactButton__label {
    top: 68px;
    font-size: 0.9375rem;
  }
}
@media (min-width: 1200px) and (hover: hover) {
  .c-contactButton:hover {
    background-color: var(--color-light-blue);
  }
}
.c-menuLink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 2;
}

.c-menuLink img {
  display: block;
  flex-shrink: 0;
  transform: translateX(0.5px);
}

/*
  親要素の writing-mode を継承する。
  横書き：左上と右下のL字フレーム / 縦書き：右上と左下のL字フレーム
*/
.c-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  inline-size: 12.223em;
  block-size: 3.334em;
  padding-inline: 1.334em 1em;
  color: var(--color-text);
  font-family: var(--font-family-serif);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  /* <button> で使ったときのブラウザ標準の見た目を消す */
  background-color: transparent;
  border: 0;
  border-radius: 0;
  transition: color 280ms ease;
}

.c-button::before,
.c-button::after {
  content: "";
  position: absolute;
  inline-size: 100%;
  block-size: 100%;
  pointer-events: none;
}

.c-button::before {
  inset-block-start: 0;
  inset-inline-start: 0;
  border-block-start: 1px solid currentColor;
  border-inline-start: 1px solid currentColor;
}

.c-button::after {
  inset-block-start: -1px;
  inset-inline-start: 0.667em;
  border-block-end: 1px solid currentColor;
  border-inline-end: 1px solid currentColor;
}

.c-button__icon {
  display: block;
  flex-shrink: 0;
  width: 0.889em;
  height: 0.445em;
  margin-inline-start: auto;
  transform: rotate(-45deg);
  transition: translate 280ms ease;
}

/* 横長サイズ（300×70） */
.c-button--large {
  inline-size: 16.667em;
  block-size: 3.889em;
  padding-inline: 5.112em 1.556em;
}

.c-button--large::after {
  inset-block-start: 0;
}

/* 矢印を右向き（→）にする */
.c-button--arrow-right .c-button__icon {
  transform: none;
}

/* 塗りつぶし（320×70・青背景）。ラベルはボタン中央、矢印は右端に配置 */
.c-button--fill {
  justify-content: center;
  inline-size: 17.778em;
  block-size: 3.889em;
  padding-inline: 0;
  color: var(--color-white);
  background-color: var(--color-blue);
  line-height: 1;
  letter-spacing: 0.2em;
  transition: background-color 280ms ease;
}

.c-button--fill::before,
.c-button--fill::after {
  content: none;
}

.c-button--fill .c-button__icon {
  position: absolute;
  top: 50%;
  right: 1.873em;
  margin-top: -0.2225em;
  margin-inline-start: 0;
}

/*
  幅を文字量に合わせる（--fill と併用）。矢印はラベルの直後に配置
  最小サイズは 280×50。親の幅を超える場合はラベルを折り返す
*/
.c-button--auto {
  gap: 1em;
  inline-size: auto;
  min-inline-size: min(17.5rem, 100%);
  max-inline-size: 100%;
  block-size: auto;
  min-block-size: 3.125rem;
  padding: 0.75em 1.5em;
  font-size: 0.875rem;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: normal;
}

.c-button--auto .c-button__icon {
  position: static;
  margin: 0;
}

@media screen and (min-width: 768px) {
  .c-button--auto {
    gap: 1.112em;
    min-block-size: 3.889em;
    padding: 0 2.667em;
    font-size: 1.125rem;
    line-height: 1;
    white-space: nowrap;
  }
}
/* 英字ラベル（Google Map など）。Afacad・字間0.2em */
.c-button--en {
  font-family: var(--font-family-en);
  letter-spacing: 0.2em;
}

@media (min-width: 768px) and (hover: hover) {
  .c-button {
    cursor: pointer;
  }
  /* 文字・フレーム・矢印はcurrentColorのため、colorの変更で一緒に変わる */
  .c-button:hover {
    color: var(--color-light-blue);
  }
  .c-button--fill:hover {
    color: var(--color-white);
    background-color: var(--color-light-blue);
  }
  .c-button:hover .c-button__icon {
    translate: 3px -3px;
  }
  .c-button--arrow-right:hover .c-button__icon {
    translate: 4px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .c-button,
  .c-button--fill,
  .c-button__icon {
    transition: none;
  }
}
/*
  セクション見出し（英字ラベル＋日本語タイトル）
  <hgroup class="c-section-title">
    <p class="c-section-title__en" lang="en">SERVICE</p>
    <h2 class="c-section-title__ja">チヨダの事業</h2>
  </hgroup>
*/
.c-section-title {
  text-align: center;
}

.c-section-title__en {
  margin-bottom: 0.3125em;
  color: var(--color-blue);
  font-family: var(--font-family-en);
  font-size: 0.875rem;
  line-height: 1;
  letter-spacing: 0.2em;
}

.c-section-title__ja {
  font-family: var(--font-family-serif);
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 1.5;
}

@media screen and (min-width: 768px) {
  .c-section-title__en {
    font-size: 1rem;
  }
  .c-section-title__ja {
    font-size: 2.25rem;
  }
}
/* 左揃え */
.c-section-title--left {
  text-align: left;
}

/* SPは中央揃え、PCは左揃え */
@media screen and (min-width: 768px) {
  .c-section-title--left-pc {
    text-align: left;
  }
}
/* 白文字（暗い背景の上） */
.c-section-title--white .c-section-title__en,
.c-section-title--white .c-section-title__ja {
  color: var(--color-white);
}

/* 大サイズ（CONTACTなど）：英字16px・Medium、日本語SP28px / PC40px */
.c-section-title--large .c-section-title__en {
  margin-bottom: 0.625em;
  font-size: 1rem;
  font-weight: 500;
}

.c-section-title--large .c-section-title__ja {
  font-size: 1.75rem;
}

@media screen and (min-width: 768px) {
  .c-section-title--large .c-section-title__ja {
    font-size: 2.5rem;
  }
}
/*
  英字テキスト＋右矢印のリンク（VIEW LIST など）
  <a class="c-text-link" href="">
    <span class="c-text-link__label" lang="en">VIEW LIST</span>
    <svg class="c-text-link__icon" ...><use href="#icon-arrow"></use></svg>
  </a>
*/
.c-text-link {
  display: inline-flex;
  align-items: center;
  gap: 1.25em;
  color: var(--color-text);
  font-family: var(--font-family-en);
  font-size: 0.875rem;
  line-height: 1;
  letter-spacing: 0.2em;
  white-space: nowrap;
  transition: color 280ms ease;
}

.c-text-link__icon {
  display: block;
  flex-shrink: 0;
  width: 1em;
  height: 0.5em;
  transition: translate 280ms ease;
}

@media screen and (min-width: 768px) {
  .c-text-link {
    font-size: 1rem;
  }
}
@media (min-width: 768px) and (hover: hover) {
  .c-text-link:hover {
    color: var(--color-light-blue);
  }
  .c-text-link:hover .c-text-link__icon {
    translate: 4px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .c-text-link,
  .c-text-link__icon {
    transition: none;
  }
}
/*
  お知らせ一覧（TOP・アーカイブ共通）。幅は親要素に合わせる
  <ul class="c-news-list">
    <li class="c-news-list__item">
      <a class="c-news-list__link" href="">
        <time class="c-news-list__date" datetime="">2026.09.02</time>
        <span class="c-news-list__category c-category-label">お知らせ</span>
        <span class="c-news-list__title">タイトル</span>
      </a>
    </li>
  </ul>
*/
.c-news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.c-news-list__item {
  padding-block-end: 20px;
  border-bottom: 1px solid var(--color-border);
}

.c-news-list__link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.c-news-list__date {
  color: var(--color-text-gray);
  font-family: var(--font-family-en);
  font-size: 0.8125rem;
  line-height: 1.5;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ラベルの見た目は c-category-label。ここでは並びの指定だけ */
.c-news-list__category {
  flex-shrink: 0;
}

/* SPはタイトルを日付・カテゴリの下の行に表示 */
.c-news-list__title {
  width: 100%;
  font-size: 0.9375rem;
  line-height: 2.134;
  transition: color 280ms ease;
}

@media screen and (min-width: 768px) {
  .c-news-list {
    gap: 1.875rem;
  }
  .c-news-list__item {
    padding-block-end: 1.875rem;
  }
  .c-news-list__link {
    flex-wrap: nowrap;
    gap: 1.875rem;
  }
  .c-news-list__title {
    flex: 1;
    width: auto;
    min-width: 0;
  }
}
@media (min-width: 768px) and (hover: hover) {
  .c-news-list__link:hover .c-news-list__title {
    color: var(--color-light-blue);
  }
}
@media (prefers-reduced-motion: reduce) {
  .c-news-list__title {
    transition: none;
  }
}
/*
  表（設備一覧・会社概要など共通）。幅は親要素に合わせる
  列幅を指定したいときは <colgroup><col> にクラスを付けて width を指定する
  <table class="c-table">
    <thead><tr><th scope="col">見出し</th></tr></thead>
    <tbody><tr><td>内容</td></tr></tbody>
  </table>
*/
.c-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.8125rem;
  line-height: 1.6;
  text-align: center;
}

.c-table th,
.c-table td {
  padding: 12px 5px;
  border: 1px solid var(--color-gray);
  vertical-align: middle;
}

.c-table th {
  font-weight: 400;
  background-color: #f5f5f5;
}

.c-table td {
  background-color: var(--color-white);
}

@media screen and (min-width: 768px) {
  .c-table {
    font-size: 0.9375rem;
    line-height: 2;
  }
  .c-table th {
    padding: 10px;
  }
  .c-table td {
    padding: 15px 10px;
  }
}
/*
  番号付きの工程リスト（事業・技術案内／品質管理・検査体制で共通）
  マークアップは template-parts/flow-list.php
  PC: 左に工程ボックス（280px）、右に説明文。矢印はボックスの下
  SP: ボックス → 説明文 → 矢印 の縦並び
  <ol class="c-flow">
    <li class="c-flow__item">
      <h3 class="c-flow__title">
        <span class="c-flow__num" lang="en">01</span>
        <span class="c-flow__name">工程名</span>
      </h3>
      <p class="c-flow__text">説明文</p>
    </li>
  </ol>
*/
.c-flow__item {
  display: grid;
  grid-template-columns: 1fr;
}

.c-flow__item:not(:last-child)::after {
  content: "";
  justify-self: center;
  width: 41px;
  height: 16px;
  margin-block: 20px;
  background: url("data:image/svg+xml,%3csvg%20display='block'%20fill='none'%20height='16.0231'%20preserveAspectRatio='none'%20viewBox='0%200%2041.5905%2016.0231'%20width='41.5905'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='m.295255.403515%2020.500045%2014.999985%2020.5-14.999985'%20stroke='%23a3a3a3'/%3e%3c/svg%3e") no-repeat center/contain;
}

.c-flow__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-radius: 6px;
  color: var(--color-white);
  background-color: var(--color-blue);
  text-align: center;
}

.c-flow__num {
  font-family: var(--font-family-en);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
}

.c-flow__name {
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}

.c-flow__text {
  margin-top: 15px;
  font-size: 0.875rem;
  line-height: 2;
}

@media screen and (min-width: 768px) {
  .c-flow__item {
    grid-template-columns: 280px 1fr;
    column-gap: 60px;
    align-items: center;
  }
  .c-flow__item:not(:last-child)::after {
    grid-column: 1;
    margin-block: 24px;
  }
  .c-flow__title {
    min-height: 126px;
    padding: 30px 40px;
  }
  .c-flow__num {
    font-size: 1.5rem;
  }
  .c-flow__name {
    font-size: 1.75rem;
  }
  .c-flow__text {
    margin-top: 0;
    font-size: 0.9375rem;
  }
}
/*
  項目名＋内容の一覧（<dl>）。行ごとに上下の罫線で区切る
  SP: 項目名を狭い列にした2カラム / PC: 項目名 180px ＋ 内容
*/
.c-data-list {
  border-top: 1px solid var(--color-border-light);
  font-size: 0.875rem;
  line-height: 2;
}

.c-data-list__row {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  column-gap: 10px;
  padding-block: 20px;
  border-bottom: 1px solid var(--color-border-light);
}

/* 英数字の行（TEL・FAXなど） */
.c-data-list__row--en {
  font-family: var(--font-family-en);
  letter-spacing: 0.1em;
}

/* 内容が画像などで高い行は、項目名を上下中央にそろえる */
.c-data-list__row--center {
  align-items: center;
}

.c-data-list__desc img {
  display: block;
  max-width: 100%;
  height: auto;
}

@media screen and (min-width: 768px) {
  .c-data-list {
    font-size: 0.9375rem;
  }
  .c-data-list__row {
    grid-template-columns: 180px 1fr;
    column-gap: 0;
    padding-block: 30px;
  }
}
/*
  カテゴリーの切り替えリンク（新着情報一覧など）
  表示中のカテゴリーは .is-current（＋aria-current="page"）で塗りつぶし
  <nav class="c-category-nav" aria-label="カテゴリー">
    <ul class="c-category-nav__list">
      <li class="c-category-nav__item"><a class="c-category-nav__link" href="">お知らせ</a></li>
    </ul>
  </nav>
*/
.c-category-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.c-category-nav__link {
  display: inline-flex;
  align-items: center;
  min-block-size: 3.125rem;
  padding: 0.5em 1.334em;
  color: var(--color-blue);
  background-color: var(--color-white);
  border: 1px solid var(--color-blue);
  border-radius: 6px;
  font-family: var(--font-family-serif);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.2em;
  transition: color 280ms ease, background-color 280ms ease;
}

.c-category-nav__link.is-current {
  color: var(--color-white);
  background-color: var(--color-blue);
}

@media screen and (min-width: 768px) {
  .c-category-nav__list {
    gap: 30px;
  }
  /* 高さ70px・左右30px */
  .c-category-nav__link {
    min-block-size: 3.889em;
    padding-inline: 1.667em;
    font-size: 1.125rem;
    line-height: 1;
  }
}
@media (min-width: 768px) and (hover: hover) {
  .c-category-nav__link:hover {
    color: var(--color-white);
    background-color: var(--color-blue);
  }
}
@media (prefers-reduced-motion: reduce) {
  .c-category-nav__link {
    transition: none;
  }
}
/*
  ページネーション（template-parts/pagination.php）
  ← [1] 2 3 … 20 →  現在のページは .is-current（青の塗り）
  先頭・最後のページでは前後の矢印を .is-disabled（薄く表示・リンクなし）にして、番号の位置がずれないようにする
  SP: 番号が最大7個（番号5＋… 2）並んでも 345px に収まるサイズ
*/
.c-pagination {
  --_arrow-size: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.c-pagination__list {
  display: flex;
  gap: 5px;
}

.c-pagination__number,
.c-pagination__dots {
  display: grid;
  place-items: center;
  block-size: 2.875rem;
  color: var(--color-blue);
  font-family: var(--font-family-en);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.c-pagination__number {
  min-inline-size: 2.125rem;
  padding-inline: 6px;
  background-color: var(--color-white);
  border: 1px solid var(--color-blue);
  border-radius: 6px;
  transition: color 280ms ease, background-color 280ms ease;
}

.c-pagination__number.is-current {
  color: var(--color-white);
  background-color: var(--color-blue);
}

.c-pagination__dots {
  min-inline-size: 1.25rem;
}

/* 矢印はタップしやすいよう、アイコンより大きい領域を取る */
.c-pagination__arrow {
  display: grid;
  place-items: center;
  inline-size: var(--_arrow-size);
  block-size: var(--_arrow-size);
  color: var(--color-blue);
  transition: color 280ms ease;
}

.c-pagination__arrow.is-disabled {
  opacity: 0.3;
}

.c-pagination__icon {
  display: block;
  width: 16px;
  height: 8px;
  transition: translate 280ms ease;
}

.c-pagination__arrow--prev .c-pagination__icon {
  scale: -1 1;
}

/* PC: 番号 幅49px×高さ65px・間隔15px、矢印と番号の見た目の間隔30px */
@media screen and (min-width: 768px) {
  .c-pagination {
    --_arrow-size: 44px;
    gap: calc(30px - (var(--_arrow-size) - 16px) / 2);
  }
  .c-pagination__list {
    gap: 15px;
  }
  .c-pagination__number,
  .c-pagination__dots {
    block-size: 4.0625rem;
    font-size: 0.9375rem;
  }
  .c-pagination__number {
    min-inline-size: 3.0625rem;
    padding-inline: 10px;
  }
}
@media (min-width: 768px) and (hover: hover) {
  a.c-pagination__number:hover {
    color: var(--color-white);
    background-color: var(--color-blue);
  }
  a.c-pagination__arrow--prev:hover .c-pagination__icon {
    translate: -4px 0;
  }
  a.c-pagination__arrow--next:hover .c-pagination__icon {
    translate: 4px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .c-pagination__number,
  .c-pagination__arrow,
  .c-pagination__icon {
    transition: none;
  }
}
/*
  カテゴリーのラベル（黒の角丸）。お知らせ一覧・記事ページで共通
  <span class="c-category-label">お知らせ</span>
  <a class="c-category-label" href="">お知らせ</a>  ※リンクにするとホバーで青になる
*/
.c-category-label {
  display: inline-block;
  padding-block: 0.5em;
  padding-inline: 1.667em;
  color: var(--color-white);
  background-color: var(--color-category);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.334;
  white-space: nowrap;
  transition: background-color 280ms ease;
}

@media (min-width: 768px) and (hover: hover) {
  a.c-category-label:hover {
    background-color: var(--color-blue);
  }
}
@media (prefers-reduced-motion: reduce) {
  .c-category-label {
    transition: none;
  }
}
/*
  記事本文（the_content() の出力）
  <div class="c-post-content"><?php the_content(); ?></div>

  余白の考え方
  - 余白は margin で取り、上下の margin は重なる（大きい方だけ効く）
  - 見出し（h2〜h6）は上に SP40px / PC50px、下はデザインの値を em で指定
    → 前の要素が何でも見出しの上は50px、見出しの直後は見出しの margin-bottom になる
  - 段落は上下 1em。見出しの margin-bottom の方が大きいので、見出し直後はそちらが効く
  - 画像・ギャラリー・カラムは「本文の直下にあるとき」だけ上下 SP30px / PC50px
    （カラムの中の画像などには付けない）
  - 本文の最初と最後の要素は外側の余白を0にする
*/
.c-post-content {
  font-size: 0.875rem;
  line-height: 2;
  overflow-wrap: anywhere;
}

/* WordPress 標準の figure の余白（下1em）を消し、余白は下の直下指定だけで付ける */
.c-post-content figure {
  margin: 0;
}

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

.c-post-content p {
  margin-block: 1em;
}

/* 見出し：明朝・行間1.5。上の余白は共通 */
.c-post-content :is(h2, h3, h4, h5, h6) {
  margin-top: 40px;
  font-family: var(--font-family-serif);
  font-weight: 500;
  line-height: 1.5;
}

/* h2：PC 28px・下30px */
.c-post-content h2 {
  margin-bottom: 1.072em;
  font-size: 1.375rem;
}

/* h3：PC 20px・下20px */
.c-post-content h3 {
  margin-bottom: 1em;
  font-size: 1.125rem;
}

/* h4〜h6：PC 16px・下20px（h5・h6 は念のため h4 と同じ見た目） */
.c-post-content :is(h4, h5, h6) {
  margin-bottom: 1.25em;
  font-size: 1rem;
}

.c-post-content :is(ul, ol) {
  margin-block: 1em;
  padding-left: 1.5em;
}

.c-post-content ul {
  list-style: disc;
}

.c-post-content ol {
  list-style: decimal;
}

.c-post-content a {
  color: var(--color-light-blue);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* 本文の直下にある画像・ギャラリー・カラムだけ上下に余白 */
.c-post-content > :is(.wp-block-image, .wp-block-gallery, .wp-block-columns) {
  margin-block: 30px;
}

/* カラム・ギャラリーの間隔（PC 40px） */
.c-post-content .wp-block-columns,
.c-post-content .wp-block-gallery.has-nested-images {
  --wp--style--unstable-gallery-gap: 20px;
  gap: 20px;
}

/* 本文・各カラムの最初と最後の要素は外側の余白を0にする（上の指定より後に書く） */
.c-post-content > :first-child,
.c-post-content .wp-block-column > :first-child {
  margin-top: 0;
}

.c-post-content > :last-child,
.c-post-content .wp-block-column > :last-child {
  margin-bottom: 0;
}

@media screen and (min-width: 768px) {
  .c-post-content {
    font-size: 0.9375rem;
  }
  .c-post-content :is(h2, h3, h4, h5, h6) {
    margin-top: 50px;
  }
  .c-post-content h2 {
    font-size: 1.75rem;
  }
  .c-post-content h3 {
    font-size: 1.25rem;
  }
  .c-post-content > :is(.wp-block-image, .wp-block-gallery, .wp-block-columns) {
    margin-block: 50px;
  }
  .c-post-content .wp-block-columns,
  .c-post-content .wp-block-gallery.has-nested-images {
    --wp--style--unstable-gallery-gap: 40px;
    gap: 40px;
  }
  /* PC でも最初と最後は0（上の PC 指定に負けないよう再指定） */
  .c-post-content > :first-child {
    margin-top: 0;
  }
  .c-post-content > :last-child {
    margin-bottom: 0;
  }
}
@media (min-width: 768px) and (hover: hover) {
  .c-post-content a:hover {
    text-decoration: none;
  }
}
/*
  下層ページ共通ヘッダー（template-parts/page-header.php）
  パンくず・縦書きタイトル・メイン画像・導入文を組み合わせるため Project にしている
  - 上の余白は padding-block-start、下の余白は padding-block-end で確保
    （導入文 .p-page-header__intro が無いページでも下余白が残る）
  - 背景テクスチャは画像の途中（--_texture-top）からセクション下端まで敷く
*/
.p-page-header {
  --_padding-top: 40px;
  --_padding-bottom: 60px;
  --_image-top: 40px;
  --_texture-top: calc(var(--_padding-top) + 140px);
  position: relative;
  isolation: isolate;
  padding-block: var(--_padding-top) var(--_padding-bottom);
}

.p-page-header::before {
  content: "";
  position: absolute;
  inset: var(--_texture-top) 0 0;
  z-index: -1;
  background: var(--color-bg-gray) url("../images/bg-texture-B-lotAIU.jpg") no-repeat center top/cover;
}

.p-page-header__top {
  position: relative;
  max-width: var(--container-width-large);
  margin-inline: auto;
  padding-top: var(--_image-top);
}

/* パンくず（右上）。プラグインに置き換えるときは、出力をこの nav の中に入れる */
.p-page-header__breadcrumb {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
  font-size: 0.75rem;
  line-height: 1;
}

.p-page-header__breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 0.5em;
}

.p-page-header__breadcrumb-item + .p-page-header__breadcrumb-item::before {
  content: "›";
  margin-inline: 1em;
}

.p-page-header__breadcrumb-link {
  transition: opacity 0.3s;
}

/* 縦書きタイトル＋英字（右側に90度回転） */
.p-page-header__heading {
  position: absolute;
  top: calc(var(--_image-top) - 20px);
  left: var(--container-padding);
  display: flex;
  gap: 10px;
}

.p-page-header__title {
  writing-mode: vertical-rl;
  font-family: var(--font-family-serif);
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.3em;
}

.p-page-header__en {
  writing-mode: vertical-rl;
  color: var(--color-blue);
  font-family: var(--font-family-en);
  font-size: 0.875rem;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase; /* カテゴリーのスラッグ（小文字）も大文字で表示する */
}

.p-page-header__image {
  margin-left: 80px;
}

.p-page-header__image img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.p-page-header__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: var(--container-width);
  margin: 50px auto 0;
  padding-inline: var(--container-padding);
}

.p-page-header__intro-title {
  font-family: var(--font-family-serif);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.5;
}

/* 段落（<p>）の間は1行分あける。続けて表示したい行は <br> で改行する */
.p-page-header__intro-text {
  font-size: 0.875rem;
  line-height: 2;
}

.p-page-header__intro-text p + p {
  margin-top: 2em;
}

@media screen and (min-width: 768px) {
  .p-page-header {
    --_padding-top: 80px;
    --_padding-bottom: 130px;
    --_image-top: 64px;
    --_texture-top: calc(var(--_padding-top) + 245px);
  }
  /* Figma（1400px幅）: タイトル left186 / 画像 left350・幅1050 */
  .p-page-header__heading {
    top: 7px;
    left: 13.2857142857%;
    gap: 25px;
  }
  .p-page-header__title {
    font-size: 2.5rem;
  }
  .p-page-header__en {
    font-size: 1rem;
  }
  .p-page-header__image {
    margin-left: 25%;
  }
  .p-page-header__image img {
    height: auto;
    aspect-ratio: 1050/510;
  }
  .p-page-header__intro {
    gap: 50px;
    margin-top: 130px;
  }
  .p-page-header__intro-title {
    font-size: 2.25rem;
  }
  .p-page-header__intro-text {
    font-size: 0.9375rem;
  }
}
@media (any-hover: hover) {
  .p-page-header__breadcrumb-link:hover {
    opacity: 0.6;
  }
}
/* ========================================
  hero
======================================== */
/*
  ヒーロースライダーの時間調整
  スライド枚数を変えるときは $hero-slide-count をHTMLの枚数に合わせる（2枚以上）。
  1周の長さ・切り替え位置・各スライドの開始時間はすべて枚数から計算するため、
  全スライドが同じ周期で動き、ループを重ねても切り替えのタイミングがずれない。
*/
.p-top__hero {
  position: relative;
  display: flex;
  min-height: 500px;
  overflow: hidden;
  isolation: isolate;
  color: var(--color-white);
}

.p-top__hero-slider {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.p-top__hero-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.15);
  animation: top-hero-slide 22000ms linear infinite;
}

.p-top__hero-image:nth-child(2) {
  animation-delay: 5500ms;
}

.p-top__hero-image:nth-child(3) {
  animation-delay: 11000ms;
}

.p-top__hero-image:nth-child(4) {
  animation-delay: 16500ms;
}

.p-top__hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* フェードインしながらズームアウト。次の画像のフェード中は背面に画像を残す */
@keyframes top-hero-slide {
  0% {
    z-index: 2;
    opacity: 0;
    transform: scale(1.15);
  }
  4.5454545455% {
    opacity: 1;
  }
  25% {
    transform: scale(1);
  }
  25% {
    z-index: 2;
    opacity: 1;
    transform: scale(1);
  }
  25.01%, 29.5454545455% {
    z-index: 1;
    opacity: 1;
    transform: scale(1);
  }
  29.5554545455%, 100% {
    z-index: 0;
    opacity: 0;
    transform: scale(1.15);
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-top__hero-image {
    animation: none;
    transform: none;
  }
  .p-top__hero-image:first-child {
    opacity: 1;
  }
}
.p-top__hero-inner {
  position: relative;
  width: 100%;
  padding-block: 241px 40px;
  padding-inline: 30px;
}

.p-top__hero-title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-family-serif);
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  margin-bottom: 25px;
}

.p-top__hero-title-sub {
  font-size: 1.875rem;
}

.p-top__hero-title-main {
  font-size: 3.125rem;
}

.p-top__hero-text {
  max-width: 320px;
  font-size: 0.9375rem;
  line-height: 2;
}

.p-top__hero-break {
  display: none;
}

@media screen and (min-width: 768px) {
  .p-top__hero {
    min-height: 56.25rem;
  }
  .p-top__hero-inner {
    max-width: var(--container-width-large);
    margin-inline: auto;
    padding-block: 13.75rem 3.75rem;
    padding-inline: 7.3125rem 1.875rem;
  }
  .p-top__hero-title {
    margin-bottom: 3rem;
    font-weight: 600;
  }
  .p-top__hero-title-sub {
    font-size: 4.375rem;
    letter-spacing: -0.0215em;
  }
  .p-top__hero-title-main {
    font-size: 4.375rem;
    letter-spacing: -0.0215em;
  }
  .p-top__hero-title-em {
    font-size: 1.4286em;
    letter-spacing: -0.015em;
  }
  .p-top__hero-text {
    max-width: none;
    margin-left: 0.5625rem;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.1em;
  }
  .p-top__hero-break {
    display: inline;
  }
}
/* ========================================
  about
======================================== */
.p-top__about {
  position: relative;
  overflow: hidden;
  padding-block-end: 60px;
  background-color: var(--color-bg-gray);
}

.p-top__about-visual {
  position: relative;
}

/* 下端：背景色へなじませる */
.p-top__about-visual::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15%;
  background-image: linear-gradient(180deg, rgba(242, 244, 243, 0), var(--color-bg-gray));
}

.p-top__about-image {
  display: block;
  width: 100%;
  height: auto;
}

.p-top__about-inner {
  position: relative;
  padding-block-start: 40px;
  padding-inline: var(--container-padding);
}

.p-top__about-label {
  margin-bottom: 0.75em;
  color: var(--color-gray);
  font-family: var(--font-family-en);
  font-size: 0.875rem;
  line-height: 1;
  letter-spacing: 0.2em;
}

.p-top__about-title {
  margin-bottom: 1em;
  font-family: var(--font-family-serif);
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 1.5;
}

.p-top__about-body {
  margin-bottom: 2.667em;
  font-size: 0.9375rem;
}

.p-top__about-text {
  line-height: 2;
  letter-spacing: 0.2em;
}

.p-top__about-text:not(:last-child) {
  margin-bottom: 1.6em;
}

.p-top__about-break {
  display: none;
}

/* 768px以上はPCレイアウト。1200px未満はルートfont-sizeに合わせてremで縮小する */
@media screen and (min-width: 768px) {
  .p-top__about {
    padding-block: 6rem 8.5rem;
  }
  /* 画面中央を基準に配置。画面幅が広がると欠けていた左側が見えてくる */
  .p-top__about-visual {
    position: absolute;
    top: 0;
    left: calc(50% - 61.5625rem);
    z-index: 0;
    width: 69.4375rem;
    height: 100%;
  }
  /* 左端：背景色へなじませる */
  .p-top__about-visual::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 12.5rem;
    height: 100%;
    background-image: linear-gradient(90deg, var(--color-bg-gray), rgba(242, 244, 243, 0));
  }
  /* 右端：背景色へなじませる */
  .p-top__about-visual::after {
    content: "";
    position: absolute;
    top: 0;
    left: 57rem;
    z-index: 1;
    width: 12.75rem;
    height: 100%;
    background-image: linear-gradient(88.83deg, rgba(242, 244, 243, 0) 4.99%, var(--color-bg-gray) 97.82%);
  }
  .p-top__about-image {
    height: 100%;
    object-fit: cover;
  }
  /* 画面中央からABOUTの右端までが567px（1200px以上） */
  .p-top__about-inner {
    display: flex;
    justify-content: flex-end;
    padding-block-start: 0;
    padding-inline: 0 calc(50% - 35.4375rem);
  }
  /* 縦書き：ブロックは右から左へ並ぶため、margin-block-end（文字方向の下）が左側の余白になる */
  .p-top__about-content {
    writing-mode: vertical-rl;
  }
  .p-top__about-label {
    margin-top: 0.8125rem;
    margin-bottom: 0;
    margin-block-end: 1.25em;
    font-size: 1rem;
  }
  .p-top__about-title {
    margin-bottom: 0;
    margin-block-end: 1.15em;
    font-size: 2.125rem;
    line-height: 1.6;
    letter-spacing: 0.3em;
    white-space: nowrap;
  }
  .p-top__about-body {
    margin-top: 4.5rem;
    margin-bottom: 0;
    margin-block-end: 4.333em;
  }
  .p-top__about-text {
    line-height: 2.267;
    white-space: nowrap;
  }
  .p-top__about-text:not(:last-child) {
    margin-bottom: 0;
    margin-block-end: 2.667em;
  }
  .p-top__about-break {
    display: inline;
  }
  .p-top__about-button {
    margin-top: 19.5625rem;
    letter-spacing: 0.2em;
  }
}
/* ========================================
  service
======================================== */
.p-top__service {
  padding-block: 60px 70px;
  background: var(--color-bg-blue-gray) url("../images/bg-service-D2RFmuqv.jpg") no-repeat center top/cover;
}

.p-top__service-inner {
  padding-inline: var(--container-padding);
}

.p-top__service-heading {
  margin-bottom: 1.875rem;
}

.p-top__service-lead {
  margin-bottom: 0.715em;
  font-family: var(--font-family-serif);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
}

.p-top__service-text {
  margin-bottom: 3em;
  font-size: 0.875rem;
  line-height: 2;
}

.p-top__service-break {
  display: none;
}

.p-top__service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem 0.9375rem;
  margin-bottom: 50px;
}

.p-top__service-item {
  padding-top: 1.125rem;
}

.p-top__service-link {
  position: relative;
  display: block;
}

.p-top__service-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 250/311;
  object-fit: cover;
}

.p-top__service-label {
  position: absolute;
  top: -1.125rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 2.125rem;
  height: 11.875rem;
  padding-block: 0.5625rem 1rem;
  color: var(--color-white);
  background-color: var(--color-blue);
  transition: background-color 280ms ease;
}

.p-top__service-label-text {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  writing-mode: vertical-rl;
}

.p-top__service-label-icon {
  display: block;
  flex-shrink: 0;
  width: 0.889em;
  height: 0.445em;
  margin-top: auto;
  font-size: 0.9375rem;
  transform: rotate(-45deg);
}

.p-top__service-button {
  text-align: center;
}

/* 768px以上はPCレイアウト。1200px未満はルートfont-sizeに合わせてremで縮小する */
@media screen and (min-width: 768px) {
  .p-top__service {
    padding-block: 8.875rem 8.4375rem;
  }
  .p-top__service-inner {
    padding-inline: 0;
  }
  .p-top__service-heading {
    margin-bottom: 3.125rem;
  }
  /* 2行を左揃えのまま中央に配置 */
  .p-top__service-lead {
    width: fit-content;
    margin-inline: auto;
    font-size: 1.75rem;
  }
  .p-top__service-text {
    margin-bottom: 5.8em;
    font-size: 0.9375rem;
    text-align: center;
  }
  .p-top__service-break {
    display: inline;
  }
  .p-top__service-list {
    grid-template-columns: repeat(4, 15.625rem);
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 5rem;
  }
  .p-top__service-item {
    padding-top: 1.125rem;
  }
  .p-top__service-label {
    left: 1.25rem;
    width: 2.625rem;
    height: 14.6875rem;
    padding-block: 0.6875rem 1.25rem;
  }
  .p-top__service-label-text {
    font-size: 1.125rem;
  }
  .p-top__service-label-icon {
    font-size: 1.125rem;
  }
}
@media (min-width: 768px) and (hover: hover) {
  .p-top__service-link:hover .p-top__service-label {
    background-color: var(--color-light-blue);
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-top__service-label {
    transition: none;
  }
}
/* ========================================
  strengths
======================================== */
.p-top__strengths {
  padding-block: 60px 70px;
}

.p-top__strengths-inner {
  padding-inline: var(--container-padding);
}

.p-top__strengths-header {
  margin-bottom: 50px;
}

.p-top__strengths-heading {
  margin-bottom: 1.875rem;
}

.p-top__strengths-lead {
  margin-bottom: 0.715em;
  font-family: var(--font-family-serif);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
}

.p-top__strengths-text {
  font-size: 0.875rem;
  line-height: 2;
}

.p-top__strengths-break {
  display: none;
}

.p-top__strengths-list {
  display: grid;
  gap: 60px;
}

.p-top__strengths-figure {
  margin-bottom: 30px;
}

.p-top__strengths-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}

/* 番号の右側に、カラム右端まで伸びる罫線を表示 */
.p-top__strengths-number {
  display: flex;
  align-items: flex-end;
  gap: 0.9375em;
  margin-bottom: 1.25rem;
  color: var(--color-blue);
  font-family: var(--font-family-en);
  font-size: 0.875rem;
  line-height: 1;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.p-top__strengths-number::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-bottom: 0.75em;
  background-color: currentColor;
}

.p-top__strengths-number-num {
  font-size: 2.5em;
}

.p-top__strengths-title {
  margin-bottom: 0.91em;
  font-family: var(--font-family-serif);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.5;
}

.p-top__strengths-desc {
  margin-bottom: 30px;
  font-size: 0.875rem;
}

.p-top__strengths-desc-text {
  line-height: 2;
}

/* 空行1行分の段落間隔 */
.p-top__strengths-desc-text:not(:last-child) {
  margin-bottom: 2em;
}

/* 768px以上はPCレイアウト。1200px未満はルートfont-sizeに合わせてremで縮小する */
@media screen and (min-width: 768px) {
  .p-top__strengths {
    padding-block: 9.6875rem 6.8125rem;
  }
  .p-top__strengths-inner {
    max-width: 68.75rem;
    margin-inline: auto;
    padding-inline: 0;
  }
  .p-top__strengths-header {
    margin-bottom: 7.9375rem;
    text-align: center;
  }
  .p-top__strengths-heading {
    margin-bottom: 3.125rem;
  }
  .p-top__strengths-lead {
    font-size: 1.75rem;
  }
  .p-top__strengths-text {
    font-size: 0.9375rem;
  }
  .p-top__strengths-break {
    display: inline;
  }
  .p-top__strengths-list {
    gap: 6.25rem;
  }
  /* 偶数番目：画像左・テキスト右 / 奇数番目：テキスト左・画像右 */
  .p-top__strengths-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  .p-top__strengths-item:nth-child(odd) {
    flex-direction: row-reverse;
  }
  .p-top__strengths-figure {
    flex-shrink: 0;
    width: 32.5rem;
    margin-bottom: 0;
  }
  .p-top__strengths-body {
    width: 32.5rem;
  }
  .p-top__strengths-number {
    margin-bottom: 1.875rem;
    font-size: 1rem;
  }
  .p-top__strengths-title {
    margin-bottom: 0.834em;
    font-size: 2.25rem;
    white-space: nowrap;
  }
  .p-top__strengths-desc {
    margin-bottom: 1.875rem;
    font-size: 0.9375rem;
  }
}
/* ========================================
  news
======================================== */
.p-top__news {
  padding-block: 60px;
  background: var(--color-bg-gray) url("../images/bg-news-D8yh1has.jpg") no-repeat center top/cover;
}

.p-top__news-inner {
  display: grid;
  padding-inline: var(--container-padding);
}

.p-top__news-heading {
  margin-bottom: 1.875rem;
}

.p-top__news-list {
  margin-bottom: 30px;
}

.p-top__news-link {
  justify-self: end;
}

/* 768px以上：左カラムに見出しとVIEW LIST、右カラムに一覧 */
@media screen and (min-width: 768px) {
  .p-top__news {
    padding-block: 6.25rem;
  }
  .p-top__news-inner {
    grid-template-columns: 18.375rem 47.5rem;
    grid-template-rows: auto 1fr;
    max-width: 68.75rem;
    margin-inline: auto;
    padding-inline: 0;
  }
  .p-top__news-heading {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 3.125rem;
  }
  .p-top__news-list {
    grid-column: 2;
    grid-row: 1/3;
    margin-bottom: 0;
  }
  .p-top__news-link {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    justify-self: start;
  }
}
/* ========================================
  事業・技術案内（page-service.php）
  セクション間の余白は .p-service__section の margin-bottom で取る
======================================== */
.p-service__section {
  margin-bottom: 60px;
}

.p-service__inner {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.p-service__heading {
  margin-bottom: 30px;
}

.p-service__lead {
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.p-service__text {
  font-size: 0.875rem;
  line-height: 2;
}

.p-service__text--center {
  width: fit-content;
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .p-service__section {
    margin-bottom: 100px;
  }
  .p-service__heading {
    margin-bottom: 50px;
  }
  .p-service__lead {
    font-size: 1.75rem;
  }
  .p-service__text {
    font-size: 0.9375rem;
  }
  .p-service__text--center {
    text-align: center;
  }
}
/* ----------------------------------------
  about（射出成形とは）
---------------------------------------- */
.p-service__intro {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.p-service__gallery {
  display: grid;
  gap: 15px;
  margin-top: 30px;
}

.p-service__gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 530/365;
  object-fit: cover;
}

@media screen and (min-width: 768px) {
  .p-service__intro {
    gap: 20px;
  }
  .p-service__gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
  }
}
/* ----------------------------------------
  flow（射出成形の製造工程）
  工程リストは c-flow（template-parts/flow-list.php）
---------------------------------------- */
.p-service__flow-lead {
  margin-bottom: 30px;
}

@media screen and (min-width: 768px) {
  .p-service__flow-lead {
    margin-bottom: 50px;
  }
}
/* ----------------------------------------
  features（射出成形における、チヨダの強み）
---------------------------------------- */
.p-service__features-image {
  margin-top: 30px;
}

.p-service__features-image img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.p-service__features-list {
  display: grid;
  gap: 15px;
  margin-top: 20px;
}

.p-service__features-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 30px 20px;
  border: 1px solid #c2c2c2;
  border-radius: 6px;
}

.p-service__features-title {
  color: var(--color-blue);
  font-family: var(--font-family-serif);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.p-service__features-text {
  font-size: 0.875rem;
  line-height: 2;
}

@media screen and (min-width: 768px) {
  .p-service__features-image {
    margin-top: 50px;
  }
  .p-service__features-image img {
    height: auto;
    aspect-ratio: 1100/440;
  }
  .p-service__features-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
  }
  .p-service__features-item {
    gap: 20px;
    padding: 50px 30px;
  }
  .p-service__features-title {
    font-size: 1.25rem;
  }
  .p-service__features-text {
    font-size: 0.9375rem;
  }
}
/* ----------------------------------------
  order（受注・製造フロー）
  STEP番号の間を点線でつなぐ（最後の項目以外の ::before）
---------------------------------------- */
.p-service__order {
  --_step-size: 70px;
  --_item-gap: 40px;
}

.p-service__order-list {
  display: flex;
  flex-direction: column;
  gap: var(--_item-gap);
  margin-top: 30px;
}

.p-service__order-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.p-service__order-item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: var(--_step-size);
  bottom: calc(var(--_item-gap) * -1);
  left: calc(var(--_step-size) / 2 - 0.5px);
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--color-blue) 0 2px, transparent 2px 4px);
}

.p-service__order-step {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--_step-size);
  height: var(--_step-size);
  border: 1px solid var(--color-blue);
  border-radius: 6px;
  color: var(--color-blue);
  background-color: var(--color-white);
  font-family: var(--font-family-en);
  line-height: 1;
  text-align: center;
}

.p-service__order-step-label {
  font-size: 0.9375rem;
  letter-spacing: 0.2em;
  margin-right: -0.2em;
}

.p-service__order-step-num {
  font-size: 1.75rem;
  font-weight: 600;
}

.p-service__order-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.p-service__order-title {
  color: var(--color-blue);
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}

.p-service__order-text {
  font-size: 0.875rem;
  line-height: 2;
}

.p-service__order-button {
  margin-top: 10px;
}

/* STEPの狭いカラム内に置くため、SPのみ c-button--auto を小さくする */
@media screen and (max-width: 767px) {
  .p-service__order-button {
    min-inline-size: 0;
    min-block-size: 3.5em;
    padding-inline: 1.25em;
    font-size: 0.75rem;
  }
}
@media screen and (min-width: 768px) {
  .p-service__order {
    --_step-size: 100px;
    --_item-gap: 60px;
  }
  .p-service__order-list {
    margin-top: 50px;
  }
  .p-service__order-item {
    gap: 50px;
  }
  .p-service__order-step-label {
    font-size: 1.375rem;
  }
  .p-service__order-step-num {
    font-size: 2.5rem;
  }
  .p-service__order-body {
    gap: 20px;
  }
  .p-service__order-title {
    font-size: 1.75rem;
  }
  .p-service__order-text {
    font-size: 0.9375rem;
  }
  .p-service__order-button {
    margin-top: 20px;
  }
}
/* ----------------------------------------
  facility（設備紹介）
  PC: 左に表・テキスト（590px）、右に写真（470px）
---------------------------------------- */
.p-service__facility-image img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.p-service__facility-intro {
  margin-top: 30px;
}

.p-service__facility-block {
  margin-top: 60px;
}

.p-service__facility-title {
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}

.p-service__facility-body {
  display: grid;
  gap: 30px;
  margin-top: 30px;
}

.p-service__facility-images {
  display: grid;
  gap: 15px;
}

.p-service__facility-images img {
  display: block;
  width: 100%;
  height: auto;
}

.p-service__facility-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

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

.p-service__facility-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-service__facility-item-title {
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}

.p-service__facility-col-name {
  width: 36%;
}

@media screen and (min-width: 768px) {
  .p-service__facility-image img {
    height: auto;
    aspect-ratio: 1100/440;
  }
  .p-service__facility-intro {
    margin-top: 50px;
  }
  .p-service__facility-block {
    margin-top: 100px;
  }
  .p-service__facility-title {
    font-size: 1.75rem;
  }
  .p-service__facility-body {
    grid-template-columns: 590fr 470fr;
    align-items: start;
    gap: 40px;
    margin-top: 50px;
  }
  .p-service__facility-images {
    gap: 30px;
  }
  .p-service__facility-content {
    gap: 100px;
  }
  .p-service__facility-list {
    gap: 50px;
  }
  .p-service__facility-item {
    gap: 20px;
  }
  .p-service__facility-item-title {
    font-size: 1.75rem;
  }
  /* Figma: 230 / 590 */
  .p-service__facility-col-name {
    width: 39%;
  }
  .p-service__facility-button {
    min-inline-size: 402px;
  }
}
/* ========================================
  製品紹介（page-product.php）
  セクション間の余白は .p-product__section の margin-bottom で取る
======================================== */
.p-product__section {
  margin-bottom: 60px;
}

.p-product__inner {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

@media screen and (min-width: 768px) {
  .p-product__section {
    margin-bottom: 100px;
  }
}
.p-product__heading {
  margin-bottom: 30px;
}

.p-product__lead {
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}

/* 段落（<p>）の間は1行分あける。続けて表示したい行は <br> で改行する */
.p-product__text {
  font-size: 0.875rem;
  line-height: 2;
}

.p-product__text p + p {
  margin-top: 2em;
}

@media screen and (min-width: 768px) {
  .p-product__heading {
    margin-bottom: 50px;
  }
  .p-product__lead {
    font-size: 1.75rem;
  }
  .p-product__text {
    font-size: 0.9375rem;
  }
}
/* ----------------------------------------
  material（素材ごとの紹介：硬質塩化ビニルなど）
  写真 → リード → 本文 を 50px 間隔（SPは 20px / 30px）で縦に並べる
---------------------------------------- */
.p-product__material-image img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.p-product__material-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.p-product__material-body > .p-product__text + .p-product__lead {
  margin-top: 10px;
}

@media screen and (min-width: 768px) {
  .p-product__material-image img {
    height: auto;
    aspect-ratio: 1100/440;
  }
  .p-product__material-body {
    gap: 50px;
    margin-top: 50px;
  }
  .p-product__material-body > .p-product__text + .p-product__lead {
    margin-top: 0;
  }
}
.p-product__lead--center {
  text-align: center;
}

/* ----------------------------------------
  cases（製品事例：2列カード）
  キャプションは省略可。カード下の余白はキャプション側で取る
---------------------------------------- */
.p-product__cases:not(:first-child) {
  margin-top: 60px;
}

.p-product__cases-list {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.p-product__cases-figure {
  height: 100%;
  border: 1px solid var(--color-gray);
}

.p-product__cases-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 528/347;
  object-fit: cover;
}

.p-product__cases-caption {
  padding: 20px 14px;
  font-family: var(--font-family-serif);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

@media screen and (min-width: 768px) {
  .p-product__cases:not(:first-child) {
    margin-top: 100px;
  }
  .p-product__cases-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
  }
  .p-product__cases-caption {
    padding-block: 30px;
    font-size: 1.25rem;
  }
}
/* ----------------------------------------
  others（その他製品案内＋お問い合わせボタン）
---------------------------------------- */
.p-product__others {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 60px;
}

.p-product__others-button {
  margin-top: 40px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .p-product__others {
    gap: 50px;
    margin-top: 100px;
  }
  .p-product__others-button {
    margin-top: 100px;
  }
  .p-product__others-button .c-button {
    min-inline-size: 336px;
  }
}
/* ========================================
  品質管理・検査体制（page-quality.php）
  セクション間の余白は .p-quality__section の margin-bottom で取る
======================================== */
.p-quality__section {
  margin-bottom: 60px;
}

.p-quality__inner {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.p-quality__heading {
  margin-bottom: 30px;
}

.p-quality__lead {
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}

.p-quality__text {
  font-size: 0.875rem;
  line-height: 2;
}

.p-quality__text--center {
  width: fit-content;
  margin-inline: auto;
  text-align: left;
}

@media screen and (min-width: 768px) {
  .p-quality__section {
    margin-bottom: 100px;
  }
  .p-quality__heading {
    margin-bottom: 50px;
  }
  .p-quality__lead {
    font-size: 1.75rem;
  }
  .p-quality__text {
    font-size: 0.9375rem;
  }
  .p-quality__text--center {
    text-align: center;
  }
}
/* ----------------------------------------
  system（一貫した品質管理）
  PC: 左にテキスト（580px）、右に写真（470px）
---------------------------------------- */
.p-quality__system-body {
  display: grid;
  gap: 20px;
}

.p-quality__system-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.p-quality__system-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 470/365;
  object-fit: cover;
}

@media screen and (min-width: 768px) {
  .p-quality__system-body {
    grid-template-columns: 580fr 470fr;
    align-items: start;
    gap: 50px;
  }
  .p-quality__system-content {
    gap: 20px;
  }
}
/* ----------------------------------------
  steps（STEP01〜06）
  PC: 横並び、ボックスの間に右向き矢印
  SP: 縦並び、ボックスの間に下向き矢印
---------------------------------------- */
.p-quality__steps {
  --_arrow-gap: 16px;
  display: flex;
  flex-direction: column;
  gap: var(--_arrow-gap);
  margin-top: 30px;
}

.p-quality__step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 70px;
  padding: 10px 15px;
  border: 1px solid var(--color-blue);
  border-radius: 6px;
  color: var(--color-blue);
  background-color: var(--color-white);
  text-align: center;
}

.p-quality__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(100% + var(--_arrow-gap) / 2);
  left: 50%;
  width: 19px;
  height: 7px;
  translate: -50% -50%;
  background: url("data:image/svg+xml,%3csvg%20display='block'%20fill='none'%20height='16.0231'%20preserveAspectRatio='none'%20viewBox='0%200%2041.5905%2016.0231'%20width='41.5905'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='m.295255.403515%2020.500045%2014.999985%2020.5-14.999985'%20stroke='%23a3a3a3'/%3e%3c/svg%3e") no-repeat center/contain;
}

.p-quality__step-num {
  font-family: var(--font-family-en);
  font-size: 0.875rem;
  line-height: 1;
  letter-spacing: 0.1em;
}

.p-quality__step-num span {
  font-size: 1.25rem;
  letter-spacing: 0;
}

.p-quality__step-name {
  font-family: var(--font-family-serif);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
}

@media screen and (min-width: 768px) {
  .p-quality__steps {
    --_arrow-gap: 17px;
    flex-direction: row;
    margin-top: 50px;
  }
  .p-quality__step {
    flex: 1;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    min-width: 0;
    height: 150px;
    padding: 30px 5px 0;
  }
  .p-quality__step:not(:last-child)::after {
    top: 50%;
    left: calc(100% + var(--_arrow-gap) / 2);
    rotate: -90deg;
  }
  .p-quality__step-num {
    font-size: 1rem;
  }
  .p-quality__step-num span {
    font-size: 1.5rem;
  }
  .p-quality__step-name {
    display: flex;
    flex: 1;
    align-items: center;
    padding-bottom: 30px;
    font-size: 1.375rem;
  }
}
/* ----------------------------------------
  certs（認定・資格取得情報）
---------------------------------------- */
.p-quality__certs {
  margin-top: 60px;
}

.p-quality__certs-list {
  display: grid;
  gap: 40px;
  margin-top: 30px;
}

.p-quality__certs-item img {
  display: block;
  width: min(100%, 275px);
  height: auto;
  margin-inline: auto;
}

.p-quality__certs-title {
  margin-top: 20px;
  margin-bottom: 10px;
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .p-quality__certs {
    margin-top: 100px;
  }
  .p-quality__certs-list {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 50px;
  }
  .p-quality__certs-title {
    margin-top: 31px;
    margin-bottom: 20px;
    font-size: 1.75rem;
  }
}
/* ----------------------------------------
  facility（品質管理・検査設備）
  中央揃えのリード＋本文 → 2列カード
---------------------------------------- */
.p-quality__intro {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
}

.p-quality__facility-list {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.p-quality__facility-item {
  border: 1px solid var(--color-gray);
}

.p-quality__facility-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 528/347;
  object-fit: cover;
}

.p-quality__facility-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 14px;
}

.p-quality__facility-title {
  color: var(--color-blue);
  font-family: var(--font-family-serif);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
}

@media screen and (min-width: 768px) {
  .p-quality__intro {
    gap: 20px;
  }
  .p-quality__facility-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
  }
  .p-quality__facility-body {
    padding: 30px 14px;
  }
  .p-quality__facility-title {
    font-size: 1.25rem;
  }
}
/* ----------------------------------------
  flow（検査の流れ）
  工程リストは c-flow（template-parts/flow-list.php）
---------------------------------------- */
.p-quality__flow-lead {
  margin-bottom: 30px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .p-quality__flow-lead {
    margin-bottom: 50px;
  }
}
/* ----------------------------------------
  policy（品質方針）
  全幅の背景色＋左に製品写真（images/quality/bg-policy.jpg をそのまま使用）
  - 写真は CSS で回転・配置（Figma: 幅1020px／中心 x150,y383／-8.18deg、1400px幅フレーム基準）
  - 紙の色は mix-blend-mode: darken で背景色に溶かす（背景色より明るい紙は消え、製品と影だけ残る）
  - 右側のフェードは .p-quality__policy-visual の mask-image（Figma: x490〜824）
  - 1400px以上はフレームに固定（フレーム外にも写真が続くので切れない）
    1399px以下は本文の開始位置（--_text-start）に比例して写真全体を拡縮
---------------------------------------- */
.p-quality__policy {
  --_bg: #efeeea;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 280px 50px;
  background-color: var(--_bg);
}

/* darken をこの要素内の背景色と合成させるため、自身にも背景色を持たせる */
.p-quality__policy-visual {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background-color: var(--_bg);
  mask-image: linear-gradient(to bottom, #000 75%, transparent);
}

.p-quality__policy-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  max-width: none;
  height: auto;
  translate: -50% -50%;
  rotate: -8.18deg;
  mix-blend-mode: darken;
  /* 写真の四辺をぼかす（紙の端の陰りが背景色より暗いため、darken だけでは境目が残る） */
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
}

.p-quality__policy-inner {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.p-quality__policy-lead {
  color: var(--color-blue);
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}

.p-quality__policy-list {
  margin-top: 15px;
  counter-reset: policy;
  font-size: 0.9375rem;
  line-height: 2;
}

.p-quality__policy-list li {
  display: flex;
  counter-increment: policy;
}

.p-quality__policy-list li + li {
  margin-top: 0.5em;
}

.p-quality__policy-list li::before {
  content: counter(policy) ".";
  flex-shrink: 0;
}

.p-quality__policy-sign {
  margin-top: 20px;
  font-size: 0.875rem;
  line-height: 2;
  text-align: right;
}

@media screen and (min-width: 768px) {
  /*
    --_frame: 1400px幅フレームの左端の位置
    --_text-start: フレーム左端から本文までの距離（Figmaでは593px）。写真の寸法はこれに比例させる
  */
  .p-quality__policy {
    --_frame: 0px;
    --_text-start: calc(0.4 * 100vw + 10px);
    padding-block: 96px 100px;
  }
  .p-quality__policy-visual {
    height: 100%;
    mask-image: linear-gradient(to right, #000 calc(var(--_frame) + var(--_text-start) * 490 / 593), transparent calc(var(--_frame) + var(--_text-start) * 824 / 593));
  }
  .p-quality__policy-image {
    top: calc(var(--_text-start) * 36 / 593);
    left: calc(var(--_frame) + var(--_text-start) * -360 / 593);
    width: calc(var(--_text-start) * 1020 / 593);
    translate: none;
  }
  .p-quality__policy-body {
    width: min(660px, 60%);
    margin-left: auto;
  }
  .p-quality__policy-lead {
    font-size: 1.75rem;
  }
  .p-quality__policy-list {
    margin-top: 20px;
    font-size: 1.25rem;
    line-height: 2.5;
  }
  .p-quality__policy-list li + li {
    margin-top: 0;
  }
  .p-quality__policy-sign {
    font-size: 0.9375rem;
  }
}
@media screen and (min-width: 1200px) {
  .p-quality__policy {
    --_text-start: calc(50vw - 107px);
  }
}
@media screen and (min-width: 1400px) {
  .p-quality__policy {
    --_frame: calc(50% - 700px);
    --_text-start: 593px;
  }
}
/* ----------------------------------------
  scope（QMSの適用範囲＋PDFボタン）
---------------------------------------- */
.p-quality__scope-box {
  padding: 40px 20px;
  border: 1px solid var(--color-blue);
  border-radius: 6px;
  background-color: var(--color-white);
}

.p-quality__scope-title {
  color: var(--color-blue);
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.p-quality__scope-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 30px auto 0;
  font-size: 0.875rem;
  line-height: 2;
}

.p-quality__scope-row dt {
  color: var(--color-blue);
}

.p-quality__scope-button {
  margin-top: 40px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .p-quality__scope-box {
    padding: 100px 50px;
  }
  .p-quality__scope-title {
    font-size: 1.75rem;
  }
  .p-quality__scope-list {
    gap: 30px;
    margin-top: 50px;
    font-size: 0.9375rem;
  }
  /* Figma: 項目名 300px ＋ 間隔 10px ＋ 内容 */
  .p-quality__scope-row {
    display: grid;
    grid-template-columns: 300px 1fr;
    column-gap: 10px;
  }
  .p-quality__scope-row dt {
    color: inherit;
  }
  .p-quality__scope-button {
    margin-top: 100px;
  }
  .p-quality__scope-button .c-button {
    min-inline-size: 438px;
  }
}
/* ========================================
  会社案内（page-company.php）
  セクション間の余白は .p-company__section の margin-bottom で取る
======================================== */
.p-company__section {
  margin-bottom: 60px;
}

.p-company__inner {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.p-company__heading {
  margin-bottom: 30px;
}

/* 段落（<p>）の間は1行分あける。続けて表示したい行は <br> で改行する */
.p-company__text {
  font-size: 0.875rem;
  line-height: 2;
}

.p-company__text p + p {
  margin-top: 2em;
}

@media screen and (min-width: 768px) {
  .p-company__section {
    margin-bottom: 100px;
  }
  .p-company__heading {
    margin-bottom: 50px;
  }
  .p-company__text {
    font-size: 0.9375rem;
  }
}
/* ----------------------------------------
  message（代表挨拶）
  見出し → 写真 → 本文 → 署名（右寄せ）
---------------------------------------- */
.p-company__message-image img {
  display: block;
  width: 100%;
  height: auto;
}

.p-company__message-text {
  margin-top: 30px;
}

.p-company__message-sign {
  margin-top: 30px;
  font-family: var(--font-family-serif);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: right;
}

@media screen and (min-width: 768px) {
  .p-company__message-text,
  .p-company__message-sign {
    margin-top: 50px;
  }
  .p-company__message-sign {
    font-size: 1.25rem;
  }
}
/* ----------------------------------------
  profile（会社概要）
  一覧は c-data-list、ボタンは c-button--auto を使用
---------------------------------------- */
.p-company__profile-button {
  margin-top: 40px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .p-company__profile-button {
    margin-top: 100px;
  }
  .p-company__profile-button .c-button {
    min-inline-size: 530px;
  }
}
/* ----------------------------------------
  history（沿革）
  PC: マーカー・年月・本文の3列 / SP: マーカー＋年月の下に本文
  点線は各行の ::after で描く。行の上下に gap の半分ずつ伸ばして次の行とつなぎ、
  最初の行はマーカーから下へ、最後の行はマーカーまでで止める
---------------------------------------- */
.p-company__history-list {
  --history-gap: 30px;
  --history-marker-size: 15px;
  --history-marker-x: 0px; /* マーカーの左端 */
  --history-marker-y: 6px; /* マーカーの上端（SPは1行目にそろえる） */
  --history-line-x: calc(var(--history-marker-x) + 7px); /* マーカー中央 */
  --history-marker-center: calc(var(--history-marker-y) + var(--history-marker-size) / 2);
  display: grid;
  gap: var(--history-gap);
  padding-block: 30px;
  font-size: 0.875rem;
  line-height: 2;
}

.p-company__history-item {
  position: relative;
  padding-left: 30px;
}

/* マーカー */
.p-company__history-item::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: var(--history-marker-y);
  left: var(--history-marker-x);
  width: var(--history-marker-size);
  height: var(--history-marker-size);
  border-radius: 3px;
  background-color: var(--color-blue);
}

/* 点線（線2px・間隔2px） */
.p-company__history-item::after {
  content: "";
  position: absolute;
  top: calc(var(--history-gap) / -2);
  bottom: calc(var(--history-gap) / -2);
  left: var(--history-line-x);
  width: 1px;
  background-image: repeating-linear-gradient(to bottom, var(--color-blue) 0 2px, transparent 2px 4px);
}

.p-company__history-item:first-child::after {
  top: var(--history-marker-center);
}

.p-company__history-item:last-child::after {
  bottom: auto;
  height: calc(var(--history-gap) / 2 + var(--history-marker-center));
}

.p-company__history-item:only-child::after {
  content: none;
}

.p-company__history-desc {
  margin-top: 5px;
  overflow-wrap: anywhere;
}

@media screen and (min-width: 768px) {
  .p-company__history-list {
    --history-marker-x: 42px;
    font-size: 0.9375rem;
  }
  /* マーカー列100px ＋ 年月200px ＋ 本文 */
  .p-company__history-item {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: center;
    padding-left: 100px;
  }
  /* PCはマーカーを行の上下中央に置く */
  .p-company__history-item::before {
    top: 50%;
    translate: 0 -50%;
  }
  .p-company__history-item:first-child::after {
    top: 50%;
  }
  .p-company__history-item:last-child::after {
    bottom: 50%;
    height: auto;
  }
  .p-company__history-desc {
    margin-top: 0;
  }
}
/* ----------------------------------------
  access（アクセスマップ）
  地図 → 所在地・Google Map ボタン
---------------------------------------- */
.p-company__access-map {
  position: relative;
  aspect-ratio: 4/3; /* SPは横幅が狭いので高さを確保する */
  overflow: hidden;
}

.p-company__access-map iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.p-company__access-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  margin-top: 30px;
}

.p-company__access-name {
  margin-bottom: 20px;
  font-family: var(--font-family-serif);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
}

/* p-company__text の段落間（2em）をこのブロックだけ詰める */
.p-company__access-contact p + p {
  margin-top: 15px;
}

/* c-button--auto の最小幅を解除し、デザインどおり左右30pxの余白にする */
.p-company__access-button {
  flex-shrink: 0;
  min-inline-size: 0;
  padding-inline: 30px;
}

@media screen and (min-width: 768px) {
  .p-company__access-map {
    aspect-ratio: 1100/440;
  }
  .p-company__access-body {
    flex-direction: row;
    justify-content: space-between;
    margin-top: 50px;
  }
  .p-company__access-name {
    margin-bottom: 30px;
    font-size: 1.25rem;
  }
}
/* ========================================
  新着情報一覧（home.php / category.php）
  ページヘッダー → カテゴリー → 一覧（c-news-list）→ ページネーション
======================================== */
/* フッターまでの余白は他の下層ページ（__section の margin-bottom）と同じ SP60px / PC100px */
.p-news {
  padding-bottom: 60px;
}

.p-news__header {
  margin-bottom: 40px;
}

.p-news__inner {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.p-news__category {
  margin-bottom: 40px;
}

.p-news__pagination {
  margin-top: 50px;
}

.p-news__empty {
  font-size: 0.875rem;
  line-height: 2;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .p-news {
    padding-bottom: 100px;
  }
  .p-news__header,
  .p-news__category {
    margin-bottom: 100px;
  }
  .p-news__pagination {
    margin-top: 100px;
  }
  .p-news__empty {
    font-size: 0.9375rem;
  }
}
/* ----------------------------------------
  記事ページ（single.php）
  日付・カテゴリー → タイトル（h1）→ 本文（c-post-content）→ 前後ナビ（p-news__post-nav）
---------------------------------------- */
.p-news__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}

.p-news__date {
  color: var(--color-text-gray);
  font-family: var(--font-family-en);
  font-size: 0.8125rem;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.p-news__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.p-news__title {
  margin-top: 10px;
  font-family: var(--font-family-serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
}

.p-news__content {
  margin-top: 30px;
}

@media screen and (min-width: 768px) {
  .p-news__meta {
    column-gap: 30px;
  }
  .p-news__title {
    font-size: 2.25rem;
  }
  .p-news__content {
    margin-top: 50px;
  }
}
/* ----------------------------------------
  記事ページの前後ナビ（← 前へ ／ 一覧へ戻る ／ 次へ →）
  「一覧へ戻る」は c-button を使う
  前後の記事がないときも .p-news__post-nav-item の枠は出力し、「一覧へ戻る」を常に中央に置く
  SP: 1行目に 前へ・次へ（左右端）、2行目に 一覧へ戻る（横幅いっぱい）
  PC: 左右を 1fr にした3列。「一覧へ戻る」は中央列、前へ・次へはボタン側に寄せる（間隔40px）
---------------------------------------- */
.p-news__post-nav {
  display: grid;
  margin-top: 60px;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "prev next" "back back";
  align-items: center;
  gap: 20px;
}

.p-news__post-nav-item--prev {
  grid-area: prev;
  justify-self: start;
}

.p-news__post-nav-item--next {
  grid-area: next;
  justify-self: end;
}

.p-news__post-nav-back {
  grid-area: back;
}

.p-news__post-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-block: 10px;
  color: var(--color-blue);
  font-family: var(--font-family-serif);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  transition: color 280ms ease;
}

.p-news__post-nav-icon {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 8px;
  transition: translate 280ms ease;
}

.p-news__post-nav-link--prev .p-news__post-nav-icon {
  scale: -1 1;
}

/* c-button--fill（320px）をデザインの幅に合わせる */
.p-news__post-nav-button {
  inline-size: 100%;
  letter-spacing: 0;
}

@media screen and (min-width: 768px) {
  .p-news__post-nav {
    margin-top: 100px;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "prev back next";
    column-gap: 40px;
  }
  .p-news__post-nav-item--prev {
    justify-self: end;
  }
  .p-news__post-nav-item--next {
    justify-self: start;
  }
  .p-news__post-nav-link {
    gap: 20px;
    font-size: 1.125rem;
  }
  .p-news__post-nav-button {
    inline-size: 19.3125rem;
  }
}
@media (min-width: 768px) and (hover: hover) {
  .p-news__post-nav-link:hover {
    color: var(--color-light-blue);
  }
  .p-news__post-nav-link--prev:hover .p-news__post-nav-icon {
    translate: -4px 0;
  }
  .p-news__post-nav-link--next:hover .p-news__post-nav-icon {
    translate: 4px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-news__post-nav-link,
  .p-news__post-nav-icon {
    transition: none;
  }
}
/* ========================================
  お問い合わせ（page-contact.php）
  セクション間の余白は .p-contact__section の margin-bottom で取る
  ページヘッダー → 電話 → フォーム（別途実装）→ 個人情報保護方針
======================================== */
.p-contact__section {
  margin-bottom: 60px;
}

.p-contact__inner {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.p-contact__heading {
  margin-bottom: 30px;
}

/* 段落（<p>）の間は1行分あける。続けて表示したい行は <br> で改行する */
.p-contact__text {
  font-size: 0.875rem;
  line-height: 2;
}

.p-contact__text > * + * {
  margin-top: 2em;
}

@media screen and (min-width: 768px) {
  .p-contact__section {
    margin-bottom: 100px;
  }
  .p-contact__heading {
    margin-bottom: 50px;
  }
  .p-contact__text {
    font-size: 0.9375rem;
  }
}
/* ----------------------------------------
  phone（お電話でのお問い合わせ）
  グレーの角丸ボックス（PC 幅650px）に見出し・電話番号・受付時間を中央揃え
---------------------------------------- */
.p-contact__phone-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 650px;
  margin-inline: auto;
  padding: 30px 20px;
  background-color: var(--color-bg-light-gray);
  border-radius: 6px;
  text-align: center;
}

.p-contact__phone-title {
  font-family: var(--font-family-serif);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.5;
}

.p-contact__phone-tel {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 20px;
  color: var(--color-blue);
  font-family: var(--font-family-en);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.05em;
  transition: color 280ms ease;
}

.p-contact__phone-icon {
  display: block;
  flex-shrink: 0;
  width: 0.535em;
  height: 0.714em;
}

.p-contact__phone-time {
  margin-top: 10px;
  font-size: 0.8125rem;
  line-height: 2;
}

@media screen and (min-width: 768px) {
  .p-contact__phone-box {
    padding: 50px;
  }
  .p-contact__phone-title {
    font-size: 2.25rem;
  }
  .p-contact__phone-tel {
    gap: 6px;
    margin-top: 30px;
    font-size: 2.6875rem;
  }
  .p-contact__phone-time {
    margin-top: 20px;
    font-size: 0.9375rem;
  }
}
@media (min-width: 768px) and (hover: hover) {
  .p-contact__phone-tel:hover {
    color: var(--color-light-blue);
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-contact__phone-tel {
    transition: none;
  }
}
/* ----------------------------------------
  privacy（個人情報保護方針）
  ■見出し（h3）のブロックの中に、番号付きの小見出し（h4）の項目が並ぶ
  ブロック・項目の間は PC 40px、小見出しと本文の間は PC 30px
---------------------------------------- */
.p-contact__privacy-block > * + *,
.p-contact__privacy-block + .p-contact__privacy-block {
  margin-top: 30px;
}

.p-contact__privacy-title {
  font-family: var(--font-family-serif);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.5;
}

.p-contact__privacy-subtitle {
  margin-bottom: 20px;
  font-family: var(--font-family-serif);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
}

/* 「・」付きの箇条書き。2行目以降は「・」の後ろにそろえる */
.p-contact__privacy-list li {
  padding-left: 1em;
  text-indent: -1em;
}

.p-contact__privacy-list li::before {
  content: "・";
}

.p-contact__privacy-links {
  font-size: 0.875rem;
  line-height: 2;
}

.p-contact__privacy-link-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.p-contact__privacy-link {
  color: var(--color-light-blue);
  font-family: var(--font-family-en);
  letter-spacing: 0.1em;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

@media screen and (min-width: 768px) {
  .p-contact__privacy-block > * + *,
  .p-contact__privacy-block + .p-contact__privacy-block {
    margin-top: 40px;
  }
  .p-contact__privacy-title {
    font-size: 1.75rem;
  }
  .p-contact__privacy-subtitle {
    margin-bottom: 30px;
    font-size: 1.25rem;
  }
  .p-contact__privacy-links {
    font-size: 0.9375rem;
  }
}
@media (min-width: 768px) and (hover: hover) {
  .p-contact__privacy-link:hover {
    text-decoration: none;
  }
}
/* ----------------------------------------
  form（フォームでのお問い合わせ）
  フォーム本体は p-form。ここでは案内文と幅（PC 1013px・中央）だけ
---------------------------------------- */
.p-contact__form-lead {
  margin-bottom: 40px;
  color: rgba(0, 0, 0, 0.82);
  font-size: 0.875rem;
  line-height: 2;
}

.p-contact__form-body {
  max-width: 63.3125rem;
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .p-contact__form-lead {
    margin-bottom: 50px;
    font-size: 0.9375rem;
    text-align: center;
  }
}
/* ========================================
  フォーム（メールフォームプロで送信）。お問い合わせページなど、フォームを置くページで共通
  入力欄は自前のクラスだけで装飾し、input などのタグや #mailformpro を直接指定しない
  （メールフォームプロ本体の CSS と重なりにくくするため）
  送信ボタンは c-button を使う

  <div class="p-form">                                    … 確認画面などメールフォームプロの出力もこの中に入る
  <form class="p-form__form" id="mailformpro">
    <div class="p-form__list">
      <div class="p-form__row">                           … 1項目（--top：項目名を上ぞろえ）
        <div class="p-form__head">
          <label class="p-form__label">項目名</label>
          <span class="p-form__required">必須</span>
        </div>
        <div class="p-form__body">
          <input class="p-form__input">                    … --short：幅362px / --zip・--pref：幅192px
          <textarea class="p-form__textarea">
        </div>
      </div>
    </div>
    <div class="p-form__agree">                            … 同意チェック＋注意書き
    <div class="p-form__submit">                           … 送信ボタン（c-button）
  </form>
  </div>

  SP: 項目名（＋必須）の下に入力欄
  PC: 項目名＋必須の列（236px）・間17px・入力欄（760px）の2列。行の間30px
======================================== */
/* ----------------------------------------
  一覧・行
---------------------------------------- */
.p-form__list {
  display: grid;
  gap: 25px;
}

.p-form__row {
  display: grid;
  gap: 10px;
}

.p-form__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.p-form__label {
  font-size: 0.875rem;
  line-height: 2;
}

/* 必須ラベル（ピンクの角丸） */
.p-form__required {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  inline-size: 2.8125rem;
  block-size: 1.625rem;
  color: var(--color-white);
  background-color: var(--color-required);
  border-radius: 0.8125rem;
  font-size: 0.75rem;
  line-height: 1;
}

.p-form__body {
  min-width: 0;
}

/* ----------------------------------------
  入力欄
---------------------------------------- */
.p-form__input,
.p-form__textarea {
  display: block;
  inline-size: 100%;
  padding-inline: 16px;
  color: var(--color-text);
  background-color: var(--color-white);
  border: 1px solid var(--color-input-border);
  border-radius: 0;
  font: inherit;
  font-size: 1rem; /* iOS で入力時に拡大されないよう SP は16px */
  line-height: 2;
  appearance: none;
  transition: border-color 280ms ease;
}

.p-form__input {
  block-size: 2.875rem;
}

.p-form__textarea {
  block-size: 13.875rem;
  padding-block: 4px;
  resize: vertical;
}

.p-form__input::placeholder,
.p-form__textarea::placeholder {
  color: var(--color-placeholder);
  opacity: 1;
}

.p-form__input:focus,
.p-form__textarea:focus {
  border-color: var(--color-blue);
  outline: 1px solid var(--color-blue);
  outline-offset: 0;
}

/* 電話番号・FAX */
.p-form__input--short {
  max-inline-size: 22.625rem;
}

/* 郵便番号・都道府県 */
.p-form__input--zip,
.p-form__input--pref {
  inline-size: 12rem;
}

/* ----------------------------------------
  ご住所（〒・都道府県 → 市区町村番地）
---------------------------------------- */
.p-form__address {
  display: grid;
  gap: 15px;
}

.p-form__address-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px 30px;
}

.p-form__zip,
.p-form__pref {
  display: flex;
  align-items: center;
}

.p-form__zip {
  gap: 10px;
}

.p-form__pref {
  gap: 15px;
}

.p-form__zip-mark {
  font-size: 1rem;
  line-height: 2;
}

.p-form__sublabel {
  font-size: 0.875rem;
  line-height: 2;
  white-space: nowrap;
}

/* ----------------------------------------
  同意チェック
---------------------------------------- */
.p-form__agree {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 40px;
  text-align: center;
}

.p-form__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
}

/* チェックボックス本体（21px・グレー枠）。チェック時は青地に白のチェック */
.p-form__checkbox-input {
  position: relative;
  flex-shrink: 0;
  inline-size: 21px;
  block-size: 21px;
  margin: 0;
  background-color: var(--color-white);
  border: 1px solid var(--color-text-gray);
  border-radius: 0;
  appearance: none;
  cursor: pointer;
  transition: background-color 280ms ease, border-color 280ms ease;
}

.p-form__checkbox-input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  inline-size: 6px;
  block-size: 10px;
  border-right: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  rotate: 45deg;
  opacity: 0;
}

.p-form__checkbox-input:checked {
  background-color: var(--color-blue);
  border-color: var(--color-blue);
}

.p-form__checkbox-input:checked::after {
  opacity: 1;
}

.p-form__checkbox-input:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

.p-form__checkbox-text {
  font-size: 0.875rem;
  line-height: 2;
  text-align: left;
}

.p-form__checkbox-link {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.p-form__note {
  font-size: 0.8125rem;
  line-height: 2;
}

/* ----------------------------------------
  送信ボタン（c-button c-button--fill c-button--auto c-button--arrow-right）
---------------------------------------- */
.p-form__submit {
  margin-top: 40px;
  text-align: center;
}

.p-form__button {
  letter-spacing: 0.2em;
  cursor: pointer;
}

/* 同意するまで押せない状態（js/script.js の .js-agree）。hover しても色・矢印を変えない */
.p-form__button:disabled,
.p-form__button:disabled:hover {
  color: var(--color-white);
  background-color: var(--color-gray);
  cursor: not-allowed;
}

.p-form__button:disabled:hover .c-button__icon {
  translate: none;
}

@media screen and (min-width: 768px) {
  .p-form__list {
    gap: 30px;
  }
  .p-form__row {
    grid-template-columns: 14.75rem minmax(0, 1fr);
    align-items: center;
    column-gap: 1.0625rem;
  }
  /* ご住所・お問い合わせ内容など入力欄が高い行は上ぞろえにし、
     項目名は1段目の入力欄（46px）の高さの中央に置く */
  .p-form__row--top {
    align-items: start;
  }
  .p-form__row--top .p-form__head {
    min-block-size: 2.875rem;
  }
  .p-form__head {
    justify-content: space-between;
    gap: 15px;
  }
  .p-form__label,
  .p-form__sublabel {
    font-size: 0.9375rem;
  }
  .p-form__input,
  .p-form__textarea {
    font-size: 0.9375rem;
  }
  .p-form__address {
    gap: 30px;
  }
  .p-form__address-top {
    column-gap: 47px;
  }
  .p-form__zip {
    gap: 17px;
    padding-left: 7px;
  }
  .p-form__pref {
    gap: 30px;
  }
  .p-form__agree,
  .p-form__submit {
    margin-top: 50px;
  }
  .p-form__checkbox-text,
  .p-form__note {
    font-size: 0.9375rem;
  }
  .p-form__button {
    min-inline-size: 16.25rem;
  }
}
@media (min-width: 768px) and (hover: hover) {
  .p-form__checkbox-link:hover {
    text-decoration: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-form__input,
  .p-form__textarea,
  .p-form__checkbox-input {
    transition: none;
  }
}
/* ========================================
  メールフォームプロが入力欄のまわりに追加するもの（このフォームの中だけに効かせる）
  ※付属の CSS（forms/mfp.statics/mailformpro.css）は読み込まない（functions.php）。
    確認画面・読み込み中・全体のエラーは _p-mfp.scss
  - div.mfp_err           … 入力欄の下（同じ親の最後）に追加されるエラー文。表示はJSが display: block にする
  - div.mfp_ok            … 入力欄のすぐ後ろに追加される「OK」（ok.js）。
                            正しく入力された必須項目だけ、JSが display: inline-block にする
  - 入力欄の .mfp_ok / .mfp_ng … 入力チェックの結果（okng.js）。div.mfp_ok と同じ名前なので、入力欄のクラスと組み合わせて指定する
  - 入力欄の .problem     … エラーのある入力欄
  ※入力欄の大きさは、config.cgi の sizeajustdisabled.js でJSの自動調整を止めている
    （止めないと size・cols・rows から計算した幅・高さが style に直接書き込まれ、textarea がとても小さくなる）
======================================== */
/* エラー文（文字サイズは項目名と同じ SP 14px / PC 15px） */
.p-form div.mfp_err {
  display: none;
  margin-top: 8px;
  color: var(--color-required);
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: left;
}

/* 「✓ OK」（初めは非表示） */
.p-form div.mfp_ok {
  display: none;
  margin-top: 8px;
  color: var(--color-blue);
  font-family: var(--font-family-en);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.p-form div.mfp_ok::before {
  content: "";
  display: inline-block;
  inline-size: 10px;
  block-size: 6px;
  margin-inline-end: 6px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  vertical-align: middle;
  translate: 0 -2px;
  rotate: -45deg;
}

/* 同意のチェックボックスには「OK」を出さない
   ※JSが display を style に直接書き込むため !important で打ち消す */
.p-form__checkbox div.mfp_ok {
  display: none !important;
}

/* 入力チェックの結果（.p-form__input の白い背景より優先する） */
.p-form__input.mfp_ok,
.p-form__textarea.mfp_ok {
  background-color: rgba(0, 255, 0, 0.2);
}

.p-form__input.mfp_ng,
.p-form__textarea.mfp_ng {
  background-color: rgba(255, 0, 0, 0.2);
}

/* エラーのある入力欄 */
.p-form__input.problem,
.p-form__textarea.problem {
  border-color: var(--color-required);
}

/* 横並びの中に追加されたエラー文・OK は、折り返して下の段に出す
   （〒・都道府県の行、同意のチェックボックス） */
.p-form__zip,
.p-form__pref,
.p-form__checkbox {
  flex-wrap: wrap;
}

.p-form__zip > div.mfp_err,
.p-form__zip > div.mfp_ok,
.p-form__pref > div.mfp_err,
.p-form__pref > div.mfp_ok,
.p-form__checkbox > div.mfp_err {
  flex-basis: 100%;
  margin-top: 0;
}

.p-form__checkbox > div.mfp_err {
  text-align: center;
}

@media screen and (min-width: 768px) {
  .p-form div.mfp_err {
    font-size: 0.9375rem;
  }
}
/* ========================================
  p-mfp（メールフォームプロが自動で作る要素）
  確認画面（オーバーレイ）・読み込み中・全体のエラー・隠し項目・郵便番号の候補・受付番号
  ※id・クラス名はメールフォームプロの決まり（変更できない）。
    付属の mailformpro.css は body など全体に効く指定があるため読み込まず、必要なものだけここで指定する。
    名前が決まっている要素（#mfp_overlay など）だけを対象にし、タグ（label・input など）は直接指定しない。
  ※入力欄まわり（エラー文・OK・入力チェックの色）は _p-form.scss
  ※確認画面は config.cgi の ConfirmationMode = 0（オーバーレイ）。
    #mfp_overlay・#mfp_overlay_background・#mfp_loading など は body の直下に追加され、
    位置・幅・高さ・表示はJSが style に直接書き込む。
  ※付属 CSS にある1行おきの色付け（.mfp_colored / .mfp_achroma）は指定しない
======================================== */
/* 送信に使う隠し項目（フォームの先頭に追加される） */
#mfp_hidden {
  overflow: hidden;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: 0;
}

/* ----------------------------------------
  確認画面（オーバーレイ）
---------------------------------------- */
#mfp_overlay_background {
  position: fixed;
  z-index: 10000;
  display: none;
  background-color: #000;
}

#mfp_overlay {
  position: absolute;
  z-index: 10001;
  display: none;
}

#mfp_overlay_inner {
  inline-size: min(800px, 100% - 32px);
  margin-inline: auto;
  padding: 32px 20px;
  color: var(--color-text);
  background-color: var(--color-white);
}

/* 「入力内容をご確認ください」（configs/lang.ja.js の ConfirmTitle） */
#mfp_overlay_inner h4 {
  margin-bottom: 20px;
  color: var(--color-blue);
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

/* 入力内容の一覧（SP：項目名の下に内容） */
#mfp_confirm_table {
  inline-size: 100%;
  margin-bottom: 28px;
  border-collapse: collapse;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  line-height: 1.8;
}

#mfp_confirm_table th,
#mfp_confirm_table td {
  display: block;
  text-align: left;
  word-break: break-all;
}

#mfp_confirm_table th {
  padding-top: 14px;
  font-weight: 500;
}

#mfp_confirm_table td {
  padding-block: 2px 14px;
  border-bottom: 1px solid var(--color-border);
}

/* 送信する・キャンセル（SP：送信を上に縦並び） */
#mfp_overlay .mfp_buttons {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 12px;
}

#mfp_button_send,
#mfp_button_cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 16.25rem;
  max-inline-size: 100%;
  block-size: 3.5rem;
  border-radius: 0;
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: background-color 280ms ease, color 280ms ease;
}

#mfp_button_send {
  color: var(--color-white);
  background-color: var(--color-blue);
  border: 1px solid var(--color-blue);
}

#mfp_button_cancel {
  color: var(--color-blue);
  background-color: var(--color-white);
  border: 1px solid var(--color-blue);
}

/* ----------------------------------------
  読み込み中
---------------------------------------- */
#mfp_loading_screen {
  position: fixed;
  z-index: 20000;
  display: none;
  background-color: #000;
  opacity: 0.6;
}

/* くるくる回る丸（付属の画像は使わない）。大きさ・位置はJSが指定（40px） */
#mfp_loading {
  position: fixed;
  z-index: 20001;
  display: none;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: p-mfp-spin 0.8s linear infinite;
}

@keyframes p-mfp-spin {
  to {
    rotate: 360deg;
  }
}
/* ----------------------------------------
  全体のエラー・警告（フォームの上に追加される）
---------------------------------------- */
#mfp_error,
#mfp_warning {
  display: none;
  margin-bottom: 24px;
  padding: 16px;
  color: var(--color-required);
  background-color: #fdf2f7;
  border: 1px solid var(--color-required);
  font-size: 0.875rem;
  line-height: 1.8;
  text-align: center;
}

/* フラット表示の確認画面用（ConfirmationMode = 0 では使わないが、要素は追加される） */
#mfp_phase_confirm {
  clear: both;
}

/* ----------------------------------------
  郵便番号から住所の候補（prefcode アドオン）
---------------------------------------- */
.p-form .prefcodeWrapper {
  position: relative;
}

.p-form .prefcodeResult {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: none;
  padding: 8px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  line-height: 1.8;
}

.p-form .prefcodeResult div {
  padding-inline: 8px;
  cursor: pointer;
}

.p-form .prefcodeResult div:hover {
  background-color: var(--color-bg-gray);
}

/* ----------------------------------------
  受付番号（送信完了ページ。thanks.js が追加する）
---------------------------------------- */
#mfp_thanks {
  margin-bottom: 40px;
  font-size: 1rem;
  line-height: 1.8;
  text-align: center;
}

#mfp_thanks strong {
  color: var(--color-blue);
  font-family: var(--font-family-en);
  font-size: 1.375rem;
  letter-spacing: 0.05em;
}

/* ========================================
  タブレット・PC（768px〜）
======================================== */
@media screen and (min-width: 768px) {
  #mfp_overlay_inner {
    padding: 56px;
  }
  #mfp_overlay_inner h4 {
    margin-bottom: 28px;
    font-size: 1.75rem;
  }
  /* 一覧：左に項目名（200px）、右に内容 */
  #mfp_confirm_table {
    margin-bottom: 40px;
    font-size: 0.9375rem;
  }
  #mfp_confirm_table tr {
    border-bottom: 1px solid var(--color-border);
  }
  #mfp_confirm_table th,
  #mfp_confirm_table td {
    display: table-cell;
    padding-block: 16px;
    vertical-align: top;
  }
  #mfp_confirm_table th {
    inline-size: 200px;
    padding-right: 24px;
  }
  #mfp_confirm_table td {
    border-bottom: 0;
  }
  #mfp_overlay .mfp_buttons {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }
  #mfp_thanks strong {
    font-size: 1.625rem;
  }
}
@media (min-width: 768px) and (hover: hover) {
  #mfp_button_send:hover {
    color: var(--color-white);
    background-color: var(--color-light-blue);
    border-color: var(--color-light-blue);
  }
  #mfp_button_cancel:hover {
    color: var(--color-white);
    background-color: var(--color-blue);
  }
}
@media (prefers-reduced-motion: reduce) {
  #mfp_button_send,
  #mfp_button_cancel {
    transition: none;
  }
  #mfp_loading {
    animation-duration: 2s;
  }
}
/* ========================================
  メッセージだけの簡易ページ（page-thanks.php / 404.php）
  ページヘッダーの導入文でメッセージを出し、その下にトップへ戻るボタン
  フッターまでの余白は他の下層ページと同じ SP60px / PC100px
======================================== */
.p-simple-page {
  padding-bottom: 60px;
}

.p-simple-page__inner {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.p-simple-page__button {
  text-align: center;
}

/* 導入文中のリンク（電話番号など） */
.p-simple-page .p-page-header__intro-text a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media screen and (min-width: 768px) {
  .p-simple-page {
    padding-bottom: 100px;
  }
}
/** utilities **/
.u-only__pc {
  display: none;
}

.u-only__sp {
  display: block;
}

@media screen and (min-width: 768px) {
  .u-only__pc {
    display: block;
  }
  .u-only__sp {
    display: none;
  }
}