@charset "UTF-8";
/* * =========================================
 * CSS VARIABLES & RESET
 * =========================================
 */
:root {
    --color-primary: #225086;
    --color-accent: #2764EF;
    --color-text-main: #333333;
    --color-text-sub: #303030;
    --color-bg-light: #F2F6F8;
    --color-white: #ffffff;
    --font-main: 'Noto Sans JP', sans-serif;
    --font-en: 'Poppins', sans-serif;
    --width-pc: 1080px; /* コンテンツ幅 */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html{
	font-size: 62.5%;
}
body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

.inner-width {
    max-width: var(--width-pc);
    margin: 0 auto;
    padding: 0 20px;
}

.pc-only { display: block; }
.sp-only { display: none; }

/* * ▼▼▼ ここからがボタンのスタイル ▼▼▼
         * 要件通り #pagetop に対してスタイルを当てています
         */
        #pagetop {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
			background: var(--color-accent);
            color: #fff;
            text-decoration: none;
            border-radius: 50%;
            display: flex; /* 矢印を中央に配置するため */
            justify-content: center;
            align-items: center;
            z-index: 100;
            
            /* アニメーション用設定 */
            opacity: 0;           /* 初期状態は透明 */
            visibility: hidden;   /* 初期状態は非表示（クリック不可） */
            transition: opacity 0.3s, visibility 0.3s; /* ふわっと表示させる */
            cursor: pointer;
        }

        /* 矢印アイコン（CSSで作成） */
        #pagetop::before {
            content: '';
            width: 10px;
            height: 10px;
            border-top: 2px solid #fff;
            border-right: 2px solid #fff;
            transform: rotate(-45deg);
            margin-top: 4px;
        }

        /* ホバー時のスタイル */
        #pagetop:hover {
            background-color: #6B95F4;
        }

@media (max-width: 1023px) {
    .pc-only { display: none !important; }
    .sp-only { display: block !important; }
}

/* * =========================================
 * HEADER
 * =========================================
 */
.header {
    width: 100%;
    height: 70px;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-white);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header__logo {
    width: 200px;
    /* ロゴ画像の代わりにCSSで再現（Figma準拠） */
    height: 17px;
    position: relative;
    background: url("../img/header_logo.svg") no-repeat center/contain;
    /* 簡易化のためSVGデータURIを使用、実運用ではimgタグ推奨 */
	z-index: 2;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header__nav-item {
    color: var(--color-text-sub);
    font-size: 1.6rem;
    cursor: pointer;
}
.header__nav-item:hover {
	color: #2764EF;
}

.header__btn {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: opacity 0.3s;
}
.header__btn:hover { background-color: #6B95F4; }
.header__btn::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
}

@media (max-width: 1023px) {
    .header {
        height: auto;
        padding: 10px 20px;
    }
/* Hamburger Button */
	.header__burger {
		width: 30px;
		height: 20px;
		position: relative;
		z-index: 1001; /* メニューより手前に */
		cursor: pointer;
		display: flex !important;
		flex-direction: column;
		justify-content: space-between;
	}

	.header__burger span {
		display: block;
		width: 100%;
		height: 2px;
		background-color: var(--color-text-main);
		transition: all 0.3s ease;
	}

	/* Active State (X icon) */
	.header__burger.is-active span:nth-child(1) {
		transform: translateY(9px) rotate(45deg);
	}
	.header__burger.is-active span:nth-child(2) {
		opacity: 0;
	}
	.header__burger.is-active span:nth-child(3) {
		transform: translateY(-9px) rotate(-45deg);
	}
/* Active State (X icon) */
	.header__burger.is-active span:nth-child(1) {
		transform: translateY(9px) rotate(45deg);
	}
	.header__burger.is-active span:nth-child(2) {
		opacity: 0;
	}
	.header__burger.is-active span:nth-child(3) {
		transform: translateY(-9px) rotate(-45deg);
	}

	/* SP Navigation Menu Overlay */
	.header__nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        z-index: 1;
        display: flex;
        flex-direction: column; /* 縦並びにする */
        justify-content: center;
        align-items: center;
        gap: 30px;
        
        /* 初期状態は隠す */
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    /* ハンバーガーボタンが押された時の表示状態 */
    .header__nav.is-active {
        opacity: 1;
        pointer-events: auto;
    }
	.header__sp-btn {
		background: var(--color-accent);
		color: var(--color-white);
		padding: 15px 40px;
		border-radius: 50px;
		font-weight: 700;
		font-size: 1rem;
		display: flex;
		align-items: center;
		gap: 7px;
		margin-top: 20px;
	}
	.header__sp-btn::after {
		content: '';
		display: block;
		width: 6px;
		height: 6px;
		border-top: 2px solid white;
		border-right: 2px solid white;
		transform: rotate(45deg);
	}
}

/* * =========================================
 * HERO SECTION
 * =========================================
 */
.hero {
    margin-top: 70px;
    height: 580px;
    background: url("../img/kv.jpg") no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 100px;
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
}

.hero__text-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero__sub-title {
    color: var(--color-text-main);
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.96px;
}

.hero__main-title {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 6px;
    color: var(--color-primary);
}

.hero__main-title span {
    font-weight: 600;
	font-size: 5rem;
}

.hero__btn {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 21px 40px;
    border-radius: 50px;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.72px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
}
.hero__btn::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
}

