body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #ffffff;
}

header {
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

ul.b-list {
    list-style: none;
    padding: 0;
}

ul.b-list li {
    padding: 12px 15px;
    border-left: 5px solid #3498db;
    background: #f8f8f8;
    margin: 8px 0;
    font-size: 18px;
    transition: border-color 0.3s, background 0.3s;
}

ul.b-list li:hover {
    border-color: #2c3e50;
    background: #e0e0e0;
}

ul.icon-list {
    list-style: none;
    padding: 0;
}

ul.icon-list li {
    display: flex;
    align-items: center;
    background: #f4f4f4;
    padding: 12px;
    margin: 8px 0;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

ul.icon-list li:hover {
    background: #ddd;
}

ul.icon-list li::before {
    content: "✔"; /* アイコン変更可 */
    font-size: 20px;
    color: #3498db;
    margin-right: 10px;
}

ul.stylish-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.stylish-list li {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 15px 20px;
    margin: 10px 0;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

ul.stylish-list li:hover {
    transform: translateY(-5px);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.logo {
    max-width: 80px;
    margin-right: 20px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

nav ul li {
    margin-right: 15px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 16px;
}

.hero {
    text-align: center;
    margin-top: 20px;
}

.banner {
    max-width: 100%;
    height: auto;
}

.soudan_banner {
    background-color: lightblue;
    color: black;
    padding: 15px;
    margin-top: 20px;
}


.troubles, .features, .how-to, .consultation-form, .privacy-policy .company-info {
    padding: 20px;
    background-color: white;
    margin: 5px auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.troubles h2, .features h2, .how-to h2, .consultation-form h2, .privacy-policy h2, .company-info h2 {
    text-align: center;
}

.troubles ul, .features ul, .how-to ol {
    padding-left: 20px;
    list-style-type: disc;
}
.troubles .setsumei {
		text-align: justify;
}

.quote {
    margin: 30px auto;
}

.quote-button img {
    max-width: 250px;
    cursor: pointer;
    transition: transform 0.3s;
}

.kibou-button img {
    max-width: 340px;
    cursor: pointer;
    transition: transform 0.3s;
}

.quote-button img:hover {
    transform: scale(1.1);
}
.kibou-button img:hover {
    transform: scale(1.1);
}

.scroll-box {
		text-align: left;
    max-width: 90%;
    height: 200px; /* 固定の高さ */
    overflow-y: auto; /* 垂直スクロールを有効に */
    border: 1px solid #ccc; /* 枠線（オプション） */
    padding: 10px;
    background-color: #f9f9f9; /* 背景色（オプション） */
}

.scroll-box-x {
    height: 290px; /* 固定の高さ */
    overflow-x: auto; /* 水平スクロールを有効に */
		white-space: nowrap;
}
.scroll-box-x table {
	border-collapse: collapse;
	background-color: white;
}
.scroll-box-x td {
	text-align: right;
	border: solid 1px #999999;
	padding: 4px;
}
.scroll-box-x .title {
	background-color: navajowhite;
	font-weight: bold;
}
.scroll-box-x .title td {
	text-align: center;
}
.scroll-box-x .kj {
	color: blue;
}
.scroll-box-x .r2 {
	background-color: #ddffdd;
}
.scroll-box-x .r3 {
	color: red;
}

.styled-form {
		background: white;
		padding: 20px;
		border-radius: 5px;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
		width: 400px;
}
.form-group {
		margin-bottom: 15px;
}
label {
		display: block;
		font-weight: bold;
		margin-bottom: 5px;
}
label h3 {
		background-color:linen;
}
.required {
		background: red;
		color: white;
		padding: 2px 5px;
		font-size: 12px;
		border-radius: 3px;
		margin-left: 10px;
}
input,textarea {
		padding: 10px;
		border: 1px solid #ccc;
		border-radius: 5px;
		background-color: #f9f9f9;
}
.checkbox-group {
		display: flex;
		flex-direction: column;
		margin-bottom: 15px;
}
.checkbox-group label {
		display: flex;
		align-items: center;
		gap: 5px;
		font-size: 14px;
}
textarea {
		width: 90%;
		height: 80px;
		resize: vertical;
}


footer {
    background-color: #2c3e50;
    color: white;
    padding: 15px;
    margin-top: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }
    
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        flex-direction: column;
        padding-top: 10px;
    }
    
    nav ul li {
        margin-bottom: 10px;
    }

    .logo {
        max-width: 70px;
    }

    .troubles, .features, .how-to, .consultation-form, .privacy-policy, .company-info {
        max-width: 95%;
    }
}

