@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
*/

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

/************************************
■フォント設定
************************************/
.body, body {
  font-family: "Yu Mincho", "MS Mincho", "MS 明朝", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", serif;
}

.article p {
  font-family: "Yu Mincho", "MS Mincho", "MS 明朝", serif;
  letter-spacing: 1.8px;
}






/* =============================================
 * カテゴリーナビ (category-nav) 決定版
 * ============================================= */

/* 1. ナビ全体の配置と境界線（下線） */
.category-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;    /* リンク同士の間隔 */
    margin: 20px 0 40px 0 !important;
    padding-bottom: 15px !important; /* 線と文字の間の余白 */
    border-bottom: 1px solid #ddd !important; /* 下に引く細いグレーの線 */
    justify-content: flex-start !important;
}

/* 2. 通常時のリンク文字（黒 #333） */
.category-nav a {
    color: #333 !important;      /* 指定の黒系 */
    font-family: 'Times New Roman', serif !important;
    font-size: 15px !important;
    text-decoration: none !important;
    letter-spacing: 0.15em !important;
    display: inline-block !important;
    text-transform: uppercase !important;
    transition: color 0.3s ease !important; /* 色変化をふわっとさせる */
}

/* 3. マウスを乗せた時の色（ゴールド #a38d6d） */
.category-nav a:hover {
    color: #a38d6d !important;   /* ロゴと同じゴールド */
}

/* 4. スマホ対応（2列に折り返し） */
@media screen and (max-width: 768px) {
    .category-nav {
        gap: 15px 20px !important;
        padding-bottom: 10px !important;
    }
    .category-nav a {
        font-size: 13px !important;
    }
}

/* =============================================
 * カテゴリーリンク（DRESSの下の文字）を横並びにする
 * ============================================= */

/* 4. アイキャッチ：3:4比率 & 枠内拡大演出 */
.entry-card-thumb img {
    aspect-ratio: 3 / 4 !important;
    object-fit: contain !important;
    background-color: #fff !important;
    transition: transform 0.6s ease !important;
}

.entry-card-thumb {
    overflow: hidden !important;
}

a.entry-card-wrap:hover img {
    transform: scale(1.1) !important;
}

.category-description ul {
    display: flex !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 15px 0 40px 0 !important;
    justify-content: flex-end !important; /* 左寄せ（右寄せならflex-end） */
    gap: 25px; /* 文字同士の間隔 */
}

.category-description ul li {
    margin: 0 !important;
}

.category-description ul li a {
    font-family: 'Times New Roman', serif !important;
    font-size: 15px !important;
    text-decoration: none !important;
    letter-spacing: 0.1em;
    color: #337ab7 !important; /* 青いリンク色を維持 */
}

/* =============================================
 * 【スマホ】衣装一覧を2列にする設定
 * ============================================= */
@media screen and (max-width: 768px) {
    /* 親要素をフレックスボックスにして横並びを許可 */
    .entry-cards.list {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
    }

    /* 1つのカード幅を半分弱（2列）にする */
    .entry-card-wrap {
        width: 48% !important; 
        margin: 0 0 20px 0 !important;
    }

    /* タイトル文字を少し小さくして右寄せ */
    .entry-card-title {
        font-size: 13px !important;
        text-align: right !important;
    }
    
    /* カテゴリーリンクの間隔をスマホ用に狭める */
    .category-description ul {
        gap: 15px;
    }
}


/* =============================================
 * 文字右に寄せる
 * ============================================= */
/* カテゴリーナビを少し左に寄せる */
.category-nav {
    justify-content: flex-end !important;
    padding-right: 20px !important; /* 右側の余白（数字を大きくするほど左に寄ります） */
}

/* 写真下の文字を少し左に寄せる */
.entry-card-title, 
#main .entry-card-title {
    text-align: right !important;
    padding-right: 5px !important; /* 右側の余白 */
}

/* スマホ用：隙間を微調整 */
@media screen and (max-width: 768px) {
    .category-nav {
        padding-right: 10px !important;
    }
    .entry-card-title {
        padding-right: 8px !important;
    }
}


/* =============================================
 * タグ・アイコン・背景の徹底消去（再掲）
 * ============================================= */
.cat-label, .entry-card-thumb::before, .entry-card-thumb::after,
h1#archive-title span, h1.archive-title span {
    display: none !important;
}

#main a.entry-card-wrap:hover {
    background-color: transparent !important;
    box-shadow: none !important;
}



/************************************
■ 背景・全体設定
************************************/
/* 背景透明化 */
.header-container, .navi, .main, .sidebar, .footer {
  background-color: rgba(255, 255, 255, 0) !important;
}


/* リンクとテキストの装飾リセット */
a, p {
  text-decoration: none;
}

/* パンくずリスト */
.breadcrumb.sbp-main-before {
  background: transparent;
  font-size: 10px;
  padding-left: 20px;
  margin-top: 30px;
  max-width: 57%;
}

/* タイトル非表示設定 */
.entry-title {
  display: none;
}

#blog-title {
  height: 100px;
}

/* 余白調整 */
#main {
  padding-top: 0;
  padding-bottom: 0;
}

