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

.navi {
  background-color:#1e90ff !important;
}

.container {
  background-color: #ffffff;
}

.content .container {
  max-width: 60%;
}

.logo {
  text-align: left !important;
}
.wrap {
  width: 100% !important;  
}
.search-menu-button {
  display: none !important;
}

.sidebar-menu-button {
  display: none !important;
}

/* ✅ トップページ専用 */
#main {
  padding: 0px;
  margin: 0px;
}

.product-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 40px;
}


.hero-image {
  background: url('/wp-content/themes/cocoon-child-master/assets/images/hero-main_R.jpg') no-repeat center center;
  background-size: cover;
  height: 70vh;
  position: relative;
  color: white;
  text-align: center;
}


/* ✅ 中央下にボタン配置 */
.hero-text {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* ✅ ボタンスタイルは維持 */
.hero-button {
  display: inline-block;
  background-color: #4caf50;
  color: white;
  padding: 6px 12px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  width: auto;
}

.hero-button.secondary {
  background-color: #03a9f4;
  display: inline-block;
  color: white;
  padding: 6px 12px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  width: auto;
}


.hero-text {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;              /* ← 横並びにする */
  gap: 10px;                  /* ← ボタン間の余白 */
  justify-content: center;
  width: 80%;
}


/* 特徴セクション */
.feature-block {
  margin-top: 60px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.feature-image img {
  max-width: 100%;
  border-radius: 8px;
}

.feature-list {
  flex: 1;
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  margin-bottom: 10px;
}

/* FAQ セクションスタイル */
.faq-section {
  margin: 60px 0;
}

.faq-section h2 {
  font-size: 24px;
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 2px solid #4caf50;
  display: inline-block;
  padding-bottom: 6px;
}

.faq-item {
  display: block; /* ← これが決め手！ */
  background: #f9f9f9;
  border-left: 4px solid #4caf50;
  margin-bottom: 25px;
  padding: 20px;
  border-radius: 8px;
}


.faq-question {
  font-weight: bold;
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

.faq-answer {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-left: 1em;
}


.cta-section {
  text-align: center;
  margin: 60px 0;
}

.cta-buttons {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.btn-cta {
  display: inline-block;
  padding: 14px 32px;
  min-width: 250px; /* ✅ 幅統一 */
  text-align: center;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  color: white;
}

/* ✅ 明るい色に統一 */
.btn-green {
  background-color: #4caf50;
}

.btn-green:hover {
  background-color: #43a047;
}

.btn-blue {
  background-color: #006c9d;
}

.btn-blue:hover {
  background-color: #005f8a;
}

.btn-lightblue {
  background-color: #4ba7d1;
}

.btn-lightblue:hover {
  background-color: #3a84a7;
}


/* フッターナビの親 */
.navi-footer-in {
  text-align: center !important;
  padding: 20px 10px !important;
  background-color: #f9f9f9 !important;
}

/* メニュー本体 */
.menu-footer {
  display: grid !important;
  grid-template-columns: repeat(4, auto) !important;
  grid-template-rows: auto auto !important;
  justify-content: center !important;
  gap: 10px 30px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 各メニュー項目 */
.menu-footer li {
  font-size: 14px !important;
}

.menu-footer li a {
  color: #333 !important;
  text-decoration: none !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  transition: background-color 0.2s !important;
}

.menu-footer li a:hover {
  background-color: #e0f0ff !important;
}


.changelog-block {
  margin-top: 40px;
  padding: 20px;
  background: #f9f9f9;
  border-left: 4px solid #4caf50;
  border-radius: 6px;
}
.changelog-block h2 {
  margin-bottom: 10px;
  font-size: 18px;
}
.changelog-block ul {
  list-style: disc;
  margin-left: 20px;
}


/* ✅ レスポンシブ対応 */
@media screen and (max-width: 1024px) {

  .content .container {
    max-width: 90%%;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  .feature-grid {
    flex-direction: column;
  }
  .hero-button {
    padding: 6px 14px;
    font-size: 14px;
  }
  .hero-button.secondary {
    padding:6px 14px;
    font-size: 14px;
  }
}

@media screen and (max-width: 834px) {

  .content .container {
      max-width: 98%;
    }
  .hero-image {
    height: 40vh;
  }
  .hero-text {
    bottom: 20px;
  }
  .hero-button {
    padding: 4px 10px;
    font-size: 12px;
  }
  .hero-button.secondary {
    padding:4px 10px;
    font-size: 12px;
  }
  .logo {
  text-align: center !important;
}
}



.content .container {
  margin: 0 auto;
  padding: 30px 20px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  border-radius: 8px;
}

.content .container h1 {
  font-size: 26px;
  border-bottom: 2px solid #ccc;
  padding-bottom: 8px;
  margin-bottom: 25px;
}

.content .container h2 {
  font-size: 20px;
  margin-top: 30px;
  padding-left: 5px;
  border-left: 4px solid #4caf50;
  color: #222;
}

.content .container p {
  margin-bottom: 20px;
}

.content .container ul {
  margin: 0 0 20px 20px;
  padding-left: 20px;

}

.content .container li {
  margin-bottom: 10px;
}

.developer-hero img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 40px;
  border-bottom: 2px solid #eee;
}

.plan-hero img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 40px;
  border-bottom: 2px solid #eee;
}




/* ✅ タブレット対応：1024px以下 */
@media screen and (max-width: 1024px) {
  .content .container {
    padding: 25px 16px;
    font-size: 15px;
  }

  .content .container h1 {
    font-size: 24px;
  }

  .content .container h2 {
    font-size: 18px;
  }
}

/* ✅ モバイル対応：834px以下 */
@media screen and (max-width: 834px) {
  .content .container {
    padding: 20px 12px;
    font-size: 14.5px;
  }

  .content .container h1 {
    font-size: 22px;
  }

  .content .container h2 {
    font-size: 17px;
  }

  .content .container ul {
    margin-left: 15px;
    padding-left: 15px;
  }
}

@media screen and (max-width: 834px) {
  /* ✅ ❶ 特徴セクションの余白調整 */
  .feature-image {
    margin-bottom: 20px;
  }
  .feature-list {
    padding: 0 10px;
  }

  /* ✅ ❷ CTAボタン縦並び＋幅広く */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-cta {
    width: 100%;
    min-width: unset;
    font-size: 15px;
  }

  /* ✅ ❸ FAQの調整 */
  .faq-question {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .faq-answer {
    font-size: 14px;
    margin-left: 0;
    padding-left: 10px;
  }

  .menu-footer {
    grid-template-columns: repeat(2, auto) !important;
    gap: 10px 20px !important;
  }
}


/* ✅ メディアブロック共通 */
.guide-media {
  margin-top: 20px;
  margin-bottom: 40px;
  text-align: center;
}

.guide-media img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* ✅ YouTubeなどのレスポンシブ埋め込み対応 */
.guide-media iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  border: none;
  display: block;
  margin: 0 auto;
}

/* ✅ モバイル調整 */
@media screen and (max-width: 834px) {
  .guide-media {
    margin-top: 16px;
    margin-bottom: 30px;
  }
  .guide-media iframe {
    aspect-ratio: 16 / 9;
  }
}

/* ✅ タブレット調整 */
@media screen and (max-width: 1024px) {
  .guide-media {
    margin-top: 18px;
    margin-bottom: 36px;
  }
}


/* 拡大前カーソル */
.zoom-img img {
  cursor: zoom-in;
}

/* 拡大用オーバーレイ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* 🔒 スクロール完全禁止 */
}

/* 拡大表示画像 */
.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  transform-origin: center center;
  transform: scale(1);
  transition: transform 0.1s ease;
  border: 4px solid #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  cursor: zoom-out;
  user-select: none;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5em 1em;
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li::before {
  margin-right: 0.5em;
}

@media (max-width: 1024px) {
  .features-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 834px) {
  .features-list {
    grid-template-columns: 1fr;
  }
}

/* 開発物語ページ全体 */
.dev-story-section {
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
}

#top-image-wrapper {
  width: 100%;
}

#page-body-wrapper {
  width: 60%;
  margin: auto;
}

/* ヒーローセクション */
.dev-story-hero {
  margin-bottom: 40px;
  text-align: center;
}

.dev-story-hero img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.dev-story-hero h2 {
  font-size: 2rem;
  margin-top: 20px;
}

.dev-story-hero p {
  font-size: 1rem;
  color: #555;
}

/* 各セクション共通 */
.dev-story-section > div,
.dev-thanks {
  margin-bottom: 60px;
}

.dev-story-section h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.dev-story-section p {
  line-height: 1.8;
  color: #444;
}

/* 感謝セクション */
.dev-thanks h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #222;
}

