/* 
  基本的な設定 
  ページ全体の余白を調整し、フォントを見やすくします。
*/
body {
    margin: 0;
    padding: 0;
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    /* 日本語フォントの指定 */
    background-color: #f0f4f8;
    /* 少しクールなグレー系の白 */
    color: #333;
    /* 文字の色は真っ黒すぎないグレー */
    line-height: 1.6;
    /* 行間を少し広げて読みやすくします */
}

/* ヘッダーのスタイル */
/* ヘッダーのスタイル */
header {
    background-color: #003366;
    /* 背景をネイビーに変更 */
    border-bottom: none;
    /* 境界線は不要になるので削除（または色変更） */
    color: white;
    padding: 10px 20px;
}

.header-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    /* 左寄せ */
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    /* ロゴと文字の間隔 */
}

.logo-img {
    height: 60px;
    /* ロゴを少し大きく */
    width: auto;
    background-color: white;
    /* ロゴ画像の背景が白の場合はこれで見栄えを確保 */
    border-radius: 50%;
    /* ロゴが丸ければ丸く切り抜く/白背景をつける */
    padding: 2px;
    /* 少し余白 */
}

.logo {
    margin: 0;
    font-size: 24px;
    color: white;
    /* 文字色を白に変更 */
}

/* ナビゲーションのスタイル */
nav {
    background-color: #003366;
    /* ロゴに合わせたネイビー */
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul {
    margin: 0;
    padding: 15px 0;
    /* 少し広げる */
    list-style: none;
}

nav li {
    display: inline-block;
    margin: 0 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s;
}

nav a:hover {
    color: #4fc3f7;
    /* ホバー時は明るい水色（波のイメージ） */
}

/* メインコンテンツのスタイル */
main {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    /* 余白を増やす */
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* 影を柔らかく */
    text-align: center;
}

h1 {
    color: #003366;
    /* タイトルもネイビー */
    font-size: 28px;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

h2 {
    color: #003366;
    /* 見出しもネイビー */
    border-bottom: 2px solid #4fc3f7;
    /* 下線を水色に */
    padding-bottom: 10px;
    display: inline-block;
}

p {
    margin-bottom: 20px;
}

/* ボタンのスタイル */
button {
    background-color: #0277bd;
    /* ボタンは少し明るめの青（信頼感 + アクション） */
    color: white;
    font-size: 18px;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    /* 丸みを強くして親しみやすく */
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.1s;
}

button:hover {
    background-color: #01579b;
    /* 濃い青へ */
    transform: translateY(-2px);
    /* 浮き上がる演出 */
}

/* 業務案内リストのスタイル */
.detailed-services {
    text-align: left;
    margin-top: 50px;
}

.service-item {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px dotted #ccc;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item h2 {
    color: #003366;
    font-size: 24px;
    border-bottom: none;
    display: block;
    text-align: center;
    background-color: #e3f2fd;
    /* 薄い青背景 */
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.intro-text {
    background-color: #fff;
    padding: 15px;
    border-left: 5px solid #003366;
    /* アクセントをネイビーに */
    margin-bottom: 30px;
}

.checklist-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.checklist-box {
    flex: 1;
    min-width: 250px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.checklist-box h3 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #ddd;
    display: inline-block;
}

.failure-case h3 {
    color: #c62828;
    /* 少し落ち着いた赤 */
}

.success-case h3 {
    color: #2e7d32;
    /* 少し落ち着いた緑 */
}

.checklist-box ul {
    margin: 0;
    padding-left: 20px;
}

.checklist-box li {
    margin-bottom: 8px;
}

.conclusion-text {
    line-height: 1.8;
}

.slogan {
    text-align: center;
    font-weight: bold;
    color: #003366;
    font-size: 20px;
    margin-top: 20px;
    padding: 20px;
    border: 2px solid #003366;
    border-radius: 10px;
    display: block;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    background-color: #f0f4f8;
}

.seminar-content h3 {
    background-color: #eee;
    padding: 10px;
    border-radius: 5px;
    font-size: 18px;
}

.note {
    font-size: 0.9em;
    color: #666;
    margin-left: 20px;
}

/* フッターのスタイル */
footer {
    background-color: #003366;
    /* フッターもネイビーに */
    text-align: center;
    padding: 30px;
    font-size: 14px;
    color: white;
    /* 文字を白に */
    margin-top: 60px;
}

.footer-banners {
    margin-bottom: 20px;
    display: flex;
    /* 中央寄せ用 */
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-banner-img {
    height: 3cm;
    /* 3cm指定 */
    width: auto;
    background-color: white;
    /* 透過画像の背景確保のため */
    padding: 5px;
    border-radius: 5px;
}

/* 
  新規追加セクションのスタイル 
*/

/* ポリシー・事務所紹介 */
.about-section {
    margin-bottom: 50px;
    text-align: left;
}

.about-section h2 {
    color: #003366;
    border-left: 5px solid #003366;
    border-bottom: none;
    padding-left: 15px;
    background-color: transparent;
    border-radius: 0;
}

.policy-box,
.philosophy-box {
    background-color: #f0f8ff;
    /* アリスブルー */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* おすすめの方 */
.recommended-section {
    background-color: #e1f5fe;
    /* 薄い水色に変更（オレンジから変更して統一感） */
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 50px;
    border: 1px solid #b3e5fc;
}

.recommended-section h2 {
    color: #0277bd;
    /* 明るい青 */
    text-align: center;
    border-bottom: 2px dashed #0277bd;
    display: inline-block;
    padding-bottom: 5px;
}

.recommended-list {
    list-style: none;
    padding: 0;
    text-align: center;
}

.recommended-list li {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    color: #01579b;
}

.recommended-list li::before {
    content: "✔";
    color: #0277bd;
    margin-right: 10px;
}

/* 代表メッセージ */
.message-section {
    text-align: left;
    margin-bottom: 50px;
}

.message-content {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.greeting {
    font-size: 1.2em;
    font-weight: bold;
    color: #003366;
    margin-bottom: 20px;
}

.message-closing {
    text-align: center;
    font-style: italic;
    color: #003366;
    margin-top: 30px;
    font-weight: bold;
}

/* プロフィール・実績 */
.profile-section {
    text-align: left;
    margin-bottom: 50px;
}

.achievement-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.achievement-list li {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.achievement-list .date {
    font-weight: bold;
    color: #003366;
    width: 100px;
    flex-shrink: 0;
}

.profile-details {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.qa-list {
    margin-top: 10px;
    padding-left: 20px;
}

.qa-list li {
    margin-bottom: 5px;
}

/* 情報セキュリティ基本方針・その他開閉セクションのスタイル */
.security-policy,
.message-section,
.profile-section {
    margin: 30px 0;
    text-align: left;
}

details {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

summary {
    background-color: #003366;
    /* サマリーバーをネイビーに */
    color: white;
    /* 文字を白に */
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

summary:hover {
    background-color: #002244;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 20px;
    font-weight: bold;
}

details[open] summary::after {
    content: '-';
}

details[open] summary {
    background-color: #002244;

}

.policy-content {
    padding: 25px;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.policy-content h3 {
    margin-top: 0;
    font-size: 1.2em;
    color: #333;
}

.policy-content h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #003366;
    border-left: 4px solid #4fc3f7;
    padding-left: 10px;
}

.policy-content p {
    margin-bottom: 15px;
    font-size: 0.95em;
}

.policy-date {
    text-align: right;
    margin-top: 30px;
    font-weight: bold;
    color: #666;
}



nav ul {
    margin: 0;
    padding: 10px 0;
    list-style: none;
    /* リストの・（点）を消します */
}

nav li {
    display: inline-block;
    /* リストを横並びにします */
    margin: 0 15px;
}

nav a {
    color: white;
    text-decoration: none;
    /* リンクの下線を消します */
    font-weight: bold;
}

nav a:hover {
    color: #ffd700;
    /* マウスを乗せたときに金色にします */
}

/* メインコンテンツのスタイル */
main {
    max-width: 800px;
    /* 横幅が広がりすぎないように制限します */
    margin: 40px auto;
    /* 上下に40px、左右は自動（中央寄せ） */
    padding: 20px;
    background-color: white;
    /* 背景を白にして内容を目立たせます */
    border-radius: 8px;
    /* 角を少し丸くします */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* うっすらと影をつけます */
    text-align: center;
}

h1 {
    color: #0056b3;
    font-size: 28px;
    margin-bottom: 20px;
}

h2 {
    color: #333;
    border-bottom: 2px solid #0056b3;
    /* 下線を引いて見出しらしくします */
    padding-bottom: 10px;
    display: inline-block;
    /* 線を文字の幅に合わせます */
}

p {
    margin-bottom: 20px;
}

/* ボタンのスタイル */
button {
    background-color: #e65100;
    /* 目立つオレンジ色 */
    color: white;
    font-size: 18px;
    padding: 15px 30px;
    /* ボタンの大きさを調整 */
    border: none;
    /* 枠線を消します */
    border-radius: 5px;
    /* 角丸 */
    cursor: pointer;
    /* マウスカーソルを指の形にします */
}

button:hover {
    background-color: #bf360c;
    /* マウスを乗せたときに少し暗くします */
}

/* 業務案内リストのスタイル */
.detailed-services {
    text-align: left;
    margin-top: 40px;
}

.service-item {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px dashed #ccc;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item h2 {
    color: #0056b3;
    font-size: 24px;
    border-bottom: none;
    /* 個別の下線は消して、デザインを変更 */
    display: block;
    text-align: center;
    background-color: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.intro-text {
    background-color: #fff;
    padding: 15px;
    border-left: 5px solid #ccc;
    margin-bottom: 30px;
}

.checklist-container {
    display: flex;
    /* 横並びにするための設定（スマホだと縦になるように後で調整も可能ですが、今回は簡易的に） */
    flex-wrap: wrap;
    /* 画面が狭いときは折り返す */
    gap: 20px;
    margin-bottom: 30px;
}

.checklist-box {
    flex: 1;
    /* 均等な幅にします */
    min-width: 250px;
    /* 小さくなりすぎないように */
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.checklist-box h3 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #aaa;
    display: inline-block;
}

.failure-case h3 {
    color: #d32f2f;
    /* 赤っぽい色 */
}

.success-case h3 {
    color: #00796b;
    /* 緑っぽい色 */
}

.checklist-box ul {
    margin: 0;
    padding-left: 20px;
}

.checklist-box li {
    margin-bottom: 8px;
}

.conclusion-text {
    line-height: 1.8;
}

.slogan {
    text-align: center;
    font-weight: bold;
    color: #0056b3;
    font-size: 20px;
    margin-top: 20px;
    padding: 15px;
    border: 2px solid #0056b3;
    border-radius: 10px;
    display: inline-block;
    /* 文字の幅に合わせる */
    width: 80%;
    /* ある程度の幅を持たせる */
    margin-left: auto;
    margin-right: auto;
    display: block;
    /* 中央寄せのためにブロック化 */
}

.seminar-content h3 {
    background-color: #eee;
    padding: 10px;
    border-radius: 5px;
    font-size: 18px;
}

.note {
    font-size: 0.9em;
    color: #666;
    margin-left: 20px;
}

/* フッターのスタイル */
footer {
    background-color: #f4f8fb;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #666;
    margin-top: 40px;
}

/* 
  新規追加セクションのスタイル 
*/

/* ポリシー・事務所紹介 */
.about-section {
    margin-bottom: 50px;
    text-align: left;
}

.about-section h2 {
    color: #0056b3;
    border-left: 5px solid #0056b3;
    border-bottom: none;
    padding-left: 15px;
    background-color: transparent;
    border-radius: 0;
}

.policy-box,
.philosophy-box {
    background-color: #f0f7ff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* おすすめの方 */
.recommended-section {
    background-color: #fff3e0;
    /* 薄いオレンジ背景 */
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 50px;
}

.recommended-section h2 {
    color: #e65100;
    text-align: center;
    border-bottom: 2px dashed #e65100;
    display: inline-block;
    padding-bottom: 5px;
}

.recommended-list {
    list-style: none;
    /* デフォルトの点を消す */
    padding: 0;
    text-align: center;
}

.recommended-list li {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
}

.recommended-list li::before {
    content: "✔";
    /* チェックマークをつける */
    color: #e65100;
    margin-right: 10px;
}

/* 代表メッセージ */
.message-section {
    text-align: left;
    margin-bottom: 50px;
}

.message-content {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.greeting {
    font-size: 1.2em;
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 20px;
}

.message-closing {
    text-align: center;
    font-style: italic;
    color: #0056b3;
    margin-top: 30px;
    font-weight: bold;
}

/* プロフィール・実績 */
.profile-section {
    text-align: left;
    margin-bottom: 50px;
}

.achievement-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.achievement-list li {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.achievement-list .date {
    font-weight: bold;
    color: #0056b3;
    width: 100px;
    flex-shrink: 0;
}

.profile-details {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.qa-list {
    margin-top: 10px;
    padding-left: 20px;
}

.qa-list li {
    margin-bottom: 5px;
}

/* 情報セキュリティ基本方針・その他開閉セクションのスタイル */
.security-policy,
.message-section,
.profile-section {
    margin: 30px 0;
    /* マージンを少し調整 */
    text-align: left;
}

details {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    /* 角丸を保つため */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

summary {
    background-color: #ddd;
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    list-style: none;
    /* デフォルトの三角マーカーを消す（モダンブラウザ用） */
    display: flex;
    /* 余白調整のため */
    justify-content: space-between;
    align-items: center;
}

/* Safariなど一部のブラウザでマーカーが残る場合の対策 */
summary::-webkit-details-marker {
    display: none;
}

/* 開閉のアイコンを疑似要素で作る（+ / -） */
summary::after {
    content: '+';
    font-size: 20px;
    font-weight: bold;
}

details[open] summary::after {
    content: '-';
}

details[open] summary {
    background-color: #ccc;
    /* 開いているときは少し濃くする */
}

.policy-content {
    padding: 20px;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.policy-content h3 {
    margin-top: 0;
    font-size: 1.2em;
    color: #333;
}

.policy-content h4 {
    margin-top: 15px;
    margin-bottom: 5px;
    color: #0056b3;
}

.policy-content p {
    margin-bottom: 15px;
    font-size: 0.95em;
}

.policy-date {
    text-align: right;
    margin-top: 30px;
    font-weight: bold;
}

.scroll-top {
    margin-bottom: 20px;
}

.scroll-top a {
    text-decoration: none;
    background-color: #0277bd;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s;
}

.scroll-top a:hover {
    background-color: #01579b;
}

/* 
  3つの波（コンセプト）セクションのスタイル 
  画像のデザイン（青背景、白文字）に合わせています。
*/
.three-waves-section {
    background-color: #003366;
    /* ヘッダーと合わせたネイビー */
    color: white;
    padding: 40px 30px;
    margin: 50px auto;
    /* 中央寄せ */
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    /* 親要素に合わせる */
}

/* タイトルのスタイル上書き */
.three-waves-section .waves-title {
    color: white;
    border-bottom: none;
    font-size: 22px;
    margin-bottom: 30px;
    text-align: left;
    font-weight: bold;
    background-color: transparent;
    /* 既存のh2背景スタイルを打ち消し */
    padding: 0;
}

.wave-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}


.wave-head {
    font-size: 19px;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: white;
    background-color: transparent;
    /* 既存のh3背景スタイルを打ち消し */
    border-bottom: none;
    /* 既存のh3下線を打ち消し */
    padding: 0;
    display: flex;
    align-items: center;
}

.wave-head::before {
    /* アイコンや装飾が必要な場合 */
    display: none;
}

.wave-text {
    font-size: 16px;
    margin: 0;
    line-height: 1.6;
    color: #f0f0f0;
    margin-left: 0;
}

.book-link-container {
    display: flex;
    align-items: center;
    /* 垂直方向中央揃え */
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.book-link-container:hover .book-text {
    text-decoration: underline;
    color: #4fc3f7;
}

.book-thumbnail {
    width: 60px;
    /* サムネイルサイズ */
    height: auto;
    border: 1px solid #ddd;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    /* 画像が潰れないように */
}

/* 
  お知らせ（News）セクションのスタイル 
*/
.news-section {
    background-color: #e1f5fe;
    border: 1px solid #b3e5fc;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.news-title {
    color: #003366;
    font-size: 20px;
    border-bottom: 2px solid #4fc3f7;
    padding-bottom: 5px;
    margin-bottom: 15px;
    display: inline-block;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dotted #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    display: inline-block;
    min-width: 90px;
    font-weight: bold;
    color: #666;
    font-size: 0.9em;
}

.news-link {
    text-decoration: none;
    color: #003366;
    transition: color 0.3s;
}

.news-link:hover {
    color: #4fc3f7;
    text-decoration: underline;
}