@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* ============================================================
   KNOCKOUT from SIMA sports — Cocoon Child 追加CSS
   貼り付け先: 外観 > テーマファイルエディター > Cocoon Child の style.css
                または 外観 > カスタマイズ > 追加CSS
   サイトキーカラーは使わない（h2が塗り潰されるため）。
   ============================================================ */

:root {
  --ko-black: #111111;
  --ko-ink: #222222;
  --ko-paper: #f7f4ef;
  --ko-bg: #eae6de;
  --ko-crimson: #8B1E1E;
  --ko-crimson-deep: #6E1515;
  --ko-gold: #C9A227;
  --ko-gold-soft: #E8D48B;
  --ko-muted: #5C574F;
  --ko-line: #E6E0D6;
  --ko-white: #F5F0E8;
}

/* ---------- サイト背景・本文 ---------- */
body,
.body {
  background-color: var(--ko-bg);
}

.main {
  background-color: var(--ko-paper);
}

a {
  color: var(--ko-crimson);
}
a:hover {
  color: var(--ko-crimson-deep);
}

/* 見出し：灰色ボックスをやめて金の下線に（キーカラーは使わない） */
.article h2 {
  background-color: transparent;
  border-radius: 0;
  padding: 8px 0 10px;
  border-bottom: 2px solid var(--ko-gold);
  letter-spacing: 0.08em;
}

/* ---------- ヘッダー・ロゴ・ナビ（設定色の保険＋金ライン） ---------- */
#header-container,
#header-container-in,
#header,
.header,
#header-in,
.navi,
#navi,
#navi-in {
  background-color: var(--ko-black) !important;
}

#header .site-name-text,
#header .site-name-text-link,
#header .site-name-text-link:hover,
#header .tagline,
#navi .navi-in a,
#navi .item-label {
  color: var(--ko-white) !important;
}

#header .site-name-text {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* キャッチフレーズ「プロレスマスク工房」 */
#header .tagline {
  color: var(--ko-gold-soft) !important;
  font-size: 12px;
  letter-spacing: 0.22em;
  margin: 4px 0 10px;
}

/* ナビ下の金ライン */
#navi,
.navi {
  border-bottom: 2px solid var(--ko-gold);
}

#navi .navi-in a:hover,
#navi .navi-in a:hover .item-label {
  color: var(--ko-gold-soft) !important;
}

#navi .current-menu-item > a,
#navi .current_page_item > a {
  box-shadow: inset 0 -2px 0 var(--ko-gold);
}
#navi .current-menu-item > a .item-label,
#navi .current_page_item > a .item-label {
  color: var(--ko-gold-soft) !important;
}

/* ---------- アピールエリア（ヒーロー） ---------- */
/* テーマ既定は background-size: 100% auto。カバーにして顔を大きく。 */
#appeal.appeal,
.appeal {
  position: relative;
  background-color: #000;
  background-size: cover !important;
  background-position: center 28% !important;
  background-repeat: no-repeat !important;
}

.appeal-in {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 20px 48px;
  box-sizing: border-box;
}

/* 下方向の暗幕（テキスト可読性） */
.appeal-in::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.18) 45%,
    rgba(0, 0, 0, 0.28) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* 既定の白い半透明ボックスを外し、オーバーレイテキストに */
