@charset "UTF-8";
/* ==========================================================
   Choei Front - Top 3 Sections
   ワイヤーフレーム踏襲 + 水のテクスチャ追加 (Water Heritage)
   ========================================================== */

:root {
	--navy: #003C71;
	--navy-deep: #002952;
	--navy-darker: #001a36;
	--blue: #0068B7;
	--sky: #3FA9F5;
	--light-sky: #E8F4FD;
	--ice: #F0F8FF;
	--gray-dark: #3D3D3D;
	--gray-mid: #6B7280;
	--gray-light: #F5F6F8;
	--gray-border: #E5E7EB;
	--white: #FFFFFF;
	--font-jp: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', sans-serif;
	--font-en: 'Outfit', sans-serif;
	--font-tel: 'Barlow Semi Condensed', 'Outfit', sans-serif;
	--shadow-sm: 0 1px 3px rgba(0,60,113,0.06);
	--shadow-md: 0 4px 20px rgba(0,60,113,0.08);
	--shadow-lg: 0 12px 40px rgba(0,60,113,0.12);
	--radius: 10px;
	--header-h: 96px;
}

/* ----- Reset / base (front-page専用) ----- */
.choei-body { font-family: var(--font-jp); color: var(--gray-dark); line-height: 1.8; -webkit-font-smoothing: antialiased; background: var(--white); overflow-x: hidden; }
.choei-body * , .choei-body *::before, .choei-body *::after { box-sizing: border-box; }
.choei-body img { max-width: 100%; height: auto; display: block; }
.choei-body a { text-decoration: none; color: inherit; }
.choei-main { display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ----- Section common ----- */
.section-label { font-family: var(--font-en); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sky); margin-bottom: 6px; }
.section-title { font-size: clamp(1.5rem, 2.5vw, 1.95rem); font-weight: 700; letter-spacing: 0.05em; line-height: 1.5; color: var(--navy); }
.section-bar { display: block; width: 36px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--sky)); border-radius: 2px; margin-top: 14px; }
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-bar { margin-left: auto; margin-right: auto; }
.section-lead { margin-top: 18px; color: var(--gray-mid); font-size: 0.92rem; }

/* ----- Reveal ----- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.sp-only { display: none; }

/* ==========================================================
   Header
   ========================================================== */
.choei-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(255,255,255,0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow 0.3s, background 0.3s; }
.choei-header.is-scrolled { box-shadow: 0 1px 16px rgba(0,60,113,0.07); }
.choei-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); max-width: 1440px; margin: 0 auto; padding: 0 24px; gap: 18px; }
.choei-header__logo { display: inline-flex; align-items: center; }
.choei-header__logo img { height: 64px; width: auto; }

.choei-header__nav { display: flex; align-items: center; gap: 28px; }
.choei-header__nav a { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em; color: var(--gray-dark); position: relative; transition: color 0.25s; }
.choei-header__nav a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px; background: var(--blue); transition: width 0.25s; }
.choei-header__nav a:hover { color: var(--blue); }
.choei-header__nav a:hover::after { width: 100%; }

.choei-header__right { display: flex; align-items: center; gap: 16px; }
.choei-header__tel { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-tel); font-weight: 700; font-size: 1.32rem; letter-spacing: 0.02em; line-height: 1; color: var(--navy); }
.choei-header__tel svg { flex-shrink: 0; color: var(--blue); }
.choei-header__contact { display: inline-flex; align-items: center; gap: 7px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff !important; font-size: 0.82rem; font-weight: 500; padding: 9px 22px; border-radius: 6px; letter-spacing: 0.04em; transition: transform 0.2s, box-shadow 0.2s; }
.choei-header__contact:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,104,183,0.3); }