#content {
  margin-top: 0;
}

.entry-content {
  margin-top: -1px;
}

.entry-content.cf {
  margin-bottom: -30px;
}




/************************************
■ テーブル・フォーム背景透明化
************************************/
.wp-block-flexible-table-block-table table,
table tr,
table td,
table th,
.wp-block-flexible-table-block-table > table tr td {
  background: transparent !important;
  border: 1px solid transparent;
}

/* Contact Form 7 テーブル */
table.CF7_table tr, .CF7_table th, .CF7_table td {
  border: 4px solid transparent;
  background-color: transparent;
}


/************************************
■ メインビジュアル・全幅設定
************************************/
.full-wide-screen, .full-wide-screen-top {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  width: 100vw;
}

.full-wide-screen img {
  display: block;
  height: auto;
  width: 100%;
}

.full-wide-screen-top {
  height: 800px;
  object-fit: cover;
}

@media screen and (max-width: 865px) {
  .full-wide-screen-top { height: 500px; }
}

@media screen and (max-width: 540px) {
  .full-wide-screen-top { height: 400px; }
}


/*更新のたびに消えてたヘッダーロゴ★モバイル*/
.mobile-menu-buttons .menu-button {
	display:inline-block;
}
/*　ラベル文章　*/
.text-block{
	background: #DB7093;
	padding: 10px;
	margin:  30px;
	display: inline-block;
	color:white;
}


/************************************
■ 見出し設定
************************************/




/* =============================================
 * サイト全体：一覧ページのタイトル（h1）ロゴ化
 * ============================================= */

/* 1. フォルダアイコン（spanタグ）を全ページで消去 */
h1.archive-title span.fa-folder-open,
h1.archive-title span.fas,
h1.archive-title span.fa-tag {
    display: none !important;
}

/* 2. 一覧ページのタイトル文字をすべて巨大ロゴ風に */
h1#archive-title, 
h1.archive-title {
    background: none !important;
    border: none !important;
    font-family: 'Times New Roman', serif !important;
    font-size: clamp(60px, 8vw, 100px) !important; /* 画面幅に応じて可変 */
    color: #a38d6d !important;      /* ゴールドベージュ */
    font-weight: 300 !important;
    text-align: left !important;
    letter-spacing: 0.05em !important;
    line-height: 1.2 !important;
    padding: 20px 0 40px 0 !important;
    margin: 0 !important;
    text-transform: capitalize;     /* 先頭だけ大文字 */
}

/* 3. パンくずリストとの間の余白調整（必要に応じて） */
#breadcrumb {
    margin-bottom: 10px !important;
}

/* 1. タイトルにアニメーションを割り当てる */
h1#archive-title, 
h1.entry-title {
    /* 他の設定はそのままで、以下を追加 */
    animation: slideInLeft 2.0s ease-out forwards; /* 1.2秒かけて左から滑り込む */
    opacity: 0; /* 最初は透明にしておく */
}

/* 2. 左からスライドしてくる動きの定義 */
@keyframes slideInLeft {
    0% {
        transform: translateX(-50px); /* 最初は左に50pxズレた位置 */
        opacity: 0;                   /* 透明 */
    }
    100% {
        transform: translateX(0);    /* 本来の位置へ */
        opacity: 1;                   /* 完全に表示 */
    }
}


.article h2, .article h3, .article h4, .article h5 {
  background-color: transparent;
  border: none;
  padding: 0;
}

.article h2 {
  margin-bottom: 0;
  letter-spacing: 2px;
  font-family: "Yu Mincho", serif;
  font-size: 85px;
  font-weight: normal;
  color: rgba(162, 101, 118, 0.6);
}

.article h3 {
  font-weight: normal;
  letter-spacing: 2px;
  font-family: "Yu Mincho", serif;
}

@media screen and (max-width: 865px) {
  .article h2 { font-size: 60px; }
}

@media screen and (max-width: 480px) {
  .article h2 { font-size: 40px; }
  .article h3 { font-size: 32px; }
}




