@charset "UTF-8";

/* ==========================================================================
   下層ページ（お知らせ一覧・詳細／お問い合わせ）シンプル版
   style.css → simple.css の上に重ねて読み込む
   ========================================================================== */

/* --- ページ見出し --- */
.pg-hero {
  padding: 24px 0 88px;
  border-bottom: 1px solid var(--s-line);
  background: var(--s-gray);
}

.pg-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 72px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--s-sub);
}

.pg-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
}

.pg-breadcrumb a {
  color: var(--s-text);
}

.pg-breadcrumb a:first-child {
  font-family: var(--font-en);
  font-weight: 600;
}

.pg-hero__en {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--s-sub);
}

.pg-hero__title {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.pg-hero__lead {
  margin-top: 24px;
  font-size: 16px;
  line-height: 2;
  color: var(--s-body);
}

.pg-section {
  padding-block: 96px 120px;
}

/* 制作メモ（公開前に削除） */
.pg-devnote {
  max-width: 880px;
  margin: 56px auto 0;
  padding: 14px 18px;
  border: 1px dashed #c9a400;
  background: #fffbea;
  font-size: 13px;
  line-height: 1.8;
}

.pg-devnote::before {
  content: "制作メモ（公開前に削除）";
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #9a7400;
}

/* ==========================================================================
   お知らせ一覧
   トップの .topics（カテゴリ切り替え・カード）をそのまま使い、見出しだけ外す
   ========================================================================== */
.page-news .topics {
  padding: 96px 0 120px;
  background: #fff;
}

/* アイキャッチ画像がない記事の仮枠 */
.topic-card__image--placeholder {
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(-45deg, #f0f0f0 0 10px, #f7f7f7 10px 20px);
  color: #999;
  font-size: 12px;
}

/* ページ送り */
.pg-pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 64px;
}

.pg-pager a,
.pg-pager span {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--s-line);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 600;
  color: var(--s-text);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.pg-pager a:hover {
  border-color: var(--s-text);
}

.pg-pager [aria-current="page"] {
  border-color: var(--s-text);
  background: var(--s-text);
  color: #fff;
}

/* ==========================================================================
   お知らせ詳細
   ========================================================================== */
.pg-article {
  max-width: 880px;
  margin-inline: auto;
}

.pg-article__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.pg-article__cat {
  padding: 4px 12px;
  border: 1px solid var(--color-main);
  color: var(--color-main);
  font-size: 12px;
  font-weight: 500;
}

.pg-article__meta time {
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 500;
  color: var(--s-sub);
}

.pg-article__brand {
  margin-top: 28px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--s-body);
}

.pg-article__title {
  margin-top: 8px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--s-text);
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.pg-article__image {
  margin: 48px 0 0;
}

.pg-article__image img {
  width: 100%;
  height: auto;
  border: 1px solid var(--s-line);
}

.pg-article__body {
  margin-top: 48px;
}

.pg-article__body p {
  font-size: 16px;
  line-height: 2.2;
  color: var(--s-body);
}

.pg-article__body p + p {
  margin-top: 1.4em;
}

.pg-article__info {
  margin: 64px 0 0;
  border-top: 1px solid var(--s-line);
}

.pg-article__info > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  border-bottom: 1px solid var(--s-line);
}

.pg-article__info dt,
.pg-article__info dd {
  padding: 20px 8px;
  font-size: 15px;
}

.pg-article__info dt {
  font-weight: 500;
}

.pg-article__info dd {
  margin: 0;
  color: var(--s-body);
}

/* 線のボタン（一覧へ戻る・送信） */
.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 300px;
  height: 64px;
  padding: 0 32px;
  border: 1px solid var(--s-text);
  background: transparent;
  color: var(--s-text);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}

.pg-btn:hover {
  background: var(--s-text);
  color: #fff;
}

.pg-btn--back::before {
  content: "";
  width: 7px;
  height: 7px;
  border-bottom: 1px solid currentColor;
  border-left: 1px solid currentColor;
  transform: rotate(45deg);
}

.pg-btn--next::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.pg-article__back {
  margin-top: 72px;
  text-align: center;
}

/* ==========================================================================
   お問い合わせ
   ========================================================================== */
.pg-form {
  max-width: 960px;
  margin-inline: auto;
}

.pg-form__intro {
  margin-bottom: 48px;
  font-size: 16px;
  line-height: 2;
  color: var(--s-body);
  text-align: center;
}

.pg-form__list {
  margin: 0;
  border-top: 1px solid var(--s-text);
}

