@charset "utf-8";

html,body {
	margin: 0;
	padding: 0;
}

body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
            background-color: #000;
            color: #fff;
            line-height: 1.6;
 }

.img-pc img{
	text-align: center;	
	margin:auto;
	padding-top: 0px;
}

.header-in {
	background-color: rgb(0, 0, 0); 
	position: fixed;      
	width: 100%;
	z-index: 2;
	transition: background-color 0.3s ease;
	padding-top: 10px;
	padding-bottom: 10px;
	box-sizing: border-box;
}



.header-main-lead {
	margin: 1em 0 0;
	text-align: center;
}

.header-content p {
	font-size: 16px;
	line-height: 1.5em;
}

.header-sub-lead {
	margin: 30px 0 0;
	text-align: center;
}

.header-sub-lead h3 {
	margin: 0;
}

h3 {
	font-size: 24px;
}



.block-btn ul {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	list-style: none;
	margin: 20px auto;
	padding: 0;
	gap: 20px;
}

.block-btn ul li {
	border-radius: 5px;
	font-weight: bold;
	margin: 0 auto;
	padding: 12px 24px;
}

.block-btn ul .jp { background:#e41b38; color: #fff; }
.block-btn ul .en { background: #15396f; color: #fff; }

.block-btn ul .jp-t { background:#e41b38; color: #fff; padding: 20px; width: 100%; text-align: center;}
.block-btn ul .en-t { background: #15396f; color: #fff; padding: 20px; width: 100%; text-align: center;}

.container {
	margin: 0 auto;
	padding: 30px 80px 30px 80px;
}

.container:first-of-type {
	margin: 0 auto;
}


.container h2 {
	font-size: 36px;
	margin: 0 auto 40px;
	padding: 0 0 40px 0;
	text-align: center;
	position: relative;
}

.container h2::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 60px;
	height: 2px;
	background-color: #fff;
	transform: translateX(-50%);
}

.container .lead {
	font-size: 24px;
	text-align: left;
	margin: 0 auto;
}

.container h3 {
	margin: 0 auto;
	text-align: left;
}


.container h4 {
	margin: 0 auto;
	text-align: left;
    font-weight: normal;
    line-height: 1.6;
}


        /* Features Grid */
        .features {
            padding: 3rem 1rem;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
            max-width: 64rem;
            margin: 0 auto;
        }

        @media (min-width: 768px) {
            .features-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .feature-item {
            background-color: #867945;
            color: #ffffff;
            border-radius: 1.5rem;
            padding: 1rem;
            text-align: center;
            font-weight: bold;
            font-size: 1.2rem; 
            min-height: 120px; 
            display: flex;
            align-items: center;
   			justify-content: center;
        }

		.feature-item_nextbt {
            background-image:url("./images/next_bt.png");
            display: flex;
			            min-height: 10px; 
            align-items: center;
   			justify-content: center;
        }

        /* Notice Section */
        .notice {
            background-color: #646464;
            padding: 2rem 3rem;
        }

        .notice-content {
            max-width: 55rem;
            margin: 0 auto;
            font-size: 1rem;
            color: #fff;
        }

        .notice-content p {
            font-weight: bold;
            margin-bottom: 0.5rem;
        }


        /* CTA Sections */
        .cta-sections {
            background-color: #000;
            padding: 5rem 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 4rem;
        }

        .cta-card {
            max-width: 70rem;
            margin: 0 auto;
            width: 100%;
    		border: 1px solid #374151;
            border-radius: 0.75rem;
			min-height: 200px;
			padding:4rem;
    		display: flex;
    		flex-direction: column;
    		justify-content: center;
			box-sizing: border-box;}

        .cta-card h3 {
            font-size: 1.75rem;
            font-weight: bold;
            margin-bottom: 1rem;
			text-align: center;
			line-height: 1.6;
			max-width: 100%;
}

        .cta-card p {
            font-size: 1.125rem;
            color: #d1d5db;
            margin-bottom: 1.7rem;
			text-align: left;
}




.flow-chart {
    display: flex;
    flex-direction: column; /* ← モバイルでは縦並び */
    gap: 24px;
    margin: 40px 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

.flow-chart li {
    width: 100%;
    max-width: 340px;
    background: #f9f9f9;
    border: 2px solid #ccc;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    text-align: center;
}

.flow-chart li::before {
    content: attr(data-step);
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: #e41b38;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    line-height: 48px;
    font-size: 12px;
}

/* ↓ 矢印（モバイル：縦方向） */
.flow-chart li:not(:last-child)::after {
	content: "↓";
	position: absolute;
	left: 50%;
	bottom: -26px;
	transform: translateX(-50%);
	font-size: 2.2rem;
	color: #e41b38;
	font-weight: bold;
}

.step-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.95rem;
    line-height: 1.5;
}
.flow-chart li:not(:last-child)::after {
	animation: arrowBlink 1.2s infinite;
}

@keyframes arrowBlink {
	0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
	50% { opacity: 0.3; transform: translateX(-50%) translateY(6px); }
}

/* PC表示：横並び + 矢印→ */
@media (min-width: 768px) {
    .flow-chart {
        flex-direction: row;
        justify-content: center;
    }
    
    .flow-chart li {
		align-self: stretch;
        max-width: 280px;
    }
    
    .flow-chart li:not(:last-child)::after {
        content: "→";
        left: auto;
        right: -34px;
        bottom: auto;
        top: 40%;
        transform: translateY(-50%);
        font-size: 2rem;
    }

	.flow-chart li .step-desc {
		text-align: left;
	}
}

.responsive-table {
	margin: 30px auto 0;
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.responsive-table th,
.responsive-table td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: left;
}

.responsive-table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.responsive-table tbody tr:nth-child(even) {
    background-color: #e9e9e9;
}

/* モバイル表示 */
@media screen and (max-width: 768px) {
    .responsive-table,
    .responsive-table thead,
    .responsive-table tbody,
    .responsive-table th,
    .responsive-table td,
    .responsive-table tr {
        display: block;
        width: 100%;
    }

    .responsive-table thead {
        display: none;
    }

    .responsive-table tr {
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: 6px;
        overflow: hidden;
    }

    .responsive-table td,
    .responsive-table th {
        text-align: left;
        padding: 10px;
        border: none;
        border-bottom: 1px solid #ddd;
        background-color: white !important;
    }

    .responsive-table td::before {
        content: attr(data-label);
        display: block;
        font-weight: bold;
        color: #007acc;
        margin-bottom: 5px;
    }
}

section.bg-p h2 { color: #fff; }
section.bg-p p { color: #fff; }

.faq {
    margin: 30px auto !important;
    padding: 20px 0 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #615733;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 50px 18px 55px;
    background-color: #615733;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    cursor: pointer;
}

/* Qラベル */
.faq-question::before {
    content: "Q";
    position: absolute;
    left: 15px;
    color: #fff;
    font-weight: bold;
}

/* プラスマーク（SVG） */
.faq-question::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 13H13V19H11V13H5V11H11V5H13V11H19V13Z"/></svg>') no-repeat center center;
    background-size: 20px 20px;
}

/* 開いたときのバツマーク */
.faq-question.active::after {
    background: url('data:image/svg+xml;utf8,<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.3 5.71L12 12L5.71 5.71L4.29 7.12L10.59 13.41L4.29 19.71L5.71 21.12L12 14.83L18.3 21.12L19.71 19.71L13.41 13.41L19.71 7.12L18.3 5.71Z"/></svg>') no-repeat center center;
    background-size: 20px 20px;
}

/* Aラベル付きの回答 */
.faq-answer {
	max-height: 0;
	overflow: hidden;
	background-color: #3b3522;
	color: #fff;
	padding: 0 20px 0 55px;
	font-size: 15px;
	line-height: 1.6;
	position: relative;
	transition: max-height 0.5s ease, padding 0.3s ease;
}

/* Aラベル */
.faq-answer::before {
	content: "A";
	position: absolute;
	left: 15px;
	font-weight: bold;
	color: #fff;
	top: 15px;
}

/* 表示時に高さと余白を戻す */
.faq-answer.open {
	max-height: 500px; /* 適宜調整（回答が収まる最大サイズ） */
	padding: 15px 20px 15px 55px;
}

.site-footer {
	background-color: #333;
	color: #ccc;
	padding: 40px 20px;
	text-align: center;
	font-size: 14px;
}
  
  .site-footer a {
	color: #ccc;
	text-decoration: none;
	margin: 0 5px;
}
  
  .site-footer a:hover {
	text-decoration: underline;
}
  
  .footer-inner p {
	margin: 10px 0;
}


.cl-y { color: #ff0; }
.cl-r { color: #f00; }
.cl-w { color: #fff; }
.cl-ry { color: #f00; background: #ff0;}
.bg-g { background: #f7f7f8; }
.bg-p { background: #4c4426; }
.mt20 { margin-top: 20px; }
.sp { display: block; }

@media (min-width:768px) {
	h1 { font-size: 60px; }
	h2 { font-size: 36px; }
	h3 { font-size: 28px; }
	h4 { font-size: 18px; }

	.header-content {
		padding: 200px 20px 20px;
	}

	.container .lead {
		max-width: 1200px;
		margin: 0 auto;
	}

	.lead p {
		text-align: left;
	}

	.container .content-box {
		max-width: 1200px;
		margin: 0 auto;
	}
	
	.header-in.sticky {
		background: #000; /* ← 不透明な黒 */
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 999;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	}
	
	.logo-pc img {
		height: 36px;
	}

	.content-box img {
		display: block;
		margin: 30px auto;
		max-width: 100%;
		height: auto;
	}
	
	nav ol li a {
		position: relative;
		color: #fff;
		font-size: 16px;
		font-weight: bold;
		text-decoration: none;
		padding: 8px 0;
	}
	
	nav ol li a::after {
		content: "";
		position: absolute;
		left: 0;
		bottom: -4px;
		height: 2px;
		width: 0;
		background-color: #e41b38;
		transition: width 0.3s ease;
	}
	
	nav ol li a.active::after,
	nav ol li a:hover::after {
		width: 100%;
	}

	.block-btn {
		margin: 30px auto 0;
		text-align: center;
		max-width: 1200px;
	}
	
	.block-btn ul {
		margin: 60px 0;
		flex-direction: row;
		justify-content: space-between;
	}

	.block-btn ul li {
		font-size: 18px;
		padding: 20px;
		width: 30%;
	}

	.list-features {
		flex-direction: row;
		flex-flow: wrap;
		justify-content: space-between;
		gap: 60px;
		margin: 60px auto 0;
	}

	.list-features li {
		border: none;
		align-self: stretch;
		flex: 0 0 calc(50% - 60px);
		margin: 0;
		text-align: center;
		padding: 0;
	}

	.sp { display: none; }
}


