html {
    height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* 固定ヘッダーの高さ分 */
}

body {
    font-family: NotoSansCJKjp, "ヒラギノ角ゴ ProN W3", "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    /* line-height: 1.6; */
    line-height: 2.2;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header {
    display: flex;
    align-items: center; /* 垂直方向の中央揃え */
    justify-content: space-between; /* 水平方向のスペースを均等に */
    position: fixed; /* 固定位置にする */
    top: 0; /* 上部に固定 */
    left: 0; /* 左端に固定 */
    width: -webkit-fill-available; /* 幅を最大に設定 */
    /* background-color: #0E1E4E; 背景色を設定 */
    z-index: 1000; /* 他の要素より前面に表示 */
    padding: 10px 20px; /* パディングを追加 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 影を追加して浮き上がらせる */
    background-size: contain;
}

header a {
    vertical-align: 25px;
}

header img {
    vertical-align: 21px;
}

@media all and (max-width: 1084px) {
    header {
        background-size: cover;
    }
}

header h1 {
    margin: 0; /* デフォルトのマージンをリセット */
    font-size: 2.1em;
}

header h1 a {
    text-decoration: none; /* リンクの下線を消す */
    color: white;
}

.header-icon {
    width: 30px;
    height: auto;
    margin-right: 8px;
}

nav ul {
    list-style: none; /* リストのデフォルトスタイルを削除 */
    margin: 0; /* デフォルトのマージンをリセット */
    padding: 0; /* デフォルトのパディングをリセット */
    display: flex; /* 横並びにする */
}

nav li {
    margin-left: 40px; /* リストアイテム間のスペースを設定 */
    color: white;
    font-weight: bold;
    line-height: 0;
}

nav a {
    text-decoration: none; /* リンクの下線を削除 */
    color: inherit; /* 親要素の色を継承 */
    vertical-align: 25px;
}

nav#menu ul li:hover {
    color: gray; /* 薄い黄色 */
}

main {
    flex: 1;
    margin-top: 120px; /* ヘッダーの高さ分のマージンを追加 */
}

.content{
    padding: 2rem;
}

@media all and (max-width: 1084px) {
    main {
        margin-top: 139px; /* ヘッダーの高さ分のマージンを追加 */
    }
    header {
        padding: 20px;
    }
}

@media all and (max-width: 890px) {
    main {
        margin-top: 109px; /* ヘッダーの高さ分のマージンを追加 */
    }
    header {
        padding: 20px;
    }
    header h1 {
        font-size: 1.5em;
    }
}

@media screen and (max-width: 768px) {
    main {
        flex: 1;
        margin-top: 87px;
    }

    .content {
        padding: 1rem;
    }

    header h1 {
        font-size: 1.3em;
    }
    .header-icon{
        width: 25px;
    }
}

@media screen and (max-width: 419px) {
    main {
        flex: 1;
        margin-top: 110px;
    }
    header h1 {
        font-size: 1.2em;
        padding: 0.8rem 0 1.2rem 0;
        line-height: 80%;
    }
    .header-icon{
        width: 20px;
        margin-right: 4px;
    }
}

.second{
    background: #DAE8F8;
}

.second-title{
    text-align: center;
    margin-top: 50px !important;
    /* padding-bottom: 10px; */
    /* border-bottom: 1px solid #000; */
    max-width: 1200px;
    margin: 0 auto;
    background-color: #82B0D9;
    color: white;
}

.hamburger-menu {
    display: none; /* デフォルトでは非表示 */
}

.hamburger-menu input[type="checkbox"] {
    display: none; /* チェックボックスを非表示 */
}

.hamburger-menu .menu-btn {
    top: -15px;
    display: block;
    width: 30px;
    position: relative;
    cursor: pointer;
}

.hamburger-menu .menu-btn span,
.hamburger-menu .menu-btn span::before,
.hamburger-menu .menu-btn span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: white;
    transition: all 0.3s;
}

.hamburger-menu .menu-btn span::before {
    content: '';
    top: -10px;
}

.hamburger-menu .menu-btn span::after {
    content: '';
    top: 10px;
}

.hamburger-menu input[type="checkbox"]:checked ~ .menu-content {
    display: block;
}

.hamburger-menu .menu-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hamburger-menu .menu-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hamburger-menu .menu-content li {
    padding: 10px 20px;
    display: flex;
    border-bottom: solid 1px #ddd;
    line-height: 2.5;
}