.pg-form__row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--s-line);
}

.pg-form__row dt {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
  font-size: 15px;
  font-weight: 500;
}

.pg-form__row dd {
  margin: 0;
}

.pg-require,
.pg-optional {
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.pg-require {
  background: var(--s-text);
  color: #fff;
}

.pg-optional {
  border: 1px solid var(--s-line);
  color: var(--s-sub);
}

.pg-form__name {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pg-input,
.pg-select,
.pg-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ccc;
  background: #fff;
  color: var(--s-text);
  font: inherit;
  font-size: 16px; /* iOS で拡大されないよう16px以上 */
  line-height: 1.6;
  transition: border-color 0.2s;
}

.pg-input:focus,
.pg-select:focus,
.pg-textarea:focus {
  border-color: var(--s-text);
  outline: none;
}

.pg-input::placeholder,
.pg-textarea::placeholder {
  color: #aaa;
}

.pg-select {
  padding-right: 44px;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--s-text) 50%) calc(100% - 22px) 52% / 6px 6px no-repeat,
    linear-gradient(-45deg, transparent 50%, var(--s-text) 50%) calc(100% - 16px) 52% / 6px 6px no-repeat,
    #fff;
}

.pg-textarea {
  min-height: 220px;
  resize: vertical;
}

/* 未入力・形式エラー（送信を試みたあとだけ表示） */
.pg-form.is-validated :is(.pg-input, .pg-select, .pg-textarea):invalid {
  border-color: #c0392b;
  background-color: #fff8f7;
}

.pg-policy {
  margin-top: 56px;
  padding: 40px 44px;
  background: var(--s-gray);
}

.pg-policy__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.pg-policy__text {
  margin-top: 16px;
  font-size: 14px;
  line-height: 2;
  color: var(--s-body);
}