.dev-thanks p {
  line-height: 1.8;
  color: #444;
}

.story-spacer {
  height: 40px; /* 必要に応じて調整（例：40〜80px） */
}


/* スマホ向けのレスポンシブ調整（オプション） */
@media (max-width: 834px) {
  .dev-story-hero h2 {
    font-size: 1.5rem;
  }

  .story-spacer {
  height: 20px; /* 必要に応じて調整（例：40〜80px） */
}


  .dev-story-section h3 {
    font-size: 1.3rem;
  }
#page-body-wrapper {
  width: 95%;
}
}

.contact-content-class {
  margin: auto !important;
}

.breadcrumb-home {
  display: none !important;
}

.date-tags {
  display: none !important;
}

/* ✅ タブボタン共通スタイル */
.product-tabs {
  text-align: center;
  margin: 40px 0;
}

.product-tab-btn {
  padding: 12px 24px;
  margin: 0 8px;
  border: 1px solid #0073aa;
  background-color: #f9f9f9;
  color: #0073aa;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.product-tab-btn:hover {
  background-color: #e6f3fc;
}

.product-tab-btn.active {
  background-color: #0073aa;
  color: #fff;
}

/* ✅ タブコンテンツの初期状態 */
.product-tab-content {
  display: none;
}

.product-tab-content.active {
  display: block;
}

