body {
    font-family: sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ヘッダー */
header {
    background-color: #00bcd4; /* 水色 */
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between; /* ロゴ+事務所名とメニューボタンを左右に配置 */
    align-items: center;
}

.header-title {
    display: flex; /* ロゴと事務所名を横並びにする */
    align-items: center; /* 縦方向中央揃え */
}

.logo {
    margin-right: 10px; /* ロゴと事務所名の間のスペース */
}

.logo img {
    height: 30px; /* ロゴ画像の高さ */
    vertical-align: middle; /* テキストとの垂直方向の配置を調整 */
}

.header-title h1 {
    font-size: 1.2em; /* 事務所名のフォントサイズ */
    margin: 0; /* デフォルトのマージンをリセット */
}

/* ハンバーガーメニューボタン (SP表示) */
.menu-button {
    display: none; /* PCでは非表示 */
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.menu-button span:nth-child(1) {
    top: 0;
}

.menu-button span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-button span:nth-child(3) {
    bottom: 0;
}

/* ナビゲーションメニュー */
nav {
    display: flex; /* PCでは常に表示（横並び） */
    width: auto;
    background-color: transparent;
    text-align: left;
    margin-left: 20px; /* ヘッダー右側のスペース調整 */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* ナビゲーションのリストを横並びにする */
}

nav li {
    margin-right: 20px;
    padding: 0;
    border-bottom: none;
}

nav li:last-child {
    margin-right: 0;
}

nav a {
    display: block;
    color: #fff; /* メニューの文字色 */
    text-decoration: none;
    font-weight: bold;
}

/* メインセクション */
.section {
    padding: 40px 20px; /* 左右のpaddingを調整 */
    background-color: #fff;
    text-align: center;
}

/* プロフィールと得意分野のコンテナ */
.profile-expertise {
    display: flex; /* PCでは左右に並べる */
    flex-direction: row; /* PCデフォルトは横並び */
    justify-content: center; /* 中央揃え */
    align-items: flex-start; /* 上端を揃える */
    margin-bottom: 30px;
    gap: 40px; /* プロフィールと得意分野の間のスペース */
}

/* 代表者プロフィール */
.profile {
    flex: 1; /* PCで左右に並べる際の幅の比率 */
    text-align: center;
}

.profile img {
    width: 150px; /* 写真の幅 */
    height: 150px; /* 写真の高さ */
    border-radius: 50%; /* 丸く表示 */
    object-fit: cover; /* トリミングして全体を表示 */
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.profile h2 {
    color: #333;
    margin-bottom: 10px;
}

.profile .message {
    color: #777;
    margin-bottom: 20px;
}

/* 得意分野 */
.expertise {
    flex: 1; /* PCで左右に並べる際の幅の比率 */
    text-align: left; /* PCでは左寄せ */
}

.expertise h2 {
    color: #00bcd4; /* 水色 */
    margin-bottom: 15px;
    text-align: center; /* PCでは中央寄せ */
}

.expertise ul {
    list-style: disc; /* 黒丸のリスト */
    padding-left: 20px;
}

.expertise li {
    margin-bottom: 8px;
    color: #555;
    text-align: left; /* PCでは左寄せ */
}

/* 連絡先 */
.contact-info {
    margin: 30px 0; /* 上下のマージンを調整 */
    background-color: #f0faff; /* 水色の薄い背景 */
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #00bcd4; /* 水色のボーダー */
}

.contact-info p {
    margin: 10px 0;
}

.contact-info .business-hours {
    font-weight: bold;
    color: #4caf50; /* 緑色など強調色 */
    margin-bottom: 10px;
}

.contact-info .sns-links {
    margin-bottom: 10px;
}

.contact-info .sns-links a {
    display: inline-block;
    font-size: 1.5em;
    margin-right: 10px;
    color: #00bcd4; /* アイコンの色 */
    text-decoration: none;
}

.contact-info .sns-links a:hover {
    opacity: 0.8;
}

.contact-info .sns-links span {
    font-weight: bold;
    color: #555;
    margin-left: 5px;
    vertical-align: middle; /* アイコンと縦方向中央揃え */
}

.contact-info p:last-child { /* 電話番号のマージン調整 */
    margin-bottom: 0;
}

.contact-info a {
    color: #00bcd4; /* 電話番号のリンク色 */
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* サービスリンクセクション */
.services-links {
    display: flex;
    justify-content: center; /* 横方向中央揃え */
    gap: 30px; /* ボタン間のスペース */
    margin-top: 30px;
}

.services-links a {
    display: flex; /* 画像、アイコン、テキストを横並びにする */
    align-items: center; /* 縦方向中央揃え */
    justify-content: center;
    width: 200px; /* ボタンの幅を調整 */
    height: 80px; /* ボタンの高さを調整 */
    background-color: #f8f8f8; /* 薄いグレーの背景 */
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.services-links a:hover {
    background-color: #e0f7fa; /* ホバー時の背景色 */
}

.services-links img {
    height: 30px; /* 画像の高さ */
    margin-right: 10px; /* 画像とアイコンの間のスペース */
}

.services-links i {
    font-size: 1.5em; /* アイコンのサイズを調整 */
    margin-left: 10px; /* アイコンとテキストの間のスペース */
    color: #00bcd4; /* アイコンの色 */
}

.services-links span {
    font-weight: bold;
    text-align: center; /* PCでは中央 */
    margin-left: 10px; /* アイコンとテキストのスペース */
}

/* フッター */
footer {
    text-align: center;
    padding: 20px;
    background-color: #eee;
    color: #777;
    border-top: 1px solid #ddd;
}

/* スマートフォン表示 */
@media screen and (max-width: 768px) {
    header {
        justify-content: space-between; /* ロゴ+事務所名とボタンを左右に配置 */
    }

    .header-title {
        flex-direction: row; /* ロゴと事務所名を横並び */
    }

    .logo {
        margin-right: 10px;
    }

    .logo img {
        height: 25px;
    }

    .header-title h1 {
        font-size: 1.1em;
        margin: 0;
    }

    .menu-button {
        display: block;
    }

    nav {
        display: none;
        width: 100%;
        background-color: #00bcd4;
        text-align: center;
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 10;
        flex-direction: column;
        margin-left: 0; /* スマートフォンでは左マージン不要 */
    }

    nav ul {
        text-align: center; /* SPでリスト全体を中央寄せ */
        padding-left: 0; /* SPで左パディングをなくす */
        list-style-position: inside; /* 箇条書きの点を内側に */
    }

    nav li {
        text-align: center; /* SPでリスト項目も中央寄せ */
    }

    nav a {
        color: #fff;
    }

    .section {
        padding: 40px 15px; /* 左右のpaddingを調整 */
    }

    /* プロフィールと得意分野のコンテナ (SP) */
    .profile-expertise {
        flex-direction: column; /* SPでは縦並び */
        align-items: center; /* 中央揃え */
        gap: 20px; /* プロフィールと得意分野の間のスペース */
    }

    /* プロフィール (SP) */
    .profile {
        width: 100%; /* SPで幅いっぱいに */
        text-align: center;
    }

    .profile img {
        width: 120px;
        height: 120px;
    }

    /* 得意分野 (SP) */
    .expertise {
        width: 100%; /* SPで幅いっぱいに */
        text-align: center; /* SPで中央寄せ */
    }

    .expertise h2 {
        text-align: center; /* SPでタイトルも中央寄せ */
    }

    .services-links {
        flex-direction: column; /* 縦並びにする */
        align-items: center; /* 中央揃え */
        gap: 20px; /* ボタン間の縦スペース */
    }

    .services-links a {
        width: 100%; /* 幅を画面いっぱいに */
        flex-direction: column; /* 画像、アイコン、テキストを縦並びにする */
        align-items: center; /* 中央揃え */
        height: auto; /* 高さを自動調整 */
        padding: 15px;
        text-align: center; /* テキストも中央寄せ */
    }

    .services-links img {
        margin-right: 0; /* 画像とアイコンの間のスペースをなくす */
        margin-bottom: 5px; /* 画像の下にスペースを追加 */
        height: 30px;
    }

    .services-links i {
        font-size: 1.5em; /* スマホでのアイコンのサイズ */
        margin-left: 0; /* アイコンとテキストの間のスペースをなくす */
        margin-bottom: 5px; /* アイコンの下にスペースを追加 */
    }

    .services-links span {
        text-align: center; /* テキストを中央寄せ */
        margin-left: 0; /* アイコンとテキストの間のスペースをなくす */
    }

    .contact-info {
        text-align: left;
        margin-top: 20px; /* 他の要素との間隔を調整 */
        margin-bottom: 20px;
    }

    .contact-info .sns-links {
        text-align: center; /* スマートフォンでは中央揃えも検討 */
    }
}

/* メニューが開いた時のナビゲーションのスタイル (スマホ) */
nav.open {
    display: block;
}

/* メニューが開いた時のボタンのスタイル (スマホ) */
.menu-button.open span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu-button.open span:nth-child(2) {
    opacity: 0;
}

.menu-button.open span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* お問い合わせ情報 */
.contact-info {
    margin: 20px 0;
    background-color: #f0faff; /* 水色の薄い背景 */
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #00bcd4; /* 水色のボーダー */
}

.contact-info p {
    margin: 10px 0;
}

.contact-info a {
    color: #00bcd4; /* 水色 */
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* メインセクション */
.section {
    padding: 40px;
    background-color: #fff;
    text-align: center;
}

.section h1 {
    color: #00bcd4; /* 水色 */
}

/* サービスリンクセクション */
.services-links {
    display: flex;
    justify-content: center; /* 横方向中央揃え */
    gap: 30px; /* ボタン間のスペース */
    margin-top: 30px;
}

.services-links a {
    display: flex; /* アイコンとテキストを横並びにする */
    align-items: center; /* 縦方向中央揃え */
    justify-content: center;
    width: 200px; /* ボタンの幅を調整 */
    height: 80px; /* ボタンの高さを調整 */
    background-color: #f8f8f8; /* 薄いグレーの背景 */
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.services-links a:hover {
    background-color: #e0f7fa; /* ホバー時の背景色 */
}

.services-links img {
    height: 30px; /* 画像の高さ */
    margin-right: 10px; /* 画像とアイコンの間のスペース */
}

.services-links i {
    font-size: 1.5em; /* アイコンのサイズを調整 */
    margin-left: 10px; /* アイコンとテキストの間のスペース */
    color: #00bcd4; /* アイコンの色 */
}

.services-links span {
    font-weight: bold;
    text-align: center;
}

/* スマートフォン表示 */
@media screen and (max-width: 768px) {
    .services-links {
        flex-direction: column; /* 縦並びにする */
        align-items: center; /* 中央揃え */
        gap: 20px; /* ボタン間の縦スペース */
    }

    .services-links a {
        width: 100%; /* 幅を画面いっぱいに */
        flex-direction: row; /* 画像、アイコン、テキストを横並びにする */
        align-items: center; /* 縦方向中央揃え */
        height: auto; /* 高さを自動調整 */
        padding: 15px;
    }

    .services-links img {
        margin-right: 10px; /* 画像とアイコンの間のスペース */
        margin-bottom: 0; /* 画像の下マージンをなくす */
        height: 30px; /* スマホでの画像の高さ */
    }

    .services-links i {
        font-size: 1.5em; /* スマホでのアイコンのサイズ */
        margin-left: 10px; /* アイコンとテキストの間のスペース */
        margin-bottom: 0; /* アイコンの下マージンをなくす */
    }

    .services-links span {
        font-weight: bold;
        text-align: left; /* テキストを左寄せ */
        margin-left: 10px; /* アイコンとテキストの間のスペース */
    }
}

.office-info {
    padding: 30px;
    background-color: #f9f9f9; /* 薄いグレーの背景 */
    text-align: center;
    border-top: 1px solid #eee; /* 上部の区切り線 */
}

.office-info h2 {
    color: #00bcd4; /* 水色 */
    margin-bottom: 15px;
}

.office-info p {
    margin-bottom: 10px;
}

.office-info .business-hours {
    font-weight: bold;
    color: #4caf50; /* 緑色など強調色 */
}

/* スマートフォン表示 */
@media screen and (max-width: 768px) {
    .office-info {
        padding: 20px;
        text-align: left; /* スマートフォンでは左寄せが見やすい場合も */
    }

    .office-info h2 {
        font-size: 1.3em;
    }
}

.section {
    padding: 10px 20px; /* 左右のpaddingを調整 */
    background-color: #fff;
    text-align: center;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.profile img {
    width: 150px; /* 写真の幅 */
    height: 150px; /* 写真の高さ */
    border-radius: 50%; /* 丸く表示 */
    object-fit: cover; /* トリミングして全体を表示 */
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.profile h2 {
    color: #333;
    margin-bottom: 10px;
}

.profile .message {
    color: #777;
    margin-bottom: 20px;
}

.expertise {
    margin-bottom: 30px;
    text-align: left; /* 左寄せ */
}

.expertise h2 {
    color: #00bcd4; /* 水色 */
    margin-bottom: 15px;
    text-align: center; /* 中央寄せ */
}

.expertise ul {
    list-style: disc; /* 黒丸のリスト */
    padding-left: 20px;
}

.expertise li {
    margin-bottom: 8px;
    color: #555;
}

/* スマートフォン表示 */
@media screen and (max-width: 768px) {
    .profile img {
        width: 120px;
        height: 120px;
    }

    .expertise {
        text-align: center; /* 左寄せ */
    }

    .expertise h2 {
        text-align: center; /* 左寄せ */
    }
    
	.expertise ul {
	    list-style: disc; /* 黒丸のリスト */
	    padding-left: 123px;
	    text-align: left; /* 左寄せ */
	}
	
    .expertise li {
        text-align: left; /* 左寄せ */
    }
}
.contact-info {
    margin: 20px 0;
    background-color: #f0faff; /* 水色の薄い背景 */
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #00bcd4; /* 水色のボーダー */
}

.contact-info p {
    margin: 10px 0;
}

.contact-info .business-hours {
    font-weight: bold;
    color: #4caf50; /* 緑色など強調色 */
    margin-bottom: 10px;
}

.contact-info.top {
    /* 対応時間のスタイル (必要に応じて調整) */
}

.contact-info.bottom {
    margin-top: 30px; /* 上の要素との間隔 */
    margin-bottom: 30px; /* 下の要素との間隔 (footerとの間) */
}

.contact-info.bottom .sns-links {
    margin-bottom: 10px;
}

.contact-info.bottom .sns-links a {
    display: inline-block;
    font-size: 1.5em;
    margin-right: 10px;
    color: #00bcd4; /* アイコンの色 */
    text-decoration: none;
}

.contact-info.bottom .sns-links a:hover {
    opacity: 0.8;
}

.contact-info.bottom .sns-links span {
    font-weight: bold;
    color: #555;
    margin-left: 5px;
    vertical-align: middle; /* アイコンと縦方向中央揃え */
}

.contact-info.bottom p:last-child { /* 電話番号のマージン調整 */
    margin-bottom: 0;
}

.contact-info a {
    color: #00bcd4; /* 電話番号のリンク色 */
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* スマートフォン表示 */
@media screen and (max-width: 768px) {
    .contact-info {
        text-align: left;
    }

    .contact-info.bottom {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .contact-info.bottom .sns-links {
        text-align: center; /* スマートフォンでは中央揃えも検討 */
    }
}


/* 事務所住所 */
.office-address {
    text-align: center;
    padding: 20px;
    background-color: #f8f8f8; /* 薄いグレーの背景 */
    color: #555;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px; /* フッターとの間隔 */
}

.office-address p {
    margin: 5px 0;
}

/* スマートフォン表示 */
@media screen and (max-width: 768px) {
    /* 既存のスマートフォン用CSSはそのまま */

    .office-address {
        text-align: center;
        padding: 15px;
        margin-bottom: 20px;
    }

    .office-address p {
        font-size: 0.9em;
    }
}

/* メニューが開いた時のナビゲーションのスタイル (スマホ) */
nav.open {
    display: block;
}

/* メニューが開いた時のボタンのスタイル (スマホ) */
.menu-button.open span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu-button.open span:nth-child(2) {
    opacity: 0;
}

.menu-button.open span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* 事務所住所 */
.office-address {
    text-align: center;
    padding: 20px;
    background-color: #f8f8f8; /* 薄いグレーの背景 */
    color: #555;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px; /* フッターとの間隔 */
}

.office-address p {
    margin: 5px 0;
}

/* フッター */
footer {
    text-align: center;
    padding: 20px;
    background-color: #eee;
    color: #777;
    border-top: 1px solid #ddd;
    display: flex; /* 要素を横並びにする */
    flex-direction: column; /* デフォルトは縦並び */
    align-items: center; /* 中央揃え */
}

.back-to-top {
    display: inline-block;
    background-color: #00bcd4; /* 背景色 */
    color: #fff; /* 文字色 */
    width: 40px; /* 幅 */
    height: 40px; /* 高さ */
    line-height: 40px; /* アイコンを中央に */
    border-radius: 50%; /* 丸くする */
    text-align: center;
    text-decoration: none;
    font-size: 1.2em;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    margin-bottom: 10px; /* 下のマージン */
}

.back-to-top:hover {
    opacity: 1;
}

.back-to-top i {
    vertical-align: middle; /* アイコンを垂直方向中央に */
}

/* スマートフォン表示 */
@media screen and (max-width: 768px) {
    /* 既存のスマートフォン用CSSはそのまま */

    .office-address {
        text-align: center;
        padding: 15px;
        margin-bottom: 20px;
    }

    .office-address p {
        font-size: 0.9em;
    }

    footer {
        padding: 15px;
    }

    .back-to-top {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 1em;
        margin-bottom: 8px;
    }
}

/* メニューが開いた時のナビゲーションのスタイル (スマホ) */
nav.open {
    display: block;
}

/* メニューが開いた時のボタンのスタイル (スマホ) */
.menu-button.open span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu-button.open span:nth-child(2) {
    opacity: 0;
}

.menu-button.open span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* 既存のCSSはそのまま */

/* 事務所紹介ページ全体 */
.office-page {
    padding: 40px 20px;
    background-color: #fff;
}

.office-page h2 {
    color: #00bcd4;
    margin-bottom: 20px;
    text-align: center;
}

/* 代表行政書士紹介セクション */
.representative-info {
    margin-bottom: 40px;
}

.representative-details {
    display: flex;
    flex-wrap: wrap; /* スマホなどで縦並びになるように */
    gap: 30px;
    align-items: flex-start; /* 上端を揃える */
    margin-left: 20ch; /* 全体を右に移動 */
}

.representative-photo {
    flex: 0 0 auto;
    width: 200px; /* 写真の幅を調整 */
    height: 200px; /* 写真の高さを調整 */
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-top: 20px; /* 写真の上部にスペースを追加 */
}

.representative-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.representative-text {
    flex: 1 1 auto;
    display: flex; /* 子要素の配置を制御 */
    flex-direction: column; /* 縦並び */
    justify-content: flex-start; /* 上端から配置 */
}

.representative-text h3 {
    color: #333;
    margin-top: 20px; /* 氏名の上部に写真とのスペースを調整 */
    margin-bottom: 10px;
}

.representative-text .message {
    color: #777;
    margin-bottom: 15px;
}

.representative-meta {
    display: flex;
    flex-wrap: wrap; /* スマホなどで縦並びになるように */
    gap: 20px;
    margin-top: auto; /* 下に寄せる */
    justify-content: flex-end; /* 保有資格を右寄せ */
}

.representative-meta-item {
    flex: 1 1 auto; /* 横並びで均等な幅 */
    min-width: 200px; /* 最小幅を設定 */
}

.representative-meta-item h4 {
    color: #555;
    margin-top: 0;
    margin-bottom: 10px;
}

.representative-meta-item ul {
    list-style: none; /* リストマーカーを非表示にする */
    padding-left: 0; /* 左側のパディングをなくす */
    margin-bottom: 0;
}

.representative-meta-item li {
    color: #555;
    margin-bottom: 5px;
}

/* 事務所連絡先セクション */
.office-contact {
    margin-bottom: 40px;
    text-align: center;
}

.office-contact p {
    line-height: 1.8;
    color: #555;
}

.office-contact strong {
    font-weight: bold;
    color: #333;
}

.office-contact .additional-info {
    margin-top: 15px;
    color: #777;
    line-height: 1.6;
}

/* アクセスセクション */
.office-access {
    margin-bottom: 40px;
    text-align: center;
}

.google-map {
    margin-bottom: 20px;
    max-width: 100%;
    overflow: hidden; /* iframeがはみ出さないように */
}

.google-map iframe {
    width: 100%; /* レスポンシブ対応 */
    height: 450px; /* 高さの目安。必要に応じて調整 */
}

.office-access p {
    line-height: 1.8;
    color: #555;
}

.office-access strong {
    font-weight: bold;
    color: #333;
}

/* フッター */
footer {
    text-align: center;
    padding: 20px;
    background-color: #eee;
    color: #777;
    border-top: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.back-to-top {
    display: inline-block;
    background-color: #00bcd4;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    font-size: 1.2em;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    margin-bottom: 10px;
}

.back-to-top:hover {
    opacity: 1;
}

.back-to-top i {
    vertical-align: middle;
}

/* スマートフォン表示 */
@media screen and (max-width: 768px) {
    .office-page {
        padding: 30px 15px;
    }

    .representative-details {
        flex-direction: column;
        align-items: center;
        margin-left: 0; /* スマホでは左マージンをリセット */
    }

    .representative-photo {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
        margin-top: 0; /* スマホでは上マージン不要 */
    }

    .representative-text h3 {
        margin-top: 10px; /* スマホでは氏名の上マージン調整 */
    }

    .representative-meta {
        justify-content: flex-start; /* スマホでは左寄せ */
    }

    .office-contact {
        text-align: left; /* スマートフォンでは左寄せが見やすい */
    }

    .office-contact .additional-info {
        margin-top: 10px;
        text-align: left;
    }
}

/* メニューが開いた時のナビゲーションのスタイル (スマホ) */
nav.open {
    display: block;
}

/* メニューが開いた時のボタンのスタイル (スマホ) */
.menu-button.open span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu-button.open span:nth-child(2) {
    opacity: 0;
}

.menu-button.open span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}
</style>