/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth; /* アンカーリンクの滑らかなスクロール */
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  background-color: #303338;
  color: #fff !important;
  line-height: 1.6;
  overflow-x: hidden;
}

body :is(.is-layout-flow, .is-layout-constrained) > :is(h1, h2, h3, h4, h5, h6) {
  margin-block-end: auto;
}

body .container :is(.is-layout-flow, .is-layout-constrained) .wp-block-table:where(:not(:last-child)),
body .container :is(.is-layout-flow, .is-layout-constrained) blockquote:where(:not(:last-child)),
body .container :is(.is-layout-flow, .is-layout-constrained) dl:where(:not(:last-child)),
body .container :is(.is-layout-flow, .is-layout-constrained) iframe:where(:not(:last-child)),
body .container :is(.is-layout-flow, .is-layout-constrained) ol:where(:not(:last-child)),
body .container :is(.is-layout-flow, .is-layout-constrained) p:where(:not(:last-child)),
body .container :is(.is-layout-flow, .is-layout-constrained) ul:where(:not(:last-child)) {
  margin-block-end: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h2,h3,.site-footer-title:after, .sub-section-title:after, h3:where(:not(.wp-block-post-title)):after {
  border: none;
}

/*リキャプチャロゴ削除*/
		.grecaptcha-badge {
			visibility: hidden;
}

/*コンタクトフォーム スピナ非表示*/

	.wpcf7-spinner {
		display: none !important;
}

img {
  max-width: 100%;
  height: auto;
}

.site-body {
  padding-top: 0 !important;
  margin: 0 !important;
}

/* コピーライト・非表示設定 */
.site-footer-copyright p:nth-child(2) {
  display: none !important;
}



/* Google Map レスポンシブ対応 */
.gmap iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
}

/* レイアウト汎用クラス */
.content-full,
.content-full-1 {
  margin: 0 calc(50% - 50vw) !important;
}

.fl-end {
  display: flex;
  justify-content: flex-end;
}

.contact_frame {
  background-color: #142a42 !important;
}

.contact_txt_tel {
  color: #fff !important;
}

/* 見出しカスタムスタイル */
.title-h3 {
  margin: 0 auto;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15) !important;
  position: relative;
  padding-left: 50px;
  padding-bottom: 10px;
}

.title-h3::after {
  content: '';
  width: 10%;
  height: 2px;
  position: absolute;
  bottom: -2px;
  left: 0;
  background-color: #00d4ff;
}