.appeal-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background-color: transparent;
  border-radius: 0;
  text-align: center;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.appeal-title {
  flex: 0 0 100%;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

/* メッセージ内の要素をヒーローのフレックスに乗せる */
.appeal-message {
  display: contents;
}

.appeal-lead {
  flex: 0 0 100%;
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.7;
  color: #f0ebe3;
}

/* 公式ボタン（使う場合）を金ボタンの右に来る前に並べる */
.appeal-content > .appeal-button {
  order: 2;
}
.appeal-button-ghost {
  order: 3;
}

.appeal-content .appeal-button,
a.appeal-button {
  display: inline-block;
  padding: 12px 22px;
  margin: 0;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  color: #1a1400 !important;
  background-color: var(--ko-gold);
  border: 1px solid var(--ko-gold);
  opacity: 1;
}

.appeal-content .appeal-button:hover,
a.appeal-button:hover {
  background-color: var(--ko-gold-soft);
  border-color: var(--ko-gold-soft);
  color: #1a1400 !important;
  opacity: 1;
}

a.appeal-button-ghost {
  color: #fff !important;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

a.appeal-button-ghost:hover {
  color: var(--ko-gold-soft) !important;
  background-color: transparent;
  border-color: var(--ko-gold-soft);
}

/* モバイル：Cocoonはアピールの「高さ」を無効化するため上書き */
@media screen and (max-width: 834px) {
  .appeal-in {
    min-height: 420px !important;
    padding: 0 16px 28px;
  }
  .appeal-title {
    font-size: 26px;
  }
  #header .site-name-text {
    font-size: 18px;
    letter-spacing: 0.03em;
  }
}

@media screen and (max-width: 480px) {
  .appeal-in {
    min-height: 380px !important;
  }
}

/* ---------- ホーム：リード・製作例グリッド・CTA ---------- */
.ko-lead {
  text-align: center;
  font-size: 1.05em;
  max-width: 38em;
  margin: 0 auto 2em;
}

.ko-sec-title {
  text-align: center;
  letter-spacing: 0.14em;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
.ko-sec-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--ko-gold);
  margin: 10px auto 0;
}
.ko-sec-desc {
  text-align: center;
  color: var(--ko-muted);
  margin-bottom: 1.2em;
}

.ko-featured-grid,
.entry-content .ko-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 1em 0 1.2em;
}

.ko-featured-grid figure,
.ko-works-grid figure {
  margin: 0;
}

.ko-featured-grid figcaption,
.ko-works-grid figcaption {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 6px;
  text-align: center;
  color: #444;
}

/* 製作例ページ：旧インライン grid（差し替え前の保険） */
.entry-content div[style*="minmax(150px"] {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 16px !important;
}

.entry-content .ko-works-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.ko-more {
  text-align: center;
  margin: 1.2em 0 2.4em;
}

.ko-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 1em;
}

.ko-cta {
  border: 1px solid var(--ko-line);
  background: #fff;
  padding: 28px 24px;
  text-align: center;
}

.ko-cta-title {
  font-size: 16px;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin: 0 0 8px;
  padding: 0;
  border: none !important;
  background: none !important;
}

.ko-cta p {
  font-size: 14px;
  color: var(--ko-muted);
  margin: 0 0 16px;
}

.ko-btn {
  display: inline-block;
  padding: 10px 20px;
  margin: 4px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none !important;
}

.ko-btn-line {
  border: 1px solid var(--ko-crimson);
  color: var(--ko-crimson) !important;
  background: #fff;
}
.ko-btn-line:hover {
  background: var(--ko-crimson);
  color: #fff !important;
}

.ko-btn-red {
  background: var(--ko-crimson);
  color: #fff !important;
  border: 1px solid var(--ko-crimson);
}
.ko-btn-red:hover {
  background: var(--ko-crimson-deep);
  border-color: var(--ko-crimson-deep);
  color: #fff !important;
}

@media screen and (max-width: 800px) {
  .ko-cta-row {
    grid-template-columns: 1fr;
  }
  .ko-featured-grid,
  .entry-content .ko-works-grid,
  .entry-content div[style*="minmax(150px"] {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
  }
}

/* ---------- プロフィール写真 ---------- */
.ko-profile-photo {
  margin: 0 auto 1.5em;
  max-width: 420px;
}
.ko-profile-photo img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}
.ko-profile-photo figcaption {
  font-size: 12px;
  text-align: center;
  margin-top: 6px;
  color: var(--ko-muted);
}

/* ---------- フッター ---------- */
#footer,
.footer,
.footer-container,
.footer-bottom {
  background-color: var(--ko-black) !important;
  color: #bbb;
}

#footer a,
.footer a,
.footer-bottom a,
.navi-footer-in a {
  color: #bbb !important;
}
#footer a:hover,
.footer a:hover,
.footer-bottom a:hover,
.navi-footer-in a:hover {
  color: var(--ko-gold-soft) !important;
}

.footer .site-name-text,
.footer-bottom .site-name-text,
.footer .copyright,
.footer-bottom .copyright,
.source-org.copyright {
  color: var(--ko-white);
}

/* ---------- フロントのページタイトル／アイキャッチを隠す ---------- */
.front-top-page .article-header .entry-title,
.home.page .article-header .entry-title,
.front-top-page .eye-catch,
.home.page .eye-catch {
  display: none !important;
}