/* 1. 全体のH2〜H5の装飾リセット（継続） */
.article h2, .article h3, .article h4, .article h5 {
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* 2. 投稿ページ（個別記事）内のH2をROCHE風に書き換え */
.single .article h2 {
  margin-top: 40px !important;
  margin-bottom: 20px !important;
  letter-spacing: 0.15em !important; /* ROCHEらしい広い文字間隔 */
  font-family: "Times New Roman", "Yu Mincho", serif !important;
  font-size: 40px !important;        /* ROCHE見本のサイズ感に調整 */
  font-weight: 300 !important;      /* 細身で高級感を出す */
  color: #333 !important;           /* 見本に合わせたダークグレー/黒 */
  line-height: 1.2 !important;
  text-transform: uppercase;        /* 英字の場合大文字に */
  text-align: left !important;
}

/* 3. H3（サブ見出し）の設定 */
.article h3 {
  font-weight: normal;
  letter-spacing: 2px;
  font-family: "Yu Mincho", serif;
  font-size: 24px;
  color: #333;
}

/* 4. レスポンシブ調整（スマホで見ても適切なサイズに） */
@media screen and (max-width: 865px) {
  .single .article h2 { font-size: 32px !important; }
}

@media screen and (max-width: 480px) {
  .single .article h2 { font-size: 28px !important; }
  .article h3 { font-size: 20px !important; }
}



/************************************
■ お問い合わせ・エントリーフォーム共通
************************************/

/* 全体構造：余白と幅の調整 */
.contact-form tr, .contact-form th, .contact-form td,
.entry-form tr, .entry-form th, .entry-form td {
  padding: 25px 20px;
  width: 100%;
  box-sizing: border-box;
}

/* 項目名（左側）の幅指定 */
.contact-form th, .entry-form th {
  width: 30%;
  text-align: left;
  vertical-align: middle;
}

/* 「必須」ラベルのデザイン */
.CF7_req {
  font-size: 0.9rem;
  padding-left: 10px;
  color: #A23576;
  font-weight: bold;
}

/* 「任意」ラベルを完全に非表示にする */
.CF7_unreq {
  display: none !important;
}

/* 入力欄（枠線・フォント）の設定 */
.contact-form input, .contact-form textarea,
.entry-form input, .entry-form textarea,
.wpcf7-date {
  border: 1px solid rgba(223, 195, 203, 0.5);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 16px;
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.5);
  box-sizing: border-box;
}

/* プレースホルダー（例文字）の色 */
.contact-form ::placeholder,
.entry-form ::placeholder {
  color: #cac2bc;
  font-size: 14px;
  letter-spacing: 1.5px;
}

/* 生年月日入力欄の色調整 */
.wpcf7-date {
  color: #666; /* 入力後の文字を見やすく */
}

/************************************
■ フォームのレスポンシブ（スマホ対応）
************************************/
@media screen and (max-width: 865px) {
  /* テーブルの各行(tr)の余白を最小限に */
  .contact-form tr, 
  .entry-form tr {
    display: block;
    width: 100%;
    padding: 0;       /* 全体のパディングをリセット */
    margin-bottom: 20px; /* 項目ごとの間隔を20pxに固定 */
  }

  /* 項目名（左文字：問い合わせ項目など） */
  .contact-form th, 
  .entry-form th {
    display: block;
    width: 100%;
    padding: 10px 0 5px 0; /* 下の余白を5pxに詰める */
    font-size: 16px;
    border: none;
  }

  /* 入力欄（右側：チェックボックスやテキスト枠） */
  .contact-form td, 
  .entry-form td {
    display: block;
    width: 100%;
    padding: 0 0 10px 0; /* 上の余白を0にして項目名と近づける */
    border: none;
  }

  /* チェックボックス（レセプタント手配など）の並び */
  .wpcf7-list-item {
    margin: 0 15px 5px 0 !important; /* チェックボックス同士の間隔も調整 */
    display: inline-block;
  }
}

@media screen and (max-width: 540px) {
  .contact-form tr, 
  .entry-form tr {
    margin-bottom: 15px; /* さらに少し詰める */
  }
  
  .contact-form th, 
  .entry-form th {
    font-size: 14px;
  }
}


/***********************************
■ 電話問い合わせエリア (inquiry-table / tel)
************************************/

/* テキスト部分 */
.inquiry-table p {
  font-size: 1rem;
  margin: 0 auto;
}

.inquiry-table h3 {
  font-weight: 500;
}

/* 電話番号本体 */
.inquiry-tel {
  letter-spacing: 1.8px;
  width: 100%;
  font-size: 40px;
  font-weight: 450;
  text-align: center;
  margin: 10px 0;
}

.inquiry-tel a {
  text-decoration: none;
  font-family: "Yu Mincho", "MS Mincho", serif;
  color: #666;
  transition: color 0.3s ease;
}

.inquiry-tel a:hover {
  color: #a26576;
}

/* 注意書きテキスト (*は必要 です等) */
.inquiry-txt p {
  font-weight: 500;
  font-size: 1rem;
  padding-left: 2.5rem;
  padding-top: 2rem;
}

/* --- モバイル調整 (865px以下) --- */
@media screen and (max-width: 865px) {
  .inquiry-txt p {
    padding-left: 2%;
  }
}

/* --- スマホ調整 (540px以下) --- */
@media screen and (max-width: 540px) {
  .inquiry-table p {
    max-width: 100%; /* 数値エラーを修正 */
    font-size: 11px;
  }
  
  .inquiry-table h3 {
    font-size: 13px;
  }

  .inquiry-tel a {
    font-size: 28px; /* はみ出し防止に少し縮小 */
    display: block;
    width: 100%;
  }

  .inquiry-txt p {
    font-size: 12px;
    padding-left: 5%;
    padding-top: 1rem;
  }
}

/************************************
■ フォームエラー・バリデーション表示
************************************/

/* 送信後のレスポンスメッセージ */
.wpcf7-response-output {
  font-size: 14px;
  font-family: "Yu Mincho", serif;
  margin-top: 20px !important;
  border-radius: 4px;
}

/* 不備がある時の枠線を消す設定 */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unspam .wpcf7-response-output {
  border: none !important;
}

