html {
    height: 100%;
    font-size: 20px;
}

body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
    font-weight: 500;
    line-height: 1.6;
    color: #555;
    background-color: #fdfdfd;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==================================================
reset
================================================== */
html {
  box-sizing: border-box;
  overflow-y: scroll; /* All browsers without overlaying scrollbars */
  -webkit-text-size-adjust: 100%; /* iOS 8+ */
}

*,
::before,
::after {
  background-repeat: no-repeat; /* Set `background-repeat: no-repeat` to all elements and pseudo elements */
  box-sizing: inherit;
}

::before,
::after {
  text-decoration: inherit; /* Inherit text-decoration and vertical align to ::before and ::after pseudo elements */
  vertical-align: inherit;
}

* {
  padding: 0; /* Reset `padding` and `margin` of all elements */
  margin: 0;
}



.hide {
    display: none;
}

.tenpu_txt {
    font-size: 0.85rem;
}

.pdf_download {
    margin-top: 80px;
    padding-top: 16px;
    border-top: solid 1px gainsboro;
}

.chuoT {
    display: flex;
    justify-content: center;
}

img, picture, video, canvas, svg {
	height: auto !important;
	max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: relative;
    height: 800px;
    color: #fff;
    /* overflow: hidden; */
    transition: height 0.3s ease-in-out;
}

/* --- メディアクエリによる高さの切り替え --- */
/* 画面の高さが1024px以下の場合（タブレット縦向きなど） */
@media (max-height: 1024px) {
    .site-header {
        height: 700px;
    }
}

/* 画面の高さが850px以下の場合（一般的なスマートフォンなど） */
@media (max-height: 850px) {
    .site-header {
        height: 600px;
    }
}

/* 画面の高さが700px以下の場合（小さめのスマートフォンなど） */
@media (max-height: 700px) {
    .site-header {
        height: 500px;
    }
}

.site-header::after {
    content: "";
    display: block;
    width: 100%;
    height: 48px;
    background-image: url(/img/sanpai/bg-slide.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 77px;
    position: absolute;
    z-index: 1;
    bottom: -1px;
    left: 0;
}

.header-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.header-slider .slick-list,
.header-slider .slick-track,
.header-slider .slick-slide,
.header-slider .slick-slide>div {
    height: 100%;
}

.header-slider .slick-slide img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.header-content {
    display: flex;
    position: relative;
    z-index: 2;
    padding: 20px 0px 0px 20px;
}

.site-logo {
    font-size: 2rem;
    /* Original: 2.5rem (40px) -> 40px / 20px = 2rem */
    font-weight: bold;
}

.site-logo a {
    display: block;
}

.site-logo h1 {
    margin: 0;
}

.main-nav {
    margin-top: -160px;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 60px;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 3;
    position: relative;
}

.main-nav ul li a {
    display: flex;
    flex-direction: column;
    width: 220px;
    height: 220px;
    justify-content: flex-end;
    align-items: center;
    border-radius: 50%;
    overflow: hidden;
    border: solid 5px #FFF;
    background-color: #FFF;
    color: #333;
    font-size: 1.1rem;
    /* Original: 1.375rem (22px) -> 22px / 20px = 1.1rem */
    row-gap: 17px;
    background-repeat: no-repeat;
    background-size: 88px;
    background-position: center top 32px;
    transition: transform 0.2s ease;
}

.main-nav ul li a:hover {
    transform: translateY(2px);
}

.main-nav ul li.mn01 a {
    background-image: url(/img/sanpai/icon-1.gif);
    border-color: #F5567C;
}

.main-nav ul li.mn02 a {
    background-image: url(/img/sanpai/icon-2.gif);
    border-color: #67A0EA;
}

.main-nav ul li.mn03 a {
    background-image: url(/img/sanpai/icon-3.gif);
    border-color: #69B71D;
}

.main-nav ul li a::after {
    display: block;
    content: "";
    background-color: #333;
    width: 100%;
    height: 38px;
    background-image: url(/img/sanpai/arrow.png);
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: center;
}

.main-nav ul li.mn01 a::after {
    background-color: #F5567C;
}

.main-nav ul li.mn02 a::after {
    background-color: #67A0EA;
}

.main-nav ul li.mn03 a::after {
    background-color: #69B71D;
}

.gcs-area-top {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 10;
}

#cse-search-box {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 5px 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

#cse-search-box:focus-within {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}

#cse-search-box input[type="text"] {
    border: none;
    background: transparent;
    outline: none;
    padding: 8px 10px;
    font-size: 0.7rem;
    /* Original: 14px -> 14px / 20px = 0.7rem */
    color: #333;
    width: 200px;
    margin: 0px;
}

#cse-search-box input[type="text"]::placeholder {
    color: #999;
}

#cse-search-box input[type="submit"] {
    background-color: transparent;
    border: none;
    width: 32px;
    height: 32px;
    background-image: url('/img/sanpai/search-icon.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    cursor: pointer;
    text-indent: -9999px;
    padding: 0;
    margin: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    background-color: #F46472;
    border-radius: 50%;
}

#cse-search-box input[type="submit"]:hover {
    opacity: 1;
}

.slider-controls {
    position: absolute;
    bottom: 50px;
    right: 20px;
    z-index: 3;
    display: flex;
    gap: 10px;
    align-items: center;
}

.slider-controls .slick-dots {
    position: static;
    display: flex !important;
    gap: 10px;
    width: auto;
    padding: 0;
    margin: 0;
    order: -1;
}

.slider-controls .slick-dots li {
    margin: 0;
    padding: 0;
    width: 24px;
    height: 24px;
}

.slider-controls .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 24px;
    height: 24px;
    padding: 0;
    cursor: pointer;
    border: 2px solid #01B0D1;
    border-radius: 50%;
    background: #FFF;
}