/* セクションヘッダー */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.section-title .main-title {
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.section-title .sub-title {
  color: #00a8ff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sub-title::before,
.sub-title::after {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background-color: #00a8ff;
}

:where(:not(.wp-block-table))>table :is(th,td){
font-size:16px !important;
}

.page-header-title, .top-h2 {
  color: #e2c275 !important; /* シャンパンゴールド系 */
  /* 文字の背後に暗い沈み込みを作って視認性を確保 */
  text-shadow: 
    0 2px 12px rgba(0, 0, 0, 0.9),
    0 0 10px rgba(226, 194, 117, 0.2);
}

.wp-block-latest-posts li>a, .wp-block-latest-posts__post-author, .wp-block-latest-posts__post-date{
	color:#fff !important;
}

@media (max-width: 960px) {
	.pd-zero{
		padding:0 !important;
	}
}

/* ==========================================
   BUTTON STYLES
   ========================================== */

/* --- btn共通スタイル (.content-btn) --- */
.content-btn {
  width: 15vw;
  height: 5vh;
  margin: 0 10px;
  text-align: center;
  list-style-type: none;
}

.content-btn-link {
  display: block;
  width: 15vw;
  height: 5vh;
  font-size: 14px;
  text-align: center;
  place-content: center;
  position: relative;
  letter-spacing: 0.05em;
  color: #ffffff;
  background-color: #142a42;
  border: 1px solid rgba(0, 180, 255, 0.4);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}

.content-btn-link:hover {
  border-color: #00d4ff;
  background-color: #18324f;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
  color: #fff !important;
}

.content-btn-link:hover .half-arrow {
  transform: rotate(45deg) translate(2px, -2px);
}

@media (min-width: 576px) and (max-width: 1032.98px) {
  .content-btn {
    width: 35vw;
    height: 5vh;
    margin: 0 10px;
  }
  .content-btn-link {
    width: 35vw;
    height: 5vh;
    font-size: calc(14vw / 10.24);
  }
}

@media (max-width: 575.98px) {
  .content-btn {
    width: 40vw;
    height: 7vh;
    margin: 0 10px;
  }
  .content-btn-link {
    width: 40vw;
    height: 7vh;
    font-size: calc(14vw / 5.76);
  }
}

/* --- btn共通スタイル (.content-btn-1) --- */
.content-btn-1 {
  width: 10vw;
  height: 4vh;
  margin: 0 10px;
  text-align: center;
  list-style-type: none;
}

.content-btn-1-link {
  display: block;
  text-align: center;
  place-content: center;
  width: 10vw;
  height: 4vh;
  font-size: 14px;
  position: relative;
  letter-spacing: 0.05em;
  color: #ffffff;
  background-color: #142a42;
  border: 1px solid rgba(0, 180, 255, 0.4);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
  overflow: visible;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}

/* ボタン外へ飛び出す横棒のデザイン */
.horizontal-bar {
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 2px;
  background-color: #729bc3;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.content-btn-1-link:hover {
  border-color: #00d4ff;
  background-color: #18324f;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
  color: #fff !important;
}

.content-btn-1-link:hover .horizontal-bar {
  transform: translate(5px, -50%);
  background-color: #00d4ff;
}

@media (min-width: 576px) and (max-width: 1032.98px) {
  .content-btn-1 {
    width: 25vw;
    height: 3vh;
    margin: 0 10px;
  }
  .content-btn-1-link {
    width: 25vw;
    height: 3vh;
    font-size: calc(14vw / 10.24);
  }
}

@media (max-width: 575.98px) {
  .content-btn-1 {
    width: 40vw;
    height: 4vh;
    margin: 0 10px;
  }
  .content-btn-1-link {
    width: 40vw;
    height: 4vh;
    font-size: calc(18vw / 5.76);
  }
}
/* ==========================================
   LOWER LAYER COVER
   ========================================== */

@media (min-width: 1032.98px) {
 	.page-header, .archive .page-header, .single-post .page-header, .blog .page-header {
    	background-image: url(/wp/wp-content/uploads/2026/09/pc_heder_cover.jpg);
    	height:450px;
    	background-position: center center;
}
}

    @media (min-width: 576px)and (max-width: 1032px){
    .page-header, .archive .page-header, .single-post .page-header, .blog .page-header {
    	background-image: url(/wp/wp-content/uploads/2026/09/tab_heder_cover.jpg);
    	height:450px;
		background-size:cover;
    	background-position: center center;
}

}
            
	@media (max-width: 575.98px) {
  	.page-header, .archive .page-header, .single-post .page-header, .blog .page-header {
    	background-image: url(/wp/wp-content/uploads/2026/09/sp_heder_cover.jpg);
    	height:300px;
		background-size:cover;
    	background-position: center center;
}
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
#site-header {
  background: #030a16;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#site-header a {
  color: #fff;
}

.site-header--layout--nav-float .site-header-logo {
  display: inline-block;
  width: auto;
  margin-right: 0;
}

.site-header-logo img {
  max-height: 60px;
  max-width: 100%;
  display: block;
  margin-left: 0;
  margin-right: 0;
}

.site-header-logo img {
 
	/*border:1px solid #00d4ff;*/
  	box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}
.global-nav-list > li .global-nav-description {
  color: #00d4ff;
  opacity: 1 !important;
}

.global-nav-list > li .global-nav-description:hover {
  color: #31f0f7;
  opacity: 1 !important;
}
.global-nav-list>li .global-nav-name{
font-size:16px !important;

}

.global-nav-list>li .global-nav-description {
font-size:16px !important;
line-height:18px !important;

}

/* グローバルナビ カスタマイズ */
.header-top-items {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-contact {
  position: absolute;
  top: 2vh;
  right: 2vw;
  z-index: 99999;
}

@media (min-width: 1024px) and (max-width: 1700px) {
  .header-contact {
    top: 110px;
  }
}

/* 共通コンポーネント・矢印 */
.half-arrow {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 2px solid #00d4ff;
  border-right: 2px solid #00d4ff;
  transform: rotate(45deg);
  margin-left: 8px;
  transition: transform 0.3s ease;
}

/* ベーススタイル (.top-item-tel / .top-item-reserve) */
.top-item-tel {
  display: none;
}

.top-item-tel-link,
.top-item-reserve-link {
  position: relative;
  letter-spacing: 0.05em;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.4), rgba(0, 30, 80, 0.6));
  border: 1px solid rgba(0, 180, 255, 0.4);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
  place-content: center;
}

.top-item-tel-link::before,
.top-item-reserve-link::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.35) 0%, transparent 60%);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.top-item-tel-link:hover::before,
.top-item-reserve-link:hover::before {
  opacity: 1;
  transform: scale(1);
}