/* ---------- 投稿日・更新日・投稿者（設定オフの保険） ---------- */
.page .date-tags,
.page .post-date,
.page .post-update,
.page .post-author,
.page .author-info,
.page .footer-meta {
  display: none !important;
}

/* ---------- SNSシェア／フォロー（設定オフの保険） ---------- */
.sns-share,
.sns-follow {
  display: none !important;
}

/* ---------- モバイル下部メニュー ---------- */
.mobile-menu-buttons,
.mobile-footer-menu-buttons {
  background-color: var(--ko-black) !important;
  border-top: 1px solid #2a2a2a;
}
.mobile-menu-buttons .menu-button,
.mobile-menu-buttons a,
.mobile-footer-menu-buttons .menu-button,
.mobile-footer-menu-buttons a,
.mobile-menu-buttons .menu-caption,
.mobile-footer-menu-buttons .menu-caption {
  color: var(--ko-white) !important;
}

/* スライドインメニュー */
#navi-menu-content,
.navi-menu-content {
  background-color: var(--ko-black);
}
#navi-menu-content a,
.navi-menu-content a {
  color: var(--ko-white) !important;
}

/* ホーム製作例：デスクトップ4列×2行、モバイル2列 */
.entry-content .ko-featured-grid,
.ko-featured-grid {
  grid-template-columns: repeat(4, 1fr) !important;
}
@media screen and (max-width: 600px) {
  .entry-content .ko-featured-grid,
  .ko-featured-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
/* 追加分: ヒーローの2ボタンをデスクトップで横並びにする。
   原因: wpautop が2つの <a class="appeal-button"> を1つの <p> に入れ、間に <br> を挿入している。
   既存 child.css の .appeal-message { display: contents } のあとに追記する。
   ゴーストボタンの特異性も修正（これまで金ボタン規則のほうが勝っていた）。 */

#appeal .appeal-message {
  display: flex !important;
  flex: 0 0 100%;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
}

#appeal .appeal-message .appeal-lead {
  flex: 0 0 100%;
  width: 100%;
  margin: 0 0 8px;
  text-align: center;
}

#appeal .appeal-message > p:not(.appeal-lead) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
}

#appeal .appeal-message > p:not(.appeal-lead) br {
  display: none;
}

#appeal .appeal-content a.appeal-button {
  display: inline-block !important;
  flex: 0 0 auto;
  margin: 0;
}

#appeal .appeal-content a.appeal-button.appeal-button-ghost {
  color: #fff !important;
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

#appeal .appeal-content a.appeal-button.appeal-button-ghost:hover {
  color: #E8D48B !important;
  background-color: transparent !important;
  border-color: #E8D48B;
}


/* ============================================================
   プロフィール（固定ページ 18）用の追加CSS
   child.css の末尾に追記する。すべて body.page-id-18 に限定。
   ============================================================ */

body.page-id-18,
body.page-id-18 .container,
body.page-id-18 .content,
body.page-id-18 .content-in,
body.page-id-18 .column-wrap {
  background-color: #111111 !important;
}

body.page-id-18 .main {
  background-color: #111111 !important;
  color: #f5f0e8;
  border: none;
  overflow: visible;
  padding: 0 !important;
}

body.page-id-18 .article-header,
body.page-id-18 .entry-title,
body.page-id-18 .breadcrumb,
body.page-id-18 .article-footer,
body.page-id-18 .footer-meta {
  display: none !important;
}

body.page-id-18 .entry-content {
  margin: 0;
  padding: 0;
}

body.page-id-18 .entry-content a {
  color: #e8d48b;
}
body.page-id-18 .entry-content a:hover {
  color: #c9a227;
}

/* ヒーローは画面幅いっぱい（ホームのアピールエリアと同じ）
   バナーは 16:9（KNOCKOUT 刺繍が中央・欠けなし）。 */
body.page-id-18 .ko-profile-hero {
  position: relative;
  left: 50%;
  right: auto;
  width: 100vw;
  max-width: 100vw;
  margin: 0 0 0 -50vw;
  height: 720px;
  overflow: hidden;
  background: #111;
  border-bottom: 2px solid #c9a227;
}

body.page-id-18 .ko-profile-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