.choei-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: 0; z-index: 1010; }
.choei-hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); transition: all 0.3s; }
.choei-hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.choei-hamburger.is-active span:nth-child(2) { opacity: 0; }
.choei-hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.choei-mobile-nav { position: fixed; top: 0; right: -100%; width: 80%; max-width: 340px; height: 100vh; background: var(--white); z-index: 1005; padding: 96px 28px 40px; transition: right 0.35s ease; box-shadow: -4px 0 30px rgba(0,0,0,0.1); display: none; }
.choei-mobile-nav.is-open { right: 0; }
.choei-mobile-nav a { display: block; font-size: 0.95rem; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--gray-border); color: var(--gray-dark); }
.choei-mobile-nav__cta { margin-top: 24px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: var(--white) !important; text-align: center; border-radius: 6px; border: 0 !important; }
.choei-mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.25); z-index: 1002; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.choei-mobile-overlay.is-show { opacity: 1; pointer-events: auto; }
.choei-mobile-overlay[hidden] { display: none; }

/* ==========================================================
   Hero
   ========================================================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: #000; color: var(--white); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,26,54,0.45) 0%, rgba(0,30,60,0.22) 35%, rgba(0,30,60,0.06) 65%, transparent 100%); z-index: 3; pointer-events: none; }
.hero-bg { position: absolute; inset: 0; }

.hero-swiper { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-swiper .swiper-slide { overflow: hidden; }
.hero-slide__image {
	width: 100%; height: 100%;
	background-size: cover;
	background-position: center;
	transform: scale(1.0);
	transition: transform 6.5s ease-out;
}
.hero-swiper .swiper-slide-active .hero-slide__image { transform: scale(1.08); }

.hero-content { position: relative; z-index: 5; max-width: 1360px; width: 100%; margin: 0 auto; padding: 140px 24px 90px; }
.hero-title { font-size: clamp(2.1rem, 4.8vw, 3.4rem); font-weight: 900; letter-spacing: 0.06em; line-height: 1.4; margin: 0 0 22px; animation: heroFadeUp 0.7s ease both 0.35s; }
.hero-title em { font-style: normal; background: linear-gradient(90deg, #fff 30%, #b8dcf8 80%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-lead { font-size: 0.96rem; font-weight: 300; line-height: 2; opacity: 0.86; max-width: 540px; margin: 0 0 36px; animation: heroFadeUp 0.7s ease both 0.5s; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: heroFadeUp 0.7s ease both 0.65s; }
.hero-btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 30px; border-radius: 6px; font-size: 0.92rem; font-weight: 500; letter-spacing: 0.04em; transition: all 0.25s; }
.hero-btn.primary { background: var(--white); color: var(--navy); }
.hero-btn.primary:hover { background: var(--light-sky); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.hero-btn.ghost { border: 1px solid rgba(255,255,255,0.5); color: var(--white); background: transparent; }
.hero-btn.ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.85); transform: translateY(-2px); }
.hero-btn svg { transition: transform 0.25s; }
.hero-btn:hover svg { transform: translateX(3px); }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; letter-spacing: 0.18em; padding: 8px 16px; border: 1px solid rgba(255,255,255,0.32); border-radius: 100px; background: rgba(255,255,255,0.08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); margin-bottom: 24px; animation: heroFadeUp 0.7s ease both 0.2s; color: #fff; }
.hero-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px var(--sky); animation: dotPulse 2.5s ease-in-out infinite; }
@keyframes dotPulse { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* Hero pagination (bottom center dots)
   Swiper 11 が初期化時に .swiper-horizontal > .swiper-pagination-bullets を
   動的付与し bottom:8px / left:0 / width:100% を強制的に当てるため、
   セレクタの特異性を 0,3,0 まで上げて確実に勝たせる。 */