.top-item-tel-link:hover,
.top-item-reserve-link:hover {
  border-color: #00d4ff;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.top-item-tel-link:hover .half-arrow,
.top-item-reserve-link:hover .half-arrow {
  transform: rotate(45deg) translate(2px, -2px);
}

/* レスポンシブ：PC (992px以上) */
@media (min-width: 992px) {
  .global-nav--layout--float-right {
    margin: 0 auto;
  }
  .header-top-items {
    display: flex;
  }
  .top-item-tel,
  .top-item-reserve {
    width: 15vw;
    height: 5vh;
    margin: 0 10px;
    text-align: center;
    list-style-type: none;
  }
  .top-item-tel-link,
  .top-item-reserve-link {
    display: block;
    width: 15vw;
    height: 5vh;
    font-size: 14px;
    text-align: center;
    place-content: center;
  }
}

/* レスポンシブ：タブレット・スマホ (1024px以下) */
@media (max-width: 1032px) {
  .top-item-reserve {
    display: block;
    position: fixed;
    bottom: 0;
    z-index: 9999;
    width: 100vw;
    height: 10vw;
    margin: 0;
    background-color: #303338;
  }
  .top-item-tel {
    left: 0;
  }
  .top-item-reserve {
    right: 0;
  }
  .top-item-reserve-link {
    display: block;
    width: 80vw;
    height: 10vw;
    margin: 0 auto;
    font-size: calc(24vw / 9.2);
    color: #fff;
    text-decoration: none;
    text-align: center;
    place-content: center;
  }
}

/* レスポンシブ：スマホ (575.98px以下) */
@media (max-width: 575.98px) {
  .top-item-tel,
  .top-item-tel-link,
  .top-item-reserve,
  .top-item-reserve-link {
    height: 15vw !important;
  }
  .top-item-tel-link,
  .top-item-reserve-link {
    font-size: calc(23vw / 5.7) !important;
  }
}

/* ハンバーガーメニュー */
.vk-mobile-nav-menu-btn,
.vk-mobile-nav-menu-btn.menu-open {
  background-image: none !important;
  border: none !important;
}

.vk-mobile-nav-menu-btn {
  height: 44px;
  width: 44px;
  position: fixed;
  background: none;
  border: none;
  transition: transform .3s;
}

.vk-mobile-nav-menu-btn::after,
.vk-mobile-nav-menu-btn::before {
  position: absolute;
  top: calc(50% - 1px);
  content: '';
  width: 30px;
  height: 2px;
  display: block;
  background: #00eff7;
  transition: transform .3s;
}

.vk-mobile-nav-menu-btn::before {
  transform: translateY(-8px);
  box-shadow: 0 8px 0 #00eff7;
}

.vk-mobile-nav-menu-btn::after {
  transform: translateY(8px);
}

.vk-mobile-nav-menu-btn.is-active::before {
  transform: rotate(45deg);
  box-shadow: none;
}

.vk-mobile-nav-menu-btn.is-active::after {
  transform: rotate(-45deg);
}

/* モバイルナビ全体の背景色 */
.vk-mobile-nav {
  background-color: #303338;
  opacity: 0.9;
}

.vk-mobile-nav nav ul li a {
  color: #ffffff;
}

#vk-mobile-nav-menu-btn {
  background-color: transparent !important;
}
/* 固定正方形ロゴの基本スタイル */
.fixed-logo {
  position: fixed;
  top: 60px; /* ヘッダー(65px)より少し下に配置 */
  left: 40px;
  width: 160px; /* 最大サイズ */
  height: 160px;
  z-index: 1002; /* ヘッダー(1000)より前面に表示 */
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
 
}

.fixed-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* スクロール時の縮小スタイル */
.fixed-logo.scrolled {
  top: 80px;
  width: 120px;
  height: 120px;
  padding: 8px;
 /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);*/
}

/* レスポンシブ対応 (1500px以下デバイス非表示) */
@media (max-width: 1500px) {
  .fixed-logo {
    display:none;
    
  }

  .fixed-logo.scrolled {
    display:none;
  }
}
/* ==========================================
   HERO SLIDESHOW
   ========================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
}

/* スライド画像（PC） */
.slide_1 { background-image: url(/wp/wp-content/uploads/2026/08/pc_main_slider_1.jpg); }
.slide_2 { background-image: url(/wp/wp-content/uploads/2026/10/pc_main_slider_2.jpg); }
.slide_3 { background-image: url(/wp/wp-content/uploads/2026/08/pc_main_slider_3.jpg); }
.slide_4 { background-image: url(/wp/wp-content/uploads/2026/10/slide4_pc.jpg); }

/* スライド画像（タブレット） */
@media (min-width: 576px) and (max-width: 1032px) {
  .slide_1 { background-image: url(/wp/wp-content/uploads/2026/08/tab_main_slider_1.jpg); }
  .slide_2 { background-image: url(/wp/wp-content/uploads/2026/10/Firefly-42_tab.jpg); }
  .slide_3 { background-image: url(/wp/wp-content/uploads/2026/08/tab_main_slider_3.jpg); }
  .slide_4 { background-image: url(/wp/wp-content/uploads/2026/10/slide4_tab.jpg); }
}

/* スライド画像（スマホ） */
@media (max-width: 575.98px) {
  .slide_1 { background-image: url(/wp/wp-content/uploads/2026/08/sp_main_slider_1.jpg); }
  .slide_2 { background-image: url(/wp/wp-content/uploads/2026/10/Firefly-42_phone-1.jpg); }
  .slide_3 { background-image: url(/wp/wp-content/uploads/2026/08/sp_main_slider_3.jpg); }
  .slide_4 { background-image: url(/wp/wp-content/uploads/2026/10/slide4_phone.jpg); }
}

/* ヒーローコンテンツ・テキスト配置 */
.hero-content_1 {
  position: absolute;
  top: 25%;
  left: 8%;
  transform: translateY(-50%);
  max-width: 700px;
  z-index: 10;
  padding-right: 20px;
}

.hero-content_2 {
  position: absolute;
  top: 25%;
  right: 8%;
  transform: translateY(-50%);
  max-width: 700px;
  z-index: 10;
  padding-right: 20px;
}

.hero-content_3 {
  position: absolute;
  top: 20%;
  left: 8%;
  transform: translateY(-50%);
  max-width: 700px;
  z-index: 10;
  padding-right: 20px;
}

.hero-content_4 {
  position: absolute;
  top: 55%;
  left: 8%;
  transform: translateY(-50%);
  max-width: 700px;
  z-index: 10;
  padding-right: 20px;
}

.hero-title-sub {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.4;
  color: #e2e8f0;
}

.hero-title-sub-1 {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.4;
  color:#353536;
}

.hero-title-main {
  font-size: 34px;
  font-weight: 700;
  margin: 10px 0;
  color: #ffffff;
  line-height: 1.3;
}

.hero-title-main-1 {
  font-size: 34px;
  font-weight: 700;
  margin: 10px 0;
  color: #19202b;
  line-height: 1.3;
}

