@charset "UTF-8";

:root {
	--primary-color: #4a90e2; /* 空色・メインカラー */
	--text-main: #333333;
	--text-light: #555555;
	--bg-color: #f7fbff;
	--card-bg: #f5f9eb; /* カード背景のわずかな色味（モック参考） */
	--font-family: 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: var(--font-family);
	color: var(--text-main);
	background-color: var(--bg-color);
	line-height: 1.6;
	/* モックのような水彩風の淡いグラデーションを背景に */
	background-image: linear-gradient(180deg, #e1f0fa 0%, #ffffff 30%, #ffffff 70%, #f0f7fc 100%);
	overflow-x: hidden;
}

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

ul {
	list-style: none;
}

/* Header */
.header {
	padding: 15px 40px;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1000;
	transition: background-color 0.3s, box-shadow 0.3s;
}

/* スクロール中に一旦隠すためのクラス（準備状態：戻る時はスライドして消える） */
.header.is-hide {
	position: fixed;
	transform: translateY(-100%);
	visibility: hidden;
	transition: transform 0.4s ease-in, visibility 0s 0.4s;
	border-bottom: none;
}

/* 一定以上スクロールしたらフワッと出すためのクラス（出現：即座に表示してスライドダウン） */
.header.is-show {
	position: fixed;
	transform: translateY(0);
	visibility: visible;
	transition: transform 0.4s ease-out, visibility 0s;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(74, 144, 226, 0.1);
}

.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
}

.logo {
	font-size: 26px;
	color: #3b5998;
	position: relative;
	display: inline-block;
	font-weight: 700;
}

.logo::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: var(--primary-color);
	transform: rotate(-1deg);
	border-radius: 2px;
}

.nav ul {
	display: flex;
	gap: 30px;
}

.nav a {
	font-size: 15px;
	font-weight: 500;
	color: #3b5998;
	position: relative;
	padding-bottom: 5px;
	transition: color 0.3s;
}

.nav a:hover {
	color: var(--primary-color);
}

.nav a:hover::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: var(--primary-color);
	border-radius: 2px;
}

/* PC画面のヘッダーメニューのみ非表示にする設定 */
.nav .pc-hide {
	display: none;
}

.nav-sns {
	display: inline-flex;
	align-items: center;
}

.nav-sns svg {
	width: 1.2em;
	height: 1.2em;
	fill: currentColor;
}

/* Hero Section */
.hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 140px 40px 60px;
	max-width: 1200px;
	margin: 0 auto;
	min-height: 80vh;
}

.hero-content {
	flex: 1;
	padding-right: 40px;
}

.hero-title {
	font-size: 90px;
	color: #1a365d;
	line-height: 1.1;
	margin-bottom: 40px;
	font-weight: 700;
	letter-spacing: 2px;
}


.hero-lead {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 20px;
	color: #2c3e50;
	line-height: 1.5;
}

.hero-text {
	font-size: 16px;
	color: var(--text-light);
	line-height: 2;
}

.hero-image {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}

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

/* Section Common */
.section {
	padding: 80px 40px;
	max-width: 1040px;
	margin: 0 auto;
	text-align: center;
}

.inp.section {
	padding-top: 160px;
}

.section-title {
	font-size: 28px;
	color: var(--primary-color);
	margin-bottom: 50px;
	position: relative;
	display: inline-block;
	font-weight: 700;
}

/* Features Section */
.features-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
	margin-bottom: 50px;
}

.feature-card {
	background: var(--card-bg);
	border-radius: 20px;
	padding: 20px;
	width: 300px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.03);
	transition: transform 0.3s;
}

.feature-card:hover {
	transform: translateY(-5px);
}

.feature-img {
	margin-bottom: 20px;
	border-radius: 10px;
	overflow: hidden;
}

.feature-img img {
	width: 100%;
	height: auto;
	display: block;
}

.feature-title {
	font-size: 16px;
	color: #ffffff;
	background-color: var(--primary-color);
	display: inline-block;
	padding: 6px 20px;
	border-radius: 20px;
	margin-bottom: 15px;
	font-weight: 700;
}

.feature-text {
	font-size: 14px;
	color: var(--text-main);
	text-align: center;
}

.features-footer {
	font-size: 18px;
	font-weight: 700;
	margin-top: 40px;
	line-height: 1.8;
}

.highlight-text {
	color: var(--primary-color);
	font-size: 20px;
}

/* Contact Section */
.contact-lead {
	margin-bottom: 30px;
}

.contact-form {
	max-width: 700px;
	margin: 0 auto;
}

.form-row {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}

.form-group {
	flex: 1;
	margin-bottom: 20px;
}

.form-row .form-group {
	margin-bottom: 0;
}

input[type="text"],
input[type="email"],
textarea {
	width: 100%;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 16px;
	font-family: inherit;
	background-color: #fafafa;
	transition: border-color 0.3s;
}

textarea {
	resize: vertical;
}

input:focus,
textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	background-color: #fff;
}

.form-submit {
	margin-top: 30px;
}

.submit-btn {
	background-color: var(--primary-color);
	color: white;
	border: none;
	padding: 15px 60px;
	font-size: 18px;
	border-radius: 30px;
	cursor: pointer;
	font-weight: 700;
	font-family: inherit;
	transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
	background-color: #357abd;
	transform: scale(1.05);
}

/* Footer */
.footer {
	padding: 60px 40px 20px;
	text-align: center;
}

.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	border-top: 1px dashed #b3e5fc;
	padding-top: 40px;
}

.footer-nav ul {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin-bottom: 20px;
}

.footer-nav a {
	font-size: 14px;
	color: var(--text-light);
	transition: color 0.3s;
}

.footer-nav a:hover {
	color: var(--primary-color);
}