.hamburger-menu .menu-content a {
    text-decoration: none;
    color: #333;
}

/* ハンバーガーメニューの表示 */
@media screen and (max-width: 1084px) {
    nav#menu {
        display: none; /* 通常のナビゲーションを非表示 */
    }
    .hamburger-menu {
        display: block; /* ハンバーガーメニューを表示 */
    }
}

section {
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 8px;
    overflow: auto;
}

.top-image{
    padding: unset;
    margin-bottom: 0;
    border-radius: 0;
}

.top-image-background{
    margin: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 450px;
    background-position: center;
    background-size: cover;
    flex-direction: column;
    color: #fff;
    position: relative;
    text-decoration: none;
    counter-increment: gallery-cell;
}

@media all and (max-width: 767px) {
    .top-image-background {
        height: 325px;
    }
}

/*
.top-image-background::before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    background-color: #82B0DD;
    top: 0;
    left: 0;
    opacity: 0.5;
    transition: opacity 300ms ease-out;
}
*/

.cta{
    padding: 50px 0 0 0;
    margin-bottom: 0;
    border-radius: 0;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 275px;
    background-position: center;
    background-size: cover;
    flex-direction: column;
    color: #fff;
    position: relative;
    text-decoration: none;
}

@media all and (max-width: 767px) {
    .cta-button {
        display: none;
    }
}

@media all and (min-width: 768px) {
    .cta-button:hover::before {
        opacity: 0.8;
    }
}

.cta-button::before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    background-color: #3557A9;
    top: 0;
    left: 0;
    opacity: 0.9;
    transition: opacity 300ms ease-out;
}

.cta-button small {
    font-size: 10px;
    position: relative;
    z-index: 1;
    font-weight: 500;
    letter-spacing: 0.2em;
}

@media all and (max-width: 767px) {
    .cta-button small {
        font-size: 8px;
    }
}

.cta-button span {
    display: inline-block;
    position: relative;
    z-index: 1;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.2em;
    margin-top: 26px;
    line-height: 1.6;
}

@media all and (max-width: 767px) {
    .cta-button span {
        margin-top: 20px;
    }
}

.cta-button-details{
    margin-top: 0px!important;
    font-size: small!important;
    font-weight: normal!important;
}

.cta-group {
    display: flex;
    justify-content: space-between;
    margin: 2px 0;
}

@media all and (max-width: 767px) {
    .cta-group {
        flex-direction: column;
    }
}

.cta-group .cta-button {
    width: 50%;
}

@media all and (max-width: 767px) {
    .cta-group .cta-button {
        width: 100%;
    }
    .cta-group .cta-button:first-child {
        margin-bottom: 2px;
    }
}

.cta-group .cta-button:nth-of-type(1) {
    margin-right: 1px;
}

@media all and (max-width: 767px) {
    .cta-group .cta-button:nth-of-type(1) {
        margin-right: 0;
    }
}

.cta-group .cta-button:nth-of-type(2) {
    margin-left: 1px;
}

@media all and (max-width: 767px) {
    .cta-group .cta-button:nth-of-type(2) {
        margin-left: 0;
    }
}

.page-image{
    padding: unset;
    margin-bottom: 0;
    border-radius: 0;
}

.page-image-background {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative; /* 子要素の配置基準点とするため */
    padding-bottom: 11.92%; /* 高さ / 幅 * 100 */
    overflow: hidden; /* 画像がはみ出さないように */
}
  
.page-image-background .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* コンテンツを中央に配置する場合 */
    display: flex;
    justify-content: center;
    align-items: center;
}

#buyer {
    background-color: #3557A9;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
}
#buyer h2 {
    margin-top: revert;
}

#seller {
    background-color: #DAE8F8;
    display: flex;
    flex-wrap: wrap;
}
#seller h2 {
    margin-top: revert;
}


#deal {
    background-color: #82B0DD;
    display: flex; /* Flexboxを有効にする */
    flex-wrap: wrap; /* 子要素を折り返す */
    justify-content: center; /* 子要素を中央揃えにする */
    gap: 20px; /* 子要素間の隙間を設定（任意） */
    padding: 20px; /* 親要素の内側の余白（任意） */
}