.slider-controls .slick-dots li button:before {
    display: none;
}

.slider-controls .slick-dots li.slick-active button {
    background: #01B0D1;
}

.slider-controls button {
    background-color: #FFF;
    padding: 0px;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    border: solid 2px #01B0D1;
}

.slider-controls button img {
	vertical-align: bottom;
}

.site-header.header-sub {
    height: 290px;
    background-color: #fdfdfd;
    color: #555;
    /* border-bottom: 3px solid #d6d1c5; */
    overflow: visible;
    background-image: url(/img/sanpai/bg002.webp);
    background-repeat: repeat-x;
    background-position: center bottom -8px;
    background-size: 900px auto;
}

.site-header.header-sub::after {
    display: none;
}

.header-sub .header-content {
    position: absolute;
    left: 40px;
    top: 20px;
    width: 295px;
    height: auto;
    padding: 0;
}

.header-sub .site-logo {
    font-size: 1.44rem;
    /* Original: 1.8rem (28.8px) -> 28.8px / 20px = 1.44rem */
}

.header-sub .gcs-area {
    position: absolute;
    right: 20px;
    top: 20px;
    display: flex;
    align-items: center;
    column-gap: 40px;
}

ul.headMenu {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    column-gap: 20px;
}

ul.headMenu li {
    display: flex;
    align-items: center;
    gap: 5px;
}

ul.headMenu li::before {
    content: '';
    width: 18px;
    height: 18px;
    background-color: #F5567C;
    border-radius: 50%;
}

ul.headMenu li.ao::before {
    background-color: #67A0EA;
}

ul.headMenu li.midori::before {
    background-color: #69B71D;
}

.site-header.header-sub div.midashiTitle {
    position: relative;
    top: calc(50% - 24px);
    width: calc(100% - 100px);
    max-width: 1100px;
    margin: 0 auto;
}

div.midashiTitle h1 {
    margin: 0;
    font-size: 1.6rem;
    /* Original: 2rem (32px) -> 32px / 20px = 1.6rem */
}

div.midashiTitle h1 span {
    background-color: #555555;
    color: #FFF;
    padding: 0 0.12em;
}

div.midashiTitle h1::after {
    content: "";
    display: block;
    height: 12px;
    background-image: url(/img/sanpai/bg-h2-maru.png), url(/img/sanpai/bg-h2-sen.png), url(/img/sanpai/bg-h2-maru.png);
    background-repeat: no-repeat, repeat-x, no-repeat;
    background-size: 12px auto, 215px 2px, 12px auto;
    background-position: center left, center center, center right;
    margin: 0 -1.2em;
}

.header-sub+.main-nav {
    margin-top: 0;
}

main {
    flex-grow: 1;
}

main .container {
    padding-top: 2em;
    padding-bottom: 2em;
}

main#mainContent-sub {
    background-color: #EAE7DF;
}

section#honbun-sub {
    display: flex;
    /* justify-content: center; */
    padding: 40px 0px;
    flex-direction: column;
    align-items: center;
    row-gap: 21px;
}

section#honbun-sub a {
    text-decoration: underline;
}

section#honbun-sub div.pankuzu-area {
    width: 100%;
    max-width: 1100px;
    font-size: 0.7rem;
    /* Original: 0.875rem (14px) -> 14px / 20px = 0.7rem */
}

div.pankuzu-area div#detail_date div.text_r {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

section#honbun-sub .container {
    border-radius: 10px;
    background-color: #FFF;
    overflow: hidden;
    margin: 0;
    padding: 20px 40px;
}

section#oshirase {
    background-color: #EAE7DF;
}

section#oshirase::before {
    display: block;
    content: "";
    height: 138px;
    width: 100%;
    background-color: #fdfdfd;
    background-image: url(/img/sanpai/bg001.webp);
    background-repeat: repeat-x;
    background-position: center top;
    background-size: 1930px;
}

section#nani {
    background-image: url(/img/sanpai/bg-wave3.webp), url(/img/sanpai/bg-ques.png);
    background-position: center top -1px, center center;
    background-repeat: no-repeat, repeat;
    background-size: 100% 64px, 77px 58px;
    padding: 120px 0px;
}

section#haikiSyurui {
    margin-top: -50px;
}

section#haikiSyurui .container {
    background-color: #01B0D1;
    width: 100%;
    min-width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
}

section#kanrenLink {
    background-color: #EAE7DF;
    background-image: url(/img/sanpai/bg002.webp);
    background-repeat: no-repeat;
    background-position: center bottom -12px;
    background-size: 1800px;
    padding-bottom: 170px;
    padding-top: 130px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.3;
}

h1 {
    font-size: 1.76rem;
    /* Original: 2.2rem (35.2px) -> 35.2px / 20px = 1.76rem */
}

h2 {
    font-size: 1.44rem;
    /* Original: 1.8rem (28.8px) -> 28.8px / 20px = 1.44rem */
}

h3 {
    font-size: 1.2rem;
    /* Original: 1.5rem (24px) -> 24px / 20px = 1.2rem */
}

h4 {
    font-size: 0.96rem;
    /* Original: 1.2rem (19.2px) -> 19.2px / 20px = 0.96rem */
}

h5 {
    font-size: 0.8rem;
    /* Original: 1rem (16px) -> 16px / 20px = 0.8rem */
}

h6 {
    font-size: 0.72rem;
    /* Original: 0.9rem (14.4px) -> 14.4px / 20px = 0.72rem */
}

div.oshiraseText {
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-image: url(/img/sanpai/illust01.png);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: contain;
    flex-direction: column;
    height: 170px;
    margin-top: 80px;
}