/* 入力エラーメッセージ（赤文字など） */
.wpcf7-not-valid-tip {
  color: #A26576;
  font-size: 0.9rem;
  margin-top: 5px;
}

/************************************
■ エントリーボタン (募集概要ページ等)
************************************/

/* ボタンの外枠 */
.wp-block-buttons {
  background: #333;
  width: 300px; /* 固定幅またはmax-widthが安定します */
  max-width: 100%;
  padding: 5px;
  margin: 1.8rem auto 0;
  transition: all 0.3s ease;
  border-radius: 5px;
  text-align: center;
}

.wp-block-buttons:hover {
  transform: translateY(2px);
  opacity: 0.8;
}

/* ボタンの中身のリンク */
.wp-block-button a {
  font-family: "Yu Mincho", serif;
  letter-spacing: 2px;
  background: transparent !important;
  color: #fff !important;
  display: block;
  padding: 10px;
}

/* --- スマホ調整 (540px以下) --- */
@media screen and (max-width: 540px) {
  .wp-block-buttons {
    width: 80%; /* スマホでは少し広げる */
  }
  
  .wp-block-button a {
    font-size: 14px;
  }
}


/************************************
■ ヘッダー（PC・共通）
************************************/

/* サイトロゴの余白 */
.header-site-logo-image {
  margin: 30px;
}

/* メニューのマウスオーバー設定 */
.navi-in > ul .menu-item-has-description > a:hover {
  color: #a26576;
  background: transparent;
}

/* メニューのメインラベル（日本語部分） */
.item-label {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1.8px;
}

/* メニューのキャプション（英語部分） */
.sub-caption {
  font-size: 10px;
  letter-spacing: 2px;
  color: #a26576;
}

/* モバイル用ロゴボタンの余白調整 (865px以下) */
@media screen and (max-width: 865px) {
  .logo-menu-button a {
    padding: 14px;
    margin-right: 20px; /* 300pxは広すぎる可能性があるため調整 */
  }
}

@media screen and (max-width: 540px) {
  .logo-menu-button a {
    margin-right: 0;
  }
}

/***********************************
■ ハンバーガーメニュー（三本線ボタン）
***********************************/


/* 背景色と「MENU」文字の非表示 */
.mobile-menu-buttons {
  background: rgba(220, 214, 210, 0.4);
}

.mobile-menu-buttons .menu-caption {
  display: none; /* 「MENU」という文字を消す */
}

/* 三本線アイコンのサイズと位置 */
.mobile-menu-buttons span {
  font-size: 30px;
  margin-top: 12px;
}

@media screen and (max-width: 540px) {
  .mobile-menu-buttons span {
    font-size: 25px;
    margin-top: 12px;
  }
}


/***********************************
■ スライドインメニュー（中身）
***********************************/

/* 編集用アイコンの非表示 */
body.customize-partial-edit-shortcuts-shown .customize-partial-edit-shortcut button {
  display: none;
}

/* メニュー全体：右側に配置 */
.navi-menu-content {
  left: auto;
  right: 0;
  background-color: rgba(255, 255, 255, 0.85);
  transform: translateX(101%);
}

/* メニュー項目（リンク） */
.menu-drawer a {
  color: #333;
  font-size: 14px;
  font-family: "Yu Mincho", serif;
  font-weight: 500;
  letter-spacing: 1.8px;
  border-bottom: solid 0.5px rgba(0, 0, 0, 0.2);
  height: 4.5rem;
  display: flex; /* 中央寄せしやすくするため変更 */
  align-items: center; /* 縦方向中央 */
  padding-left: 1.5rem;
  transition: all 0.3s ease;
}

.menu-drawer a:hover {
  color: #a26576;
  background: transparent;
}

/* 閉じるボタン（×）の回転演出 */
.fa-times {
  color: #333;
  transition: transform 0.5s ease;
}

.fa-times:hover {
  transform: rotate(180deg);
}



/************************************
■ フッター全体（レイアウト・背景）
************************************/

.footer {
  margin-top: 0;
}

/* フッター内部の上部余白を詰める */
.footer-bottom {
  margin-top: 20px;
}

/* フッターのコンテナ設定 */
.footer-container {
  letter-spacing: 1.3px;
  padding-top: 50px;
  background: rgba(220, 214, 210, 0.3);
  font-family: "Yu Mincho", "MS Mincho", serif;
}

/* フッター内のウィジェットタイトル等を非表示 */
.footer-title {
  display: none;
}

/* フッター内のリンクホバー設定（限定的に適用） */
#footer a:hover,
.footer-container a:hover {
  color: #a26576;
  background: transparent;
  text-decoration: none;
}

/************************************
■ フッターナビ・コピーライト
************************************/

/* フッターメニュー */
.navi-footer-in a {
  display: inline-block;
  transition: transform 0.5s ease;
  font-size: 12px;
}

.navi-footer-in a:hover {
  transform: translateY(2px);
}

/* コピーライト */
.source-org.copyright {
  color: #999;
  font-size: 10px;
}