#deal .image {
    width: 100%; /* デフォルト（768px未満）は1列表示 */
    box-sizing: border-box;
}

/* 横幅が768px以上の場合 */
@media (min-width: 768px) {
    #deal .image {
        flex-basis: calc(33.33% - 20px);
    }
}





#local {
    background-color: #82B0DD;
    margin-bottom: 20px; /* フッターとの間に余白を追加 */
    display: flex;
    flex-wrap: wrap;
}
#local h2 {
    margin-top: revert;
}

@media screen and (max-width: 768px) {
    #buyer {
        display: flex;
        flex-direction: column;
    }
    #buyer h2 {
        margin-top: initial;
    }

    #seller {
        display: flex;
        flex-direction: column-reverse;
    }
    #seller h2 {
        margin-top: initial;
    }

    #local {
        display: flex;
        flex-direction: column-reverse;
    }
    #local h2 {
        margin-top: initial;
    }

    #deal{
        display: block;
    }
}

.text, .image {
    flex: 1;
    padding: 10px;
}

#seller .text, #local .text {
    order: 1;
}

#seller .image, #local .image {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

#buyer .image {
    order: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#buyer .text {
    order: 2;
}

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

footer {
    background-color: #3557A9;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: relative;
    width: 100%;
}

.footer-menu {
    display: grid;
    justify-items: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
}

/* 縦並び２列 */
.footer-list {
    column-count: 2;
    width: fit-content;
    column-gap: 3em;
    padding-left: unset;
    max-width: 600px;
}

footer ul {
    list-style-type: none;
    line-height: 2.0;
}

footer ul li a{
    color: white;
    text-decoration: none;
}
footer ul li a:hover{
    color: #CCCCCC	;
}

.footer-item-outside-link{
    line-height: 1.2
}
.footer-item-detail{
    font-size: 10px;
}

.footer-copy {
    padding-bottom: 10px;
    font-size: 0.8em;
}

@media screen and (max-width: 768px) {
    .footer-list {
        column-count: 1;
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none; /* 初期状態では非表示 */
}

.scroll-to-top:hover {
    background-color: #0056b3;
}

.custom-button {
    background-color: #F7BA09; /* ボタンの背景色 */
    color: #333333; /* テキストの色 */
    padding: 15px 35px; /* パディング */
    border: none; /* ボーダーなし */
    border-radius: 10px; /* 角の丸み */
    font-size: 16px; /* フォントサイズ */
    font-weight: bold; /* フォントの太さ */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* ボックスシャドウ */
    cursor: pointer; /* カーソルをポインターに */
    display: inline-block; /* インラインブロック要素 */
    text-align: center; /* テキストの中央揃え */
    text-decoration: none; /* テキストの下線を消す */
    transition: background-color 0.3s ease; /* 背景色の変化にトランジションを追加 */
}
.custom-button:hover {
    background-color: #FFE4B5; /* 薄い黄色 */
}

#thumbnail{
    width: 100%;
}

.card-header{
    padding: 0.3rem 1.5rem;
    max-width: 1200px; /* 最大幅を設定 */
    margin: 0 auto; /* 中央寄せ */
}

.card-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 40px 4% 2% 4%;;
    flex-wrap: wrap;
    max-width: 1200px; /* 最大幅を設定 */
    margin: 0 auto; /* 中央寄せ */
}

.card-container::after{
    content:"";
    display: block;
    width:30%;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 30%;
    margin-bottom: 20px;
}

.card img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
}

.card-content {
    padding: 15px;
}

.card-content h3 {
    margin: 0 0 10px;
    line-height: normal;
}

.card-content .post-date {
    font-size: 12px;
}

.card-content {
    font-size: 14px;
}

.card-bottom-no-line{
    border-bottom: none!important;
}

.post-text a{
    font-size: 14px;
    text-decoration: none; /* リンクの下線を消す */
    color: black;
}
.post-text a:hover {
    color: #999999;
}

@media screen and (max-width: 768px) {
    .card {
        width: 100%;
    }
}

.card h3 a {
    font-size: 16px;
    text-decoration: none; /* リンクの下線を消す */
    color: black;
}
.card h3 a:hover {
    color: #999999;
}