div.naniText {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(/img/sanpai/illust02.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 87px 200px;
    flex-direction: column;
    padding-bottom: 40px;
}

div.midashiTitle {
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    color: #555555;
}

div.midashiTitle h2 {
    margin: 0;
    font-size: 1.6rem;
    /* Original: 2rem (32px) -> 32px / 20px = 1.6rem */
}

div.midashiTitle h2 span {
    background-color: #555555;
    color: #FFF;
    padding: 0 0.12em;
}

div.midashiTitle h2 span.noColor {
    background-color: transparent;
    color: #555;
    padding: 0px;
}

div.midashiTitle h2::after {
    content: "";
    display: block;
    height: 12px;
    background-image: url(/img/sanpai/bg-h2-maru.png), url(/img/sanpai/bg-h2-sen.png), url(/img/sanpai/bg-h2-maru.png);
    background-repeat: no-repeat, repeat-x, no-repeat;
    background-size: 12px auto, 215px 2px, 12px auto;
    background-position: center left, center center, center right;
    margin: 0 -1.2em;
}

.futoji {
    font-size: 1rem;
    /* Original: 1.25rem (20px) -> 20px / 20px = 1rem */
    font-weight: 600;
}

p {
    margin-bottom: 1em;
}

.naniRead {
    padding-right: 120px;
}


ul,
ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}

li {
    margin-bottom: 0.5em;
}

ul li::marker {
    color: #01b0d1;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
    border: 1px solid #555;
}

th,
td {
    border: 1px solid #555;
    padding: 0.8em;
    text-align: left;
}

th {
    background-color: #EFF9E6;
    font-weight: bold;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5em;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 0.8em;
    font-size: 0.8rem;
    /* Original: 1rem (16px) -> 16px / 20px = 0.8rem */
    font-family: inherit;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 1.5em;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

button,
input[type="submit"] {
    display: inline-block;
    padding: 0.8em 1.5em;
    font-size: 0.8rem;
    /* Original: 1rem (16px) -> 16px / 20px = 0.8rem */
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover,
input[type="submit"]:hover {
    /* background-color: #0056b3; */
}

dl {
    margin-bottom: 1.5em;
}

dt {
    font-weight: bold;
    margin-top: 1em;
}

dd {
    margin-left: 1.5em;
    margin-bottom: 0.5em;
}

.banner-area {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 1em;
    gap: 15px;
}

.banner-area p {
    margin: 0;
}

.banner-area a {
    transition: opacity 0.2s ease;
}

.banner-area a:hover {
    opacity: 0.8;
}

.banner-area img {
    width: 100%;
    height: auto;
    display: block;
}

/* #syuruiLink をグリッドレイアウトに変更 */
#syuruiLink {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 55px 0px;
    justify-items: center;
    width: 1025px;
    margin: 0 auto;
}

/* #syurui */
.button-container {
    position: relative;
    width: 250px;
    height: 250px;
}

.rotatable-shape {
    transition: transform 0.4s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/sanpai/bg-shurui-03.webp');
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: rotate(7deg);
}

.button-container:hover .rotatable-shape {
    transform: rotate(0deg) scale(0.8);
}

.main-button {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-image: url('/img/sanpai/btn-arrow.png');
    background-repeat: no-repeat;
    background-position: right 20px bottom 10px;
    background-size: 43px;
    color: #555;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 10;
    border: none;
    cursor: pointer;
    transition: background-position 0.3s ease-in-out;
    padding: 0.8rem;
    border-radius: 0px;
}

.main-button span {
    display: block;
}

.main-button:hover {
    background-position: right 10px bottom 10px;
}

.main-button:focus {
    outline: none;
}



#page-top-btn {
    display: none;
    position: sticky; /* 変更：position: fixed; から sticky; に */
    right: 20px;
    z-index: 999;
    width: 50px;
    height: 50px;
    background-color: #FFF;
    border-radius: 17px;
    text-align: center;
    line-height: 50px;
    font-size: 0.64rem;
    /* Original: 0.8rem (12.8px) -> 12.8px / 20px = 0.64rem */
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.3s ease;
    border: solid 2px #01B0D1;
    background-image: url(/img/sanpai/arrow03.png);
    background-repeat: no-repeat;
    background-position: center top 6px;
    background-size: 12px;
}

#page-top-btn:hover {
    opacity: 0.8;
}

.document-slider-wrapper {
    position: relative;
    margin-top: 1.5em;
    margin-bottom: 90px;
}

.document-slider .slick-slide {
    padding: 0 10px;
}

.document-slider a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 1em;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    color: #333;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.document-slider a:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
    text-decoration: none;
}

.document-slider-wrapper .slick-arrow {
    background-color: #FFF;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    z-index: 10;
    border: 2px solid #555;
}

.document-slider-wrapper .slick-arrow:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 40%;
}

.document-slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 1.5em;
}

.document-slider-controls .slick-dots {
    position: static;
    display: flex !important;
    gap: 10px;
    width: auto;
    padding: 0;
    margin: 0;
    order: -1;
}

.document-slider-controls .slick-dots li {
    margin: 0;
    padding: 0;
    width: 24px;
    height: 24px;
}

.document-slider-controls .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 24px;
    height: 24px;
    padding: 0;
    cursor: pointer;
    border: 2px solid #555;
    border-radius: 50%;
    background: #FFF;
}

.document-slider-controls .slick-dots li.slick-active button {
    background: #555;
}

.document-slider-controls .slick-dots li button:before {
    display: none;
}

.document-slider-controls button {
    display: inline-block;
    padding: 0px;
    font-size: 0.72rem;
    /* Original: 0.9rem (14.4px) -> 14.4px / 20px = 0.72rem */
    background-color: #FFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: 2px solid #555;
    border-radius: 50%;
}

.document-slider-controls button:hover {
    /* background-color: #5a6268; */
}


/* 矢印ボタン内の画像のサイズを指定 */
.document-slider .slick-arrow img {
    display: block;
    width: 15px;
    height: 15px;
    margin: 0 auto;
}

