/* kc-campaign 内の br は表示する (master.css の br { display:none } を上書き) */
@media only screen and (max-width: 767px) {
  .kc-campaign__lead br:not(.d-none) {
    display: inline !important;
  }
}

/* サイト全体のフォント設定 */
body, a, p, h1, h2, h3, h4, h5, h6, span, li {
  font-family: 'M PLUS 1', 'Kanit', sans-serif !important;
  letter-spacing: 0.05em;
}

/* ヘッダーナビ: テーマ既定フォントに戻してクリップを防ぐ */
.main-menu-4 a,
.main-menu-4 span {
  font-family: 'Kanit', sans-serif !important;
  letter-spacing: normal !important;
}
.main-menu-4 .menu-text span {
  font-size: 16px !important;
}

/* オフキャンバスが閉じている時は画面外に退避 */
.offcanvas__area {
  pointer-events: none;
}
.offcanvas__area.is-open {
  pointer-events: auto;
}

/* バツボタンをメニュー項目より前面に表示 */
.offcanvas__close {
  z-index: 100 !important;
}

/* タブレット・スマホヘッダーのパディング */
@media only screen and (max-width: 1199px) and (pointer: coarse), only screen and (max-width: 1199px) {
  .header__inner-2 {
    padding: 15px 20px !important;
  }
}
/* タブレット：ロゴとメニューアイコンを拡大・整列 */
@media only screen and (min-width: 768px) and (max-width: 1199px) and (pointer: coarse), only screen and (min-width: 768px) and (max-width: 1199px) {
  .header__inner-2 {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
  }
  .header__area-7 .header__logo-2 a img {
    height: 56px !important;
    width: auto !important;
    display: block !important;
  }
  .header__nav-icon-7 {
    display: flex !important;
    align-items: center !important;
    margin-top: 4px !important;
  }
  .header__nav-icon-7 img {
    width: 36px !important;
    height: 36px !important;
    display: block !important;
  }
}

/* メニューボタンのタッチ反応を確実にする */
.header__nav-icon-7 {
  position: relative !important;
  z-index: 10 !important;
}
@media only screen and (max-width: 767px) {
  .header__nav-icon-7 {
    margin-top: -8px;
    margin-right: 5px;
  }
}
.header__nav-icon-7 .menu-icon-2 {
  cursor: pointer !important;
  position: relative !important;
  z-index: 10 !important;
}
.header__nav-icon-7 .menu-icon-2::after {
  display: none !important;
}

/* ヘッダー背景を白に固定 */
.header__area-7 {
  background-color: #fff !important;
}

/* ヘッダーをコンテンツより常に前面に表示（ScrollSmoother対策） */
.header__area-7 {
  z-index: 9990 !important;
}
#smooth-wrapper {
  z-index: 1 !important;
  pointer-events: none !important;
}
#smooth-content {
  z-index: 1 !important;
  pointer-events: auto !important;
}

/* メニューの文字を濃く（太く）して、間隔を詰める設定 */
.main-menu-4 > li {
  margin-left: 25px !important;
  margin-right: 25px !important;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 1200px) and (max-width: 1399px) and (pointer: fine) {
  .main-menu-4 > li {
    margin-left: 14px !important;
    margin-right: 14px !important;
  }
  .main-menu-4 .menu-text span {
    font-size: 14px !important;
  }
}

.main-menu-4 > li > a {
  font-weight: 600 !important;
  color: #111111 !important;
}

/* PC版「お買い物はこちら！」ボタンの枠に最初から色を付けて表示を確保 */
.footer__widget-4 .btn_wrapper {
  opacity: 1 !important;
  transform: none !important;
}
.footer__widget-4 .wc-btn-primary {
  border-color: var(--primary) !important;
  border-width: 4px !important;
  color: #ffffff !important;
}

/* scroll-to-topボタンの色が背景と混ざらないようにする */
.scroll-top {
  mix-blend-mode: normal !important;
}

/* フッター文字色を明るいグレーに */
.footer__area p,
.footer__area li,
.footer__area a,
.footer__area span,
.footer__contact li {
  color: #b0b0b0 !important;
}
.footer__widget-title,
.footer__widget-4 .project-title .project-title-en,
.footer__widget-4 .project-title .project-title-jp {
  color: #ffffff !important;
}
.footer__link li a:hover,
.footer__contact li a:hover,
.footer__area a:hover {
  color: #ffffff !important;
}


/* コピーライトの中央寄せ */
.footer__copyright p {
  max-width: 100% !important;
  text-align: center !important;
}

@media only screen and (max-width: 767px) {
  /* CEOメッセージのテキストをスマホで左寄せ */
  .team__detail .sec-title-wrapper p {
    text-align: left !important;
  }

  /* CTAセクション KISOCARE と 10TH ANNIVERSARY の行間を詰める */
  .cta__content p.cta__title {
    padding-bottom: 0 !important;
  }

  /* フッター文字サイズをスマホで4px上げる */
  .footer__widget p,
  .footer__link li a,
  .footer__contact,
  .footer__contact li a,
  .footer__copyright p,
  .footer__widget-4 .contact-day {
    font-size: 20px !important;
  }
  .footer__widget-title {
    font-size: 24px !important;
  }
  .footer__widget-4 .project-title {
    font-size: 40px !important;
  }
  .footer__widget-4 .contact-time {
    font-size: 22px !important;
  }
  .footer__social li a {
    font-size: 24px !important;
  }
  .footer__copyright {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px 0 !important;
    min-height: auto !important;
  }
  .footer__copyright p {
    padding-left: 50px !important;
  }
}

/* PCでは改行を消す */
.sp-only {
  display: none;
}

/* タブレット（768-1199px）widget-4を全幅＆左右レイアウト */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .footer__widget-4 {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 40px;
  }
  .footer__widget-4 .project-title {
    padding-bottom: 0 !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    text-align: center !important;
  }
  .footer__widget-4 .project-title br {
    display: none !important;
  }
  .footer__widget-4 .project-title .project-title-en,
  .footer__widget-4 .project-title .project-title-jp {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .footer__widget-4 .btn_wrapper {
    margin: 0 !important;
  }
  .footer__copyright {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 30px 0 !important;
  }
  .footer__copyright p {
    max-width: 100% !important;
  }
}