@media (max-width: 1023px) {
    .hero {
        margin-top: 40px;
        padding: 36px 16px;
		height: 500px;
        background-image: url("../img/kv_sp.jpg");
        background-size: cover;
        background-position: center;
		align-items: center;
    }
    .hero__content {
        gap: 28px;
    }
    .hero__sub-title {
        font-size: 1.64rem;
        text-shadow: 0px 0px 8px white;
		font-feature-settings: "palt";
    }
    .hero__main-title {
        font-size: 5.8rem; /* 少し小さく調整 */
        line-height: 1.2;
        letter-spacing: normal;
        text-shadow: 0px 0px 16px white;
    }
    .hero__btn {
        justify-content: center;
        height: 50px;
        padding: 0 40px;
    }
}

/* * =========================================
 * ABOUT SECTION (DIAGRAM)
 * =========================================
 */
.about {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
	background:url("../img/about_bk.png") no-repeat left top/40%,url("../img/about_bk_2.png") no-repeat right bottom/40%;
}

.section-title {
    font-size: 4rem;
    font-weight: 500;
    color: var(--color-text-main);
    margin-bottom: 24px;
    letter-spacing: 1.6px;
}

.section-desc {
    font-size: 1.8rem;
    color: var(--color-text-main);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 図解画像用ラッパー */
.diagram-wrapper {
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

@media (max-width: 1023px) {
    .about { padding: 40px 16px 60px; }
    .section-title { font-size: 3rem; }
    .section-desc { font-size: 1.6rem; text-align: left; }
}

/* * =========================================
 * USE CASES SECTION
 * =========================================
 */
.use-cases {
    padding: 80px 0;
    background: var(--color-primary);
    color: var(--color-white);
}

.use-cases .section-title,
.use-cases .section-desc {
    color: var(--color-white);
}

.use-cases__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.use-case-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.use-case-item__circle {
    width: 200px;
    height: 200px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    /* アイコンは簡易的なdivで表現するか、画像として扱う */
    position: relative;
}

/* アイコンのプレースホルダー */
.icon-placeholder {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.use-case-item__text {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.6;
	font-feature-settings: "palt";
}

@media (max-width: 1023px) {
    .use-cases { padding: 60px 16px; }
    .use-cases__grid {
        justify-content: center;
        gap: 40px;
    }
    .use-case-item { width: 160px; }
    .use-case-item__circle { width: 160px; height: 160px; }
    .use-case-item__text { font-size: 1.6rem; }
}

/* * =========================================
 * FEATURES SECTION
 * =========================================
 */
.features {
    padding: 80px 0;
    background: linear-gradient(0deg, var(--color-bg-light) 0%, var(--color-bg-light) 100%), var(--color-bg-light);
}

.features__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1000px;
    margin: 40px auto 0;
    gap: 20px;
}

.feature-item {
    width: 230px;
    background: var(--color-white);
    border-radius: 8px;
    outline: 1px solid var(--color-primary);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    width: 30px;
    height: 30px;
    background: var(--color-bg-light);
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-text {
    color: var(--color-primary);
    font-size: 1.8rem;
    font-weight: 400;
	font-feature-settings: "palt";
}

@media (max-width: 1023px) {
    .features__grid { justify-content: center; }
    .feature-item { width: 170px; padding: 8px; }
    .feature-text { font-size: 1.4rem; }
}

/* * =========================================
 * FLOW SECTION
 * =========================================
 */
h5{
	font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    background-color: #225086;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    line-height: 2.5;
	margin: 10px auto 16px;
}
.flow {
    padding: 80px 16px;
}
.flow_contents_box img{
	height: 70px;
}
.flow_contents_box{
	width: 12%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.flow_contents_box p{
	font-size: 1.4rem;
	letter-spacing: 0;
}
.flow_contents{
	display: flex;
    justify-content: space-between;
	position: relative;
}
.flow_contents::before{
	content: '';
    position: absolute;
    width: 90%;
    height: 1px;
    margin: auto;
    background-color: #225086;
    top: 95px;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    z-index: -1;
}

/* * =========================================
 * FAQ SECTION
 * =========================================
 */
.faq {
    padding: 80px 20px;
    background: var(--color-bg-light);
}

.faq__container {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-item {
    background: var(--color-white);
    border-radius: 15px;
    padding: 0 30px; /* パディングを調整して開閉時のガタつきを防ぐ */
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    cursor: pointer;
    position: relative;
    padding: 20px 40px 20px 0; /* 右側に矢印用の余白 */
}

/* 矢印アイコン */
.faq-question::after {
    content: '';
    position: absolute;
    top: 30px;
    right: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
    margin-right: 5px;
}

/* 開いている時の矢印 */
.faq-question.is-active::after {
    transform: translateY(-50%) rotate(225deg);
}

.faq-q-mark {
    color: var(--color-primary);
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
}

.faq-q-text {
    flex: 1;
    font-size: 1.7rem;
    font-weight: 500;
}

.faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    /* アコーディオン用スタイル */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease;
    padding-top: 0;
    padding-bottom: 0;
    border-top: 1px solid transparent;
}

.faq-a-text_link{
	text-decoration: underline;
}

.faq-answer.is-open {
    max-height: 500px; /* 十分な高さを確保 */
    opacity: 1;
    padding-top: 16px;
    padding-bottom: 20px;
    border-top: 1px solid #eee;
}

.faq-a-mark {
    color: var(--color-primary);
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
}

.faq-a-text {
    flex: 1;
    font-size: 1.6rem;
}

/* * =========================================
 * FOOTER / CONTACT
 * =========================================
 */
.contact-section {
    background: var(--color-text-main);
    color: var(--color-white);
    padding: 100px 20px;
    text-align: center;
}

.contact-title {
    font-family: var(--font-en);
    font-size: 4.5rem;
    font-weight: 600;
    letter-spacing: 2.25px;
    margin-bottom: 20px;
    text-shadow: 0 4px 4px rgba(0,0,0,0.25);
}

.contact-desc {
    font-size: 1.8rem;
    margin-bottom: 50px;
}

.contact-btn {
    background: var(--color-white);
    color: var(--color-accent); /* PCデザインでは青背景白文字だがSPだと逆転している箇所あり、ここではPCデザイン優先の青背景白文字ボタンにするか、SPに合わせるか */
    /* User HTML PC: white text on blue button. User HTML SP: blue text on white button with blue border. Let's create a generic style that fits. */
    /* Based on PC HTML structure: blue background, white text */
    background: var(--color-accent);
    color: white;
    width: 350px;
    height: 70px;
    border-radius: 80px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 auto;
    position: relative;
}
.contact-btn:hover {
	background-color: #6B95F4 !important;
}
.hero__btn:hover{
	background-color: #6B95F4;
}

/* SP Style override for contact button based on provided HTML */
/*-----ipad mini　横　1025px------*/
@media screen and (max-width: 1025px){
	.flow_contents_box p {
		font-size: 1.2rem;
		letter-spacing: 0;
	}
}
@media (max-width: 1023px) {
    .contact-btn {
        background: white;
        color: var(--color-accent);
        border: 2px solid var(--color-accent);
        height: 56px;
        font-size: 1.6rem;
    }
    .contact-title { font-size: 3rem; }
    .contact-desc { font-size: 1.4rem; }
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 27px;
    margin-top: 100px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 1.4rem;
}

.footer_text{
	display: flex;
    justify-content: space-between;
    align-items: end;
}

.copyright {
    margin-top: 100px;
    font-size: 1.2rem;
    opacity: 0.8;
}

/* PC/SP固有の図解用CSS (Figmaの絶対配置を再現するための補助クラス) */
.pos-abs { position: absolute; }

/*-----iPhoneX_12pro XR------*/
@media screen and (max-width: 599px) {
	#pagetop{
		right: 10px;
	}
	#pagetop img{
		width: 40px;
	}
	.hero {
		align-items: flex-start;
	}
	.about{
		background: url(../img/about_bk.png) no-repeat left top / 70%, url(../img/about_bk_2.png) no-repeat right bottom / 70%;
	}
	.flow .section-desc{
		text-align: justify !important;
	}
	.features__grid{
		margin: 16px auto 0;
	}
	.flow_contents{
		flex-wrap: wrap;
		justify-content: flex-start;
	}
	.flow_contents_box {
		width: 33%;
	}
	.flow_contents::before{
		display: none;
	}
	.flow_contents_box p {
		font-size: 1.1rem;
		letter-spacing: 0;
	}
	.flow_contents_box:nth-child(n+5){
		margin-top: 20px;
	}
	.use-case-item {
        width: 44%;
    }
	.use-case-item__text {
        font-size: 1.4rem;
    }
	.inner-width{
		padding: 0px;
	}
	.contact-desc {
		text-align: justify;
	}
	.contact-section {
		padding: 40px 16px;
	}
	.footer_text {
		flex-direction: column;
        align-items: center;
	}
	.footer-links{
		gap: 10px;
	}
	.copyright{
		margin-top: 30px;
	}
	.footer-links{
		margin-top: 30px;
	}
}