/* 矢印の位置を調整（スライダーの外側に配置する例） */
.document-slider .slick-prev {
    left: -50px;
    /* コンテナからの距離を調整 */
}

.document-slider .slick-next {
    right: -50px;
    /* コンテナからの距離を調整 */
}

button.slick-prev.slick-arrow img {
    transform: scale(-1, 1);
}

.site-footer {
    padding: 2em 0;
    background-color: #555;
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
    border-bottom: solid 10px #01B0D1;
}

.site-footer div.container strong {
    font-size: 1.33rem;
    /* Original: 1.667rem (26.672px) -> 26.672px / 20px = 1.33rem */
    margin-bottom: 0.5em;
    display: block;
}

.mLink {
    display: flex;
    justify-content: center;
}

.mLink a {
    display: flex;
    background-color: #FFF;
    color: #555;
    column-gap: 12px;
    align-items: center;
    padding: 9px 20px 8px;
    border-radius: 300px;
    margin-bottom: 40px;
}

.mLink a::after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-image: url(/img/sanpai/arrow02.png);
    background-repeat: no-repeat;
    background-size: contain;
}

a[href^="tel:"] {
    color: inherit;
    text-decoration: none;
}

section#shokai .container {
    display: flex;
    align-items: center;
    flex-direction: column;
}

section#shokai .container strong {
    font-size: 1.75rem;
    /* Original: 2.188rem (35.008px) -> 35.008px / 20px = 1.75rem */
    color: #1C3DAA;
}

section#shokai .container strong span {
    background-color: #1C3DAA;
    color: #FFF;
    padding: 0.1em 0.4em 0.2em;
    margin: 0 0.2em;
}

section#shokai .container .honbun {
    font-size: 1rem;
    /* Original: 1.25rem (20px) -> 20px / 20px = 1rem */
    text-align: center;
    line-height: 1.8;
}

.linkNews {
    background-color: #FFF;
    padding: 50px 40px;
    border-radius: 30px;
}

.link-news-list {
    list-style: none;
    padding: 0;
}

.link-news-list>li {
    display: flex;
    padding-bottom: 0.8em;
    margin-bottom: 0.9em;
}

.link-news-list>li:not(:last-child) {
    display: flex;
    align-items: flex-start;
    border-bottom: dashed 1px gainsboro;
}

.link-news-list .date {
    flex-shrink: 0;
    width: 11em;
    margin-right: 1em;
}

ul.link-news-list li span.link a {
    text-decoration: underline;
}

.ichiranLink {
    text-align: right;
    margin-top: 1em;
}

.ichiranLink a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 1em;
    background-color: #fff;
    border: 4px solid #F5567C;
    color: #555;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-image: url(/img/sanpai/sankaku-aka.png);
    background-repeat: no-repeat;
    background-position: right -1px bottom -1px;
    background-size: 25px 25px;
}

.ichiranLink a:hover {
    background-color: #fff5f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.oshiraseList ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 15px;
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.oshiraseList li {
    margin: 0;
}

.oshiraseList li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px 10px;
    background-color: #fff;
    border: 4px solid #01B0D1;
    color: #555;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-image: url(/img/sanpai/sankaku.png);
    background-repeat: no-repeat;
    background-position: right -1px bottom -1px;
    background-size: 25px 25px;
}

.oshiraseList li.midori a {
    border: 4px solid #69b71d;
    background-image: url(/img/sanpai/sankaku-midori.png);
}

.oshiraseList li.daidai a {
    border: 4px solid #f5a716;
    background-image: url(/img/sanpai/sankaku-daidai.png);
}

.oshiraseList li.chairo a {
    border: 4px solid #b28247;
    background-image: url(/img/sanpai/sankaku-chairo.png);
}

.oshiraseList li.murasaki a {
    border: 4px solid #c77cb6;
    background-image: url(/img/sanpai/sankaku-murasaki.png);
}

/* 深紫色 */
.oshiraseList li.fukamurasaki a {
    border: 4px solid #5E35B1;
    background-image: url(/img/sanpai/sankaku-fukamurasaki.png);
}

/* 青色 */
.oshiraseList li.ao a {
    border: 4px solid #4A90E2;
    background-image: url(/img/sanpai/sankaku-ao.png);
}

/* 灰色 */
.oshiraseList li.haiiro a {
    border: 4px solid #888888;
    background-image: url(/img/sanpai/sankaku-haiiro.png);
}

.oshiraseList li a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.gcs-results-container {
    padding: 2em 0;
    min-height: 50vh;
}

.naniImage {
    background-color: #FFF;
    border-radius: 30px;
    padding: 50px 70px 25px;
}

.naniImage p {
    margin-bottom: 30px;
}

.naniImage p:last-child {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

section#haikiSyurui::before {
    content: "";
    display: block;
    width: 100%;
    height: 50px;
    background-image: url(/img/sanpai/bg-wave1.webp);
    background-repeat: no-repeat;
    background-position: center bottom -1px;
    background-size: 100% 50px;
}

section#haikiSyurui::after {
    content: "";
    display: block;
    width: 100%;
    height: 60px;
    background-image: url(/img/sanpai/bg-wave2.webp);
    background-repeat: no-repeat;
    background-position: center top -1px;
    background-size: 100% 60px;
    background-color: #fdfdfd;
}


#soudan {
    padding: 80px 0px;
}

.mapWrap {
    background-color: #eee;
    background-image: url(/img/sanpai/bg-map-01.png), url(/img/sanpai/illust03.png), url(/img/sanpai/bg-map-03.png), url(/img/sanpai/bg-map-02.png);
    background-repeat: no-repeat, no-repeat, no-repeat, repeat-y;
    background-position: center top, right 20px bottom 20px, center bottom, center center;
    background-size: contain, 104px, contain, contain;
    padding: 60px 135px 60px 100px;
}