.hero-note {
  font-size: 18px;
  color: #a0aec0;
  margin-bottom: 25px;
}

.detail{
	color:#353536 !important;
}

.hero-notice {
  position:absolute;
  bottom:5%;
  right:10%;
  text-align:right;
  z-index:100;
  font-size: 16px;
  color: #fff;
 }

.hero-content_4 .hero-note {
  color: #fff;
}

.hero-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.card-item {
  background: rgba(10, 25, 45, 0.9);
  border: 1px solid rgba(0, 168, 255, 0.3);
  padding: 5px 10px;
  border-radius: 4px;
  min-width: 140px;
  flex: 1;
}

.card-item .lbl {
  font-size: 18px;
  color: #00a8ff;
  display: block;
}

.card-item .val {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}

.card-item .sub {
  font-size: 16px;
  color: #718096;
  display: block;
}

/* スライダー操作パーツ */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: #00d4ff;
  box-shadow: 0 0 8px #00d4ff;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  z-index: 10;
  padding: 20px;
  user-select: none;
}

.slide-arrow.left { left: 10px; }
.slide-arrow.right { right: 10px; }

/* ヒーローコンテンツのレスポンシブ調整 */
@media (min-width: 576px) and (max-width: 1032px) {
  .hero-content_2 {
    top: 25%;
    left: 8%;
  }
  .hero-content_4 {
    top: 25%;
    left: 8%;
  }
  .hero-content_2 .hero-cards,
  .hero-content_4 .hero-cards {
    width: 50vw;
  }
}

@media (max-width: 575.98px) {
  .hero-content_1 {
    top: 25%;
    left: 8%;
  }
  .hero-content_2 {
    top: 25%;
    left: 8%;
  }
  .hero-content_3 {
    top: 25%;
    left: 8%;
  }
  .hero-content_4 {
    top: 25%;
    left: 8%;
  }
  .hero-content_2 .hero-cards,
  .hero-content_4 .hero-cards {
    width: 50vw;
  }
	
  .hero-title-sub, .hero-title-sub-1 {
    font-size: calc(24vw / 5.76);
    font-weight: 500;
    line-height: 1.4;
}
	
  .hero-title-main{
    font-size: calc(28vw / 5.76);
    font-weight: 700;
    margin: 10px 0;
   line-height: 1.3;
  }
	.hero-title-main-1 {
    font-size: calc(27vw / 5.76);
    font-weight: 700;
    margin: 10px 0;
   line-height: 1.3;
  }
	
.hero-note {
  font-size: calc(22vw / 5.76);
}
	
.hero-notice {
  bottom:8%;
  right:0;
  font-size: calc(16vw / 5.76);
  }

.card-item .lbl, .card-item .val, .card-item .sub {
  font-size: calc(20vw / 5.76);
}	
}

/* ==========================================
   VIDEO MODAL STYLES
   ========================================== */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.video-modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 860px;
  z-index: 10;
  background: #000;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 212, 255, 0.3);
  border: 1px solid rgba(0, 212, 255, 0.4);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.video-modal.is-open .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 5px;
  right: 12px;
  font-size: 32px;
  line-height: 1;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 20;
  transition: color 0.2s, transform 0.2s;
}

.video-modal-close:hover {
  color: #00d4ff;
  transform: scale(1.1);
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  height: 0;
  background-color: #000;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 480px) {
  .video-modal {
    padding: 10px;
  }
  .video-modal-close {
    top: 2px;
    right: 8px;
    font-size: 28px;
  }
}

/* ==========================================
   COMPARISON TABLE
   ========================================== */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comp-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: rgba(10, 20, 38, 0.6);
}

.comp-table th,
.comp-table td {
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.comp-table th {
  background: rgba(15, 28, 48, 0.8);
  font-weight: 600;
}

.comp-table th.highlight,
.comp-table td.highlight {
  background: rgba(0, 80, 160, 0.2);
  border-left: 2px solid #00a8ff;
  border-right: 2px solid #00a8ff;
}

@media (max-width: 768px) {
  .table-wrapper {
    position: relative;
    background-image: 
      radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)),
      radial-gradient(farthest-side at 0% 50%, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
    background-repeat: no-repeat;
    background-size: 10px 100%, 10px 100%;
    background-position: 100% 0, 0 0;
    background-attachment: local, local;
  }

  .comp-table {
    margin-bottom: 8px;
  }

  .table-wrapper::after {
    content: '← スクロールできます →';
    display: block;
    text-align: right;
    font-size: 14px;
    color: #a0aec0;
    padding-top: 6px;
    letter-spacing: 0.05em;
  }
}

/* ==========================================
   SPECIFICATIONS
   ========================================== */
.spec-table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
 }

.spec-table td {
  /*padding: 12px 16px;*/
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-table td:first-child {
  color: #a0aec0;
  width: 35%;
}

.spec-table td:last-child {
  color: #00d4ff;
}

.spec-table-v2 td {
	padding:0.5rem !important;
}

/* ----------------------------------
   TECHNOLOGY (自動横スクロール・カルーセル)
---------------------------------- */
.tech-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
  /* 端のぼかし（グロー/フェード効果）を削除 */
  mask-image: none;
  -webkit-mask-image: none;
}

.tech-carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: techInfiniteScroll 35s linear infinite;
}

.tech-carousel-wrapper:hover .tech-carousel-track {
  animation-play-state: paused;
}