/* メンバーナビ限定の色設定 */
.nav-footer-jun a {
  color: #a26576;
  font-weight: 400;
}

/************************************
■ フッターロゴ・連絡先
************************************/

/* ロゴ画像（PC/共通） */
.footer-center img {
  width: 50%;
  max-width: 300px; /* 大きくなりすぎ防止 */
}

/* 電話番号 */
.footer-tel {
  width: 100%;
  font-size: 40px;
  font-weight: 450;
  margin: 10px 0;
}

.footer-tel a {
  text-decoration: none;
  color: #666;
  font-family: "Yu Mincho", serif;
}

/* 電話アイコン */
.fa-phone {
  font-size: 2.1rem;
  transition: transform 0.5s ease;
  margin-right: 10px;
}

.fa-phone:hover {
  transform: scale(1.1);
}

/************************************
■ フッター レスポンシブ（スマホ対応）
************************************/

/* 843px以下：タブレット・スマホ共通 */
@media screen and (max-width: 843px) {
  .footer-mobile img {
    width: 50%;
    transition: transform 0.5s ease;
  }
  
  .footer-mobile img:hover {
    transform: scale(1.03);
  }
}

/* 545px以下：スマホ専用 */
@media screen and (max-width: 545px) {
  /* ナビ文字サイズ */
  .navi-footer-in a {
    font-size: 10px;
  }

  /* 電話番号サイズとはみ出し防止 */
  .footer-tel {
    font-size: 28px;
    max-width: 100%;
  }

  .fa-phone {
    font-size: 1.5rem;
  }

  /* 住所テキスト */
  .footer-adless {
    font-size: 10px;
  }

  /* ロゴサイズ調整 */
  .footer-mobile img {
    width: 70%;
  }
}


/************************************
■ プライバシーポリシー (.pp)
************************************/

/* セクション全体の見出し（大） */
.pp h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 3rem;
  text-align: left;
  letter-spacing: 0.1em;
  color: #333;
}

/* 各項目の見出し（中） */
.pp h3 {
  font-size: 1.1rem;
  font-weight: bold;
  border-left: 3px solid #a26576; /* JUN様のテーマカラーに合わせたアクセント線 */
  padding: 5px 0 5px 15px;
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

/* --- スマホ調整 (540px以下) --- */
@media screen and (max-width: 540px) {
  .pp h2 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }

  .pp h3 {
    font-size: 1rem;
    margin-top: 2.5rem;
    padding-left: 10px;
  }
}


/************************************
■ 会社概要テーブル (.gaiyo-table)
************************************/

/* 見出し：会社概要 */
h2.company {
  text-align: left;
  margin-bottom: 0;
}

/* テーブル全体の配置 */
.gaiyo-table {
  width: 70%;
  margin: auto;
  position: relative;
  left: -20px; /* PCでのあえてのずらし */
  top: 50px;
  font-family: "Yu Mincho", serif;
  border-collapse: collapse; /* 隙間をなくす */
}

/* テーブルの行・セル設定 */
.gaiyo-table th, 
.gaiyo-table td {
  padding: 30px;
  background: transparent;
  border: none;
  vertical-align: middle;
}

/* 左側（見出しラベル） */
.gaiyo-table th {
  letter-spacing: 0.5rem;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap; /* ラベルの改行防止 */
  width: 30%;
}