.soudanLink {
    margin-top: 1.5em;
    border: solid 3px #2399AF;
    border-radius: 20px;
    padding: 40px;
    background-color: #FFF;
}

.soudanLink>strong {
    display: flex;
    justify-content: center;
}

.soudanList {
    display: flex;
    gap: 20px;
    margin-top: 1em;
}

.soudanList p {
    flex: 1 auto;
    padding: 15px;
    border-right: 2px dotted #ddd;
    margin: 0px;
}

.soudanList p:last-child {
    border-right: none;
}

section#honbun-sub div.container h2 {
    background-image: url(/img/sanpai/h2-bg1.png), url(/img/sanpai/h2-bg3.png), url(/img/sanpai/h2-bg2.png);
    background-repeat: no-repeat, no-repeat, repeat-y;
    background-position: center top, center bottom, center center;
    background-size: contain, contain, contain;
    padding: 30px 50px 34px 32px;
    margin: 1.5em -20px 0.5em -8px;
}

section#honbun-sub div.container h2:first-child {
    margin-top: 10px;
}

section#honbun-sub div.container h3 {
    background-color: white;
    padding: 18px 90px 19px 15px;
    position: relative;
    z-index: 1;
    border: solid 2px #0F859B;
    border-radius: 9px;
}

section#honbun-sub div.container h3::before {
    content: '';
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #FFF;
    z-index: -1;
    border-radius: 9px;
    background-image: url(/img/sanpai/h3-bg.png);
    background-repeat: no-repeat;
    background-position: right 5px bottom -1px;
    background-size: 80px;
}

section#honbun-sub div.container h3::after {
    content: '';
    display: block;
    position: absolute;
    top: 1px;
    left: 0px;
    width: calc(100% + 6px);
    height: calc(100% + 5px);
    background: repeating-linear-gradient(135deg, #0f859b, #0f859b 4px, #2399af 4px, #2399af 8px);
    z-index: -2;
    border-radius: 9px;
    margin: 0px 0 0 0px;
}

section#honbun-sub div.container h4 {
    background-image: url(/img/sanpai/h4-bg.png), url(/img/sanpai/h4-bg-shasen.gif);
    background-repeat: no-repeat, repeat-x;
    background-position: center left, center bottom -7px;
    background-size: 30px, 95px;
    padding: 19px 22px 18px 37px;
}

section#honbun-sub div.container h5 {
    background-image: url(/img/sanpai/h5-bg.png);
    background-repeat: no-repeat;
    background-position: center left 5px;
    background-size: 22px auto;
    padding: 19px 22px 18px 37px;
    border-bottom: dotted 2px #ccc;
}

