@charset "UTF-8";

/* ==================================================
   基本設定
================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    font-family:
        "メイリオ",
        "Meiryo",
        "Hiragino Kaku Gothic ProN",
        "Hiragino Kaku Gothic Pro",
        sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.8;
    font-size: 16px;
}

/* 画像 */
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* リンク */
a {
    color: #0645ad;
    text-decoration: underline;
}

a:hover {
    opacity: 0.75;
}

/* キーボード操作時 */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #0645ad;
    outline-offset: 3px;
}

/* ==================================================
   共通レイアウト
================================================== */

.container {
    width: 92%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.section {
    padding: 30px 0;
}

/* ==================================================
   ヘッダー
================================================== */

.site-header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    width: 92%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
}

.site-title {
    flex: 0 1 auto;
}

.site-title h1 {
    margin: 0;
    font-size: 30px;
    line-height: 1.3;
    color: blue;
}

/* ==================================================
   MENUボタン
================================================== */

.menu-button {
    display: none;
    border: 0;
    background: #333;
    color: #fff;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

.menu-icon {
    display: block;
    font-size: 24px;
    line-height: 1;
}

.menu-text {
    display: block;
    margin-top: 3px;
    font-size: 11px;
}

/* ==================================================
   ナビゲーション
================================================== */

.main-menu ul {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
}

.main-menu a:hover {
    color: #0645ad;
}

/* ==================================================
   見出し
================================================== */

.section-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 30px;
    line-height: 1.5;
}

.section-title span {
    display: inline-block;
    border-bottom: 5px solid #000;
    padding-bottom: 0px;
}

.main-title {
    margin-bottom: 30px;
}

/* ==================================================
   トップ・議会報告
================================================== */

.report-section {
    padding-top: 30px;
}

.main-image {
    text-align: center;
    margin-bottom: 25px;
}

.top-image {
    display: block;
    width: 100%;
    height: auto;
}

.news-message {
    margin: 0 auto 30px;
    max-width: 900px;
    font-size: 17px;
    line-height: 2;
}

/* 議会報告 */
.report {
    margin-bottom: 50px;
}

.report:last-child {
    margin-bottom: 0;
}

.report .section-title {
    font-size: 32px;
}

.video-link {
    text-align: center;
    margin: 0px;
}

.video-link a {
    display: inline-block;
    padding: 10px 25px;
    background-color: #0645ad;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.video-link a:hover {
    opacity: 0.8;
}

/* 後援会だより */
.report-images {
    text-align: center;
}

.report-images img {
    display: block;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 20px;
}

/* ==================================================
   目指す施策
================================================== */

.policy {
    background-color: #fff;
    margin-bottom: 0px;
    padding: 25px 30px;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

.policy:last-child {
    margin-bottom: 0;
}

.policy-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 15px;
    font-size: 22px;
    line-height: 1.5;
}

.policy-icon {
    width: 30px;
    height: auto;
    flex-shrink: 0;
}

.policy ul {
    margin: 0;
    padding-left: 1.5em;
}

.policy li {
    margin-bottom: 8px;
}

.policy li:last-child {
    margin-bottom: 0;
}

/* ==================================================
   後援会事務所
================================================== */

.office-content {
    display: grid;
    grid-template-columns:
        minmax(0, 2fr)
        minmax(250px, 1fr);
    gap: 40px;
    align-items: start;
}

.office-map {
    width: 100%;
}

.office-map iframe {
    display: block;
    width: 100%;
    max-height: 300px;
}

.office-info {
    font-style: normal;
    font-size: 17px;
    line-height: 1.8;
}

.office-info p {
    margin: 0 0 25px;
}

.office-info p:last-child {
    margin-bottom: 0;
}

.office-info strong {
    font-size: 18px;
}

.office-info a {
    color: #333;
    text-decoration: none;
}

/* ==================================================
   SNS
================================================== */

.sns-section {
    background-color: #f7f7f7;
}

.sns-list {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.sns-list a {
    display: block;
}

.sns-list img {
    width: 200px;
    height: auto;
    border-radius: 5px;
}

/* ==================================================
   フッター
================================================== */

.site-footer {
    padding: 30px 15px;
    background-color: #333;
    color: #fff;
    text-align: center;
    font-size: 14px;
}

.site-footer p {
    margin: 0;
}

/* ==================================================
   ページトップ
================================================== */

.page-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    margin: 0;
    z-index: 900;
}

.page-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    font-size: 12px;
}

.page-top a:hover {
    opacity: 0.8;
}

/* ==================================================
   スマートフォン
================================================== */

@media (max-width: 767px) {

    html {
        scroll-padding-top: 0;
    }

    body {
        font-size: 15px;
    }

    .container {
        width: 92%;
    }

    .section {
        padding: 30px 0;
    }

    /* ヘッダー */
    .site-header {
        position: relative;
    }

    .header-inner {
        min-height: 60px;
        flex-wrap: wrap;
    }

    .site-title h1 {
	color: blue;
        font-size: 21px;
    }

    /* MENUボタン表示 */
    .menu-button {
        display: block;
    }

    /* ナビゲーション */
    .main-menu {
        display: none;
        width: 100%;
        flex-basis: 100%;
        padding: 10px 0 15px;
    }

    .main-menu.is-open {
        display: block;
    }

    .main-menu ul {
        display: block;
        margin: 0;
        padding: 0;
    }

    .main-menu li {
        border-bottom: 1px solid #ddd;
    }

    .main-menu li:first-child {
        border-top: 1px solid #ddd;
    }

    .main-menu a {
        display: block;
        padding: 10px 5px;
        font-size: 16px;
    }

    /* 見出し */
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .report .section-title {
        font-size: 24px;
    }

    .news-message {
        font-size: 15px;
        line-height: 1.9;
        margin-bottom: 30px;
    }

    /* 動画リンク */
    .video-link a {
        display: block;
        padding: 12px 15px;
        font-size: 15px;
    }

    /* 施策 */
    .policy {
        padding: 20px;
        margin-bottom: 25px;
    }

    .policy-title {
        font-size: 19px;
        align-items: flex-start;
    }

    .policy-icon {
        width: 28px;
    }

    .policy ul {
        padding-left: 1.3em;
    }

    .policy li {
        margin-bottom: 8px;
    }

    /* 事務所 */
    .office-content {
        display: block;
    }

    .office-map {
        margin-bottom: 30px;
    }

    .office-map iframe {
        min-height: 300px;
        height: 300px;
    }

    .office-info {
        font-size: 15px;
    }

    /* SNS */
    .sns-list img {
        width: 100px;
    }

    /* TOP */
    .page-top {
        right: 12px;
        bottom: 12px;
    }

    .a {
        width: 45px;
        height: 45px;
    }
}

/* ==================================================
   小型スマートフォン
================================================== */

@media (max-width: 480px) {

    .site-title h1 {
	color: blue;
        font-size: 19px;
    }

    .section-title {
        font-size: 21px;
    }

    .report .section-title {
        font-size: 21px;
    }

    .policy-title {
        font-size: 18px;
    }

    .news-message {
        font-size: 14px;
    }
}

/* ==================================================
   動きを減らす設定を尊重
================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
    }
}
