/*--------------------------------------------------------------
1. エンコーディング宣言および子テーマ情報
--------------------------------------------------------------*/
@charset "UTF-8";
/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ（サブメニューのアニメーション無効版）
Template: cocoon-master
Author: わいひら
Author URI: https://fiotto.biz/
*/

/*--------------------------------------------------------------
2. フォント読み込み
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Noto+Serif+JP:wght@400;700&display=swap');

/*--------------------------------------------------------------
3. ベース設定（フォント・背景など）
--------------------------------------------------------------*/
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Noto Serif JP', serif;
  color: #333;
  background-color: #fafafa;
  line-height: 1.6;
}

.main {
  padding: 0;
}

.content {
  margin-top: 5px;
}

/*--------------------------------------------------------------
5. アンカーオフセット
--------------------------------------------------------------*/
.anchor-offset {
  display: block;
  height: 80px;
  margin-top: -80px;
  visibility: hidden;
}

/*==================================================
4. グローバルナビ（通常＆コンパクト両対応）
==================================================*/
#navi {
  position: relative;
  z-index: 10020;
}

#navi ul li {
  position: relative;
}

#navi ul li a {
  display: inline-block;
  text-align: center;
  padding: 0.8em 1em;
  height: 64px;
  line-height: 1.2;
  vertical-align: middle;
  text-decoration: none;
}

.menu-label-en {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #222;
  text-transform: uppercase;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.menu-label-ja {
  display: block;
  font-size: 0.6rem;
  color: #aaa;
  font-family: 'Noto Serif JP', serif;
  margin-top: 4px;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10010;
}

#header-container {
  position: relative;
  z-index: 1;
}

/*--------------------------------------------------------------
6. コンパクトヘッダー設定
--------------------------------------------------------------*/
.compact-header-flex {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 2em;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  z-index: 9999;
}

body.compact-header .compact-header-flex {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.compact-header .compact-logo {
  display: flex;
  align-items: center;
  min-width: 160px;
}

body.compact-header .compact-logo img {
  height: 48px;
  width: auto;
  display: block;
}

body.compact-header #navi ul li {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

body.compact-header #navi ul li a {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1em;
}

body.compact-header .sub-menu {
  position: fixed !important;
  top: 90px;
  left: 0;
  display: none;
  min-width: 160px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10000;
}

body.compact-header #navi ul li:hover > ul.sub-menu {}

body.compact-header #navi .sub-menu li {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
}

body.compact-header .sub-menu li a {
  height: 100%;
  width: 100%;
  padding: 0 1em;
  display: flex;
  align-items: center;
}

/*--------------------------------------------------------------
7. レスポンシブ設定
--------------------------------------------------------------*/
@media screen and (max-width: 1300px) {
  body.compact-header .menu-header {
    display: none !important;
  }
}

@media screen and (max-width: 1060px) {
  #navi,
  .compact-header-flex {
    display: none !important;
  }

  #header-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 10020 !important;
  }

  #header-container-in {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .inner {
    margin-top: 120px !important;
  }
}

/*--------------------------------------------------------------
8. Hero Section
--------------------------------------------------------------*/
.hero-section,
.hero-container {
  background: #e6ff1c;
}

.hero-section {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.hero-section::before {
  content: "F";
  position: absolute;
  left: 18%;
  transform: translateX(-50%);
  top: 30rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
  z-index: 10;
  pointer-events: none;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2em 1em;
}

.hero-logo {
  display: flex;
  flex: 1 1 200px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  position: relative;
}

.hero-logo img {
  display: block;
  height: auto;
  max-width: 400px;
}

.hero-image-wrap {
  position: relative;
  flex: 2 1 300px;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
}

.hero-catchcopy {
  position: absolute;
  top: 50%;
  left: -10%;
  transform: translateY(-50%);
  z-index: 10;
  text-align: center;
}

.hero-catchcopy span {
  display: table;
  margin-bottom: 0.5em;
  padding: 0.1em 3em;
  background: #fff;
  letter-spacing: 0.3em;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.8;
}

.hero-catchcopy span:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
9. 縦線（Hero下からページ末尾まで）
--------------------------------------------------------------*/
#main-content {
  position: relative;
}