.hero-swiper > .hero-pagination,
.hero-swiper.swiper-horizontal > .hero-pagination {
	position: absolute;
	left: 50%;
	bottom: 64px;
	width: auto;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	flex-direction: row;
	gap: 10px;
	align-items: center;
	pointer-events: auto;
}
.hero-pagination .swiper-pagination-bullet { background: rgba(255,255,255,0.55); opacity: 1; width: 10px; height: 10px; margin: 0; border-radius: 50%; transition: background 0.3s, transform 0.3s; cursor: pointer; box-shadow: 0 0 6px rgba(0,0,0,0.25); }
.hero-pagination .swiper-pagination-bullet-active { background: #fff; transform: scale(1.25); box-shadow: 0 0 0 4px rgba(255,255,255,0.18), 0 0 6px rgba(0,0,0,0.25); }

/* ==========================================================
   Strengths
   ========================================================== */
.strengths { padding: 110px 0; background: var(--white); position: relative; }
.strengths::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,60,113,0.08), transparent); }
.strengths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.str-card { padding: 38px 28px 32px; background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius); transition: all 0.35s; position: relative; overflow: hidden; }
.str-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--blue), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform 0.35s; }
.str-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.str-card:hover::before { transform: scaleX(1); }
.str-num { font-family: var(--font-en); font-size: 2.8rem; font-weight: 700; line-height: 1; color: var(--light-sky); margin-bottom: 12px; letter-spacing: 0.04em; position: relative; z-index: 1; }
.str-icon { width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 26px; position: relative; z-index: 1; }
.str-icon img { width: 100%; height: 100%; object-fit: contain; }
.strengths-grid .str-card:first-child .str-icon img { transform: scale(1.55); }
.str-title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; letter-spacing: 0.04em; line-height: 1.6; position: relative; z-index: 1; }
.str-text { font-size: 0.86rem; color: var(--gray-mid); line-height: 1.95; position: relative; z-index: 1; }

/* ==========================================================
   Services
   ========================================================== */
.services { padding: 110px 0 120px; background: linear-gradient(180deg, var(--gray-light), var(--ice)); position: relative; }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc-card { border-radius: var(--radius); overflow: hidden; background: var(--white); transition: all 0.35s; }
.svc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.svc-visual { position: relative; height: 200px; overflow: hidden; background: var(--navy-deep); }
.svc-visual__photo { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.0); transition: transform 0.6s ease-out; }
.svc-card:hover .svc-visual__photo { transform: scale(1.06); }
.svc-visual__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,41,82,0.62) 0%, rgba(0,104,183,0.32) 100%); transition: opacity 0.4s; pointer-events: none; }
.svc-card:hover .svc-visual__overlay { opacity: 0.85; }

.svc-body { padding: 26px 28px 30px; }
.svc-body h3 { font-size: 1.08rem; font-weight: 700; color: var(--navy); margin: 0 0 10px; letter-spacing: 0.04em; line-height: 1.5; }
.svc-body p { font-size: 0.85rem; color: var(--gray-mid); line-height: 1.95; margin: 0; }

/* ==========================================================
   Footer (minimal)
   ========================================================== */
.choei-footer { background: var(--navy-darker); color: rgba(255,255,255,0.65); padding: 38px 0; text-align: center; }
.choei-footer__inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.choei-footer__copy { font-size: 0.78rem; letter-spacing: 0.06em; margin: 0 0 6px; }
.choei-footer__note { font-family: var(--font-en); font-size: 0.7rem; letter-spacing: 0.18em; opacity: 0.5; margin: 0; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 980px) {
	.strengths-grid { grid-template-columns: 1fr; gap: 18px; }
	.svc-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 768px) {
	.choei-header__nav { display: none; }
	.choei-header__contact { display: none; }
	.choei-header__tel span { display: none; }
	.choei-header__tel svg { width: 22px; height: 22px; }
	.choei-hamburger { display: flex; }
	.choei-mobile-nav { display: block; }
	.sp-only { display: inline; }

	.hero-content { padding: 120px 24px 70px; }
	.hero-title { font-size: 1.85rem; line-height: 1.45; }
	.hero-lead { font-size: 0.9rem; }
	.hero-badge { font-size: 0.66rem; }
	.hero-swiper > .hero-pagination,
	.hero-swiper.swiper-horizontal > .hero-pagination { bottom: 44px; gap: 8px; }
	.hero-pagination .swiper-pagination-bullet { width: 8px; height: 8px; }

	.strengths, .services { padding: 70px 0; }
	.section-header { margin-bottom: 32px; }
	.str-card { padding: 30px 22px 26px; }
	.str-num { font-size: 2.2rem; }
}

@media (max-width: 480px) {
	.hero-actions { flex-direction: column; align-items: stretch; }
	.hero-btn { justify-content: center; }
}