body.page-id-18 .ko-profile-hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  text-align: center;
  padding: 90px 20px 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.28) 55%, transparent 100%);
  color: #fff;
}

body.page-id-18 .ko-profile-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: #e8d48b;
}

body.page-id-18 .ko-profile-en {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.36em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

body.page-id-18 .ko-profile-jp {
  margin: 6px 0 0;
  padding: 0;
  border: none !important;
  background: none !important;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

body.page-id-18 .ko-profile-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 28px 64px;
  font-size: 17px;
  line-height: 1.9;
}

body.page-id-18 .ko-profile-body p {
  margin: 0 0 1.2em;
}

/* 系譜 */
body.page-id-18 .ko-lineage {
  list-style: none;
  margin: 2.4em 0 2.8em;
  padding: 28px 12px 24px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
}

body.page-id-18 .ko-lineage > li {
  flex: 1 1 0;
  position: relative;
  text-align: center;
  padding: 0 16px;
  margin: 0;
}

body.page-id-18 .ko-lineage > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.85em;
  right: -10px;
  width: 20px;
  height: 20px;
  border-top: 1px solid #c9a227;
  border-right: 1px solid #c9a227;
  transform: rotate(45deg);
}

body.page-id-18 .ko-lineage-name {
  display: block;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f5f0e8;
  line-height: 1.5;
}

body.page-id-18 .ko-lineage-note {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: #b8b0a4;
}

body.page-id-18 .ko-profile-works-title {
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin: 0 0 8px;
  padding: 0;
  border: none !important;
  background: none !important;
  color: #f5f0e8;
}

body.page-id-18 .ko-profile-works-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: #c9a227;
  margin: 10px auto 0;
}

body.page-id-18 .ko-profile-sec-lead {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.6;
  color: #f5f0e8;
  margin: 14px 0 1.4em !important;
}

/* 納品実績：横長の工房写真＋下に2枚（デスクトップは欠け行なし） */
body.page-id-18 .ko-profile-delivery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 3em;
}

body.page-id-18 .ko-profile-delivery-lead {
  grid-column: 1 / -1;
}

body.page-id-18 .ko-profile-works {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 1.4em 0 14px;
}

/* 製作例の追加2点：横長の3種＋縦位置のヤギリで1行を埋める */
body.page-id-18 .ko-profile-works-feature {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  margin: 0 0 2em;
  align-items: start;
}

body.page-id-18 .ko-profile-works figure,
body.page-id-18 .ko-profile-works-feature figure,
body.page-id-18 .ko-profile-delivery figure {
  margin: 0;
}

body.page-id-18 .ko-profile-works a,
body.page-id-18 .ko-profile-works-feature a,
body.page-id-18 .ko-profile-delivery a {
  display: block;
  text-decoration: none;
  color: inherit;
}

body.page-id-18 .ko-profile-works img,
body.page-id-18 .ko-profile-works-feature img,
body.page-id-18 .ko-profile-delivery img {
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

body.page-id-18 .ko-profile-works img {
  aspect-ratio: 1/1;
  object-position: center 28%;
}

body.page-id-18 .ko-profile-delivery-lead img {
  aspect-ratio: 4/3;
  object-position: center 45%;
}

body.page-id-18 .ko-profile-delivery figure:not(.ko-profile-delivery-lead) img {
  aspect-ratio: 1/1;
  object-position: center 42%;
}

body.page-id-18 .ko-feature-wide img {
  aspect-ratio: 3/2;
  object-position: center 35%;
}

body.page-id-18 .ko-feature-tall img {
  aspect-ratio: 3/4;
  object-position: center 40%;
}

body.page-id-18 .ko-profile-works a:hover img,
body.page-id-18 .ko-profile-works-feature a:hover img,
body.page-id-18 .ko-profile-delivery a:hover img {
  transform: scale(1.03);
  opacity: 0.9;
}

body.page-id-18 .ko-profile-works figcaption,
body.page-id-18 .ko-profile-works-feature figcaption,
body.page-id-18 .ko-profile-delivery figcaption {
  font-size: 11px;
  line-height: 1.5;
  margin-top: 6px;
  text-align: center;
  color: #b8b0a4;
}

body.page-id-18 .ko-profile-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 8px 0 28px;
}

body.page-id-18 .ko-btn-gold,
body.page-id-18 .ko-btn-ghost {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none !important;
}