.copyright {
	font-size: 12px;
	color: #999;
}

/* Hamburger Button */
.hamburger {
	display: none;
	cursor: pointer;
	width: 30px;
	height: 22px;
	position: relative;
	z-index: 100;
}

.hamburger span {
	display: block;
	position: absolute;
	height: 2px;
	width: 100%;
	background-color: var(--primary-color);
	border-radius: 2px;
	transition: transform .3s, opacity .3s, top .3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

/* Hamburger Active State */
.hamburger.is-active span:nth-child(1) {
	top: 10px;
	transform: rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
	opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
	top: 10px;
	transform: rotate(-45deg);
}

.asct-seimei{
	width: 4em;
	height: auto;
}

.choice-cont-type{
	margin-bottom: 60px;
}

/* Responsive */
@media (max-width: 768px) {
	.header {
		padding: 20px 1rem;
	}

	.header-inner {
		flex-direction: row;
		justify-content: space-between;
	}

	.hamburger {
		display: block;
	}
	
	.nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background-color: rgba(255, 255, 255, 0.98);
		display: flex;
		justify-content: center;
		align-items: center;
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s, visibility .3s;
		z-index: 90;
	}

	.nav.is-active {
		opacity: 1;
		visibility: visible;
	}

	.nav ul {
		flex-direction: column;
		justify-content: center;
		gap: 30px;
		text-align: center;
	}

	.nav a {
		font-size: 20px;
	}

	/* スマホ画面（ハンバーガーメニュー内）では表示する */
	.nav .pc-hide {
		display: list-item;
	}
	
	.hero {
		flex-direction: column;
		text-align: center;
		padding: 160px 1rem 60px;
	}
	
	.hero-content {
		padding-right: 0;
		margin-bottom: 40px;
	}
	
	.hero-title {
		font-size: 60px;
	}
	
	.features-grid {
		flex-direction: column;
		align-items: center;
	}
	
	.feature-card {
		width: 100%;
		max-width: 350px;
	}
	
	.form-row {
		flex-direction: column;
		gap: 0;
	}
	
	.form-row .form-group {
		margin-bottom: 20px;
	}

	.footer-nav {
		display: none;
	}

	.section {
		padding: 80px 1rem;
	}

	.footer {
		padding: 60px 1rem 20px;
	}
}

/* Scroll Lock when Menu is Open */
body.is-fixed {
	overflow: hidden;
}

/* Toggle Button Styling */
.toggle-op-cl {
	display: block;
	width: 150px;
	cursor: pointer;
	color: var(--primary-color);
	font-weight: 700;
	padding: 12px 40px;
	border: 2px solid var(--primary-color);
	border-radius: 30px;
	transition: all 0.3s ease;
	margin: 0 auto 40px;
	user-select: none;
	background-color: transparent;
}

.toggle-op-cl:hover {
	background-color: var(--primary-color);
	color: #ffffff;
}

/* Smooth Open/Close Animation */
.wrap-g-form {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.4s ease-out;
	overflow: hidden;
}

.wrap-g-form.is-open {
	grid-template-rows: 1fr;
}

.wrap-g-form-inner {
	min-height: 0;
}

.g-form.cont{
	width: 100%;
	min-height: 1500px;
}

.g-form.bug{
	width: 100%;
	min-height: 1100px;
}

/* ASCT Page Styles */
.asct-table-wrapper {
	max-width: 800px;
	margin: 0 auto;
	background: #fff;
	padding: 30px;
	border-radius: 20px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.asct-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
}

.asct-table th, .asct-table td {
	padding: 20px 15px;
	border-bottom: 1px solid #e1f0fa;
	font-size: 15px;
}

.asct-table th {
	width: 30%;
	color: var(--primary-color);
	font-weight: 700;
	vertical-align: top;
}

/* Policy Page Styles */
.policy-container {
	max-width: 800px;
	margin: 0 auto;
	background: #fff;
	padding: 40px 20px;
	border-radius: 20px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.03);
	text-align: left;
}

.policy-intro {
	margin-bottom: 30px;
	font-weight: 500;
}

.policy-item {
	margin-bottom: 40px;
}

.policy-item h3 {
	color: var(--primary-color);
	font-size: 18px;
	margin-bottom: 15px;
	border-bottom: 2px solid #e1f0fa;
	padding-bottom: 5px;
	display: inline-block;
}

.policy-item p {
	margin-bottom: 15px;
	font-size: 15px;
}

.policy-item ul {
	margin-bottom: 15px;
	padding-left: 20px;
	list-style: disc;
}

.policy-item li {
	font-size: 14px;
	margin-bottom: 8px;
	color: var(--text-light);
}

/* 本文中のテキストリンクのホバーエフェクト */
/* .toggle-op-cl のようなボタン要素は除外 */
main a:not(.toggle-op-cl) {
    position: relative;
    padding-bottom: 5px; /* 下線分のスペースを確保 */
    transition: color 0.3s;
}

main a:not(.toggle-op-cl):hover {
    color: var(--primary-color);
}

main a:not(.toggle-op-cl)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0; /* 初期状態では非表示 */
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s ease; /* ホバー時に幅をアニメーション */
}

main a:not(.toggle-op-cl):hover::after {
    width: 100%; /* ホバー時に下線を表示 */
}

/* 画像リンクのホバーエフェクト */
a img {
    transition: opacity 0.3s ease;
}

a:hover img {
    opacity: 0.7;
}

/* Image Grid Container */
.image-grid-container {
	display: grid;
	/* 3カラムを基本とし、画面幅に応じて自動調整 */
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin: 40px 0 80px;
}

.image-grid-container img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Lightbox (画像ポップアップ) */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox-overlay.is-active .lightbox-img {
    transform: scale(1);
}