section#honbun-sub div.container table caption {
    text-align: left;
    font-weight: bold;
    caption-side: top;
    margin-bottom: 5px;
    padding: 8px 1px;
    font-size: 0.88rem;
    /* Original: 1.1rem (17.6px) -> 17.6px / 20px = 0.88rem */
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        /* スマートフォン表示時に水平スクロールを非表示にする */
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .site-header {
        height: auto;
        min-height: 300px;
    }

    .site-header::after {
        background-size: 100% 16px;
        height: 10px;
    }

    .site-logo img {
        display: block;
        width: 100%;
    }


    body#sanpaiTop .header-content {
        padding: 10px 10px 0px;
    }

    .main-nav {
        margin-top: 20px;
        flex-direction: column;
        align-items: center;
    }

    .main-nav ul {
        gap: 9px;
        flex-wrap: wrap;
        width: 100%;
    }

    .main-nav ul li {
        width: 31%;
    }

    .main-nav ul li a {
        width: 100%;
        height: 150px;
        font-size: 0.7rem;
        /* Original: 0.875rem (14px) -> 14px / 20px = 0.7rem */
        row-gap: 10px;
        background-size: 60px;
        background-position: center top 12px;
        border-radius: 13px;
    }

    .main-nav ul li a::after {
        height: 30px;
        background-size: 14px;
        background-position: center bottom 6px;
    }

    .gcs-area-top {
        position: absolute;
        /* margin: 15px auto; */
        width: auto;
        /* max-width: 300px; */
        right: 10%;
        top: auto;
        /* display: block; */
        bottom: 22px;
        left: 10%;
    }

    #cse-search-box {
        width: 100%;
    }

    #cse-search-box input[type="text"] {
        width: calc(100% - 40px);
        padding: 6px 8px;
    }

    #cse-search-box input[type="submit"] {
        width: 30px;
        height: 30px;
        background-size: 18px;
    }

    .slider-controls {
        position: static;
        margin: 0px auto;
        justify-content: center;
    }

    .slider-controls .slick-dots li.slick-active button,
    .slider-controls .slick-dots li button {
        border-color: #01b0d1;
    }

    .site-header.header-sub {
        height: auto;
        min-height: 200px;
        padding-bottom: 20px;
        background-size: 540px auto;
        background-position: center bottom -4px;
    }

    .header-sub .header-content {
        position: static;
        padding: 15px;
        width: auto;
        text-align: center;
        margin-bottom: 15px;
    }

    .header-sub .site-logo {
        font-size: 1.2rem;
        width: calc(100% - 55px);
    }

    .header-sub .gcs-area {
        position: static;
        margin: 15px auto;
        width: 90%;
        max-width: 320px;
        display: block;
        column-gap: 0;
        flex-direction: column;
        align-items: center;
    }

    ul.headMenu {
        column-gap: 10px;
        margin-bottom: 15px;
        font-size: 0.7rem;
        /* Original: 0.875rem (14px) -> 14px / 20px = 0.7rem */
        justify-content: center;
    }

    ul.headMenu li::before {
        width: 10px;
        height: 10px;
    }

    .site-header.header-sub div.midashiTitle {
        position: static;
        width: auto;
        padding: 0 15px;
        margin-bottom: 20px;
    }

    div.midashiTitle h1 {
        font-size: 1.2rem;
        /* Original: 1.5rem (24px) -> 24px / 20px = 1.2rem */
    }

    div.midashiTitle h1::after {
        margin: 0 -0.5em;
        background-size: 10px auto, auto 2px, 10px auto;
    }

    main .container {
        padding-top: 1em;
        padding-bottom: 1em;
    }

    section#haikiSyurui .container {
        padding: 20px 8px;
        overflow: hidden;
    }

    #syuruiLink {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on smaller screens */
        gap: 20px;
        width: 100%;
    }

    .main-button {
        padding: 5px;
        font-size: 0.85rem;
    }


    .button-container {
        width: 100%;
        height: 9rem;
    }


    section#honbun-sub {
        padding: 20px 0px;
        font-size: 0.85rem;
    }

    section#honbun-sub .container {
        padding: 20px;
        border-radius: 0;
    }

    section#oshirase::before {
        height: 66px;
        background-size: 934px auto;
    }

    section#nani {
        padding: 50px 0px 90px;
        background-size: 100% 30px, 50px 37px;
    }

    section#kanrenLink {
        padding-bottom: 100px;
        padding-top: 50px;
        background-size: 1000px;
    }

    h1 {
        font-size: 1.44rem;
        /* Original: 1.8rem (28.8px) -> 28.8px / 20px = 1.44rem */
    }

    h2 {
        font-size: 1.2rem;
        /* Original: 1.5rem (24px) -> 24px / 20px = 1.2rem */
    }

    h3 {
        font-size: 1.04rem;
        /* Original: 1.3rem (20.8px) -> 20.8px / 20px = 1.04rem */
    }

    div.oshiraseText,
    div.naniText {
        background-size: 14% auto;
        height: auto;
        padding-bottom: 20px;
        background-position: right bottom;
        margin-top: 30px;
    }

    div.midashiTitle {
        margin-bottom: 20px;
    }

    div.midashiTitle h2 {
        font-size: 1.3rem;
        letter-spacing: 0;
    }

    div.midashiTitle span {
        letter-spacing: 0px;
    }

    .noColor {
        display: block;
        text-align: center;
    }

    .eigo {
        font-size: 0.85rem;
    }

    div.midashiTitle h2::after {
        margin: 0 -0.5em;
        background-size: 10px auto, auto 2px, 10px auto;
    }

    .futoji {
        font-size: 0.9rem;
    }

    .chuoT {
        font-size: 0.85rem;
    }

    .naniText>p:nth-child(3) {
        padding-right: 55px;
        font-size: 0.85rem;
    }

    .naniImage p:last-child {
        font-size: 0.85rem;
    }

    .banner-area {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    #page-top-btn {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 0.56rem;
        /* Original: 0.7rem (11.2px) -> 11.2px / 20px = 0.56rem */
        border-radius: 12px;
        background-size: 10px;
        background-position: center top 5px;
        /* 変更：スマホ表示でも位置を削除 */
    }

    .document-slider-wrapper {
        margin-bottom: 60px;
    }

    .document-slider .slick-slide {
        padding: 0 5px;
    }

    .document-slider a {
        min-height: 100px;
        padding: 0.8em;
    }

    .document-slider-wrapper .slick-arrow {
        width: 30px;
        height: 30px;
    }

    .document-slider-wrapper .slick-arrow:before {
        width: 10px;
        height: 10px;
        border-width: 0 2px 2px 0;
    }

    .document-slider-wrapper .slick-prev {
        left: -20px;
    }

    .document-slider-wrapper .slick-next {
        right: -20px;
    }

    .document-slider-controls {
        margin-top: 1em;
    }

    .document-slider-controls .slick-dots li {
        width: 20px;
        height: 20px;
    }

    .document-slider-controls .slick-dots li button {
        width: 20px;
        height: 20px;
    }

    .site-footer {
        padding: 1.5em 0;
        font-size: 0.64rem;
        /* Original: 0.8rem (12.8px) -> 12.8px / 20px = 0.64rem */
        border-bottom: solid 5px #01B0D1;
    }

    .site-footer>div:nth-child(1)>p:nth-child(2)>span:nth-child(2) {
        display: block;
    }

    .site-footer div.container strong {
        font-size: 1.12rem;
        /* Original: 1.4rem (22.4px) -> 22.4px / 20px = 1.12rem */
        margin-bottom: 0.3em;
    }

    .mLink a {
        padding: 7px 15px 6px;
        font-size: 0.72rem;
        /* Original: 0.9rem (14.4px) -> 14.4px / 20px = 0.72rem */
        column-gap: 8px;
        margin-bottom: 18px;
    }

    .mLink a::after {
        width: 15px;
        height: 15px;
    }

    section#shokai .container strong {
        font-size: 1rem;
    }

    section#shokai .container .honbun {
        font-size: 0.85rem;
        text-align: left;
    }

    .linkNews {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .link-news-list>li {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 5px;
    }

    .link-news-list>li .link {
        font-size: 0.9rem;
    }

    .ichiranLink a {
        font-size: 0.85rem;
        padding: 10px;
    }

    .link-news-list .date {
        width: auto;
        margin-right: 0;
        font-size: 0.85rem;
    }

    .oshiraseList {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .oshiraseList ul {
        grid-template-columns: repeat(1, 1fr);
    }

    .oshiraseList li a {
        padding: 10px;
        background-size: 20px 20px;
        font-size: 0.85rem;
    }

    .naniImage {
        padding: 30px 20px 15px;
        border-radius: 15px;
    }

    #soudan {
        padding: 40px 0px;
    }

    .mapWrap {
        padding: 30px 15px;
        background-size: contain, 33px, contain, contain;
        background-position: center top, right bottom 0px, center bottom, center center;
    }

    .soudanLink {
        padding: 20px;
        border-radius: 15px;
        font-size: 0.85rem;
    }

    .soudanList {
        flex-direction: column;
        gap: 0px;
    }

    .soudanList p {
        padding: 1rem 0.2rem;
        border-right: none;
        border-bottom: 2px dotted #ccc;
    }

    .soudanList p:last-child {
        border-bottom: none;
    }

    section#honbun-sub div.container h2 {
        padding: 19px 40px 21px 35px;
        margin: 1em -30px 0.5em -28px;
        background-size: 90% auto, 90% auto, 90% auto;
        font-size: 1rem;
    }

    section#honbun-sub div.container h3 {
        padding: 12px 70px 13px 10px;
        font-size: 0.96rem;
        /* Original: 1.2rem (19.2px) -> 19.2px / 20px = 0.96rem */
    }

    section#honbun-sub div.container h3::before {
        background-size: 60px;
        background-position: right 5px bottom 0px;
    }

    section#honbun-sub div.container h3::after {
        top: -1px;
        left: -1px;
    }

    section#honbun-sub div.container h4 {
        padding: 12px 15px 11px 30px;
        background-size: 25px auto;
    }

    section#honbun-sub div.container h5 {
        padding: 12px 15px 11px 30px;
        background-size: 22px auto;
    }

    section#honbun-sub div.container table caption {
        font-size: 0.8rem;
        /* Original: 1rem (16px) -> 16px / 20px = 0.8rem */
        padding: 5px 0;
    }


    /* YouTubeとGoogleマップのレスポンシブ対応 */
    .detail_movie,
    .detail_map {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%;
        /* 16:9のアスペクト比 (高さ / 幅 = 9 / 16 = 0.5625) */
        height: 0;
        overflow: hidden;
        margin-bottom: 1em;
        /* 下に少し余白 */
    }

    .detail_movie iframe,
    .detail_map iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

    /* 4:3のアスペクト比にしたい場合 (高さ / 幅 = 3 / 4 = 0.75) */
    .detail_movie.aspect-4by3,
    .detail_map.aspect-4by3 {
        padding-bottom: 75%;
    }

    section#honbun-sub div.pankuzu-area {
        max-width: calc(100% - 24px);
        row-gap: 10px;
        display: flex;
        flex-direction: column;
    }

    .information2All a {
        padding: 13px 30px 17px 15px !important;
    }

    .information2All a::after {
        right: 5px !important;
    }
}