.card-image-zoom-in {
    cursor: pointer;
    max-width: 100%;
    overflow: hidden;
}
.card-image-zoom-in img {
    height: auto;
    transition: transform .4s ease;/* ゆっくり変化させる */
}
.card-image-zoom-in:hover img {
    transform: scale(1.1);/* 拡大 */
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    padding-bottom: 30px;
}

.news .pagination{
    padding-top: 30px;
    padding-bottom: 0px;
}

.pagination a, .pagination span {
    display: block;
    padding: 10px 15px;
    margin: 0 5px;
    text-decoration: none;
    color: #000;
    border: 1px solid #bbb;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.pagination a:hover:not(.current) {
    background-color: #eee;
}

.pagination .current {
    background-color: #82B0DD;
    color: white;
    border-color: #82B0DD;
}

.nav-links {
    padding-top: 20px;
}

.nav-links li {
    margin-left: 0px;
}

@media screen and (max-width: 600px) {
    .pagination a, .pagination span {
        padding: 4px 5px;
        font-size: 14px;
    }
}

article {
    padding: 2% 1%;
    max-width: 800px;
    margin: 0 auto;
}

article img{
    max-width: 100%;
}

article h1 {
    padding: 0.3rem 0rem;
    font-size: 26px;
    line-height: 1.6;
}

article h2 {
    margin-top: 40px;
    padding: 0.3rem 1.5rem;
    border-left: 8px solid #82B0DD;
    background: #DAE8F8;
}

article h3 {
    margin-bottom: 28px;
    border-bottom: 3px solid #82B0DD;
}

article h4 {
    padding: 0.3rem 1.5rem;
    border-left: 4px solid #82B0DD;
}

article ul{
    border: 1px solid #82B0DD;
    padding-right: 20px;
}

article li {
    margin: 8px 0;
    padding: .5em;
    padding-left: 1.5em;
    text-indent: -1.5em;
}

article li:not(:last-child) {
    border-bottom: 1px dashed #82B0DD;
}

article li a{
    text-decoration: none;
    color: black;
}

article video{
    width: 100%;
}

/* ページが読み込まれた後に非表示設定
.hidden {
    display: none;
}
 */

/* 掲示板 */
.comments-area {
    padding: 2% 1%;
    max-width: 800px;
    margin: 0 auto;  
}

.comments-area h2 {
    padding: 0.3rem 1.5rem;
    font-size: 26px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    background-color: #DAE8F8;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.comment-author {
    font-size: 14px;
    font-style: normal;
    color: #333;
}

.comments-title{
    font-size: 26px;    
}

.comment-content {
    margin-top: 10px;
    font-size: 16px;
}

.comment-form-author #author,
.comment-form-comment #comment {
    font-size: 16px;
    font-family: NotoSansCJKjp, "ヒラギノ角ゴ ProN W3", "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}

.comment-form-comment #comment {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.comment-form-comment {
    margin-top: 0px;
}

.comment-form{
    padding: 0% 2% 1% 2%;
}

#respond{
    width: 100%; /* 水色の枠と同じ幅に設定 */
    background: #f9f9f9;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    left: 50%; /* 中央揃えのために左端を中央に設定 */
    transform: translateX(-50%); /* 左端を中央に設定 */
    max-width: 800px;
    margin: 0 auto;
    border-radius: 5px;
}

#respond.comment-respond {
    position: fixed;
    bottom: 0.5em; /* フッターの高さ分の位置調整 */
    width: 100%; /* 水色の枠と同じ幅に設定 */
}

#respond.fixed {
    position: static;
    transform: none;
    background: unset;
    box-shadow: unset;
}

.reply {
    font-size: 0.8em;
    margin-top: 10px;
}

ol .children {
    list-style: none;
}

.news {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0 60px 0;
}
.news-header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #000;
}

.news-icon {
    width: 30px;
    height: auto;
    margin-right: 8px;
}

.news-date {
    font-size: 0.9em;
    color: #666;
    width: 110px;
}
.news-title {
    flex-grow: 1;
    margin-left: 20px;
    margin-right: 15px;
}

.news-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.news-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #000;

}

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

.arrow {
    min-width: 30px; /* 最小幅を指定 */
    min-height: 30px; /* 最小高さを指定 */
    width: 30px;
    height: 30px;
    background: #F7BA09;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-shrink: 0; /* 縮小しないように設定 */
    margin-left: auto; /* 右側に配置 */
}

.arrow::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 45%; /* 矢印を左に移動 */
    transform: translate(-50%, -50%) rotate(45deg);
}