/* 右側（内容） */
.gaiyo-table td {
  letter-spacing: 2px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

/************************************
■ 会社概要テーブル 背景 (.back)
************************************/

/* 背面の装飾ボックス */
.back {
  background: rgba(220, 214, 210, 0.2);
  width: 85%;
  height: 115%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1; /* 背面へ */
}

/************************************
■ レスポンシブ調整
************************************/

/* --- タブレット (865px以下) --- */
@media screen and (max-width: 865px) {
  .gaiyo-table {
    width: 90%;
    left: 0; /* 中央に戻す */
  }

  .back {
    width: 100%;
    height: 105%;
  }
}

/* --- スマホ (540px以下) --- */
@media screen and (max-width: 540px) {
  .gaiyo-table {
    width: 100%;
    top: 20px;
    left: 0;
  }

  /* スマホでは縦並びに近い形にするか、余白を詰める */
  .gaiyo-table th, 
  .gaiyo-table td {
    display: block; /* 縦並び */
    width: 100%;
    padding: 15px 20px;
    text-align: left;
  }

  .gaiyo-table th {
    font-size: 14px;
    padding-bottom: 0; /* ラベルと内容を近づける */
  }

  .gaiyo-table td {
    font-size: 13px;
    letter-spacing: 0.5px;
    max-width: none;
  }

  .back {
    top: 0;
    height: 102%;
  }

  .table-gaiyo div p {
    font-size: 12px;
    margin-left: 10px;
  }
}

/************************************
■ 会社概要テーブル (.gaiyo-table)
　 フレキシブルテーブルの枠線消去
************************************/

/* テーブル本体の枠線を消す */
.gaiyo-table .wp-block-flexible-table-block-table,
.gaiyo-table table,
.gaiyo-table th,
.gaiyo-table td {
  border: none !important;
  border-color: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important; /* 影がついている場合も消去 */
}

/* 各セルの間の線を消す */
.gaiyo-table table tr {
  border: none !important;
}

/* 念のためフレキシブルテーブル固有のクラスも指定 */
.wp-block-flexible-table-block-table td,
.wp-block-flexible-table-block-table th {
  border: none !important;
}


/************************************
■ ホテル実績セクション (.hotel-txt / .hotel-table)
************************************/

/* テキストエリア見出し */
.hotel-txt h2 {
  font-size: 50px;
  margin-bottom: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* テキストエリア本文 */
.hotel-txt p {
  font-size: 18px;
  line-height: 1.8;
}

/* ホテル一覧リンク（テーブル/ブロック） */
.hotel-table a {
  display: inline-block;
  color: ;
  text-decoration: none;
  transition: all 0.4s ease;
  padding: 5px 0;
}

.hotel-table a:hover {
  color: #a26576; /* JUN様のテーマカラーに合わせるのがおすすめ */
  background: transparent;
  transform: translateX(3px); /* 少し右に動く演出 */
}

/************************************
■ レスポンシブ調整
************************************/

/* --- タブレット (865px以下) --- */
@media screen and (max-width: 865px) {
  .hotel-txt h2 {
    font-size: 36px;
  }

  .hotel-txt p {
    font-size: 15px;
  }

  .hotel-table div {
    max-width: 100%; /* はみ出し防止 */
    text-align: left; /* 左寄せの方が読みやすい場合が多いです */
    margin-bottom: 10px;
  }
}

/* --- スマホ (540px以下) --- */
@media screen and (max-width: 540px) {
  .hotel-txt h2 {
    font-size: 24px; /* 20pxだと小さすぎたので少しアップ */
    margin-bottom: 10px;
  }

  .hotel-txt p {
    font-size: 13px; /* 10pxは可読性が低いため13pxに修正 */
  }

  .hotel-table a {
    font-size: 13px;
    padding: 8px 0; /* スマホでタップしやすく */
  }
}


/***********************************
■ Googleマップ（白黒デザイン）
************************************/

/* 地図を包むコンテナ */
.gmap {
  height: 0;
  overflow: hidden;
  padding-bottom: 50%; /* アスペクト比の維持 */
  position: relative;
  left: 15%; /* 300px固定ではなく%にすると画面サイズに柔軟になります */
  margin-bottom: 40px;
}

/* 地図本体の配置 */
.gmap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 90%;
  border: 0;
}

/* 白黒フィルターの設定 */
.gmap iframe,
.gmap object,
.gmap embed {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}

/***********************************
■ レスポンシブ調整
************************************/

/* --- タブレット (865px以下) --- */
@media screen and (max-width: 865px) {
  .gmap {
    height: 500px;
    padding-bottom: 0; /* 固定高さにするためリセット */
    margin: 40px auto;
    left: 0; /* 中央配置に戻す */
  }

  .gmap iframe {
    width: 100%;
    height: 100%;
  }
}

/* --- スマホ (540px以下) --- */
@media screen and (max-width: 540px) {
  .gmap {
    height: 350px; /* 400pxより少しコンパクトに */
    top: 10px;
  }
}


/***********************************
■ 全幅Googleマップ (.footer-gmap)
　 カラー（通常色）表示
************************************/

/* コンテナ：画面幅いっぱいに広げる設定 */
.footer-gmap {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-top: 56.25%; /* PCでは16:9比率で表示 */
  border: 0;
  overflow: hidden; /* 地図のはみ出し防止 */
}

/* 地図本体：フィルターなし（カラー） */
.footer-gmap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* 白黒フィルター（grayscale）は設定しない = カラー */
}

/***********************************
■ レスポンシブ調整（スマホ対応）
************************************/

@media screen and (max-width: 540px) {
  .footer-gmap {
    padding-top: 0; /* paddingでの高さ維持を解除 */
    height: 400px;  /* スマホでは高さを固定して見やすく */
    margin-top: 10px;
  }
}

/***********************************
■ コンテンツ上下の隙間消去
************************************/