body.page-id-18 .ko-btn-gold {
  background: #c9a227;
  color: #1a1400 !important;
  border: 1px solid #c9a227;
}

body.page-id-18 .ko-btn-gold:hover {
  background: #e8d48b;
  border-color: #e8d48b;
  color: #1a1400 !important;
}

body.page-id-18 .ko-btn-ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

body.page-id-18 .ko-btn-ghost:hover {
  color: #e8d48b !important;
  border-color: #e8d48b;
}

body.page-id-18 .ko-profile-mercari {
  text-align: center;
  font-size: 14px;
  color: #b8b0a4;
  margin: 0 !important;
}

@media screen and (max-width: 834px) {
  /* 4:5 にして刺繍帯の下に見出しを置く。左右は少し切れるが文字は欠けない。 */
  body.page-id-18 .ko-profile-hero {
    height: auto;
    aspect-ratio: 4 / 5;
    min-height: 440px;
    max-height: 540px;
  }
  body.page-id-18 .ko-profile-jp {
    font-size: 26px;
  }
  body.page-id-18 .ko-profile-hero-copy {
    padding: 64px 16px 28px;
  }
  body.page-id-18 .ko-profile-body {
    padding: 36px 20px 56px;
  }
  body.page-id-18 .ko-profile-sec-lead {
    font-size: 18px;
  }
  body.page-id-18 .ko-lineage {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 12px;
  }
  body.page-id-18 .ko-lineage > li {
    flex: 0 0 auto;
    padding: 0 8px 22px;
  }
  body.page-id-18 .ko-lineage > li:not(:last-child)::after {
    top: auto;
    bottom: 2px;
    right: auto;
    left: 50%;
    margin-left: -6px;
    width: 12px;
    height: 12px;
    transform: rotate(135deg);
  }
  body.page-id-18 .ko-profile-works {
    grid-template-columns: repeat(2, 1fr);
  }
  body.page-id-18 .ko-profile-works-feature {
    grid-template-columns: 1fr;
  }
  body.page-id-18 .ko-feature-tall img {
    aspect-ratio: 4/5;
    object-position: center 38%;
  }
}

/* order page machines */
.ko-tools{margin:2em 0}
.ko-tools-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ko-tools-grid figure{margin:0}
.ko-tools-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;border-radius:4px}
.ko-tools-grid figcaption{text-align:center;font-size:.9em;margin-top:.5em;color:#333}
@media (max-width:600px){.ko-tools-grid{grid-template-columns:1fr}}
/* order page banner */
body.page-id-16 .article-header,
body.page-id-16 .entry-title,
body.page-id-16 .breadcrumb {
  display: none !important;
}
body.page-id-16 .main {
  padding-top: 0 !important;
  overflow: visible;
}
body.page-id-16 .ko-order-hero {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin: 0 0 40px -50vw;
  height: 480px;
  overflow: hidden;
  background: #111;
  border-bottom: 2px solid #c9a227;
}
body.page-id-16 .ko-order-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  display: block;
  border-radius: 0;
}
body.page-id-16 .ko-order-hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  text-align: center;
  padding: 90px 20px 36px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.28) 55%, transparent 100%);
  color: #fff;
}
body.page-id-16 .ko-order-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: #e8d48b;
}
body.page-id-16 .ko-order-en {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.36em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
body.page-id-16 .ko-order-jp {
  margin: 6px 0 0;
  padding: 0;
  border: none !important;
  background: none !important;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}
@media screen and (max-width: 834px) {
  body.page-id-16 .ko-order-hero {
    height: 340px;
    margin-bottom: 28px;
  }
  body.page-id-16 .ko-order-jp {
    font-size: 26px;
  }
  body.page-id-16 .ko-order-hero-copy {
    padding: 64px 16px 24px;
  }
}
/* order banner tweak */
body.page-id-16 .ko-order-hero {
  height: 640px;
}
body.page-id-16 .ko-order-hero-img {
  object-position: 55% 30%;
}
@media screen and (max-width: 834px) {
  body.page-id-16 .ko-order-hero {
    height: 360px;
  }
  body.page-id-16 .ko-order-hero-img {
    object-position: 40% 35%;
  }
}
/* mobile-only line break */
.ko-sp-br{display:none}
@media (max-width:600px){.ko-sp-br{display:inline}}