.news-link:hover .arrow {
    background-color: #FFE4B5;
}
.news-link:hover .news-title {
    color: gray;
}

@media screen and (max-width: 768px) {
    .news-link {
        flex-direction: column; /* スマホ画面で縦に並べる */
        align-items: flex-start; /* 左揃え */
    }
    .arrow {
        display: none;
    }
    .news-title {
        margin-left: 0px;
        margin-right: 0px;
    }
}

.view-more {
    text-align: center;
    margin-top: 20px;
}
.view-more a {
    color: #6ea69c;
    text-decoration: none;
}

.network {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0 60px 0;
}
.network-header {
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #000;
}

.network table, td, th {
    border-bottom: 1px solid #ddd;
    vertical-align: baseline;

}
.network table {
    width: 100%;
    border-collapse: collapse;
}

.network thead{
    background-color: #DAE8F8;
    text-align: left;
}

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

.consortium-header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #000;
    line-height: 150%;
}

.consortium-details {
    background-color: #DAE8F8;
    margin-top: 30px;
    padding: 10px 20px;
}

.background-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative; /* 子要素の配置基準点とするため */
    padding-bottom: 56.25%; /* 16:9 の場合 (高さ / 幅 * 100) */
    overflow: hidden; /* 画像がはみ出さないように */
}
  
.background-image .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* コンテンツを中央に配置する場合 */
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ホットスポットエリア
.hotspot {
    position: absolute;
    cursor: pointer; */
    /* border-radius: 50%; 必要に応じて形状を変更 */
    /* background-color: rgba(0, 0, 0, 0.3);デバッグ用
}
  */



.hotspot {
  position: absolute;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 24px;
  box-shadow: 0 3px 0 #b0b8c9, 0 2px 16px rgba(23,76,165,0.10);
  transition:
    box-shadow 0.15s,
    transform 0.15s,
    background 0.15s,
    color 0.15s;
  z-index: 10;
  user-select: none;
}

.hotspot:hover,
.hotspot:focus {
  background: none;
  box-shadow: 0 2px 0 #b0b8c9, 0 1px 8px rgba(23,76,165,0.18);
  transform: translateY(2px);
  outline: none;
}

.hotspot:active {
  background: none;
  box-shadow: 0 0px 0 #b0b8c9, 0 0px 4px rgba(23,76,165,0.22);
  transform: translateY(4px);
}





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

.subsidy-header {
    display: flex;
    align-items: center;
    justify-content: center;    
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #000;
    line-height: 150%;
}

.subsidy-title {
    /* font-size: 0.9em; */
    /* color: #666; */
    width: 390px;
}
.subsidy-details {
    flex-grow: 1;
    margin-left: 20px;
    margin-right: 15px;
    margin-top: 0;
}

.subsidy-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.subsidy-link {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    text-decoration: none;
    color: #000;
    line-height: 1.6;
}

.subsidy-arrow {
    min-width: 30px; /* 最小幅を指定 */
    min-height: 30px; /* 最小高さを指定 */
    width: 30px;
    height: 30px;
    background: #F7BA09;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-shrink: 0; /* 縮小しないように設定 */
    /* margin-left: auto; */ /* 右側に配置 */
}

.subsidy-arrow::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 45%; /* 矢印を左に移動 */
    transform: translate(-50%, -50%) rotate(45deg);
}

.subsidy-link:hover .subsidy-arrow {
    background-color: #FFE4B5;
}
.subsidy-link:hover .subsidy-title {
    color: gray;
}

@media screen and (max-width: 768px) {
    .subsidy-link {
        flex-direction: column; /* スマホ画面で縦に並べる */
        align-items: flex-start; /* 左揃え */
    }
    .subsidy-arrow {
        display: none;
    }
    .subsidy-title {
        margin-left: 0px;
        margin-right: 0px;
    }
}





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

/* すべての WPForms で、テキスト/メール/名前フィールドだけ縦並び */
.wpforms-form .wpforms-field.wpforms-field-text .wpforms-field-label,
.wpforms-form .wpforms-field.wpforms-field-email .wpforms-field-label,
.wpforms-form .wpforms-field.wpforms-field-name .wpforms-field-label,
.wpforms-form .wpforms-field.wpforms-field-text input,
.wpforms-form .wpforms-field.wpforms-field-email input,
.wpforms-form .wpforms-field.wpforms-field-name input {
    display: block;
}