.pg-policy__text a {
  color: var(--s-text);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pg-policy__text .pg-line {
  background: linear-gradient(transparent 70%, #e9e9e9 70%);
}

.pg-agree {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.pg-agree input {
  width: 20px;
  height: 20px;
  accent-color: var(--s-text);
}

.pg-form.is-validated .pg-agree input:invalid + span {
  color: #c0392b;
}

.pg-form__submit {
  margin-top: 48px;
  text-align: center;
}

.pg-form__message {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

.pg-form__message.is-error {
  color: #c0392b;
}

/* ==========================================================================
   Tablet / Smartphone
   ========================================================================== */
@media (max-width: 1024px) {
  .pg-form__row {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .pg-hero {
    padding-bottom: 56px;
  }

  .pg-breadcrumb ol {
    margin-bottom: 48px;
    font-size: 12px;
  }

  .pg-hero__title {
    font-size: 36px;
  }

  .pg-hero__lead {
    font-size: 15px;
  }

  .pg-section,
  .page-news .topics {
    padding-block: 56px 80px;
  }

  .pg-article__title {
    font-size: 24px;
    padding-bottom: 24px;
  }

  .pg-article__image,
  .pg-article__body {
    margin-top: 32px;
  }

  .pg-article__body p {
    font-size: 15px;
  }

  .pg-article__info > div {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .pg-btn {
    width: 100%;
    min-width: 0;
    height: 56px;
  }

  .pg-form__intro {
    margin-bottom: 32px;
    font-size: 15px;
    text-align: left;
  }

  .pg-form__row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 0;
  }

  .pg-form__row dt {
    padding-top: 0;
  }

  .pg-policy {
    margin-top: 40px;
    padding: 28px 22px;
  }

  .pg-pager {
    margin-top: 48px;
  }
}

/* ==========================================================================
   プライバシーポリシー
   ========================================================================== */
.pg-policy-doc {
  max-width: 880px;
  margin-inline: auto;
}

.pg-policy-doc p {
  font-size: 15px;
  line-height: 2.1;
  color: var(--s-body);
}

.pg-policy-doc p + p {
  margin-top: 1em;
}

.pg-policy-doc a {
  color: var(--s-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}

.pg-policy-doc__title {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--s-text);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.pg-policy-sec {
  margin-top: 56px;
}

.pg-policy-sec__title {
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 2px solid var(--s-text);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.pg-policy-list {
  margin: 16px 0;
  padding: 24px 28px;
  list-style: none;
  background: var(--s-gray);
}

.pg-policy-list li {
  position: relative;
  padding-left: 1.2em;
  font-size: 15px;
  line-height: 1.9;
  color: var(--s-body);
}

.pg-policy-list li + li {
  margin-top: 6px;
}

.pg-policy-list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.pg-policy-contact {
  margin: 20px 0 0;
  padding: 24px 28px;
  border: 1px solid var(--s-line);
}

.pg-policy-contact dt {
  font-size: 15px;
  font-weight: 500;
}

.pg-policy-contact dd {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--s-body);
}

.pg-policy-end {
  margin-top: 56px;
  text-align: right;
}

@media (max-width: 767px) {
  .page-privacy .pg-hero__title {
    font-size: 28px;
    letter-spacing: 0.08em;
  }

  .pg-policy-doc__title {
    font-size: 22px;
  }

  .pg-policy-sec {
    margin-top: 44px;
  }

  .pg-policy-sec__title {
    font-size: 18px;
  }

  .pg-policy-list,
  .pg-policy-contact {
    padding: 20px;
  }

  .pg-policy-doc p,
  .pg-policy-list li {
    font-size: 14px;
  }
}

/* ==========================================================================
   WordPress版：MW WP Form が出力する部品
   （HTML版では使わない。フォームの中身は wp-theme/.../mwform/contact-form-25.html）
   ========================================================================== */
.mw_wp_form .pg-agree .mwform-checkbox-field label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.mw_wp_form .pg-agree .mwform-checkbox-field input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--s-text);
}

.mw_wp_form .pg-form__name > span {
  display: block;
  min-width: 0;
}

.mw_wp_form .error {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #c0392b;
}

.mw_wp_form .pg-form__submit {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* 確認画面：入力欄の代わりに入力内容を表示 */
.mw_wp_form_confirm .pg-form__row dd {
  padding-top: 12px;
  font-size: 16px;
  line-height: 1.8;
  word-break: break-all;
}

.mw_wp_form_confirm .pg-form__name {
  display: block;
}

.mw_wp_form_confirm .pg-form__name > span {
  display: inline;
  margin-right: 0.5em;
}

.mw_wp_form_confirm .pg-policy {
  display: none;
}

/* 完了画面：MW WP Form の完了メッセージ */
.mw_wp_form_complete {
  max-width: 880px;
  margin-inline: auto;
  font-size: 16px;
  line-height: 2;
  text-align: center;
}

/* ==========================================================================
   ブランド一覧（/brand/）
   トップの .brands（緑の背景・ブランドカード）をそのまま使う
   ========================================================================== */
.brands--page {
  margin-top: -40px; /* 見出しの下に少し重ねて、角丸の背景を見せる */
}

.brands__more {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.pg-partner {
  max-width: 880px;
  margin-inline: auto;
  padding: 56px 48px;
  border-radius: 16px;
  background: var(--s-gray);
  text-align: center;
}

.pg-partner__title {
  margin-top: 16px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.pg-partner__text {
  margin: 20px 0 32px;
  font-size: 16px;
  line-height: 2;
  color: var(--s-body);
}

@media (max-width: 767px) {
  .brands--page {
    margin-top: -24px;
  }

  .pg-partner {
    padding: 40px 22px;
  }

  .pg-partner__title {
    font-size: 22px;
  }

  .pg-partner__text {
    font-size: 15px;
    text-align: left;
  }
}

/* ==========================================================================
   お知らせ詳細：WordPress の本文（既存記事の画像・見出し・リストなど）
   ========================================================================== */
.pg-article__content > * + * {
  margin-top: 1.4em;
}

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

.pg-article__content h2,
.pg-article__content h3,
.pg-article__content h4 {
  font-weight: 700;
  line-height: 1.6;
  color: var(--s-text);
}

.pg-article__content h2 {
  font-size: 22px;
}

.pg-article__content h3,
.pg-article__content h4 {
  font-size: 18px;
}

.pg-article__content ul,
.pg-article__content ol {
  padding-left: 1.5em;
  font-size: 16px;
  line-height: 2;
  color: var(--s-body);
}

.pg-article__content ul {
  list-style: disc;
}

.pg-article__content ol {
  list-style: decimal;
}

.pg-article__content a,
.pg-article__info dd a {
  color: var(--color-main);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pg-article__content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.pg-article__content th,
.pg-article__content td {
  padding: 10px 12px;
  border: 1px solid var(--s-line);
  text-align: left;
}

a.pg-article__cat {
  transition: background-color 0.2s, color 0.2s;
}

a.pg-article__cat:hover {
  background: var(--color-main);
  color: #fff;
}

/* お知らせ一覧：カテゴリのタブをリンクで出す（WordPress版） */
a.topics__tab {
  display: block;
}