/* ✅ スクリーンショットギャラリー */
.screenshot-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.screenshot-gallery a img {
  width: 100%;
  border: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.screenshot-gallery a img:hover {
  transform: scale(1.03);
}

/* ✅ よくある質問セクション */
.faq-section {
  margin: 60px auto;
  max-width: 800px;
}

.faq-item {
  margin-bottom: 25px;
}

.faq-question {
  font-weight: bold;
  color: #0073aa;
  margin-bottom: 5px;
}

.faq-answer {
  margin-left: 10px;
}

/* ✅ 特徴リスト */
.features-list {
  list-style: none;
  padding-left: 0;
  margin: 30px 0;
}

.features-list li {
  padding: 8px 0;
  border-bottom: 1px solid #e1e1e1;
  padding-left: 1.5em;
  position: relative;
}

.features-list li::before {
  content: "✅";
  position: absolute;
  left: 0;
  color: #28a745;
}

/* ✅ 推奨用途セクション */
#ghostgate-screenshots p,
#ghostgate-screenshots h2,
.features-list h2,
.faq-section h2 {
  text-align: center;
}

/* ✅ レスポンシブ対応 (834px以下) */
@media (max-width: 834px) {
  .product-tab-btn {
    display: block;
    width: 100%;
    margin: 10px 0;
  }

  .screenshot-gallery {
    flex-direction: column;
    align-items: center;
  }

  .screenshot-gallery > div {
    width: 100%;
    max-width: 90%;
  }

  .faq-section {
    padding: 0 20px;
  }

  .features-list li {
    font-size: 15px;
  }
}