#main-content::before {
  content: "";
  position: absolute;
  left: 18%;
  transform: translateX(-50%);
  top: calc(30rem + 1.5rem + 1rem);
  bottom: 0;
  width: 2px;
  background: #000;
  z-index: 1;
  pointer-events: none;
}

/*--------------------------------------------------------------
10. Introduce Section
--------------------------------------------------------------*/
#introduce {
  position: relative;
  background: #e6ff1c;
  border-bottom-left-radius: 4rem;
  border-bottom-right-radius: 4rem;
  overflow: visible;
}

.introduce-inner {
  position: relative;
  margin: 0 auto;
  margin-left: calc(18% - 4rem);
  padding: 12rem 2rem 8rem;
  line-height: 1.8;
  letter-spacing: 0.4em;
}

#introduce .section-title,
#introduce .introduce-lead,
#introduce .introduce-text {
  display: inline-block;
  position: relative;
  z-index: 2;
  background: #e6ff1c;
}

#introduce .section-title {
  padding-right: 0.5em;
  padding-top: 1em;
  font-size: 2.4rem;
}

#introduce .introduce-lead {
  padding-right: 0.5em;
  font-size: 2.4rem;
}

#introduce .introduce-text {
  font-size: 1.2rem;
  line-height: 1.8;
  padding: 4rem 0;
}

#introduce .mask-text {
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------
   Case Studies Section
   ・スライダーをブラウザ幅いっぱいに広げ、中央配置
   ・左右のスライドを見切れるように overflow:visible
-------------------------------------------------------------- */


#case-studies .case-studies-inner {
  margin-left: 0;
  margin-right: 0;
  margin-top: 4em;
  position: relative;
  overflow: visible;
}

#case-studies .case-studies-inner .section-title {
  z-index: 2;
  background: #fff;
  position: relative;
  margin: 0 auto;
  margin-left: calc(18% - 4rem);
  padding: 4rem 2rem 2rem;
  line-height: 1.8;
  letter-spacing: 8px;
}

/* スライダーそのものをビューポート幅に */
#case-studies .case-slider {
  background: #fff;
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  transform: translateX(-50%);
  margin: 0;              /* 親要素の余白もリセット */
  padding: 1em 1em 1em;         /* 既存 padding を維持 */
  overflow: visible;      /* 子の .slick-list も見切れ可に */
  z-index: 3;
}

/* slick-list（トラックの外枠）を見切れ可に */
#case-studies .case-slider .slick-list {
  overflow: visible;
}

/* 各スライドの余白を調整（見切れ量／間隔） */
#case-studies .case-slider .slick-slide {
  padding: 0 0.5rem;      /* 既存の両サイド余白をそのまま活かす */
  box-sizing: border-box;
}

/* 画像は中央スライドでフルサイズ表示 */
#case-studies .case-slider .slick-slide.slick-center img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* 中央以外のスライドは、見切れて OK */
#case-studies .case-slider .slick-slide:not(.slick-center) img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  opacity: 0.8; /* 必要なら濃淡をつけても OK */
}

/*--------------------------------------------------------------
12. CTA Section （画像参照デザイン適用）
--------------------------------------------------------------*/
#cta {
  position: relative;
  z-index: 2;
  background-color: #e6ff1c;    /* 画像のイエロー */
  border-radius: 2rem;          /* 大きめの丸み */
  padding: 10em 2em;
  margin: 20rem 10em;               /* 前後に余白 */
  text-align: center;           /* 中央寄せ */
}

#cta .cta-text {
  font-size: 1.5rem;            /* テキストサイズ */
  line-height: 1.8;
  margin-bottom: 2rem;          /* ボタンとの間隔 */
  color: #222;                  /* 読みやすい濃いグレー */
  font-family: 'Playfair Display', serif; /* キャッチーなセリフ体 */
  letter-spacing: 0.4em;
}

#cta .cta-btn {
  display: inline-block;
  background-color: #000;       /* ボタンは黒 */
  color: #fff;                  /* 文字は白 */
  padding: 1rem 3rem;           /* ボタン内余白 */
  border-radius: 3rem;          /* 丸長ボタン */
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.4em;
  transition: opacity 0.3s ease;
}

#cta .cta-btn:hover {
  opacity: 0.8;
}