/* コンテンツ下部やウィジェットの余計な余白をカット */
.body .widget,
.content-bottom,
.content-top {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* サイト全体の横スクロール防止 */
body {
  overflow-x: hidden;
}


/************************************
■ ホーム：txtbox1（大切なパーティに華を）
************************************/

.txtbox {
  margin-top: 5rem;
}

.txtbox p {
  max-width: 565px;
  font-weight: 500;
  letter-spacing: 1.5px;
  line-height: 1.8;
}

.txt-1 {
  font-size: 30px;
  line-height: 1.4;
}

/* --- レスポンシブ調整 --- */
@media screen and (max-width: 865px) {
  .txtbox {
    margin-top: 2rem;
  }
  .txt-1 {
    font-size: 24px; /* 3vwだと小さくなりすぎる場合があるため固定値推奨 */
  }
}

@media screen and (max-width: 540px) {
  .txtbox h3 {
    margin-bottom: 20px;
  }
  .txt-1 {
    font-size: 18px;
    max-width: 100%;
  }
}


/************************************
■ ホーム：txtbox2（レセプション＋アテンダント）
************************************/

.txtbox2 {
  margin-left: 21rem; /* PCでのあえてのずらし */
  max-width: 100%;
}

.txtbox2 p {
  letter-spacing: 1px;
  font-weight: 500;
  line-height: 1.7;
}

/* --- レスポンシブ調整 --- */
@media screen and (max-width: 1100px) {
  .txtbox2 {
    margin-left: 10rem; /* 中間サイズで段階的に減らす */
  }
}

@media screen and (max-width: 865px) {
  .txtbox2 {
    margin-left: 0; /* スマホ・タブレットでは中央または左寄せ */
    padding: 0 20px;
  }
}

/************************************
■ ホーム：txtbox3（事業協同組合）
************************************/

.txt-3 {
  font-size: 2.5rem;
  font-weight: 500;
}

/* --- レスポンシブ調整 --- */
@media screen and (max-width: 865px) {
  .txt-3 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 540px) {
  .txtbox3 h4 {
    font-size: 1rem;
  }
  .txt-3 {
    font-size: 1.1rem;
    line-height: 1.4;
  }
  .txtbox3 h6 {
    max-width: 100%;
    font-size: 11px;
  }
}

/************************************
■ ホーム：service セクション
************************************/

.service {
  margin-top: 5rem;
}

.service h2 {
  padding-bottom: 2rem;
  text-align: center;
}

@media screen and (max-width: 540px) {
  .service {
    margin-top: 3rem;
  }
}

@media screen and (max-width: 865px) {
  /* 1. 画像の上に重なっている文字（絶対配置されているもの）を全て非表示にする */
  .wp-block-image figcaption,
  .wp-block-cocoon-blocks-image-boss .block-inner-content,
  .image-boss-title,
  .block-inner-content-text {
    display: none !important; /* 一旦、重なっているものを消去 */
  }

  /* 2. 画像ブロック自体の高さをリセットして、画像単体に見せる */
  .wp-block-cocoon-blocks-image-boss,
  .wp-block-image {
    height: auto !important;
    position: relative !important;
    margin-bottom: 10px !important;
  }

  /* 3. 画像自体の位置を正常に戻す */
  .image-box img,
  .wp-block-image img {
    position: static !important;
    transform: none !important;
  }
}


/***********************************
■ 投稿一覧（カードデザイン）
************************************/

/* 記事タイトル */
.related-entry-card-title, 
.entry-card-title {
  margin: 1.5rem;
  font-family: "Yu Mincho", serif;
  transition: transform 0.3s ease;
}

/* ホバー時に少し浮かす */
.related-entry-card-title:hover, 
.entry-card-title:hover {
  transform: translateY(2px);
  color: #a26576;
}

/* カテゴリーラベル */
.cat-label {
  transition: all 0.3s ease;
}

.cat-label:hover {
  opacity: 0.8;
  color: #888;
}

/* 記事リスト全体の調整 */
.list {
  margin-top: 1.5rem;
  text-align: center;
}

.list h2 {
  letter-spacing: 1.8px;
  font-family: "Yu Mincho", serif;
  font-weight: 450;
  line-height: 1.5;
}

/* 記事画像 */
.list img {
  max-width: 100%;
  height: auto;
  transition: opacity 0.3s;
}

.list a:hover img {
  opacity: 0.9;
}

/* --- レスポンシブ調整 --- */
@media screen and (max-width: 560px) {
  .list h2 {
    font-size: 16px;
    padding: 0 10px;
  }
}


/***********************************
■ 投稿記事：リクルートテーブル (.recruit-table)
************************************/

.recruit-table {
  width: 75%;
  margin: 2rem auto;
  font-family: "Yu Mincho", serif;
  border-collapse: collapse;
}

.recruit-table td {
  padding: 25px 20px;
  border-bottom: solid 1px rgba(223, 195, 203, 0.4);
}

/* 左側の項目名 (奇数番目のtd) */
.recruit-table td:nth-of-type(odd) {
  font-weight: 600;
  letter-spacing: 0.5rem;
  width: 30%;
  background: rgba(220, 214, 210, 0.1); /* ほんのり色付け */
}

/* 右側の内容 (偶数番目のtd) */
.recruit-table td:nth-of-type(even) {
  letter-spacing: 0.1rem;
  line-height: 1.8;
}

/* --- レスポンシブ調整 --- */
@media screen and (max-width: 865px) {
  .recruit-table {
    width: 95%;
  }
  .recruit-table td {
    padding: 15px;
  }
}

@media screen and (max-width: 540px) {
  /* スマホでは縦並びに近い見せ方にする */
  .recruit-table td {
    display: block;
    width: 100% !important;
    border-bottom: none;
  }
  .recruit-table td:nth-of-type(odd) {
    padding-bottom: 0;
    font-size: 14px;
    color: #a26576;
  }
  .recruit-table td:nth-of-type(even) {
    padding-top: 5px;
    padding-bottom: 20px;
    font-size: 13px;
    border-bottom: solid 1px rgba(223, 195, 203, 0.4);
  }
}


/***********************************
■ 投稿記事：衣装一覧 (.costume-item)
************************************/

/* グループ内の見出しに線を引く */
.costume-item h2, 
.costume-item h3 {
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/* グループ内の段落に線を引く */
.costume-item p {
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
    line-height: 1.8;
}









/***********************************
■ パンくずリスト (TOP表記への変更)
************************************/

.breadcrumb.sbp-main-before {
  margin-top: 30px;
  max-width: 100%;
  font-size: 12px;
  letter-spacing: 1px;
}

/* 「ホーム」を消して「TOP」を挿入 */
.breadcrumb-home a span {
  font-size: 0 !important;
}

.breadcrumb-home a span::before {
  font-size: 12px;
  content: "TOP";
}

/* アイコン類を非表示 */
.breadcrumb .fa-home,
.breadcrumb .fa-folder,
.breadcrumb .fa-file {
  display: none !important;
}

.breadcrumb a {
  text-decoration: none;
  color: #666;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: #a26576;
}


/***********************************
■ 事務所移転ページ (.iten / .iten-table)
************************************/

/* 移転案内用の地図 */
.gmap-minato > iframe {
  width: 100%;
  height: 500px;
  border: 0;
}

/* 移転案内の本文テキスト */
.iten-text {
  max-width: 100%;
  font-size: 16px;
  line-height: 1.8;
  margin: 2rem auto;
}

/* 移転情報テーブル */
.iten-table {
  width: 60%; /* 50%だと少し窮屈なので微調整 */
  margin: 2rem auto;
  font-family: "Yu Mincho", serif;
  border-collapse: collapse;
}

.iten-table td {
  padding: 15px 10px;
}

/* 左側の項目名 (奇数番目のtd) */
.iten-table td:nth-of-type(odd) {
  font-weight: 600;
  letter-spacing: 0.3rem;
  width: 30%;
  white-space: nowrap;
}

/* 右側の内容 (偶数番目のtd) */
.iten-table td:nth-of-type(even) {
  letter-spacing: 0.1rem;
}

/* 下線（border-bottom）の設定 */
.iten-table tr {
  border-bottom: 1px solid rgba(223, 195, 203, 0.4);
}

/***********************************
■ レスポンシブ調整
************************************/

/* --- タブレット (865px以下) --- */
@media screen and (max-width: 865px) {
  .gmap-minato > iframe {
    height: 350px;
  }
  
  .iten-text {
    max-width: 90%;
    font-size: 15px;
  }

  .iten-table {
    width: 90%;
    font-size: 16px;
  }
}

/* --- スマホ (540px以下) --- */
@media screen and (max-width: 540px) {
  .gmap-minato > iframe {
    height: 250px; /* 200pxより少し見やすく */
  }
  
  .iten-text {
    font-size: 13px; /* 10pxから底上げ */
  }

  .iten-table {
    width: 100%;
    font-size: 14px;
  }

  .iten-table td {
    padding: 10px 5px;
  }

  .iten-table td:nth-of-type(even) {
    letter-spacing: 0.5px;
  }
}


/***********************************
■ メンバー・チーフ限定 パスワード保護ページ
************************************/

/* 保護ページ全体の余白調整 */
.post-4945, .post-5044, .post-password-form {
  margin: 50px auto;
  padding-bottom: 2rem;
  max-width: 600px; /* 入力欄が広がりすぎないように */
  text-align: center;
}

/* パスワード入力欄 */
.post-4945 input[type="password"], 
.post-5044 input[type="password"],
.post-password-form input[type="password"] {
  width: 200px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: sans-serif;
}

/* 送信・確定ボタン */
input[type="submit"] {
  width: 80px; /* 50pxだと文字がはみ出す可能性があるため調整 */
  padding: 8px;
  background-color: #333;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
  border-radius: var(--cocoon-basic-border-radius);
}

input[type="submit"]:hover {
  opacity: 0.8;
}

/* --- スマホ調整 (540px以下) --- */
@media screen and (max-width: 540px) {
  .post-4945, .post-5044, .post-password-form {
    margin: 30px 15px;
  }
  
  .post-4945 input[type="password"], 
  .post-5044 input[type="password"],
  .post-password-form input[type="password"] {
    width: 100%;
    margin-bottom: 10px;
  }
  
  input[type="submit"] {
    width: 100%;
    padding: 12px;
  }
}

/***********************************
■ 限定エリア内テーブル・リンク (.table-map / .table-chief)
************************************/

.table-map h2,
.table-chief h2 {
  padding-top: 3rem;
  margin-bottom: 15px;
  font-size: 1.8rem;
  font-family: "Yu Mincho", serif;
  border-bottom: 1px solid rgba(162, 101, 118, 0.3); /* ほんのり色付け */
  display: inline-block;
}

.table-map a,
.table-chief a {
  font-size: 1rem;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.table-map a:hover,
.table-chief a:hover {
  color: #a26576; /* JUN様のテーマカラー */
}

/***********************************
■ セキュリティ・その他
************************************/

/* reCAPTCHAのロゴを非表示 */
.grecaptcha-badge { visibility: hidden; }