/* スマホ（1024px以下）の設定 */
@media only screen and (max-width: 1199px) and (pointer: coarse), only screen and (max-width: 1199px) {
  .footer__copyright p {
    display: block;
    line-height: 1.6;
  }
  .sp-only {
    display: inline;
  }
  /* スマホでproject-titleを確実に改行 */
  .footer__widget-4 .project-title {
    display: block !important;
  }
  .footer__widget-4 .project-title .project-title-en,
  .footer__widget-4 .project-title .project-title-jp {
    display: block !important;
  }
  /* スマホでフッター内容が上にはみ出さないようにする */
  .footer__area {
    overflow: hidden !important;
  }
  .footer__inner {
    overflow: hidden !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  /* スマホではホバーがないのでボタンの背景色を最初から表示 */
  .wc-btn-primary span, .wc-btn-black span {
    width: 350px !important;
    height: 350px !important;
  }
  .wc-btn-primary, .wc-btn-black {
    color: var(--black-2) !important;
    border-color: var(--primary) !important;
  }
}

/* ※ タブレット・スマホのアニメーション無効化はデフォルトtext-shadow設定より後に記述（下方に移動済み） */

/* PC（992px以上）の設定 */
@media only screen and (min-width: 1200px), only screen and (min-width: 1200px) and (pointer: fine) {
  .footer__copyright p {
    white-space: nowrap !important;
  }
  /* message.html: CEO写真をPC版で下に下げる */
  .team__member-img {
    top: 80px;
  }
}

/* オフキャンバスメニューの文字サイズ調整 */
.offcanvas__menu-wrapper.mean-container .mean-nav ul li a {
  font-size: 70px !important;
}
.offcanvas__menu-wrapper.mean-container .mean-nav ul li a .menu-text {
  text-shadow: 0 70px 0 var(--white) !important;
}
.offcanvas__menu-wrapper.mean-container .mean-nav ul li a:hover span {
  --m: calc(70px * -1) !important;
}
.offcanvas__menu-wrapper.mean-container .mean-nav ul li a.mean-expand {
  height: 86px !important;
}
@media only screen and (min-width: 1400px) and (max-width: 1919px) {
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a {
    font-size: 50px !important;
  }
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a .menu-text {
    text-shadow: 0 50px 0 var(--white) !important;
  }
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a:hover span {
    --m: calc(50px * -1) !important;
  }
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a.mean-expand {
    height: 66px !important;
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a {
    font-size: 38px !important;
  }
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a .menu-text {
    text-shadow: 0 38px 0 var(--white) !important;
  }
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a:hover span {
    --m: calc(38px * -1) !important;
  }
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a.mean-expand {
    height: 58px !important;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) and (pointer: coarse), only screen and (min-width: 768px) and (max-width: 1199px) {
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a {
    font-size: 28px !important;
  }
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a .menu-text {
    text-shadow: 0 28px 0 var(--white) !important;
  }
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a:hover span {
    --m: calc(28px * -1) !important;
  }
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a.mean-expand {
    height: 46px !important;
  }
}
/* タブレット・スマホではメニューアニメーションを無効化（デフォルトtext-shadow設定より後に配置） */
@media only screen and (max-width: 1199px) {
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a .menu-text {
    text-shadow: none !important;
    overflow: visible !important;
  }
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a .menu-text span {
    transition: none !important;
    transition-delay: 0s !important;
    transform: none !important;
  }
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a:hover span {
    --m: 0 !important;
    transform: none !important;
  }
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a {
    transition: none !important;
    transform: none !important;
  }
}
@media only screen and (max-width: 1199px) and (pointer: coarse), only screen and (max-width: 1199px) {
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a {
    font-size: 22px !important;
    padding-left: 20px !important;
  }
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a .menu-text {
    text-shadow: none !important;
    overflow: visible !important;
  }
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a .menu-text span {
    transition: none !important;
    transform: none !important;
  }
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a.mean-expand {
    height: 62px !important;
    width: 62px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 30px !important;
  }
  /* タブレット・スマホ時にメニュー上部の余白縮小＆ロゴ表示 */
  .offcanvas__mid {
    margin-top: 5px !important;
  }
  .offcanvas__menu-wrapper.mean-container {
    padding-top: 0 !important;
  }
  .offcanvas__sp-logo {
    display: block !important;
    padding: 20px 15px 20px !important;
  }
  .offcanvas__sp-logo img {
    width: 212px;
    height: 40px;
  }
  /* タブレットでもSPレイアウト：3カラム→1カラム */
  .offcanvas__body {
    grid-template-columns: 1fr !important;
  }
  .offcanvas__left {
    display: none !important;
  }
  .offcanvas__right {
    display: none !important;
  }
}

/* PC時 右パネル内の10th画像を左右中央に */
.offcanvas__right .shape-1 {
  left: 50% !important;
  transform: translateX(-50%);
}
@media only screen and (min-width: 1400px) and (max-width: 1919px) {
  .offcanvas__right .shape-1 {
    width: 270px;
    height: auto;
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .offcanvas__right .shape-1 {
    width: 240px;
    height: auto;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) and (pointer: coarse), only screen and (min-width: 768px) and (max-width: 1199px) {
  .offcanvas__right .shape-1 {
    width: 180px;
    height: auto;
  }
}

/* SNSアイコン調整 */
.offcanvas__social ul li a i {
  font-size: 3em !important;
}
.offcanvas__social ul li {
  margin-bottom: 30px !important;
}
.offcanvas__social {
  padding-left: 80px !important;
}
/* 左パネル：SNSを一番下に配置 */
.offcanvas__left {
  grid-template-rows: auto 1fr auto !important;
}
.offcanvas__social {
  align-self: end !important;
  padding-bottom: 40px !important;
}

/* mean-barの上部空白を除去 */
.offcanvas__menu-wrapper.mean-container .mean-bar {
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.offcanvas__menu-wrapper.mean-container .mean-nav {
  margin-top: 0 !important;
}
/* メニュー上部の余白（PC専用） */
@media only screen and (min-width: 1200px), only screen and (min-width: 1200px) and (pointer: fine) {
  .offcanvas__menu-wrapper.mean-container {
    padding-top: 60px !important;
  }
}
/* 新10th画像：PCでは非表示 */
@media only screen and (min-width: 1200px), only screen and (min-width: 1200px) and (pointer: fine) {
  .offcanvas-sp-logo2 {
    display: none;
  }
}
/* +ボタンの背景色を消す */
.offcanvas__menu-wrapper.mean-container .mean-nav ul li a.mean-expand {
  background: transparent !important;
}

/* メニューのグレー線を全て消す */
.offcanvas__menu-wrapper.mean-container .mean-nav ul li a {
  border-top: none !important;
  border-bottom: none !important;
}
.offcanvas__menu-wrapper.mean-container .mean-nav > ul > li:last-child > a {
  border-bottom: none !important;
}
.offcanvas__menu-wrapper.mean-container .mean-nav ul li li a {
  border-top: none !important;
  border-bottom: none !important;
}
/* ロゴ下の横線を消す */
.offcanvas__logo {
  border-bottom: none !important;
}
.offcanvas__mid {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.offcanvas__menu-wrapper.mean-container .mean-bar {
  padding: 0 !important;
}
.offcanvas__menu-wrapper .mean-container .mean-nav {
  margin-top: 0 !important;
}

/* メニュー初期非表示（JSでふわっと表示） */
.offcanvas__mid {
  opacity: 0;
}

/* メニュー日本語部分を30%小さく（PC時） */
@media only screen and (min-width: 1200px), only screen and (min-width: 1200px) and (pointer: fine) {
  .mean-nav .menu-text span.menu-jp-char {
    font-size: 0.7em !important;
    color: #888 !important;
    align-self: flex-end;
    margin-bottom: 0.05em;
  }
}

/* サブメニュー（階層下）の文字調整・白に（日本語部分と同サイズ = 70%） */
.offcanvas__menu-wrapper.mean-container .mean-nav ul li li a {
  font-size: 49px !important;
  color: #ffffff !important;
}
@media only screen and (min-width: 1400px) and (max-width: 1919px) {
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li li a {
    font-size: 35px !important;
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li li a {
    font-size: 27px !important;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) and (pointer: coarse), only screen and (min-width: 768px) and (max-width: 1199px) {
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li li a {
    font-size: 20px !important;
  }
}
@media only screen and (max-width: 767px) {
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li li a {
    font-size: 18px !important;
  }
}

/* スマホ用ロゴ（PC時は非表示） */
.offcanvas__sp-logo {
  display: none;
}

/* スマホ時メニュー下の画像 */
.offcanvas__sp-image {
  display: none;
}
@media only screen and (max-width: 767px) {
  .offcanvas__sp-image {
    display: block;
    position: relative;
    width: 100%;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
  }
  .offcanvas__sp-image img {
    width: 210px !important;
    height: auto !important;
  }
}

/* ローディング全体の設定 */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
}
.preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* くるくる回る円の設定 */
.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.15);
  border-top-color: #d04d85;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* 回転のアニメーション */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   history.html 専用スタイル
   ============================================================ */

/* 4枚目画像 */
.kc-hist-img4 {
  margin-top: 30px;
  overflow: hidden;
  max-width: 75%;
  margin-left: auto;
  margin-right: auto;
}
.kc-hist-img4 img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.kc-hist-img4--dummy {
  aspect-ratio: 4/3;
  background: #e8e8e8;
  border: 2px dashed #ccc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #aaa;
  font-size: 14px;
}
.kc-hist-img4--dummy i { font-size: 36px; }

/* タイトルフォントサイズを縮小・各ワード1行 */
.solution__title {
  font-size: 130px !important;
  white-space: nowrap;
  line-height: 1 !important;
}
.kc-hist-sub  { font-size: 0.75em; display: block; line-height: 1; }
.kc-hist-main { font-size: 1em;    display: block; line-height: 1; }
@media only screen and (min-width: 1400px) and (max-width: 1919px) {
  .solution__title { font-size: 96px !important; }
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .solution__title { font-size: 80px !important; }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) and (pointer: coarse), only screen and (min-width: 768px) and (max-width: 1199px) {
  .solution__title { font-size: 50px !important; }
}
@media only screen and (max-width: 767px) {
  .solution__title { font-size: 32px !important; white-space: nowrap; }
}

/* 花火の位置を上に調整 */
.solution__shape .shape-1 { top: 15%; }
.solution__shape .shape-2 { top: 65%; }
.solution__shape .shape-3 { top: 28%; }

.solution__area {
  padding-bottom: 120px !important;
}

/* スマホ（767px以下）ではヒーローエリアを非表示 */
@media only screen and (max-width: 767px) {
  .solution__area {
    display: none;
  }
  /* ヒーローが消えた分、タイムラインセクションを下げる */
  .kc-timeline-section {
    padding-top: 120px !important;
  }
}

/* ============================================================
   Photo Book Section
   ============================================================ */
.kc-photobook-section {
  padding: 100px 0 120px;
  background: #1a1a1a;
}
.kc-pb-header {
  text-align: center;
  margin-bottom: 60px;
}
.kc-pb-sub {
  font-family: 'Kanit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.kc-pb-title {
  font-family: 'Kanit', 'M PLUS 1', sans-serif;
  font-size: 80px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  margin-bottom: 20px;
}
.kc-pb-lead {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

/* Book wrapper */
.kc-book-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.kc-book {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: #f5f0e8;
  border-radius: 4px;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.3),
    0 20px 60px rgba(0,0,0,0.4),
    inset 0 0 40px rgba(0,0,0,0.05);
  overflow: hidden;
  perspective: 1200px;
}
.kc-book__spread {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  opacity: 0;
  pointer-events: none;
}
.kc-book__spread.is-active {
  opacity: 1;
  pointer-events: auto;
}
.kc-book__page {
  position: relative;
  overflow: hidden;
  padding: 16px;
  background: #f5f0e8;
}
.kc-book__page--left {
  border-right: 1px solid rgba(0,0,0,0.08);
  box-shadow: inset -8px 0 16px -8px rgba(0,0,0,0.1);
}
.kc-book__page--right {
  border-left: 1px solid rgba(0,0,0,0.08);
  box-shadow: inset 8px 0 16px -8px rgba(0,0,0,0.1);
}
.kc-book__page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.kc-book__spine {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 20px;
  transform: translateX(-50%);
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.12) 30%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.12) 70%, transparent);
  pointer-events: none;
  z-index: 10;
}

/* Page-flip animations */
.kc-book__spread.flip-out-left  { animation: flipOutL 0.6s ease-in-out forwards; }
.kc-book__spread.flip-out-right { animation: flipOutR 0.6s ease-in-out forwards; }
.kc-book__spread.flip-in-right  { animation: flipInR 0.6s ease-in-out forwards; }
.kc-book__spread.flip-in-left   { animation: flipInL 0.6s ease-in-out forwards; }

@keyframes flipOutL {
  0%   { opacity:1; transform: rotateY(0); transform-origin: left center; }
  100% { opacity:0; transform: rotateY(-30deg); transform-origin: left center; }
}
@keyframes flipOutR {
  0%   { opacity:1; transform: rotateY(0); transform-origin: right center; }
  100% { opacity:0; transform: rotateY(30deg); transform-origin: right center; }
}
@keyframes flipInR {
  0%   { opacity:0; transform: rotateY(30deg); transform-origin: right center; }
  100% { opacity:1; transform: rotateY(0); transform-origin: right center; }
}
@keyframes flipInL {
  0%   { opacity:0; transform: rotateY(-30deg); transform-origin: left center; }
  100% { opacity:1; transform: rotateY(0); transform-origin: left center; }
}

/* Nav buttons */
.kc-book-nav {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s, opacity 0.3s;
  flex-shrink: 0;
}
.kc-book-nav:hover {
  border-color: var(--primary);
  background: var(--primary);
}

/* Page indicator */
.kc-book-indicator {
  text-align: center;
  margin-top: 28px;
  font-family: 'Kanit', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 4px;
}
.kc-book-indicator__current {
  color: var(--primary);
  font-weight: 600;
  font-size: 20px;
}

/* Responsive Book */
@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 1200px) and (max-width: 1399px) and (pointer: fine) {
  .kc-pb-title { font-size: 60px; }
  .kc-book-wrapper { max-width: 760px; }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) and (pointer: coarse), only screen and (min-width: 768px) and (max-width: 1199px) {
  .kc-pb-title { font-size: 48px; }
  .kc-book-wrapper { max-width: 600px; gap: 16px; }
  .kc-book-nav { width: 40px; height: 40px; font-size: 14px; }
}
@media only screen and (max-width: 767px) {
  .kc-photobook-section { padding: 60px 0 80px; }
  .kc-pb-title { font-size: 36px; }
  .kc-pb-header { margin-bottom: 36px; }
  .kc-pb-lead { font-size: 15px; }
  .kc-book-wrapper { gap: 10px; }
  .kc-book-nav { width: 36px; height: 36px; font-size: 13px; }
  .kc-book__page { padding: 8px; }
  .kc-book__spine { width: 10px; }
}
/* ============================================================
   event.html 専用スタイル
   ============================================================ */

/* ===== Display headings: restore Kanit ===== */
.sec-title-3,
.sec-title-3 span {
  font-family: 'Kanit', sans-serif !important;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.kc-tl-title,
.kc-voices-title,
.kc-campaign__title,
.kc-campaign__title span {
  font-family: 'Kanit', sans-serif !important;
}

/* ===== Timeline ===== */
.kc-timeline-section {
  padding: 120px 0 100px;
  background: #f7f7f7;
}
.kc-tl-header {
  text-align: center;
  margin-bottom: 80px;
}
.kc-tl-sub {
  font-family: 'Kanit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.kc-tl-title {
  font-family: 'Kanit', 'M PLUS 1', sans-serif;
  font-size: 80px;
  font-weight: 500;
  color: var(--black-2);
  line-height: 1;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 1200px) and (max-width: 1399px) and (pointer: fine) {
  .kc-tl-title { font-size: 60px; }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) and (pointer: coarse), only screen and (min-width: 768px) and (max-width: 1199px) {
  .kc-tl-title { font-size: 48px; }
}
.kc-tl-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}
.kc-tl-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #1a1a1a;
  transform: translateX(-50%);
}
.kc-tl-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: start;
  margin-bottom: 70px;
  position: relative;
}
.kc-tl-center-col {
  display: flex;
  justify-content: center;
  padding-top: 18px;
  position: relative;
  z-index: 2;
}
.kc-tl-badge {
  width: 38px;
  height: 38px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}
.kc-tl-item:nth-child(odd) .kc-tl-badge  { background: #1a1a1a; }
.kc-tl-item:nth-child(even) .kc-tl-badge { background: var(--primary); }
.kc-tl-label-col {
  display: flex;
  align-items: flex-start;
  padding-top: 26px;
}
.kc-tl-right .kc-tl-label-col { justify-content: flex-end; padding-right: 24px; }
.kc-tl-left  .kc-tl-label-col { justify-content: flex-start; padding-left: 24px; }
.kc-tl-label {
  font-family: 'Kanit', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 1px;
  white-space: nowrap;
}
.kc-tl-item:nth-child(odd) .kc-tl-label  { color: #1a1a1a; }
.kc-tl-item:nth-child(even) .kc-tl-label { color: var(--primary); }
.kc-tl-card-col { padding-top: 0; }
.kc-tl-right .kc-tl-card-col { padding-left: 0; }
.kc-tl-left  .kc-tl-card-col { padding-right: 0; }
.kc-tl-card {
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.kc-tl-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.14); }
.kc-tl-card__header {
  padding: 14px 20px;
  color: #fff;
}
.kc-tl-item:nth-child(odd) .kc-tl-card__header  { background: #1a1a1a; }
.kc-tl-item:nth-child(even) .kc-tl-card__header { background: var(--primary); }
.kc-tl-card__header h3 {
  font-family: 'Kanit', 'M PLUS 1', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff !important;
  margin: 0;
  line-height: 1.4;
}
.kc-tl-card__img { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.kc-tl-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.kc-tl-card:hover .kc-tl-card__img img { transform: scale(1.04); }
.kc-tl-card__body { padding: 16px 20px 20px; background: #fff; }
.kc-tl-card__body p { font-size: 18px; line-height: 1.8; color: #555; margin: 0 0 10px; }
.kc-tl-right .kc-tl-center-col::after {
  content: '';
  position: absolute;
  top: 37px; right: -1px;
  width: 24px; height: 2px;
  background: #ccc;
}
.kc-tl-left .kc-tl-center-col::before {
  content: '';
  position: absolute;
  top: 37px; left: -1px;
  width: 24px; height: 2px;
  background: #ccc;
}
@media only screen and (max-width: 767px) {
  .kc-timeline-section { padding: 80px 0 60px; }
  .kc-tl-title { font-size: 36px; }
  .kc-tl-header { margin-bottom: 20px; }
  .kc-tl-line { left: 19px; transform: none; width: 2px; }
  .kc-tl-item {
    grid-template-columns: 38px 1fr;
    grid-template-rows: auto auto;
    margin-bottom: 40px;
    column-gap: 14px;
  }
  .kc-tl-right .kc-tl-center-col,
  .kc-tl-left  .kc-tl-center-col { grid-column: 1; grid-row: 1; padding-top: 12px; justify-content: flex-start; }
  .kc-tl-right .kc-tl-center-col::after,
  .kc-tl-left  .kc-tl-center-col::before { display: none; }
  .kc-tl-right .kc-tl-label-col,
  .kc-tl-left  .kc-tl-label-col { grid-column: 2; grid-row: 1; justify-content: flex-start; padding: 18px 0 0; }
  .kc-tl-right .kc-tl-card-col,
  .kc-tl-left  .kc-tl-card-col { grid-column: 1 / -1; grid-row: 2; padding: 0; margin-top: 8px; }
  .kc-tl-badge { width: 30px; height: 30px; font-size: 13px; }
  .kc-tl-card__header h3 { font-size: 22px; }
  .kc-tl-card__body p { font-size: 18px; }
}

/* ===== Customer Voices ===== */
.kc-voices-section { padding: 120px 0 100px; background: #fff; }
.kc-voices-header { text-align: center; margin-bottom: 70px; }
.kc-voices-sub {
  font-family: 'Kanit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.kc-voices-title {
  font-family: 'Kanit', 'M PLUS 1', sans-serif;
  font-size: 80px;
  font-weight: 500;
  color: var(--black-2);
  line-height: 1;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 1200px) and (max-width: 1399px) and (pointer: fine) { .kc-voices-title { font-size: 60px; } }
@media only screen and (min-width: 768px) and (max-width: 1199px) and (pointer: coarse), only screen and (min-width: 768px) and (max-width: 1199px)  { .kc-voices-title { font-size: 48px; } }
.kc-voices-list { max-width: 1000px; margin: 0 auto; }
.kc-voice {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-bottom: 60px;
  background: #fafafa;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.kc-voice:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.1); }
.kc-voice:nth-child(even) { direction: rtl; }
.kc-voice:nth-child(even) > * { direction: ltr; }
.kc-voice__case {
  display: block;
  font-family: 'Kanit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
}
.kc-voice__photo {
  position: relative;
  overflow: hidden;
  background: #f7cae1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 30px 80px;
}
.kc-voice__photo img,
.kc-voice__photo picture { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.kc-voice__photo picture img { width: 100%; height: 100%; aspect-ratio: 1/1; object-fit: cover; }
.kc-voice__photo-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 48px;
}
.kc-voice__body { padding: 32px 36px 32px 0; }
.kc-voice:nth-child(even) .kc-voice__body { padding: 32px 0 32px 36px; }
.kc-voice__name {
  font-family: 'Kanit', 'M PLUS 1', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--black-2);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.kc-voice__item { margin-bottom: 16px; }
.kc-voice__item:last-child { margin-bottom: 0; }
.kc-voice__q { font-family: 'Kanit', 'M PLUS 1', sans-serif; font-size: 20px; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.kc-voice__a { font-size: 18px; line-height: 1.8; color: #444; margin: 0; }
@media only screen and (max-width: 767px) {
  .kc-voices-section { padding: 80px 0 60px; }
  .kc-voices-title { font-size: 36px; }
  .kc-voices-header { margin-bottom: 40px; }
  .kc-voice { grid-template-columns: 1fr; gap: 0; margin-bottom: 40px; }
  .kc-voice:nth-child(even) { direction: ltr; }
  .kc-voice__photo { padding: 24px; }
  .kc-voice__body { padding: 24px 20px !important; }
  .kc-voice__name { font-size: 22px; }
  .kc-voice__a { font-size: 18px; }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) and (pointer: coarse), only screen and (min-width: 768px) and (max-width: 1199px) {
  .kc-voice { grid-template-columns: 220px 1fr; gap: 30px; }
}

/* ===== Campaign Section ===== */
.kc-campaign {
  padding: 120px 0 100px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.kc-campaign::before {
  content: '#';
  position: absolute;
  top: -40px; right: -20px;
  font-family: 'Kanit', sans-serif;
  font-size: 300px;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}
.kc-campaign__inner { max-width: 900px; margin: 0 auto; text-align: center; }
.kc-campaign__sub {
  font-family: 'Kanit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.kc-campaign__title {
  font-family: 'Kanit', 'M PLUS 1', sans-serif;
  font-size: 80px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  margin-bottom: 40px;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 1200px) and (max-width: 1399px) and (pointer: fine) { .kc-campaign__title { font-size: 60px; } }
@media only screen and (min-width: 768px) and (max-width: 1199px) and (pointer: coarse), only screen and (min-width: 768px) and (max-width: 1199px)  { .kc-campaign__title { font-size: 48px; } }
.kc-campaign__hashtag {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 32px;
  display: inline-block;
  letter-spacing: 0.02em;
  text-shadow: 0 0 40px rgba(208, 77, 133, 0.4);
}
.kc-campaign__lead { font-size: 24px; line-height: 2; color: rgba(255,255,255,0.85); margin-bottom: 50px; }
@media only screen and (max-width: 767px) { .kc-campaign__lead { font-size: 18px; } }
.kc-campaign__note { font-size: 18px; color: rgba(255,255,255,0.5); margin-bottom: 50px; }
.kc-campaign__visual { width: 100%; max-width: 700px; margin: 0 auto 50px; }
.kc-campaign__visual-img { width: 100%; height: auto; display: block; border-radius: 8px; }
.kc-campaign__visual-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: rgba(255,255,255,0.08);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.3);
}
.kc-campaign__visual-placeholder i { font-size: 48px; }
.kc-placeholder__label { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; margin-top: 8px; }
.kc-placeholder__size { font-size: 22px; font-weight: 600; letter-spacing: 1px; }
.kc-placeholder__ratio { font-size: 13px; letter-spacing: 1px; }
@media only screen and (max-width: 767px) { .kc-campaign__visual { max-width: 100%; margin-bottom: 36px; } }
.kc-campaign__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
  margin-bottom: 50px;
}
.kc-campaign__box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 36px 32px;
}
.kc-campaign__box-title {
  font-family: 'Kanit', 'M PLUS 1', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kc-campaign__box-icon { text-align: center; margin-bottom: 12px; }
.kc-campaign__box-icon i { font-size: 40px; color: #ffe066; }
.kc-campaign__box-title > i { font-size: 21px; position: relative; top: 2px; }
.kc-campaign__box ul,
.kc-campaign__box ol { list-style: none; padding: 0; margin: 0; }
.kc-campaign__box ul li,
.kc-campaign__box ol li {
  font-size: 18px;
  line-height: 2;
  color: rgba(255,255,255,0.85);
  padding-left: 20px;
  position: relative;
}
.kc-campaign__box ul li::before,
.kc-campaign__box ol li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
}
.kc-campaign__prize-label { font-size: 64px; line-height: 1; margin-bottom: 16px; }
.kc-campaign__prize {
  background: var(--primary);
  border-radius: 8px;
  padding: 30px 40px;
  text-align: center;
}
.kc-campaign__prize-title {
  font-family: 'Kanit', 'M PLUS 1', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}
.kc-campaign__prize-text { font-family: 'M PLUS 1', sans-serif; font-size: 32px; font-weight: 600; color: #fff; line-height: 1.6; }
.kc-campaign__prize-text strong { font-size: 44px; }
.kc-campaign__ig { margin-top: 40px; }
.kc-campaign__ig a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Kanit', sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  border: 2px solid var(--primary);
  padding: 22px 60px;
  border-radius: 50px;
  transition: background 0.3s, color 0.3s;
}
.kc-campaign__ig a:hover { background: var(--primary); }
.kc-campaign__ig a i { font-size: 32px; }
.kc-ig-text span { display: inline !important; }
@media only screen and (max-width: 767px) {
  .kc-campaign__ig a { font-size: 20px; padding: 12px 32px; display: flex; width: 100%; box-sizing: border-box; justify-content: center; gap: 20px; }
  .kc-campaign__ig a i { font-size: 32px; }
  .kc-ig-text { text-align: center; }
  .kc-ig-text span { display: block !important; }
}
@media only screen and (max-width: 767px) {
  .kc-campaign { padding: 80px 30px 60px; }
  .kc-campaign__title { font-size: 36px; }
  .kc-campaign__hashtag { font-size: 36px; margin-bottom: 24px; }
  .kc-campaign__grid { grid-template-columns: 1fr; gap: 24px; }
  .kc-campaign__box { padding: 28px 24px; }
  .kc-campaign__box-title { font-size: 18px; }
  .kc-campaign__box ul li,
  .kc-campaign__box ol li { font-size: 15px; }
  .kc-campaign__prize { padding: 24px 20px; }
  .kc-campaign__prize-text { font-size: 26px; }
  .kc-campaign__prize-text strong { font-size: 34px; }
}
.kc-title-line { display: block; }

/* ===== Photo Campaign modifier ===== */
.kc-campaign--photo { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 65%, #3d1a22 85%, #5c1a35 100%); }
.kc-campaign--photo .kc-campaign__box-title { color: #e8528a; }
.kc-campaign--photo .kc-campaign__box-title > i { color: #e8528a; }
.kc-campaign--photo .kc-step-badge { background: #e8528a; }
.kc-campaign--photo .kc-campaign__steps li strong { color: #e8528a; }
.kc-campaign--photo .kc-campaign__box ul li::before,
.kc-campaign--photo .kc-campaign__box ol li::before { background: #e8528a; }
.kc-campaign--photo .kc-campaign__box-icon i { color: #e8528a; }

/* ===== Idea Campaign modifier ===== */
.kc-campaign--idea { margin-top: 60px; background: linear-gradient(135deg, #1a2a1d 0%, #2a3a2c 65%, #1a4a28 85%, #0f5c33 100%); }
.kc-campaign--idea::before { content: '💡'; font-size: 200px; }
.kc-campaign__hashtag--idea { font-size: 80px; text-shadow: none; margin-bottom: 16px; }
.kc-campaign__sub-lead {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.kc-campaign--idea .kc-campaign__title { color: #06C755; }
.kc-campaign--idea .kc-campaign__box-title { color: #06C755; }
.kc-campaign--idea .kc-campaign__box ul li::before,
.kc-campaign--idea .kc-campaign__box ol li::before { background: #06C755; }
.kc-campaign--idea .kc-campaign__prize { background: #05a847; }
.kc-campaign__prize-note { font-size: 16px; color: rgba(255,255,255,0.7); margin-top: 12px; }
.kc-campaign__line-btn { border-color: #06C755 !important; }
.kc-campaign__line-btn:hover { background: #06C755 !important; }
.kc-campaign__line-btn i { color: #06C755; }
.kc-campaign__line-btn:hover i { color: #fff; }
.kc-campaign__steps li { line-height: 1.6 !important; margin-bottom: 28px; }
.kc-campaign__steps li:last-child { margin-bottom: 0; }
.kc-campaign__steps li::before { display: none; }
.kc-campaign__steps li { padding-left: 0; }
.kc-campaign__steps li strong { color: #06C755; display: flex; align-items: center; gap: 12px; margin-bottom: 2px; line-height: 1; }
.kc-step-desc { display: block; margin-top: 14px; }
.kc-step-badge {
  display: inline-block;
  background: #06C755;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.kc-highlight { color: #ffe066; font-weight: 700; }
@media only screen and (max-width: 767px) { .kc-campaign__hashtag--idea { font-size: 60px; } .kc-campaign__sub-lead { font-size: 20px; } }
@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 1200px) and (max-width: 1399px) and (pointer: fine) { .kc-campaign__sub-lead { font-size: 24px; } }
@media only screen and (min-width: 768px) and (max-width: 1199px) and (pointer: coarse), only screen and (min-width: 768px) and (max-width: 1199px)  { .kc-campaign__sub-lead { font-size: 22px; } }

/* ===== Event page lead text ===== */
.kc-event-lead {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--black-2);
  margin-top: 16px;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 1200px) and (max-width: 1399px) and (pointer: fine) { .kc-event-lead { font-size: 26px; } }
@media only screen and (min-width: 768px) and (max-width: 1199px) and (pointer: coarse), only screen and (min-width: 768px) and (max-width: 1199px)  { .kc-event-lead { font-size: 24px; } }
@media only screen and (min-width: 768px) { .portfolio__area-2 .pt-100 { padding-top: 180px !important; } }
@media only screen and (max-width: 767px) {
  .kc-event-lead { font-size: 18px; margin-top: 12px; text-align: center; }
  .portfolio__area-2 .sec-title-3 { padding-left: 50px; }
  .portfolio__area-2 .sec-title-3 span { padding-left: 35px; }
}

/* ===== Campaign nav cards ===== */
.kc-projects-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 80px;
}
.kc-projects-card {
  display: flex;
  flex-direction: column;
  padding: 60px 52px 52px;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 480px;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s;
}
.kc-projects-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(0,0,0,0.3); color: #fff; }
.kc-projects-card--photo { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.kc-projects-card--idea  { background: linear-gradient(135deg, #00e668 0%, #06C755 40%, #04a030 100%); }
.kc-projects-card__num {
  font-family: 'Kanit', sans-serif;
  font-size: 180px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255,255,255,0.06);
  position: absolute;
  bottom: -20px; right: -10px;
  letter-spacing: -6px;
  pointer-events: none;
  user-select: none;
}
.kc-projects-card__icon { font-size: 64px; line-height: 1; margin-bottom: 32px; color: rgba(255,255,255,0.9); }
.kc-projects-card--idea .kc-projects-card__icon { color: rgba(255,255,255,0.9); }
.kc-projects-card__tag {
  font-family: 'Kanit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.kc-projects-card__tag::before { content: ''; display: block; width: 32px; height: 1px; background: rgba(255,255,255,0.3); }
.kc-projects-card__title { font-family: 'M PLUS 1', sans-serif; font-size: 40px; font-weight: 700; line-height: 1.4; color: #fff; margin-bottom: 24px; }
.kc-projects-card__divider { width: 40px; height: 2px; background: rgba(255,255,255,0.25); margin-bottom: 24px; }
.kc-projects-card--idea .kc-projects-card__divider { background: #06C755; }
.kc-projects-card__desc { font-family: 'M PLUS 1', sans-serif; font-size: 20px; line-height: 1.9; color: rgba(255,255,255,0.88); flex: 1; }
.kc-projects-card__cta { display: flex; align-items: center; gap: 16px; margin-top: 44px; }
.kc-projects-card__cta-label {
  font-family: 'Kanit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color 0.3s;
}
.kc-projects-card:hover .kc-projects-card__cta-label { color: #fff; }
.kc-projects-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.kc-projects-card:hover .kc-projects-card__arrow { transform: translateY(4px); }
.kc-projects-card--photo:hover .kc-projects-card__arrow { background: var(--primary); border-color: var(--primary); }
.kc-projects-card--idea:hover  .kc-projects-card__arrow { background: #06C755; border-color: #06C755; }
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .kc-projects-card { padding: 48px 40px 40px; min-height: 400px; }
  .kc-projects-card__title { font-size: 32px; }
  .kc-projects-card__desc  { font-size: 15px; }
}
@media only screen and (max-width: 767px) {
  .kc-projects-nav { grid-template-columns: 1fr; gap: 14px; margin-top: 48px; }
  .kc-projects-card { padding: 40px 32px 36px; min-height: 0; }
  .kc-projects-card__icon  { font-size: 48px; margin-bottom: 24px; }
  .kc-projects-card__title { font-size: 28px; }
  .kc-projects-card__desc  { font-size: 15px; }
  .kc-projects-card__num   { font-size: 120px; }
}

/* 横向きスマホでモバイルレイアウトを強制（タッチデバイス + 横向き + 幅1200px未満） */
@media only screen and (pointer: coarse) and (orientation: landscape) and (max-width: 1199px) {
  /* 3カラム→1カラムに変更 */
  .offcanvas__body {
    grid-template-columns: 1fr !important;
  }
  /* 左パネル・右パネルを非表示 */
  .offcanvas__left {
    display: none !important;
  }
  .offcanvas__right {
    display: none !important;
  }
  /* メニューエリアをスクロール可能に */
  .offcanvas__mid {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    max-height: 100vh !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  /* スマホ用ロゴを表示 */
  .offcanvas__sp-logo {
    display: block !important;
    padding: 20px 15px 20px !important;
  }
  .offcanvas__sp-logo img {
    width: 212px !important;
    height: 40px !important;
  }
  /* メニュー上部余白縮小 */
  .offcanvas__menu-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .offcanvas__menu-wrapper.mean-container {
    padding-top: 15px !important;
    padding-bottom: 0 !important;
  }
  .offcanvas__menu-wrapper.mean-container .mean-nav {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  /* 文字サイズをスマホサイズに */
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    padding-left: 20px !important;
    font-size: 22px !important;
  }
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a .menu-text {
    text-shadow: none !important;
    overflow: visible !important;
  }
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a .menu-text span {
    transition: none !important;
    transform: none !important;
  }
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a.mean-expand {
    height: 50px !important;
    width: 50px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
  }
  /* サブメニューもスマホサイズに */
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li li a {
    font-size: 18px !important;
  }
  /* 旧10th画像を非表示 */
  .offcanvas__sp-image {
    display: none !important;
  }
  /* 新10th画像 */
  .offcanvas-sp-logo2 {
    display: block !important;
    text-align: center;
    padding: 40px 0 20px;
  }
  .offcanvas-sp-logo2 img {
    width: 220px !important;
    height: auto !important;
  }
}

/* フッター画像の位置調整（PCのみ） */
@media only screen and (min-width: 1200px) {
  .footer__top img {
    margin-bottom: -590px !important;
  }
}

/* ===== Hero sparkle → hanabi ===== */
.hero__area-3::after {
  background-image: url(../imgs/history/hanabi.png) !important;
  width: 160px !important;
  height: 163px !important;
  background-size: contain !important;
}

/* ===== Hero background image position ===== */
.hero__area-3 .hero3-img {
  bottom: -60px !important;
}

/* ===== Hero video-info position ===== */
.hero__area-3 .video-info {
  left: 450px !important;
}
@media only screen and (min-width: 1400px) and (max-width: 1599px) {
  .hero__area-3 .video-info {
    left: 320px !important;
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .hero__area-3 .video-info {
    left: 350px !important;
  }
}

/* ===== Hero scroll-down button position ===== */
.hero__inner-3 .scroll-down {
  margin-left: 200px !important;
}

/* ===== Hero sub-title spacing ===== */
.hero__area-3 .sec-sub-title {
  padding-bottom: 30px !important;
}

/* ===== Hero title wrapper bottom spacing ===== */
.hero__area-3 .sec-title-wrapper {
  padding-bottom: 160px !important;
}

/* ===== Hero title size override ===== */
.hero__area-3 .sec-title {
  font-size: 160px !important;
  font-family: 'M PLUS 1', sans-serif !important;
}
.hero__area-3 .title-right {
  top: 200px !important;
  letter-spacing: -0.03em !important;
}
@media only screen and (min-width: 1400px) and (max-width: 1919px) {
  .hero__area-3 .sec-title { font-size: 140px !important; }
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .hero__area-3 .sec-title { font-size: 130px !important; }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) and (pointer: coarse), only screen and (min-width: 768px) and (max-width: 1199px) {
  .hero__area-3 .sec-title { font-size: 72px !important; }
}
@media only screen and (max-width: 767px) {
  .hero__area-3 .sec-title { font-size: 52px !important; }
}

.portfolio__area { background: #b0b0b0 !important; }

/* ===== 992-1199px → タブレット表示に統一 ===== */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  /* hero__area-3 (index) */
  .hero__area-3 { padding-top: 140px !important; padding-bottom: 0 !important; }
  .hero__area-3 .wrapper { display: none !important; }
  .hero__area-3 .hero3-img {
    position: unset !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero__area-3 .hero3-img-ani { margin-top: -200px !important; }
  .hero__area-3 .sec-title { font-size: 72px !important; }
  .hero__area-3 .title-right {
    position: static !important;
    right: auto !important;
    margin-top: 20px !important;
  }
  .hero__area-3 .sec-sub-title {
    font-size: 28px !important;
    max-width: 560px;
  }
  .hero__area-3 .sec-sub-title::after { display: none !important; }
  .hero__area-3 .sec-title-wrapper { padding-bottom: 40px !important; }
  .hero__inner-3 .scroll-down { margin-left: 0 !important; }

  /* portfolio__hero (history, message, voice, roadmap, event pages) */
  .portfolio__hero .title { font-size: 100px !important; }
  .portfolio__hero .title.shape-circle::after { top: 12px !important; right: 0 !important; }
  .portfolio__hero .pp-thumb { max-width: 500px !important; left: 10% !important; }
  .portfolio__hero .btn-wrapper { margin-top: 200px !important; }
  .portfolio__hero-area { padding-top: 160px !important; }

  /* footer */
  .footer__top img { margin-bottom: -450px !important; }
}

/* テンプレート装飾線を全ページ非表示 */
.line::before,
.line::after,
.line-3,
.line_4,
.line-col-4 div,
.portfolio__area-2::before,
.portfolio__area-2::after,
.portfolio__hero-area::after,
.portfolio__footer-area::before,
.portfolio__footer-area::after,
.cta__area .line::before,
.cta__area .line::after,
.cta__area .line-3 { display: none !important; }

/* History Hero 花火(shape-3)位置調整 - 小PC */
@media only screen and (min-width: 1400px) and (max-width: 1919px) {
  .solution__shape .shape-3 {
    top: 75% !important;
    left: 80% !important;
  }
}

/* History Hero タイトル上余白・中央パディング調整 - 1200-1399px */
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .solution__title {
    padding-top: 160px !important;
  }
  .solution__mid {
    padding-left: 20px !important;
  }
  .solution__mid p {
    max-width: 400px !important;
  }
  .solution__shape .shape-3 {
    top: 75% !important;
    left: 80% !important;
  }
}