/* --- Modal Styles (Reconfigured for Clarity and Correct Stacking) --- */
/* このブロックを既存のモーダル関連CSSと置き換えてください */

/* The Modal Background / Overlay */
/* This is the parent container that covers the whole screen. */
#search-modal {
    display: none;
    /* Hidden by default, shown with JS */
    position: fixed;
    /* Stays in place even when scrolling */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Semi-transparent black background */

    /* Flexbox is used to easily center the modal content vertically and horizontally */
    justify-content: center;
    align-items: center;

    /* High z-index to ensure it's on top of all other page content */
    z-index: 1000;
}

/* The Modal Content Box */
#search-modal .modal-content {
    position: relative;
    background-color: transparent;
    padding: 0px;
    width: 90%;
    z-index: 1001;
    border: none;
}

/* The Close Button ('x') */
#search-modal .close-button {
    position: absolute;
    top: -40px;
    right: -5px;
    width: 36px;
    height: 36px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    z-index: 1002;
}

#search-modal .close-button:hover {
    background-color: #555;
}

/* The 'x' mark using pseudo-elements */
#search-modal .close-button::before,
#search-modal .close-button::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 2px;
    background-color: #fff;
}

#search-modal .close-button::before {
    transform: rotate(45deg);
}

#search-modal .close-button::after {
    transform: rotate(-45deg);
}


/* The Search Form Container inside the Modal */
#search-modal #modal-search-container {
    /* No special positioning needed. It will sit inside the .modal-content flow. */
}

/* Hide the search icon by default on larger screens */
#mobile-search-icon {
    display: none;
    /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: 20px;
    /* Adjust as needed for spacing from right edge */
    z-index: 11;
    /* Ensure it's above other elements */
    width: 32px;
    /* Size of the icon */
    height: 32px;
    /* Size of the icon */
}

#mobile-search-icon img {
    width: 68%;
    height: 68%;
    object-fit: contain;
}

/* The Form element itself */
#search-modal #cse-search-box {
    display: flex;
    /* Align input and button side-by-side */
    width: 100%;
}

/* The Text Input Field */
#search-modal #cse-search-box input[type="text"] {
    flex-grow: 1;
    /* border: 1px solid #ccc; */
    padding: 10px;
    font-size: 16px;
    border-radius: 5px 0 0 5px;
    outline: none;
    -webkit-appearance: none;
    position: relative;
    z-index: 2;
}

#search-modal #cse-search-box input[type="text"]:focus {
    border-color: #67A0EA;
    box-shadow: 0 0 0 2px rgba(103, 160, 234, 0.3);
}

/* The Search Submit Button */
#search-modal #cse-search-box input[type="submit"] {
    width: 40px;
    border: 1px solid #F46472;
    background-color: #F46472;
    background-image: url('/img/sanpai/search-icon.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
    text-indent: -9999px;
    cursor: pointer;
    border-radius: 50%;
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    position: relative;
    z-index: 2;
    height: 40px;
}


/* --- Mobile-specific styles (max-width: 767px) --- */
@media screen and (max-width: 767px) {
    #mobile-search-icon {
        display: flex;
        background-color: #f8939d;
        border-radius: 50%;
        justify-content: center;
        align-items: center;
        margin: 0;
        right: 20px;
        position: absolute;
    }
}

