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

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




/* ==========================================================================
   ■ ホーム　メイン画像
　
========================================================================== */
/* 1. PC・共通設定（画面いっぱいに広げる） */
.wp-block-cover.custom-hero-cover {
  margin-top: 40px !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  

  min-height: 80vh !important; /* 画面高さの80%分を確保 */
  display: flex !important;
  align-items: center; /* コンテンツを中央に配置 */
}

/* 画像の位置調整：上部基準にする */
.wp-block-cover.custom-hero-cover img.wp-block-cover__image-background {
  width: 100% !important;
  height: 100% !important;
  
  /* center center を top center に変更して画像の上端を合わせる */
  object-position: top center !important; 
  object-fit: cover !important;
}

/* ==========================================================================
   ▼▼▼ スマホ調整： 1023px以下 ▼▼▼
========================================================================== */
@media screen and (max-width: 1023px) {
  .wp-block-cover.custom-hero-cover {
    margin-top: 25px !important;   /* ★スマホ時の上の余白 */
    
    /* スマホでも左右いっぱいの全幅を維持 */
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    
    /* 高さを自動計算 */
    height: 62.5vw !important;     
    min-height: auto !important;   
  }
}

/* 3. 中の文字コンテナの余白をリセット */
.custom-hero-cover .wp-block-cover__inner-container {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}



/* ==========================================================================
   ■ CONTACTセクション：電話案内装飾
　
========================================================================== */
.contact-phone-box {
    max-width: 800px;
    margin: 60px auto !important;
    padding: 60px 40px;
    background-color: rgba(200, 189, 163, 0.12);
    text-align: center;
    border: 1px solid rgba(200, 189, 163, 0.3);
}

/* 見出し */
.contact-phone-box h2 {
    font-size: 1.5rem !important; 
    letter-spacing: 0.15em !important;
    color: #555 !important; /* ここに !important を追加 */
    margin-bottom: 25px !important;
    background: none !important; /* 背景がピンクならこれも消す */
}

/* 説明文 */
.contact-phone-box p:nth-of-type(1) {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
}
.contact-phone-box p:nth-of-type(2) {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 30px;
}

/* 電話番号リンク（共通設定） */
.contact-phone-box a[href^="tel"] {
    display: block;
    font-size: 2.2rem;
    font-weight: bold;
    color: #8b7d6a;
    text-decoration: none;
    margin: 20px 0;
    transition: color 0.3s ease;
}