@keyframes techInfiniteScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-280px * 4 - 20px * 4));
  }
}

/* カード本体：高級感のあるパールホワイト系背景 */
.tech-card-modern {
  width: 280px;
  flex-shrink: 0;
  /* 上品なパールホワイト調の微細グラデーション */
  background: linear-gradient(145deg, #ffffff 0%, #f1f3f5 100%);
  border: 1px solid rgba(220, 226, 235, 0.8);
  border-radius: 12px;
  padding: 28px 20px;
  /* 背景(#303338)とのメリハリをつける立体的な影 */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ホバー時：マスターテックブルーの輝きと浮遊感 */
.tech-card-modern:hover {
  transform: translateY(-6px);
  border-color: #00a8ff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35), 0 0 15px rgba(0, 168, 255, 0.25);
}

/* アイコンボックス：引き締まったダークネイビー背景で水色SVGを際立たせる */
.tech-card-icon-box {
  width: 56px;
  height: 56px;
  background: #1e293b; /* ダークトーンで対比を作る */
  border: 1px solid rgba(0, 168, 255, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ホバー時のアイコンボックス変化 */
.tech-card-modern:hover .tech-card-icon-box {
  transform: scale(1.05);
  background: #0f172a;
  border-color: #00d4ff;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
}

.tech-svg {
  width: 26px;
  height: 26px;
  stroke: #00d4ff; /* 明るいサイバーブルー */
  transition: transform 0.5s ease;
}

/* ホバー時にSVGアイコン単体が360度回転 */
.tech-card-modern:hover .tech-svg {
  transform: rotate(360deg);
}

/* 見出し：白背景に対して可読性の高いダークグレー */
.tech-card-modern h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a; /* 濃い紺黒 */
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

/* 本文：コントラストを考慮したミディアムグレー */
.tech-card-modern p {
  font-size: 16px;
  color: #475569; /* 可読性の良いグレー */
  line-height: 1.65;
}


/* ==========================================
   PROCESS (導入フロー)
   ========================================== */
.process-flow {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 25px;
  background: rgba(10, 20, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 20px 30px;
  position: relative;
  transition: border-color 0.3s;
}

.process-step:hover {
  border-color: rgba(0, 212, 255, 0.4);
}

.process-step:not(:last-child)::after {
  content: '↓';
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  color: #00d4ff;
  font-size: 30px;
  font-weight: bold;
  z-index: 2;
}

.step-num {
  font-size: 22px;
  font-weight: 800;
  color: rgba(0, 212, 255, 0.4);
  font-family: monospace;
}

.process-icon-wrap {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  border: 1px solid #00d4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.05);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.process-svg {
  width: 24px;
  height: 24px;
  stroke: #00d4ff;
}

.process-content h3 {
  color: #ffffff;
  margin-bottom: 4px;
}

.process-content p {
  color: #a0aec0;
  line-height: 1.5;
}

/* ----------------------------------
   PURPOSE (パールホワイト系カードデザイン)
---------------------------------- */
.purpose-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* カード本体：TECHNOLOGYと同様のパールホワイト調背景 */
.purpose-card-item {
  background: linear-gradient(145deg, #ffffff 0%, #f1f3f5 100%);
  border: 1px solid rgba(220, 226, 235, 0.8);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* ホバー時：青色の輝きと浮遊感 */
.purpose-card-item:hover {
  transform: translateY(-6px);
  border-color: #00a8ff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35), 0 0 15px rgba(0, 168, 255, 0.25);
}

/* 上部画像エリア（クリップパスは維持） */
.purpose-img-wrapper {
  width: 100%;
  height: 160px;
  overflow: hidden;
  clip-path: ellipse(140% 100% at 50% 0%);
  background: #111;
}

.purpose-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.purpose-card-item:hover .purpose-img-wrapper img {
  transform: scale(1.08);
}

/* 下部テキストエリア */
.purpose-card-content {
  padding: 24px 20px;
  text-align: left;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* 白系背景に合わせて見出し色をダークネイビーに変更 */
.purpose-card-content h3 {
  font-weight: 700;
  color: #0f172a; /* 濃い紺黒 */
  margin-bottom: 12px;
  padding-bottom: 8px;
  position: relative;
  display: block;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* 下線色を薄いグレーへ調整 */
}

.purpose-card-content h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 35px;
  height: 2px;
  background-color: #00a8ff;
}

/* 白系背景に合わせて本文の色を可読性の高いグレーへ変更 */
.purpose-card-content p {
  color: #475569;
  line-height: 1.65;
}

/* レスポンシブ対応 (PURPOSE) */
@media (max-width: 960px) {
  .purpose-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 580px) {
  .purpose-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .purpose-img-wrapper {
    height: 180px;
  }
}

/* ==========================================
   ABOUT MASTER TECH
   ========================================== */
.about-box {
  display: flex;
  gap: 30px;
  background: rgba(10, 20, 38, 0.4);
  padding: 30px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-img img {
  width: 160px;
  height: auto;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
}

.about-info h3 {
  font-weight: 700;
}

.about-info .kana {
  color: #a0aec0;
  margin-left: 8px;
  font-weight: normal;
}

.about-info .title {
  color: #00a8ff;
  margin-bottom: 12px;
}

.about-info p {
  color: #cbd5e0;
  line-height: 1.7;
}

/* ==========================================
   PARALLAX
   ========================================== */
.cover-title {
  border-bottom: none;
  color: #fff;
}

.cover-title::after {
  border-bottom: none;
}

.para-read {
  color: #fff;
  text-align: left;
}

.para-name,
.para-yakusyoku {
  display: block;
  text-align: right;
}

/* スマホ */
@media (max-width: 575.98px) {
  .mastertech-cover {
    height: 530px;
    background-image: url(/wp/wp-content/uploads/2026/08/sp_parallax_1.jpg);
    background-position: center;
	background-size:cover;
    position: relative;
    width: 100vw;
  }
  .para-wrap {
    margin: 0 calc(50% - 50vw);
  }
  .text-wrap {
    width: 95vw;
    text-align: center;
    margin: 0 auto;
    padding-top: 40px;
  }
  .cover-title {
    font-size: calc(36vw / 5.76);
  }
  .para-read,
  .para-name {
    font-size: calc(20vw / 5.76);
    line-height: 1.8em;
  }
  .para-yakusyoku {
    font-size: calc(20vw / 5.76);
  }
}

/* タブレット */
@media (min-width: 576px) and (max-width: 1032px) {
  .mastertech-cover {
    height: 500px;
    background-image: url(/wp/wp-content/uploads/2026/08/tab_parallax_1.jpg);
    background-position: center;
	background-size:cover;
    background-repeat: no-repeat;
    position: relative;
    width: 100vw;
  }
  .para-wrap {
    margin: 0 calc(50% - 50vw);
  }
  .text-wrap {
    width: 95vw;
    text-align: center;
    margin: 0 auto;
    padding-top: 40px;
  }
  .cover-title {
    font-size: calc(36vw / 10.24);
    margin-bottom: 0 !important;
  }
  .para-read,
  .para-name {
    font-size: calc(22vw / 10.24);
  }
  .para-yakusyoku {
    font-size: calc(20vw / 10.24);
  }
}

/* PC（中解像度） */
@media (min-width: 1032.98px) and (max-width: 1500px) {
  .text-wrap {
    width: 90vw;
  }
  .para-read,
  .para-name {
    line-height: 1.7em;
  }
}

/* PC（大画面） */
@media (min-width: 1500.98px) {
  .text-wrap {
    width: 65vw;
  }
  .para-read,
  .para-name {
    line-height: 2em;
  }
}

/* PC（基本） */
@media (min-width: 1032.98px) {
  .mastertech-cover {
    height: 600px;
    background-image: url(/wp/wp-content/uploads/2026/08/pc_parallax_1.jpg);
    background-position: center;
	background-size:cover;
    background-repeat: no-repeat;
    position: relative;
    width: 100vw;
  }
  .para-wrap {
    margin: 0 calc(50% - 50vw);
    height: 100%;
  }
  .text-wrap {
    text-align: center;
    margin: 0 auto;
    padding-top: 80px;
  }
  .cover-title {
    font-size: 36px;
    margin: 0;
    padding: 0;
  }
  .para-read,
  .para-name {
    font-size: 24px;
  }
  .para-yakusyoku {
    font-size: 20px;
  }
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background-color: #030a16;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer a {
  color: #fff !important;
}

/* ==========================================
   GLOBAL RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 960px) {
  .tech-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .purpose-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .fd-reverse {
    flex-direction: column-reverse;
  }
  .hero-content {
    left: 5%;
    right: 5%;
    top: 50%;
    width: 90%;
  }
  .hero-cards {
    flex-direction: column;
    gap: 10px;
  }
  .card-item {
    width: 100%;
  }
  .slide-arrow {
    display: none;
  }
  .tech-ex-grid {
    grid-template-columns: 1fr;
  }
  .purpose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-step {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 12px;
  }
  .about-box {
    flex-direction: column;
    align-items: center;
    text-align: left;
    padding: 20px;
  }
  .about-img img {
    width: 140px;
  }
}

@media (max-width: 480px) {
  .tech-cards,
  .purpose-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------
   FEATURES CARDS 
---------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.feature-card {
  background: rgba(10, 20, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
}

/*画像下部のカーブ */
.feature-img {
  width: 100%;
  /* 固定高さ指定を解除し、アスペクト比で高さを自動維持 */
  height: auto;
  aspect-ratio: 16 / 9; /* 画面幅に応じて高さが自然に確保 */
  overflow: hidden;
  clip-path: ellipse(140% 100% at 50% 0%);
  background: #111;
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 写真の中心や重要な部分を見切れにくく調整 */
  object-position: center; 
  transition: transform 0.6s ease;
}

/* ホバー時に画像を少し拡大 */
.feature-card:hover .feature-img img {
  transform: scale(1.05);
}

.feature-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* タイトルの下線（全体は細く、左側だけ太く色をつける） */
.feature-title {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
  line-height: 1.4;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.feature-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 40%; /* 下線のアクセント幅 */
  height: 1px; 
  background: #00d4ff; 
}

.feature-lead {
  color: #cbd5e0;
  line-height: 1.8;
  text-align: justify;
}

/* スマホ用レスポンシブ対応 */

/* 960px以下（iPad Mini縦向き〜スマホ） */
@media (max-width: 960px) {
  .features-grid {
    /* 1カラム化に伴い、カード自体の最大幅を制限して左右に余白を持たせる */
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    gap: 30px;
  }

  /* feature-img の高さ上書き（height: 200px; を削除して aspect-ratio を優先させる） */
  .feature-img {
    height: auto; /* 以前書いていた 200px を無効化 */
    aspect-ratio: 16 / 10; /* タブレット1カラム時用にやや深めの縦横比を確保 */
  }

  .feature-content {
    padding: 25px 20px;
  }
}
/*---------------------------------
   TECHNOLOGY PAGE EXTENSIONS
---------------------------------- */

/* 概要ボックス */
.tech-intro-box {
  background: rgba(10, 20, 38, 0.6);
  border: 1px solid rgba(0, 168, 255, 0.25);
  border-left: 4px solid #00d4ff;
  border-radius: 8px;
  padding: 30px 35px;
  margin-bottom: 40px;
}
.tech-intro-lead {
  color: #ffffff;
  line-height: 1.8;
  margin-bottom: 16px;
}
.tech-intro-lead strong {
  color: #00d4ff;
}
.tech-intro-desc {
  color: #cbd5e0;
  line-height: 1.8;
}

/* 評価カード（FLIGHT EVALUATION） */
.tech-eval-card {
  background: rgba(10, 20, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 35px;
  margin-bottom: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.eval-title, .person-headline {
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 10px;
}

.eval-title::after, .person-headline::after { 
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 25%; /* 下線のアクセント幅 */
  height: 1px; 
  background: #00d4ff; 
}
.eval-title .accent-text {
  color: #00d4ff;
  font-size: 18px;
}
.eval-text {
  color: #cbd5e0;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* 2枚グラフ画像並び */
.tech-eval-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 25px;
}
.eval-img-box {
  background: #030a16;
  border-radius: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.eval-img-box img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 4px;
}
.img-caption {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 8px;
}

/* 特許バッジ＆バッテリー切り替え器カード */
.feature-highlight {
  border: 1px solid rgba(0, 212, 255, 0.3);
  background: linear-gradient(135deg, rgba(10, 25, 48, 0.8) 0%, rgba(15, 20, 32, 0.9) 100%);
  position: relative;
}
.tech-eval-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 30px;
  align-items: center;
}
.tech-eval-img-single img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
}
.patent-badge {
  display: inline-block;
  background: linear-gradient(90deg, #00d4ff, #0066cc);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

/* Espen Torp セクション */
.person-profile-box {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 30px;
  background: rgba(10, 20, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  align-items: center;
}
.person-img-wrap img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.person-tag {
  color: #00d4ff;
  font-weight: 600;
  margin-bottom: 6px;
}
.person-headline {
  color: #ffffff;
  margin-bottom: 15px;
}
.person-desc {
  color: #cbd5e0;
  line-height: 1.7;
  margin-bottom: 20px;
}

.person-footnote {
  font-size: 11px;
  color: #94a3b8;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 12px;
  line-height: 1.6;
  margin:0;
}

/* レスポンシブ調整 */
@media (max-width: 960px) {
  .tech-eval-grid,
  .person-profile-box {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tech-eval-imgs {
    grid-template-columns: 1fr;
  }
/* 評価カード（FLIGHT EVALUATION） */
.tech-eval-card {
  padding: 15px;
  margin-bottom: 15px;
}	
}
@media (max-width: 580px) {
  .spec-highlight-grid {
    flex-direction: column;
    gap: 8px;
  }
}

/* ----------------------------------
   PROFILE & TIMELINE STYLES (シック調整版)
---------------------------------- */

/* プロフィール紹介エリア */
.profile-intro-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}
.profile-img img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
}
.profile-name {
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 5px;
  letter-spacing: 0.05em;
}
.profile-name-en {
  color: #00a8ff; /* やや落ち着いたブルーに差し替え */
  margin-left: 15px;
  font-weight: normal;
  letter-spacing: 0.1em;
}
.profile-role {
  color: #e2c275; /* オリーブから統一感のあるゴールドへ変更 */
  margin-bottom: 20px;
  font-weight: bold;
}
.profile-desc {
  color: #cbd5e0;
  line-height: 1.8;
}

/* タイムライン本体 */
.timeline-container {
  padding-top: 20px;
}
.timeline {
  position: relative;
  margin: 20px 0 40px 0;
  padding-left: 36px; /* 位置ズレ防止のため調整 */
}

/* 縦軸線：単色青からフェード感のあるグラデーションラインへ */
.timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 0;
  left: 6px; /* マーカーの中心軸に固定 */
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(0, 168, 255, 0.6) 0%,
    rgba(0, 168, 255, 0.15) 85%,
    transparent 100%
  );
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}

/* マーカー：中心軸を固定し、ほんのり発光感のあるシックなポインターへ */
.timeline-marker {
  position: absolute;
  top: 6px;
  left: -36px; /* padding-leftに合わせた中心配置 */
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #00a8ff;
  background: #111923; /* 暗い背景色になじむ色調 */
  box-shadow: 0 0 8px rgba(0, 168, 255, 0.4);
  z-index: 2;
  box-sizing: border-box;
}

/* 期間（年月） */
.timeline-period {
  /*font-size: 15px;*/
  font-weight: 600;
  color: #00a8ff;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
  line-height: 1;
}

/* コンテンツ部分の左側の線：目立ちすぎる線を廃止し、余白で美しく見せる */
.timeline-body {
  border-left: none;
  padding-left: 0;
  padding-bottom: 10px;
}

/* タイトル：下線デザインを洗練化 */
.timeline-title {
  /*font-size: 20px;*/
	background: linear-gradient(135deg, #f3e7e1 0%, #d4af37 50%, #aa7c11 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(226, 194, 117, 0.15);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* 本文テキスト */
.timeline-body p {
  /*font-size: 15px;*/
  color: #cbd5e0;
  line-height: 1.8;
}
.timeline-body p strong {
  color: #ffffff;
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

/* ==========================================
   レスポンシブ対応
========================================== */
@media (max-width: 768px) {
  .profile-intro-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .profile-img {
    text-align: center;
  }
  .profile-img img {
    max-width: 250px;
  }
  
  .timeline {
    padding-left: 28px; /* スマホ用に横幅調整 */
  }
  .timeline::before {
    left: 5px;
  }
  .timeline-marker {
    left: -28px;
    width: 12px;
    height: 12px;
    top: 6px;
  }
  .timeline-title {
    font-size: 18px;
  }
}

/* ==========================================
   CONTACT
   ========================================== */

/* フォーム全体ラップ */
.contact-content{
	max-width:800px;
	margin:0 auto;
}

.contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  background-color: #111111; /* 黒系背景にフィット */
  color: #ffffff;
  border: 1px solid #333333;
  border-radius: 8px;
  font-family: sans-serif;
  box-sizing: border-box;
}

/* 各項目ブロック */
.contact-form-wrapper .form-group {
  margin-bottom: 24px;
}

.contact-form-wrapper label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #e0e0e0;
  font-size: 15px;
}

/* 必須ラベル */
.contact-form-wrapper .required {
  background-color: #c0392b;
  color: #ffffff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}

/* 入力フィールド共通 */
.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper input[type="date"],
.contact-form-wrapper select,
.contact-form-wrapper textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: #1e1e1e;
  border: 1px solid #444444;
  border-radius: 4px;
  color: #ffffff;
  font-size: 16px; /* スマホで自動ズームしない16px */
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
  border-color: #0073aa;
  outline: none;
}

/* ラジオボタンエリア */
.contact-form-wrapper .wpcf7-list-item {
  margin-left: 0;
  margin-right: 20px;
  display: inline-block;
}

.contact-form-wrapper .wpcf7-list-item label {
  display: inline;
  font-weight: normal;
  cursor: pointer;
}

/* 条件分岐アニメーション表示枠 */
.conditional-field {
  background: #181818;
  padding: 20px 20px 4px 20px;
  border-left: 3px solid #0073aa;
  margin-bottom: 24px;
  border-radius: 0 4px 4px 0;
}

/* プライバシーポリシー同意 */
.consent-group {
  text-align: center;
  margin: 30px 0;
}

.consent-group a {
  color: #3498db;
  text-decoration: underline;
}

/* 送信ボタン */
.form-submit {
  text-align: center;
}

/* 送信ボタン（シックなダークネイビー） */
.contact-form-wrapper input[type="submit"] {
  background: linear-gradient(135deg, #1e3a8a, #0f172a); /* 深みのあるネイビーグラデーション */
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em; /* 文字間隔を広げて上質感を演出 */
  padding: 16px 54px;
  border: 1px solid #3b82f6; /* 薄いブルーの繊細な枠線 */
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ホバー（マウスを乗せた時）の挙動 */
.contact-form-wrapper input[type="submit"]:hover {
  background: linear-gradient(135deg, #2563eb, #1e3a8a); /* 少し明るいブルーに発光 */
  border-color: #60a5fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

/* ----------------------------------
   スマートフォン（レスポンシブ）調整
---------------------------------- */
@media (max-width: 768px) {
  /* 外枠の余白を縮小 */
  .contact-form-wrapper {
    padding: 20px 15px;
  }

  /* 条件分岐エリアの余白調整 */
  .conditional-field {
    padding: 15px 12px 4px 12px;
  }

  /* ラジオボタンの押しやすさ（タップ領域拡大） */
  .contact-form-wrapper .wpcf7-list-item {
    margin-right: 15px;
    margin-bottom: 8px;
  }

  /* 送信ボタンを幅いっぱいに拡大して押しやすくする */
  .contact-form-wrapper input[type="submit"] {
    width: 100%;
    padding: 16px 0;
  }
}

/* ==================================================
   プライバシーポリシー・規約ページの装飾スタイル
   ================================================== */

/* 1. 大見出し（h3: 第1部、第2部など） */
.privacy-content h3 {
  font-size: 1.35rem;
  font-weight: bold;
  padding: 0.6em 0.8em;
  margin-top: 2em;
  margin-bottom: 1em;
  background-color: #142a42; /* 薄いグレー背景 */
  border-left: 5px solid #030a16; /* テーマのメインカラー（紺色系） */
  border-bottom: 1px solid #e2e8f0;
}

/* 2. 中見出し（h4: 第1条、第2条など） */
.privacy-content h4{
  font-size: 1.15rem;
  font-weight: bold;
  position: relative;
  padding-left: 1.4em;
  margin-top: 1.8em;
  margin-bottom: 0.8em;
  border-bottom: 1px dashed #cccccc; /* 控えめな点線の罫線 */
  padding-bottom: 0.4em;
}

/* h4の前に「■」を擬似要素で配置 */
.privacy-content h4::before{
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
  color: #030a16; /* 記号の色 */
  font-size: 0.9em;
}

/* 3. 小見出し（h5: 1. 目的など） */
.privacy-content h5 {
  font-size: 1rem;
  font-weight: bold;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
  padding-left: 0.6em;
  border-left: 3px solid #666666; /* 控えめな左線 */
}