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

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

/* Platinum Sky Article Design for Cocoon */

:root {
  --ps-blue: #00175A;
  --ps-silver: #E5E4E2;
  --ps-text: #333333;
  --ps-bg: #F9F9F9;
  --ps-accent-gold: #C5A059; /* 控えめなアクセント */
}

/* 記事全体のラッパー */
.platinum-sky-article {
  color: var(--ps-text);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

/* --- タイポグラフィ --- */
.platinum-sky-article h2 {
  color: var(--ps-blue);
  font-family: "Shippori Mincho", "Noto Serif JP", "Yu Mincho", YuMincho, serif;
  font-size: 28px;
  border-bottom: 2px solid var(--ps-blue);
  padding-bottom: 15px;
  margin-top: 60px;
  margin-bottom: 30px;
  background: none; /* Cocoonのデフォルト解除 */
  position: relative;
}

.platinum-sky-article h3 {
  color: var(--ps-text);
  font-size: 22px;
  border-left: 6px solid var(--ps-blue);
  padding-left: 15px;
  margin-top: 40px;
  margin-bottom: 20px;
  background: none; /* Cocoonのデフォルト解除 */
}

.platinum-sky-article p {
  margin-bottom: 1.5em;
  font-size: 16px;
}

/* --- 強調ボックス（Reference: 明細用） --- */
.ps-reference-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-top: 4px solid var(--ps-blue);
  padding: 25px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.ps-reference-title {
  display: block;
  font-weight: bold;
  color: var(--ps-blue);
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  font-family: sans-serif;
}

.ps-reference-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ps-reference-list li {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dotted #eee;
}

.ps-total-value {
  margin-top: 15px;
  font-weight: bold;
  text-align: right;
  color: var(--ps-blue);
  font-size: 1.1em;
}

/* --- 注釈ボックス（Disclaimer） --- */
.ps-disclaimer-box {
  background-color: #f8f8f8;
  border-left: 4px solid #999;
  padding: 20px;
  margin: 30px 0;
  font-size: 0.9em;
  color: #666;
}

.ps-disclaimer-title {
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
  color: #444;
}

/* --- 導入部のリード文強調 --- */
.ps-lead {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin: 40px 0;
  color: var(--ps-blue);
  line-height: 1.6;
}

/* --- CTAボタン（申し込み） --- */
.ps-cta-container {
  text-align: center;
  margin: 60px 0;
}

.ps-cta-button {
  display: inline-block;
  background: var(--ps-blue);
  background: linear-gradient(135deg, #00175A 0%, #002663 100%);
  color: #fff !important;
  font-size: 18px;
  font-weight: bold;
  padding: 20px 40px;
  text-decoration: none;
  border-radius: 2px;
  letter-spacing: 0.1em;
  box-shadow: 0 5px 15px rgba(0, 23, 90, 0.3);
  transition: all 0.3s ease;
}

.ps-cta-button:hover {
  background: #002663;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 23, 90, 0.4);
  color: var(--ps-silver) !important;
}

/* --- 画像のスタイル --- */
.platinum-sky-article img {
  border-radius: 2px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* ヒントボックス（ちょっとした補足用） */
.ps-hint-box {
  background-color: #f8f9fa; /* 非常に薄いグレーの背景 */
  border-left: 4px solid var(--ps-accent-gold); /* 左端にゴールドのアクセント線 */
  padding: 15px 20px;
  margin: 25px 0;
  border-radius: 0 4px 4px 0; /* 右側だけ少し丸く */
}
.ps-hint-title {
  display: block;
  font-weight: bold;
  color: var(--ps-text);
  margin-bottom: 10px;
}
.ps-hint-box p {
  margin-bottom: 5px;
  font-size: 0.95em; /* 本文より少しだけ小さく */
  line-height: 1.6;
}
.ps-hint-box a {
  color: var(--ps-blue);
  text-decoration: none;
  font-weight: bold;
}
.ps-hint-box a:hover {
  text-decoration: underline;
}

/* =========================================
   Platinum Sky トップページ専用CSS (完全版)
========================================= */

.platinum-sky-top {
  width: 100%;
  margin: 0 auto;
}

/* --- 1. ヒーローエリア（スライドショー） --- */
.ps-hero-section {
  position: relative;
  width: 100%;
  height: 500px; /* PCでの高さ */
  overflow: hidden;
  margin-bottom: 60px;
  background-color: #000; /* 画像ロード前の背景 */
}

/* スライド共通設定 */
.ps-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: psFade 30s infinite; /* 6枚 × 5秒 = 30秒ローテ */
}

/* 6枚のアニメーションタイミング設定 */
.ps-slide:nth-child(1) { animation-delay: 0s; }
.ps-slide:nth-child(2) { animation-delay: 5s; }
.ps-slide:nth-child(3) { animation-delay: 10s; }
.ps-slide:nth-child(4) { animation-delay: 15s; }
.ps-slide:nth-child(5) { animation-delay: 20s; }
.ps-slide:nth-child(6) { animation-delay: 25s; }

@keyframes psFade {
  0% { opacity: 0; }
  10% { opacity: 1; } /* ふわっと現れる */
  25% { opacity: 1; } /* 表示キープ */
  35% { opacity: 0; } /* ふわっと消える */
  100% { opacity: 0; }
}

/* キャッチコピー（画像の上に重なる文字） */
.ps-hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 90%;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* 文字を見やすくする影 */
}

.ps-hero-sub {
  color: #E5E4E2; /* プラチナシルバー */
  font-size: 14px;
  letter-spacing: 0.3em;
  margin-bottom: 15px;
  font-family: sans-serif;
  text-transform: uppercase;
}

.ps-hero-title {
  font-size: 42px;
  color: #fff;
  font-family: "Shippori Mincho", serif;
  line-height: 1.4;
  margin: 0;
  border: none;
}

/* --- PC/スマホの表示切り替え（ここが重要） --- */

/* PC・タブレット横 (769px以上) */
@media screen and (min-width: 769px) {
  .ps-slider-mobile { display: none; } /* スマホ用スライダーを消す */
  .ps-slider-pc { display: block; }    /* PC用スライダーを表示 */
}

/* スマホ・タブレット縦 (768px以下) */
@media screen and (max-width: 768px) {
  .ps-hero-section { height: 350px; }  /* スマホでの高さ調整（4:3に合わせて少し高く） */
  .ps-slider-pc { display: none; }     /* PC用スライダーを消す */
  .ps-slider-mobile { display: block; }/* スマホ用スライダーを表示 */
  
  .ps-hero-title { font-size: 28px; }  /* スマホ文字サイズ調整 */
}


/* --- 2. 以下、コンテンツエリアのデザイン --- */

/* コンテンツ全体の枠（PCで広がりすぎないように） */
.platinum-sky-top > div:not(.ps-hero-section) {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ボス記事誘導ボックス */
.ps-feature-box {
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  border-radius: 2px;
}
.ps-feature-label {
  background: #00175A; /* Deep Blue */
  color: #fff;
  padding: 5px 15px;
  font-size: 12px;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  letter-spacing: 0.1em;
}
.ps-feature-box h3 {
  color: #00175A;
  margin-top: 10px;
  font-size: 24px;
  border: none;
}
.ps-btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #00175A 0%, #002663 100%);
  color: #fff !important;
  padding: 15px 50px;
  text-decoration: none;
  border-radius: 2px;
  margin-top: 25px;
  font-weight: bold;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
}
.ps-btn-primary:hover { opacity: 0.9; }

/* グリッドレイアウト */
.ps-section-title {
  text-align: center;
  font-size: 28px;
  color: #333;
  margin-bottom: 40px;
  border: none;
  font-family: serif;
  font-style: italic;
}
.ps-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PCは3列 */
  gap: 30px;
  margin-bottom: 80px;
}
.ps-card {
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.ps-card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.ps-card-body { padding: 20px; }
.ps-card-body h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #00175A;
}
.ps-card-body p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}
.ps-link-text {
  color: #00175A;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}

/* --- Quiet Luxury シェアボタン（完全円形スタイル） --- */
.ps-share-area {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid #eee;
  text-align: center;
}

.ps-share-title {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #999;
  margin-bottom: 25px;
}

.ps-share-buttons {
  display: flex;
  justify-content: center;
  gap: 20px; /* ボタンの間隔を少し広げて優雅に */
}

.ps-share-btn {
  display: flex;             
  justify-content: center;   
  align-items: center;       
  width: 50px;               
  height: 50px;
  text-decoration: none;
  border: 1px solid #00175A; 
  color: #00175A;
  background-color: #fff;
  transition: all 0.3s ease;
  border-radius: 50%;
  
  /* ▼▼▼ ここを変更しました（20px → 26px） ▼▼▼ */
  font-size: 26px;           
  /* ▲▲▲▲▲▲ */
}

/* ホバー時の動き（色が反転＋少し浮く） */
.ps-share-btn:hover {
  background-color: #00175A;
  color: #E5E4E2 !important; /* シルバー文字 */
  border-color: #00175A;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 23, 90, 0.2);
}

/* スマホ調整 */
@media screen and (max-width: 768px) {
  .ps-share-btn {
    width: 30%;
    font-size: 11px;
    padding: 10px 0;
  }
}

/* スマホ用グリッド調整 */
@media screen and (max-width: 768px) {
  .ps-grid-container {
    grid-template-columns: 1fr; /* スマホは1列 */
  }
}

/* プロフィール */
.ps-profile-section {
  text-align: center;
  padding: 60px 20px;
  border-top: 1px solid #eee;
  background-color: #fff;
  margin-bottom: 40px;
}
.ps-btn-secondary {
  display: inline-block;
  border: 1px solid #333;
  color: #333;
  padding: 10px 30px;
  text-decoration: none;
  margin-top: 20px;
  font-size: 14px;
}
/* ====================================
   1. ベース（PC・タブレット横 1024px以上）
   Quiet Luxury: 没入感を保つための「枠」
   ==================================== */
.content {
    /* ここが重要！ */
    max-width: 1200px; /* どれだけ画面が大きくても、これ以上広げない */
    margin: 0 auto;    /* 画面中央に配置 */
    
    /* 余白で上品さを出す */
    padding: 0 40px;   
}

/* これだけで、
   ・タブレット横（1024px）：画面いっぱいにちょうどよく収まる
   ・大型PC（1920px）：中央に美しくまとまり、左右に高級感ある余白ができる
   という「レスポンシブな美しさ」が実現します。
*/


/* ====================================
   2. タブレット縦 専用（768px 〜 1023px）
   （サイドバーなし、余白あり）
   ==================================== */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .content {
    max-width: none; /* リミッター解除 */
    width: 90%;
    padding: 0;
  }
  /* ...以下略... */
}

/* ====================================
   3. スマホ 専用（〜767px）
   ==================================== */
@media screen and (max-width: 768px) {
  .platinum-sky-article h2 {
    font-size: 24px;
  }
  .ps-reference-list li {
    flex-direction: column;
  }
}



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

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

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