/* --- Desktop-specific styles (min-width: 768px) --- */
@media screen and (min-width: 768px) {

    /* Ensure the gcs-area is displayed and correctly lays out its children on larger screens */
    .gcs-area-top {
        display: flex;
        /* Ensure it's a flex container on desktop */
        position: absolute;
        top: 40px;
        right: 40px;
        z-index: 10;
        align-items: center;
        /* Align headMenu and search form vertically */
    }

    .gcs-area .headMenu {
        display: flex;
        /* Show .headMenu and make it a flex container on desktop */
        margin-right: 20px;
        /* Space between menu and search */
    }

    .gcs-area .headMenu li {
        margin-left: 10px;
        /* Space between menu items */
    }

    .gcs-area #cse-search-box {
        display: block;
        /* Ensure search box is visible on desktop */
    }
}



/* ここから ul.information2 に限定したスタイル */
ul.information2 {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.information2 li {
    padding: 15px 40px 15px 20px;
    border-bottom: 2px dotted #eee;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 0px;
    flex-direction: column;
    transition: background-color 0.2s ease-in-out;
    /* 背景色の変化をスムーズに */
}

/* 最後の要素の下線は非表示 */
ul.information2 li:last-child {
    border-bottom: none;
}

/* 下線アニメーション用の擬似要素 */
ul.information2 li::before {
    content: '';
    position: absolute;
    bottom: -2px;
    /* 元の下線の位置に合わせる */
    left: 0;
    width: 0;
    /* 初期状態では幅0 */
    height: 2px;
    background-color: #01B0D1;
    /* 伸びる線の色（青色の例） */
    transition: width 0.3s ease-in-out;
}

/* 矢印アイコン用の擬似要素 */
ul.information2 li::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    width: 20px;
    height: 20px;
    background-image: url(/img/sanpai/arrow02.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(-50%);
    transition: transform 0.2s ease-in-out, background-image 0.2s ease-in-out;
}

/* --- ホバー時のスタイル --- */

ul.information2 li:hover {
    background-color: #f9f9f9;
    border-bottom-color: transparent;
    /* 元の点線を透明にする */
}

/* ホバー時に下線の幅を100%にする */
ul.information2 li:hover::before {
    width: 100%;
}

/* ホバー時に矢印アイコンを変更・拡大 */
ul.information2 li:hover::after {
    background-image: url(/img/sanpai/arrow02-blue.png);
    transform: translateY(-50%) scale(1.4);
}


ul.information2 .span_a {
    color: #FFF;
    font-size: 0.875em;
    /* Kept as 'em' as it's relative to the parent */
    margin-bottom: 6px;
    display: block;
    background-color: #555555;
    padding: 2px 0.6rem;
    border-radius: 5px;
}

ul.information2 .span_b a {
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
    font-size: 0.9rem;
    /* Original: 1.125rem (18px) -> 18px / 20px = 0.9rem */
    text-decoration: none !important;
}

ul.information2 .span_b a:hover {
    /* ul.information2 内の .span_b 内の a ホバー時のスタイル */
    text-decoration: underline;
}


@media screen and (max-width: 768px) {

    ul.information2 li {
        padding: 15px 20px 15px 0px;
    }

    ul.information2 li::after {
        right: 0px;
    }

}

/* ここまで ul.information2 に限定したスタイル */


.information2All a {
    position: relative;
    /* ::afterを絶対配置するための基準 */
    display: block;
    /* 矢印を背景から削除 */
    background-image: url(/img/sanpai/list-2-bg2.png), url(/img/sanpai/list-2-bg.gif);
    background-repeat: no-repeat, repeat-x;
    background-position: left top, center bottom;
    background-size: 30px, auto 7px;
    padding: 30px 50px 35px;
    border: solid 1px #01B0D1;
    border-bottom: none;
    font-size: 0.9rem;
    /* Original: 1.125rem (18px) -> 18px / 20px = 0.9rem */
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-decoration: none !important;
}

/* 矢印を::after擬似要素として追加 */
.information2All a::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    /* 右からの位置 */
    width: 20px;
    /* 矢印の幅 */
    height: 20px;
    /* 矢印の高さ */
    background-image: url(/img/sanpai/arrow02.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(-50%);
    /* 上下中央揃え */
    transition: transform 0.2s ease-in-out, background-image 0.2s ease-in-out;
    /* トランジションを追加 */
}

/* ホバー時のスタイル */
.information2All a:hover::after {
    background-image: url(/img/sanpai/arrow02-blue.png);
    transform: translateY(-50%) scale(1.4);
    /* 中央を基点に拡大 */
}


.information2All a:last-child {
    margin-bottom: 0px;
}


/* 産業廃棄物はどんなところから出るの？ */

.dedokoWrap {
    display: grid;
    gap: 1.5rem;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .dedokoWrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .dedokoWrap {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.dedokoro {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease-in-out;
    border: 1px solid #eee;
}

.dedokoro strong {
    margin-bottom: 1rem;
}

.dedokoro img {
    width: 100%;
    height: auto;
}

.dedokoro p {
    color: #374151;
    margin: 0px;
}


/* 産業廃棄物を減らすために私たちができること */
.faq3Photo {
    width: 29.25rem;
    float: right;
    margin: 0 0 6.25rem 1.875rem;
}

.recycleMarks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.125rem;
}

.markItem {
    position: relative;
}

.markItem:after {
    content: " ";
    border-right: dashed 1px #ccc;
    height: 100%;
    width: 1px;
    position: absolute;
    right: -1.5625rem;
    top: 0
}

.markItem:last-child:after {
    display: none
}

@media screen and (max-width: 768px) {

    .faq3Photo {
        display: block;
        float: none;
        width: 100%;
        margin: 2rem 0 2.5rem;
    }

    .recycleMarks {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
    }

}