/* アイコン共通設定 */
.contact-phone-box a[href^="tel"]::before {
    content: "\f095";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 12px;
    color: #8b7d6a;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* ホバーアクション */
.contact-phone-box a[href^="tel"]:hover { color: #a69885; }
.contact-phone-box a[href^="tel"]:hover::before {
    transform: scale(1.2);
    color: #a69885;
}

/* 受付時間 */
.contact-phone-box p:last-child {
    font-size: 0.9rem;
    color: #888;
    margin-top: 20px;
}

/* ==========================================================================
   ▼▼▼ スマホ調整： 480px以下 ▼▼▼
========================================================================== */
@media screen and (max-width: 480px) {
    .contact-phone-box { 
        padding: 25px 15px !important; 
        margin: 20px 5px !important;
    }
    .contact-phone-box h2 { 
        font-size: 1.1rem !important; 
        margin-bottom: 15px !important;
    }
    .contact-phone-box p:nth-of-type(1),
    .contact-phone-box p:nth-of-type(2) {
        font-size: 0.7rem !important;
        line-height: 1.6;
        margin-bottom: 15px !important;
    }
    .contact-phone-box a[href^="tel"] { 
        font-size: 1.4rem !important; 
        padding: 5px 0 !important;
        margin: 10px 0 !important;
    }
    .contact-phone-box p:last-child {
        font-size: 0.6rem !important;
        margin-top: 10px !important;
    }
}




/* ==========================================================================
   ■ 会社概要
　(company-map-section)
========================================================================== */
/* セクション全体：配置基準 */
.company-map-section {
    max-width: 1100px !important;
    margin: 0 auto !important; 
    padding: 60px !important;
    position: relative !important;
    background-color: rgba(200, 189, 163, 0.12) !important;
    z-index: 1;
    overflow: visible !important; 
}

/* 地図の配置：info-right */
.info-right {
    position: absolute !important;
    top: auto !important;
    bottom: -50px !important; 
    right: -80px !important;  
    width: 50% !important;
    z-index: 10;
    box-shadow: 10px 10px 40px rgba(0,0,0,0.15) !important;
}

.info-right iframe {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    filter: grayscale(100%) contrast(0.8) brightness(1.1) !important;
}

/* テーブル全体の基本設定 */
.company-table {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

/* 項目と内容の共通設定 */
.company-table th, 
.company-table td {
    padding: 20px 10px !important; 
    vertical-align: top !important;
    line-height: 1.8 !important;
    text-align: left !important;
    border: none !important;
    background: transparent !important;
}

/* 項目列（1列目）の設定 */
.company-table th,
.company-table td:nth-child(1) {
    width: 30% !important;
    color: #888 !important;
}

/* 内容列（2列目）の設定 */
.company-table td:nth-child(2) {
    width: 70% !important;
    color: #333 !important;
}

/* 左側コンテナ設定 */
.info-left {
    width: 55% !important;
}

.info-left table {
    border: none !important;
    background: transparent !important;
}

/* ==========================================================================
   ▼▼▼ スマホ調整： 768px以下 ▼▼▼
========================================================================== */
@media screen and (max-width: 768px) {
    .info-right { 
        position: relative !important; 
        width: 100% !important; 
        bottom: 0 !important; 
        right: 0 !important; 
        margin-top: 30px; 
    }
    .info-left { width: 100% !important; }
}

/* ==========================================================================
   ▼▼▼ スマホ調整： 480px以下 ▼▼▼
========================================================================== */
/* スマホ対応：480px以下で縦積みにし、幅を100%にする */
@media screen and (max-width: 480px) {
    /* セクション全体のパディングを調整 */
    .company-map-section {
        padding: 20px !important;
    }

    /* 地図エリア */
    .info-right { 
        position: relative !important; 
        width: 100% !important; 
        margin: 20px 0 0 0 !important; 
    }
    
    /* テーブルエリアを幅100%に */
    .info-left { 
        width: 100% !important; 
    }

    /* 項目と内容を縦に並べる（縦積み） */
    .company-table th, 
    .company-table td {
        display: block !important; 
        width: 100% !important;
        padding: 10px 0 !important;
        text-align: left !important;
    }
    
    /* 見出しを目立たせる */
    .company-table th {
        border-bottom: none !important;
        padding-bottom: 0 !important;
        font-weight: bold !important;
    }
}



/* ==========================================================================
   ■ 取引先
　(.hotel-section-bg)
========================================================================== */
/* 1. 一番外側のグループブロック「hotel-section-bg」を完全に全幅にする */
.hotel-section-bg {
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  width: 100vw !important;
  max-width: 100vw !important;
  
  /* 青背景の余白を確保 */
  padding-top: 60px !important;
  padding-bottom: 60px !important;
  box-sizing: border-box !important;
}

/* 2. その内側に入っているコンテンツを、元の美しい横幅（中央）にギュッと留める */
.hotel-section-bg > .wp-block-group__inner-container,
.hotel-section-bg > div:not(.wp-block-group__inner-container) {
  width: 100% !important;
  max-width: 1100px !important; /* コンテンツが広がらないようにする幅 */
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

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

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

/* ----------------------------------
   ★ リンクのホバーアニメーション設定
   （グループ内のすべてのaタグに自動適用）
------------------------------------- */
/* 通常時：リンクをインラインブロックにして動く余白を作る */
.hotel-section-bg a {
  display: inline-block !important;
  text-decoration: none !important;
  transition: transform 0.3s ease, color 0.3s ease !important; /* なめらかに動かす */
  padding: 5px 0 !important;
}

/* ホバー時：色が変わって、右に5px動く */
.hotel-section-bg a:hover {
  color: #a26576 !important;                     /* テーマカラー */
  transform: translateX(5px) !important;          /* 5px右にスライド */
  background: transparent !important;
}


/* ==========================================================================
   ▼▼▼ タブレット・スマホ調整： 865px以下 ▼▼▼
========================================================================== */
@media screen and (max-width: 865px) {
  .hotel-section-bg {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .hotel-section-bg h2 {
    font-size: 36px !important;
  }

  .hotel-section-bg p {
    font-size: 15px !important;
  }
}


/* ==========================================================================
   ▼▼▼ スマホ調整： 540px以下 ▼▼▼
========================================================================== */
@media screen and (max-width: 540px) {
  .hotel-section-bg {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  .hotel-section-bg h2 {
    font-size: 24px !important;
    margin-bottom: 10px !important;
  }

  .hotel-section-bg p,
  .hotel-section-bg a {
    font-size: 13px !important;
  }

  .hotel-section-bg a {
    padding: 8px 0 !important; /* スマホでタップしやすく */
  }
}




/* ==========================================================================
   ■ その他

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


/* ==========================================================================
   ■　ヘッダー

========================================================================== */

/* サイトロゴの余白（PCデフォルト） */
.header-site-logo-image {
  margin: 30px;
}

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

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

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


/* ==========================================================================
   ■　モバイルヘッダー
　　共通設定（背景透過・下線消去・文字非表示）
========================================================================== */

/* 背景色を透明にする */
.mobile-menu-buttons {
  background: rgba(220, 214, 210, 0) !important;
}

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

/* ヘッダーの下線を消去する */
.mobile-header-menu-buttons,
.mobile-menu-buttons {
  box-shadow: none !important;
}

/* ロゴとボタンの縦位置を中央で揃える */
.logo-menu-button,
.navi-menu-button {
  align-items: center !important;
}

/* ----------------------------------
   ★ ヘッダー　ロゴ画像（左）
------------------------------------- */
/* ロゴ画像自体を左寄せにする */
.logo-menu-button img {
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* ロゴ余白調整 */
.logo-menu-button {
  justify-content: flex-start !important;
  padding-left: 10px !important;  /* ロゴ左余白 */
  padding-top: 5px !important;    /* ロゴの上余白 */
}


/* ==========================================================================
   ■　ハンバーガーボタン

========================================================================== */

/* 元の太い三本線マークを消去 */
.menu-open .fa-bars::before {
  content: "" !important;
}

.menu-open {
  position: relative;
}

/* 極細2本線の基本共通設定 */
.menu-open::before,
.menu-open::after {
  content: "" !important;
  position: absolute !important;
  left: auto !important;
  right: 23px !important;            /* 右端からの距離（PC・通常スマホ） */
  transform: none !important;
  height: 1px !important;             /* 線の太さ（1pxで極細） */
  background-color: #333 !important;  /* 線の色 */
  transition: all 0.3s ease !important;
}

/* 1本目（上）：短め */
.menu-open::before {
  top: calc(50% - 5px) !important;
  width: 16px !important;
}

/* 2本目（下）：長め */
.menu-open::after {
  top: calc(50% + 5px) !important;
  width: 30px !important;
}

/* ボタンエリア自体のサイズや位置の微調整 */
.navi-menu-button {
  padding-top: 20px !important;/* ロゴの高さと同期 */
}


/* ==========================================================================
   ▼▼▼ スマホ設定： 1023px以下 ▼▼▼
========================================================================== */
@media screen and (max-width: 1023px) {

  /* ヘッダー上の怪しい余白（50px）を完全に無効化 */
  body:where(.mblt-header-mobile-buttons, .mblt-header-and-footer-mobile-buttons) {
    margin-top: 0px !important;
  }

}


/* ==========================================================================
   ▼▼▼ スマホ設定： 865px以下 ▼▼▼
========================================================================== */
@media screen and (max-width: 865px) {

  /* モバイル用ロゴボタンの余白調整 */
  .logo-menu-button a {
    padding: 14px;
    margin-right: 20px;
  }

}


/* ==========================================================================
   ▼▼▼ スマホ設定： 540px以下 ▼▼▼
========================================================================== */
@media screen and (max-width: 540px) {

  /* ロゴボタンの右マージンをリセット */
  .logo-menu-button a {
    margin-right: 0;
  }
}


/* ==========================================================================
   ▼▼▼ スマホ設定： 480px以下　▼▼▼
========================================================================== */
@media screen and (max-width: 480px) {

  /* --- ロゴの調整 --- */
  .logo-menu-button img {
    max-width: 100px !important;   /* ★さらに小さいスマホではロゴをひと回り小さくして重なりを防止 */
  }
  
  .logo-menu-button {
    padding-top: 0px !important;    /* ★480は余白なしにしてる */
    padding-left: 0px !important;   /* ★480は余白なしにしてる */
    padding-bottom: 8px !important; 
  }
  
  /* --- ボタンの調整 --- */
  .mobile-menu-buttons {
    justify-content: space-between !important; 
  }

  ul.mobile-menu-buttons .navi-menu-button {
    padding-top: 12px !important;  
    width: 60px !important;        
    display: flex !important;
    justify-content: flex-end !important; 
  }
  
  /* --- 2本線の調整 --- */
  .menu-open::before,
  .menu-open::after {
    right: 15px !important;        
  }

  /* 1本目（上） */
  .menu-open::before {
    top: calc(50% - 18px) !important; 
    width: 14px !important;       
  }

  /* 2本目（下） */
  .menu-open::after {
    top: calc(50% - 10px) !important;  
    width: 25px !important;       
  }
}


/* ==========================================================================
   ▲▲▲ PC設定： 1024px以上（ヘッダー横並び＆画像重ね合わせ） ▲▲▲
========================================================================== */
@media screen and (min-width: 1024px) {

  /* 1. ヘッダー全体を透明にして重ねる */
  .header-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent !important;
    z-index: 999;
    border-bottom: none !important;
    box-shadow: none !important;
  }

  /* 2. 上下に分かれている大枠を、強制的に1つの「横一本の列」にする */
  .header-container-in {
    display: flex !important;
    flex-direction: row !important;      /* 横並びにする */
    justify-content: space-between !important; /* 両端に振り分ける */
    align-items: center !important;       /* 上下中央揃え */
    padding: 10px 40px !important;
    max-width: 1200px;
    margin: 0 auto;
  }

  /* ロゴ側の箱の調整（左寄せ） */
  .header-in {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
  }

  .header-site-logo-image {
    margin: 0 !important; 
    text-align: left !important;
  }

  /* メニュー側の箱の調整（右寄せ） */
  #navi {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
  }

  .navi-in {
    background: transparent !important;
    padding: 0 !important;
  }

  .navi-in > ul {
    justify-content: flex-end !important;
  }

  /* 3. メイン画像との重なり調整 */
  .full-wide-screen, 
  .full-wide-screen-top {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}



/* ==========================================================================
   ■ スライドインメニュー

========================================================================== */

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

/* 2. メニュー全体を「右側」に配置＆スライド設定 */
.navi-menu-content {
  left: auto !important;
  right: 0 !important;
  background-color: rgba(255, 255, 255, 0.9) !important; /* 少し背景を上品に */
  transform: translateX(101%);
}

/* 3. メニュー項目（リンク）のデザイン */
.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;
}

/* ----------------------------------
   ■　✖ボタン　回転アニメーション
------------------------------------- */
/* 1. もとの太い「×」アイコン（spanタグ）を完全に消去 */
.navi-menu-close-button span.fa-times {
  display: none !important;
}

/* 2. 閉じるボタン（label枠）の位置と余白を美しく調整 */
.navi-menu-close-button {
  position: relative !important;
  display: block !important;
  width: 44px !important;
  height: 44px !important;
  cursor: pointer !important;
  margin-left: auto !important;     /* 確実に右上に寄せる */
  margin-top: 10px !important;      /* ★上につまりすぎないように少し隙間をあける */
  margin-right: 10px !important;    /* ★右につまりすぎないように少し隙間をあける */
}

/* 3. 自作する極細「×」の2本線の基本設定 */
.navi-menu-close-button::before,
.navi-menu-close-button::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 22px !important;            /* バツの線の長さ */
  height: 1px !important;            /* 線の太さ（1pxで極細に） */
  background-color: #333 !important; /* 線の色 */
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important; /* なめらかな回転用 */
}

/* 1本目の線：右下がりに45度回転 */
.navi-menu-close-button::before {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

/* 2本目の線：右上がりに45度回転 */
.navi-menu-close-button::after {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

/* ★ホバー（マウスをのせたとき）のアニメーション演出 */
.navi-menu-close-button:hover::before {
  /* 180度くるっと回転しながら、色を上品なピンクに */
  transform: translate(-50%, -50%) rotate(225deg) !important;
  background-color: #a26576 !important;
}

.navi-menu-close-button:hover::after {
  /* 逆方向に180度くるっと回転させ、色を上品なピンクに */
  transform: translate(-50%, -50%) rotate(135deg) !important;
  background-color: #a26576 !important;
}


/* ==========================================================================
   ■ フッター

========================================================================== */
/* フッターの上のいらない余白（20px）を消して詰める */
.footer {
  margin-top: 0px !important;
}

.footer-catchphrase {
  font-size: 12px;
  color: #333;
  margin: 15px 0 25px;
  letter-spacing: 0.05em;
  text-align: center;
}
.footer-btn {
  display: inline-block;
  width: 180px;
  background-color: #A36A7E; /* テーマカラー：くすみピンク */
  color: #fff !important;
  text-decoration: none;
  padding: 10px 0;
  font-size: 13px;
  letter-spacing: 0.1em;
  position: relative;
  text-align: center;
  transition: opacity 0.3s;
}
.footer-btn:hover {
  opacity: 0.8;
}
.footer-btn::after {
  content: '>';
  position: absolute;
  right: 15px;
  font-family: monospace;
  font-size: 11px;
}

/* ==========================================================================
   ▲▲▲ スマホ設定： 769px以上　▲▲▲
========================================================================== */
@media screen and (min-width: 769px) {
  .footer-sp-only { display: none !important; } /* モバイル用を非表示 */

  /* メインコンテナを画面の端から端（100vw）まで全幅化 */
  .custom-footer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: #FBF9F9 !important; /* 背景色 */
    font-family: "Noto Serif JP", "游明朝", Georgia, serif;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px;
  }
  /* 左側：ロゴ・お問い合わせエリア */
  .footer-top-section {
    width: 300px;
    flex-shrink: 0; /* 画面が縮んでも潰さない */
    padding-right: 60px;
    border-right: 1px solid #E5DCD9;
    box-sizing: border-box;
  }
  .footer-logo-area {
    text-align: center;
  }
  /* 右側：ナビゲーションエリア */
  .footer-nav-section {
    display: flex;
    flex: 1;
    max-width: 700px;
    justify-content: flex-start;
    gap: 12%; /* 各メニュー列のゆったりした間隔 */
    padding-left: 60px;
    box-sizing: border-box;
  }
  .footer-toggle-input {
    display: none; /* PCではアコーディオン用のチェックボックスを隠す */
  }
  .footer-nav-block {
    min-width: 140px; /* 文字被り防止 */
    flex-shrink: 0;
  }
  .footer-nav-title {
    display: block;
    font-size: 14px;
    letter-spacing: 0.15em;
    color: #A36A7E;
    margin-bottom: 20px;
    border-bottom: 1px solid #A36A7E;
    padding-bottom: 5px;
    font-weight: 500;
    white-space: nowrap;
  }
  .footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .footer-nav-list li {
    margin-bottom: 15px;
    white-space: nowrap; /* 不自然な改行を防止 */
  }
  .footer-nav-list a {
    font-size: 13px;
    color: #333 !important;
    text-decoration: none;
    transition: color 0.3s;
  }
  .footer-nav-list a:hover {
    color: #A36A7E !important;
  }
}

/* ナビゲーションのリンク（通常時） */
.footer-nav-list a {
  font-size: 13px;
  color: #333 !important;
  text-decoration: none;
  display: inline-block; /* アニメーションを正しく動かすために必須 */
  transition: transform 0.3s ease, color 0.3s ease, opacity 0.3s ease; /* なめらかに動かす設定 */
}

/* マウスを乗せたとき（ホバー時） */
.footer-nav-list a:hover {
  color: #A36A7E !important; /* くすみピンクに変化 */
  transform: translateY(-3px); /* 3ピクセル上に浮き上がる */
  opacity: 0.8; /* ほんのり透明にする */
}

/* ==========================================================================
   ▼▼▼ スマホ設定： 768px以下　▼▼▼
========================================================================== */
@media screen and (max-width: 768px) {
  .custom-footer { display: none !important; } /* PC用を非表示 */

  /* スマホ用コンテナの全幅化 */
  .footer-sp-only {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: #FBF9F9 !important;
    font-family: "Noto Serif JP", "游明朝", Georgia, serif;
    padding: 40px 20px 0;
    box-sizing: border-box;
  }
  /* ロゴ＆お問い合わせエリア */
  .footer-sp-logo-area {
    text-align: center;
    border-bottom: 1px solid #E5DCD9;
    padding-bottom: 35px;
    margin-bottom: 10px;
  }
  .footer-sp-logo-area img {
    max-width: 220px; /* スマホ用にロゴを最適化 */
    height: auto;
  }
  .footer-sp-logo-area .footer-btn {
    width: 85%;
    max-width: 280px;
  }
  /* アコーディオンメニュー */
  .footer-sp-nav-section {
    width: 100%;
  }
  .footer-sp-toggle-input {
    display: none;
  }
  .footer-sp-nav-block {
    border-bottom: 1px solid #E5DCD9;
  }
  .footer-sp-nav-title {
    display: block;
    padding: 20px 10px;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: #A36A7E;
    font-weight: 500;
    position: relative;
    cursor: pointer;
    margin: 0;
  }
  /* 右側のプラス（＋）マーク */
  .footer-sp-nav-title::after {
    content: "+";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #A36A7E;
    transition: transform 0.3s;
  }
  /* 通常時はメニューを閉じておく */
  .footer-sp-nav-list {
    list-style: none;
    padding: 0 0 0 10px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  .footer-sp-nav-list li {
    margin-bottom: 15px;
  }
  .footer-sp-nav-list li:last-child {
    margin-bottom: 20px;
  }
  .footer-sp-nav-list a {
    font-size: 13px;
    color: #333 !important;
    text-decoration: none;
  }
  /* タップされてチェックが入ったら展開する */
  .footer-sp-toggle-input:checked ~ .footer-sp-nav-list {
    max-height: 200px;
  }
  /* タップされたらプラスを45度回転させて×にする */
  .footer-sp-toggle-input:checked ~ .footer-sp-nav-title::after {
    transform: translateY(-50%) rotate(45deg);
  }
}

/* ==========================================
   ■【共通】インフォ（住所・営業時間）
========================================== */
.footer-info-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-top: 1px solid #E5DCD9;
  background-color: #FBF9F9 !important;
  padding: 25px 0 40px; /* 途切れていた余白設定を修正 */
  text-align: center;
  font-size: 12px;
  color: #555;
  box-sizing: border-box;
}
.footer-info-inner {
  max-width: 1100px;
  margin: 0 auto !important;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 0 20px;
  box-sizing: border-box;
}
.info-item {
  position: relative;
  padding-left: 20px;
}
.info-address::before { content: "📍"; position: absolute; left: 0; font-size: 11px; }
.info-hours::before { content: "🕒"; position: absolute; left: 0; font-size: 11px; }


/* ==========================================================================
   ▼▼▼ スマホ設定： 768px以下　▼▼▼
========================================================================== */
/* スマホ表示時は下部インフォメーションを縦並びにする */
@media screen and (max-width: 768px) {
  .footer-info-inner {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    max-width: 290px;
  }
}

.info-address::before { 
  content: "\f3c5" !important; /* ピンマーク */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  color: #A36A7E; /* アイコンの色：くすみピンク */
  font-size: 13px;
  position: absolute; 
  left: 0; 
}
.info-hours::before { 
  content: "\f017" !important; /* 時計マーク */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 400 !important; /* 400にすると中が白抜きのシンプルな線になります */
  color: #A36A7E; 
  font-size: 13px;
  position: absolute; 
  left: 0; 
}




/* =============================================
 　◆カテゴリーリンク
　（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.05) !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; /* 青いリンク色を維持 */
}


/* ==========================================================================
   ▼▼▼ スマホ設定： 768px以下　▼▼▼
========================================================================== */
/* 　衣装一覧を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;
    }
}



/************************************
■フォント設定

************************************/
.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;
}


html, body {
  overflow-x: hidden !important;
}/*　右の空白強制削除　*/


/****************************
持ち物リスト list

****************************/

.list h2{
	font-size:20px;
}

.list h3{
	font-size:15px;
}

.list summary{
	font-size:16px;
	width:250px;
	margin:auto;
}

.list summary:hover{
	background:#dcdcdc;
}


/* ==========================================================================
   ▼▼▼ スマホ設定： 540px以下　▼▼▼
========================================================================== */
@media screen and (max-width: 540px){
.list p{
	font-size:10px;
	}
	
.list summary{
	margin-bottom:5px;	
	}	
}	



	
/***********************************
■規約、契約書ページ
is-style-default
************************************/
	.is-style-default a{
		font-size:30px;
		color:red;
	}


/* =============================================
 * サービスセクション
 * （スロー・表示順調整・PC上揃え）
 * ============================================= */
/* --- 基本設定 --- */
.service-section {
    position: relative !important;
    padding: 60px 0 !important; 
    overflow: hidden !important; /* はみ出し防止 */
}

/* 1. 背景巨大文字 (最もスロー) */
.service-section::before {
    content: attr(id) !important;
    position: absolute !important;
    top: -40px !important;
    right: 0 !important;
    font-family: "Yu Mincho", "YuMincho", serif !important;
    font-size: clamp(150px, 25vw, 380px) !important;
    font-weight: 500 !important;
    color: rgba(163, 141, 109, 0.04) !important;
    z-index: 1 !important;
    white-space: nowrap !important;
    pointer-events: none !important;
    animation: ogiyaRight 4.0s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

/* 2. 画像 (3.5秒) */
.service-section .wp-block-image {
    position: relative !important;
    z-index: 2 !important; 
    animation: ogiyaRight 3.5s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

/* 3. H4 (英語タイトル) - PCでは画像に被せる */
.service-section h4 {
    display: block !important;
    position: relative !important;
    z-index: 10 !important; 
    white-space: nowrap !important;
    width: auto !important;
    font-family: "Yu Mincho", "YuMincho", serif !important;
    font-size: clamp(80px, 10vw, 140px) !important; 
    color: rgba(163, 141, 109, 0.1) !important; 
    line-height: 1 !important;
    margin-top: -10px !important;   /* PC上揃え用 */
    margin-right: -150px !important; /* PC画像重ね用 */
    margin-bottom: -20px !important; 
    opacity: 0;
    animation: ogiyaRight 3.5s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.4s !important;
}

/* 4. H3 (日本語タイトル) */
.service-section h3 {
    position: relative !important;
    z-index: 11 !important;
    color: #333 !important;
    font-family: "Yu Mincho", "YuMincho", serif !important;
    font-size: clamp(22px, 2.5vw, 32px) !important;
    font-weight: 600 !important;
    margin-bottom: 30px !important;
    opacity: 0;
    animation: ogiyaUp 3.5s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.8s !important;
}

/* 5. P (本文) */
.service-section p {
    position: relative !important;
    z-index: 11 !important;
    color: #555 !important;
    line-height: 2.3 !important;
    opacity: 0;
    animation: ogiyaUp 3.5s cubic-bezier(0.22, 1, 0.36, 1) forwards 1.2s !important;
}

/* ==========================================================================
   ▲▲▲ スマホ設定： 783px以上▲▲▲
========================================================================== */
/* --- PC版（783px以上）の設定 --- */
@media screen and (min-width: 783px) {
    /* 画像とテキストを「上揃え」にする */
    .service-section .wp-block-columns {
        display: flex !important;
        align-items: flex-start !important; 
    }

    /* 逆転レイアウトの処理 */
    .service-section.reverse-layout .wp-block-columns {
        flex-direction: row-reverse !important;
    }
    .service-section.reverse-layout h4 {
        margin-right: 0 !important;
        margin-left: -150px !important; /* 左の画像に被せる */
        text-align: right !important;
        animation: ogiyaLeft 3.5s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.4s !important;
    }
}

/* ==========================================================================
   ▼▼▼ スマホ設定： 782px以下　▼▼▼
========================================================================== */
@media screen and (max-width: 782px) {
    .service-section .wp-block-columns { 
        display: flex !important; 
        flex-direction: column !important; 
    }
    .service-section .wp-block-column {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* 順番入替：H4(1) → 画像(2) → H3(3) → P(4) */
    .service-section h4 { 
        order: 1 !important; 
        margin: 0 0 -15px 0 !important; 
        padding: 0 25px !important;
        font-size: clamp(55px, 15vw, 80px) !important;
        animation: mobileRight 3.5s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.4s !important;
    }
    .service-section .wp-block-image { 
        order: 2 !important; 
        margin: 0 0 20px 0 !important; 
        animation: mobileRight 3.5s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
    }
    .service-section h3 { 
        order: 3 !important; 
        padding: 0 25px !important;
        animation: mobileUp 3.5s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.8s !important;
    }
    .service-section p { 
        order: 4 !important; 
        padding: 0 25px !important;
        animation: mobileUp 3.5s cubic-bezier(0.22, 1, 0.36, 1) forwards 1.2s !important;
    }
    
    /* モバイルでは逆転設定をリセット */
    .service-section.reverse-layout .wp-block-column { order: unset !important; }
}

/* --- アニメーション命令 --- */
/* PC用 */
@keyframes ogiyaRight {
    0% { opacity: 0; transform: translateX(80px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes ogiyaLeft {
    0% { opacity: 0; transform: translateX(-80px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes ogiyaUp {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}
/* モバイル用(短い移動) */
@keyframes mobileRight {
    0% { opacity: 0; transform: translateX(30px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes mobileUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}



/* =============================================
 * カテゴリーナビ 
 * (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;   /* ロゴと同じゴールド */
}


/* ==========================================================================
   ▼▼▼ スマホ設定： 768px以下　▼▼▼
========================================================================== */
/* 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;
    }
}


/* =============================================
 * タグ・アイコン・背景の徹底消去（再掲）
 * ============================================= */
.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;
}


/* ■ カテゴリー1（ニュース）のみ画像サイズを【横長】に固定 */
/* 1. カテゴリー1のリスト画像を指定（横長比率） */
.category-1 .entry-card-thumb img {
    aspect-ratio: 4 / 3 !important; /* 横長比率（さらに平たくするなら 16 / 9 ） */
    object-fit: cover !important;   /* 横長枠いっぱいに画像を埋める（余白を出さない） */
    width: 100% !important;
    height: auto !important;
}

/* 2. 画像の枠からはみ出さない設定 */
.category-1 .entry-card-thumb {
    overflow: hidden !important;
    background-color: transparent !important;
}


/* ==========================================================================
   ▼▼▼ スマホ設定： 768px以下　▼▼▼
========================================================================== */
/* 3. スマホでもカテゴリー1だけはこの横長比率を維持 */
@media screen and (max-width: 768px) {
    .category-1 .entry-card-thumb img {
        aspect-ratio: 4 / 3 !important;
    }
}



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


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


/* タイトル非表示設定 
.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;
}



/* ==========================================================================
   ■  見出しH1：
　（左スライド vs 中央出現）
========================================================================== */
/* 1. 全ページ共通デザイン */
.entry-title, .post-title, .page-title, .article h1, .article-header h1, h1.archive-title {
    opacity: 0;
    display: block; 
    background: none !important;
    border: none !important;
    font-family: 'Times New Roman', serif !important;
    color: #a38d6d !important;
    font-weight: 300 !important;
    letter-spacing: 0.1em !important;
    text-transform: capitalize !important;
    font-size: clamp(50px, 8vw, 90px) !important;
    margin: 0 !important;
    margin-top: 120px !important; /* PCやタブレットでヘッダーに被らないための　※上余白 */
}

/* 2. 【左からスライド】対象：カテゴリー(1, 24) ＆ 固定ページ(30) */
.category-1 .archive-title, .category-1 h1,
.category-24 .archive-title, .category-24 h1,
.page-id-30 .entry-title, .page-id-30 .page-title, .page-id-30 h1 {
    text-align: left !important;
    padding: 30px 0 0px 15px !important; /* ★下余白「0px」に修正 */
    animation: slideInLeftH1 1.8s ease-out forwards !important;
}

/* 3. 【中央・下から出現】それ以外の全ページ */
body:not(.category-1):not(.category-24):not(.page-id-30) .entry-title,
body:not(.category-1):not(.category-24):not(.page-id-30) .page-title,
body:not(.category-1):not(.category-24):not(.page-id-30) .archive-title,
body:not(.category-1):not(.category-24):not(.page-id-30) h1 {
    text-align: center !important;
    padding: 30px 5% 0px 5% !important;/* ★下余白「0px」に修正 */
    animation: fadeInUpH1 1.8s ease-out forwards !important;
}

/* 4. アニメーション定義 */
@keyframes fadeInUpH1 {
    0% { transform: translateY(40px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes slideInLeftH1 {
    0% { transform: translateX(-60px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   ▼▼▼ スマホ設定： 768px以下（一般的なスマホ） ▼▼▼
========================================================================== */
@media screen and (max-width: 768px) {
    .entry-title, .page-title, .archive-title, h1 {
        font-size: clamp(35px, 12vw, 50px) !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        margin-top: 90px !important; /* iPad〜通常スマホ幅のときの上余白 */
    }

    /* 左寄せ対象のスマホ設定 */
    .category-1 h1, .category-24 h1, .page-id-30 h1 {
        text-align: left !important;
        padding-left: 20px !important;
    }

    /* 中央寄せ対象のスマホ設定 */
    body:not(.category-1):not(.category-24):not(.page-id-30) h1 {
        text-align: center !important;
    }
}

/* ==========================================================================
   ▼▼▼ スマホ設定： 480px以下（極小画面対応） ▼▼▼
========================================================================== */
@media screen and (max-width: 480px) {
    /* 優先度負けを防ぐ強力なセレクタで、文字サイズ・上下の余白を完全上書き調整します */
    body:not(.category-1):not(.category-24):not(.page-id-30) .entry-title,
    body:not(.category-1):not(.category-24):not(.page-id-30) .page-title,
    body:not(.category-1):not(.category-24):not(.page-id-30) .archive-title,
    body:not(.category-1):not(.category-24):not(.page-id-30) h1,
    .category-1 h1, .category-24 h1, .page-id-30 h1,
    .entry-title, .page-title, .archive-title, h1 {
        font-size: 32px !important;       /* 横幅に美しく収まるサイズ */
        margin-top: 80px !important;      /* ヘッダーとの重なりを防ぐ上余白 */
        padding-bottom: 0px !important;   /* 下のいらない余白を完全に0にする */
    }
}





/************************************
■ 見出し設定　H2-H5

************************************/
.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;
}


/* ==========================================================================
   ▼▼▼ スマホ設定： 865px以下（一般的なスマホ） ▼▼▼
========================================================================== */
@media screen and (max-width: 865px) {
  .article h2 { font-size: 60px; }
}


/* ==========================================================================
   ▼▼▼ スマホ設定： 480px以下 ▼▼▼
========================================================================== */
@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;
}


/* ==========================================================================
   ▼▼▼ スマホ設定： 865px以下 ▼▼▼
========================================================================== */
@media screen and (max-width: 865px) {
  .single .article h2 { font-size: 32px !important; }
}


/* ==========================================================================
   ▼▼▼ スマホ設定： 480px以下 ▼▼▼
========================================================================== */
@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; /* 入力後の文字を見やすく */
}



/* ==========================================================================
   ▼▼▼ スマホ設定： 865px以下 ▼▼▼
========================================================================== */
@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;
  }
}

/* ==========================================================================
   ▼▼▼ スマホ設定： 540px以下 ▼▼▼
========================================================================== */
@media screen and (max-width: 540px) {
  .contact-form tr, 
  .entry-form tr {
    margin-bottom: 15px; /* さらに少し詰める */
  }
  
  .contact-form th, 
  .entry-form th {
    font-size: 14px;
  }
}




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

************************************/

/* 送信後のレスポンスメッセージ */
.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;
}


/************************************
■ 送信ボタン ＆ エントリーボタン
共通デザイン
************************************/
/* 1. 外枠（エントリーボタンの親要素）の幅をリセット */
.wp-block-buttons.recruit-entry-button {
    width: 100% !important;
    max-width: 100% !important;
    margin: 2rem auto !important;
    text-align: center !important;
}

/* 2. ボタン本体のデザイン統合 */
/* 送信ボタン本体 ＋ エントリーボタンのリンクタグ */
.wpcf7-submit, 
.wp-block-buttons.recruit-entry-button .wp-block-button__link {
    /* 表示形式を共通化（これで幅が正しく反映されます） */
    display: block !important;
    box-sizing: border-box !important;
    
    /* サイズ設定：ここを共通にすることで全く同じ大きさになります */
    width: 300px !important;    /* PCでの横幅 */
    max-width: 100% !important;
    margin: 0 auto !important;  /* 中央配置 */
    padding: 20px 10px !important; /* 上下の太さ */
    
    /* デザイン設定 */
    background-color: #333 !important;
    color: #fff !important;
    font-size: 18px !important;
    font-family: "Yu Mincho", "MS PMincho", serif !important;
    letter-spacing: 0.15em !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 4px !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* 3. ホバー時の動きを統一 */
.wpcf7-submit:hover, 
.wp-block-buttons.recruit-entry-button .wp-block-button__link:hover {
    transform: translateY(2px);
    opacity: 0.8 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 4. Contact Form 7 の不要な要素を非表示 */
.wpcf7-spinner {
    display: none !important;
}


/* ==========================================================================
   ▼▼▼ スマホ設定： 540px以下 ▼▼▼
========================================================================== */
@media screen and (max-width: 540px) {
    .wpcf7-submit, 
    .wp-block-buttons.recruit-entry-button .wp-block-button__link {
        width: 220px !important; /* スマホでは少し短く */
        font-size: 14px !important;
        padding: 15px 10px !important; /* スマホ用の厚み */
    }
}



/************************************
■ プライバシーポリシー (.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;
  }
}


/* ========================================
 　◆リクルートテーブル

 * =======================================*/

/* 1. テーブル全体のガワを整える */
.recruit-table table,
.recruit-table .has-fixed-layout {
    width: 100% !important;
    table-layout: auto !important; /* 固定レイアウトを解除して文字量に合わせる */
    border-collapse: collapse !important;
    border: none !important;
    margin: 40px 0 !important;
}

/* 2. 不要な空の<td>を非表示にする（もし存在する場合） */
.recruit-table td:empty {
    display: none !important;
}

/* 3. 各行の下線 */
.recruit-table tr {
    border-bottom: 1px solid #eee !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* 4. 左側（見出し th）の装飾 */
.recruit-table th {
    width: 25% !important; /* th style="width:25%" を活かしつつ調整 */
    padding: 35px 15px !important;
    text-align: left !important;
    vertical-align: top !important;
    font-family: "Yu Mincho", "YuMincho", serif !important;
    font-weight: 500 !important;
    color: #333 !important;
    background: transparent !important; /* 背景色を消す */
    border: none !important;
    letter-spacing: 0.1em !important;
}

/* 5. 右側（内容 td）の装飾 */
.recruit-table td {
    padding: 35px 15px !important;
    text-align: left !important;
    vertical-align: top !important;
    font-family: "Yu Mincho", "YuMincho", serif !important;
    color: #666 !important;
    line-height: 2 !important;
    border: none !important;
}


/* ==========================================================================
   ▼▼▼ スマホ設定： 782px以下 ▼▼▼
========================================================================== */
/* 6. モバイル対応：縦並びへ強制変換 */
@media screen and (max-width: 782px) {
    .recruit-table th, 
    .recruit-table td {
        display: block !important;
        width: 100% !important;
        padding: 15px 15px !important;
    }
    .recruit-table th {
        padding-bottom: 0 !important;
        font-size: 14px !important;
    }
    .recruit-table td {
        padding-top: 5px !important;
        padding-bottom: 30px !important;
    }
}



/************************************
■ ホーム：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;
}


/* ==========================================================================
   ▼▼▼ スマホ設定： 865px以下 ▼▼▼
========================================================================== */
@media screen and (max-width: 865px) {
  .txtbox {
    margin-top: 2rem;
  }
  .txt-1 {
    font-size: 24px; /* 3vwだと小さくなりすぎる場合があるため固定値推奨 */
  }
}


/* ==========================================================================
   ▼▼▼ スマホ設定： 540px以下 ▼▼▼
========================================================================== */
@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;
}

/* ==========================================================================
   ▼▼▼ スマホ設定： 1100px以下 ▼▼▼
========================================================================== */
@media screen and (max-width: 1100px) {
  .txtbox2 {
    margin-left: 10rem; /* 中間サイズで段階的に減らす */
  }
}


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

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

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

/* ==========================================================================
   ▼▼▼ スマホ設定： 865px以下 ▼▼▼
========================================================================== */
@media screen and (max-width: 865px) {
  .txt-3 {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   ▼▼▼ スマホ設定： 540px以下 ▼▼▼
========================================================================== */
@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;
  }
}




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

/* 記事タイトル */
.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;
}

/* ==========================================================================
   ▼▼▼ スマホ設定： 540px以下 ▼▼▼
========================================================================== */
@media screen and (max-width: 560px) {
  .list h2 {
    font-size: 16px;
    padding: 0 10px;
  }
}



/***********************************
■ 事務所移転ページ
(.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; }


/* 編集画面選択した部分文字白になるので背景グレーに */
.block-editor-list-view-tree tr.is-selected {
    background-color: #e0e0e0 !important;
}


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

************************************/

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

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