.wpforms-form .wpforms-field.wpforms-field-text .wpforms-field-label,
.wpforms-form .wpforms-field.wpforms-field-email .wpforms-field-label,
.wpforms-form .wpforms-field.wpforms-field-name .wpforms-field-label {
    margin-bottom: 0.5em;
}

.wpforms-form .wpforms-field.wpforms-field-name input,
.wpforms-form .wpforms-field.wpforms-field-email input,
.wpforms-form .wpforms-field.wpforms-field-text input{
    width: 220px;
}
.wpforms-form .wpforms-field-email fieldset {
    border-width: 0px;
    margin: 0;
    padding: 0;
    margin-top: 30px !important;
}

.wpforms-form .wpforms-field-radio fieldset {
    border-width: 0px;
    margin: 0;
    padding: 0;
    margin-top: 30px !important;
}

.wpforms-form .wpforms-field-radio ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.wpforms-container .wpforms-form .wpforms-field-label {
    display: block;
    margin-top: 30px !important;
    margin: 0 auto;
    background-color: #82B0D9;
    color: #ffffff;
    width: 100%;
    padding: 0;
    font-size: 1.0em;
    font-weight: bold;
    text-indent: 10px;
}

/* ご相談内容：ラベルと入力欄の間にスペース */
.wpforms-form .wpforms-field.wpforms-field-textarea .wpforms-field-label {
    margin-bottom: 0.5em;
}

/* ご相談内容：入力欄の幅を狭める */
.wpforms-form .wpforms-field.wpforms-field-textarea textarea {
    width: 60%;
    max-width: 480px;
    height: 6em;
}

.wpforms-form .wpforms-field-sublabel {
    display: none!important;  
}

/* 入力欄の後ろに文言を表示 */
.wpforms-form .wpforms-one-half:nth-of-type(2)::after  {
    content: "（確認用）";
    margin-left: 0.3em;
}

.wpforms-error-container{
    display: none;
}

/* メールアドレスの2カラムだけ横並びレイアウトにする */
.wpforms-field-email .wpforms-field-row-block.wpforms-one-half {
  display: flex;
  align-items: center;
}

/* ご相談内容などのテキストエリアは縦並びに戻す */
.wpforms-form .wpforms-field.wpforms-field-textarea textarea {
  display: block;
  width: 100%;
}

/* 元の英語メッセージを視覚的に隠す */
em.wpforms-error {
  position: relative;
  font-size: 0; 
}

/* 擬似要素で日本語メッセージを表示（赤字） */
em.wpforms-error::after {
  content: "入力内容が不正です。";
  font-size: medium; 
  color: red;
}

.wpforms-form .wpforms-submit-container {
    text-align: center;
    margin-top: 30px;
}

.wpforms-form .wpforms-submit {
    background-color: #F7BA09; /* ボタンの背景色 */
    color: #333333; /* テキストの色 */
    padding: 15px 35px; /* パディング */
    border: none; /* ボーダーなし */
    border-radius: 10px; /* 角の丸み */
    font-size: 16px; /* フォントサイズ */
    font-weight: bold; /* フォントの太さ */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* ボックスシャドウ */
    cursor: pointer; /* カーソルをポインターに */
    display: inline-block; /* インラインブロック要素 */
    text-align: center; /* テキストの中央揃え */
    text-decoration: none; /* テキストの下線を消す */
    transition: background-color 0.3s ease; /* 背景色の変化にトランジションを追加 */
}

.wpforms-form .wpforms-submit:hover {
    background-color: #FFE4B5; /* 薄い黄色 */
}

.form .notice-box {
    font-size: 0.8rem;
    line-height: 1.6;
}

/* 各注意文言を「※ + 本文」の2カラムに見せる */
.form .notice-item {
    position: relative;
    margin: 0;
    padding-left: 1.5em;   /* 本文の開始位置を右にずらす */
    text-indent: 0;        /* 2行目以降も同じ位置から始める */
}

/* 行と行の間隔 */
.form .notice-item + .notice-item {
    margin-top: 0.4em;
}

/* 左側に「※」を固定表示 */
.form .notice-item::before {
    content: "※";
    position: absolute;
    left: 0;
    top: 0;
}