/* 基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
header {
    background-color: #005a9c; /* 信頼感のある濃い青 */
    color: white;
    padding: 40px 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.2em;
}

header p {
    margin: 10px 0 0;
    font-size: 1.2em;
}

/* メインコンテンツ */
main {
    width: 100%;
}

.content-section {
    padding: 60px 0;
    background-color: white;
    border-bottom: 1px solid #eee;
}

.content-section-light {
    padding: 60px 0;
    background-color: #f4f8fb; /* 少し青みがかった白 */
    border-bottom: 1px solid #eee;
}

h2 {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 40px;
    color: #005a9c;
}

.highlight {
    border-bottom: 3px solid #ff7f50; /* 温かみのあるオレンジ */
    padding-bottom: 5px;
}

h3 {
    font-size: 1.5em;
    color: #333;
    border-left: 5px solid #005a9c;
    padding-left: 15px;
    margin-top: 40px;
    margin-bottom: 20px;
}

p {
    margin-bottom: 1.2em;
}

/* 各セクションのボックスデザイン */
.target-box, .consult-box, .caution, .ssl-info {
    background-color: #f4f8fb;
    border: 1px solid #dceaf5;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.consult-box ul {
    list-style: none;
    padding-left: 0;
}

.consult-box li {
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24" fill="%23005a9c"><path d="M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z"/></svg>') no-repeat left center;
    padding-left: 35px;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.contact-info {
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
}

.contact-info a {
    color: #ff7f50;
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}

.free-counseling {
    text-align: center;
    font-weight: bold;
    color: #005a9c;
    background-color: #e6f3ff;
    padding: 15px;
    border-radius: 8px;
}

.caution {
    margin-top: 30px;
    background-color: #fff4e3;
    border-color: #ffdda9;
}
.caution h4 {
    color: #e65100;
}

.ssl-info {
    background-color: #e8f5e9;
    border-color: #c8e6c9;
    text-align: center;
}


/* フッター */
footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

footer h3 {
    color: white;
    border: none;
    padding-left: 0;
}

footer p {
    margin: 5px 0;
    color: #ccc;
}

footer .grant {
    margin-top: 15px;
    font-style: italic;
    color: #aaa;
}

.privacy-link {
    display: inline-block;
    margin-top: 20px;
    color: white;
    border: 1px solid white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.privacy-link:hover {
    background-color: white;
    color: #333;
}

/* メール予約ボタン (新デザイン) */
.email-button {
    display: inline-block;
    background-color: transparent; /* 背景を透明に */
    color: #ff7f50; /* 文字色をオレンジに */
    border: 2px solid #ff7f50; /* 枠線をオレンジに */
    padding: 8px 20px; /* パディングを少し調整 */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s; /* アニメーション効果 */
}

/* カーソルを合わせた時のスタイル */
.email-button:hover {
    background-color: #ff7f50; /* 背景をオレンジに */
    color: white; /* 文字色を白に */
}

/* 個人情報保護方針セクション */
#privacy-policy {
    background-color: #f4f8fb;
}

details {
    border: 1px solid #dceaf5;
    border-radius: 8px;
    margin-top: 20px;
    background-color: white;
}

summary {
    font-size: 1.5em;
    font-weight: bold;
    padding: 20px;
    cursor: pointer;
    outline: none;
    color: #005a9c;
    position: relative;
}

summary::-webkit-details-marker {
    display: none; /* 標準のマーカーを非表示 */
}

summary::after {
    content: '+'; /* プラス記号を追加 */
    position: absolute;
    right: 20px;
    font-size: 1.5em;
    transition: transform 0.2s;
}

details[open] summary::after {
    transform: rotate(45deg); /* 開いたときに45度回転 */
}

.policy-content {
    padding: 0 20px 20px 20px;
    border-top: 1px solid #eee;
}

.policy-content h4 {
    font-size: 1.2em;
    color: #333;
    border-bottom: 2px solid #005a9c;
    padding-bottom: 5px;
    margin-top: 25px;
}

.policy-content ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* メールでの連絡先ボックス */
.email-contact-box {
    text-align: center;
    background-color: #f4f8fb;
    border: 1px solid #dceaf5;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
}

.email-contact-box .email-button {
    margin-top: 10px;
}

.email-address-note {
    margin-top: 20px;
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
}

.email-address-note strong {
    font-size: 1.1em;
    color: #005a9c;
    background-color: #e6f3ff;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 5px;
}

/* 挿入画像用のスタイル */
.section-image {
    width: 100%;
    max-width: 600px; /* 画像の最大幅を指定 */
    height: auto;
    border-radius: 12px;
    margin: 0 auto 40px auto; /* 上下のマージンを追加 */
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 横幅が狭い画像用のスタイル（アイコンなど） */
.narrow-image {
    max-width: 250px;
}