h3 {
    color: #0E62A9;
}

.pc-only {
    display: block;
}

.sp-only {
    display: none;
}


/* 苫田ダムについて */
.about-dam {
    text-align: center;
    padding: 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.about-dam .section-title::before {
    content: '';
    background-image: url('../.././images/title-icon/about-dam.png');
    background-size: contain;
    display: block;
    margin: 0 auto;
    width: 98.12px;
    height: 40px;
}

.content {
    display: flex;
    gap: 4rem;
    width: 100%;
    margin-top: 7%;
}

.content img {
    width: 45%;
    height: auto;
    object-fit: contain;
}

.text {
    text-align: left;
    width: 55%;
}

.text h3 {
    color: #222222;
}

.text p {
    margin-bottom: 3rem;
}

.text p.small{
	font-size: 0.95rem;
}

/* ダムのお仕事 */
.work {
    background-color: #ECF5FC;
    text-align: center;
    padding: 5% 6%;
}

.work .section-title::before {
    content: '';
    background-image: url('../.././images/title-icon/work.png');
    background-size: contain;
    margin-right: 1rem;
    display: inline-block;
    width: 55px;
    height: 56.7px;
}

.work-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem auto 4rem;
}

.work-list li {
    width: 20%;
}

.work-list h3 {
    font-family: 'Zen Kaku Gothic Antique';
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 40.54px;
    text-align: center;
    text-decoration-skip-ink: none;
    margin: 1rem 0;
    color: #0E62A9;
}

.work-list p {
    text-align: justify;
}

.work>p {
    margin-bottom: 2rem;
}

/* デジタルアーカイブ */
.page-parallax-visual  {
    height: 500px;
    background-image: url(../.././images/about/digital-archive.png);
    background-size: cover;
    width: 100%;
}

.image-title::before {
    content: '';
    background-image: url('../.././images/about/folder.png');
    background-size: contain;
    margin-right: 1rem;
    display: inline-block;
    width: 50px;
    height: 37.92px;
}

.page-parallax-visual p {
    font-family: 'Zen Kaku Gothic Antique';
    font-weight: 500;
    line-height: 26.06px;
}

/* 画像上のテキスト */
.parallax-text-container {
    text-align: center;
    position: absolute;
    top: 23%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
	background-color: rgb(14 98 169 / 900%);
	padding: 2rem;
}

.detail-button {
    display: inline-block;
    width: 300px;
    height: 50px;
    padding: 0.7em 0;
    border: 1px solid #FFFFFF;
    border-radius: 30px; 
    background-color:#fff;
    color: #0E62A9;
    font-family: 'Zen Kaku Gothic Antique';
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 26.06px;
    text-align: center;
    position: relative;
    margin-top: 2rem;
}

.detail-button::after {
    position: absolute;
    top: 30%;
    right: 7%;
    content: url('../.././images/button-img/link.png');
}

/* 苫田ダムのご紹介 */
.introduction {
    margin: 0 auto;
    display: flex;
    gap: 0 4rem;
    width: 100vw;
    padding: 5% 15%;
    background: #FFFFFF;
}

.introduction img {
    width: 50%;
    height: auto;
    object-fit: contain;
}

/* ダムとは */
.what-is-a-dam {
    padding-top: 5%;
    padding-bottom: 5%;
    text-align: center;
    background-color: #ECF5FC;
}

.what-is-a-dam .section-title::before {
    content: '';
    background-image: url('../.././images/title-icon/light-bulb.png');
    margin-right: 1rem;
    width: 37px;
    height: 52px;
    display: inline-block;
    background-size: contain;
    margin-right: 1rem;
}

.what-is-a-dam-container {
    display: block;
    margin: 0 auto;
    width: 57vw;
}

.what-is-a-dam-container p {
    margin: 2rem 0;
    text-align: left;
}

/* ダムの種類 */
.kind-container {
    margin: 0 auto;
    text-align: center;
    background-color: #FFFFFF;
    width: 72vw;
    padding: 5% 7%;
}

.kind-container ul {
    margin-top: 4%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3%;
}

.kind-container h4 {
    margin-top: 2rem;
    font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;;
    color: #0E62A9;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 32.69px;
    text-align: center;
    text-decoration-skip-ink: none;
}

.kind-container p {
    text-align: left;
    text-align: justify;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/* 警報施設 */
.alarm-facility {
    /*padding-right: 3%;*/
    display: flex;
    gap: 2rem;
    margin: 0 auto 3em;
    /* max-width: 1400px; */
}

/*.alarm-facility .section-title::before {
    content: '';
    background-image: url('../.././images/title-icon/alarm.png');
    background-size: contain;
    margin-right: 1rem;
    display: inline-block;
     width: 80px; 
    height: 46px;
}*/

.alarm-facility h2 {
    margin-top: 5rem;
}

.alarm-facility img {
    width: 50%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 765 / 977;
    object-position: top;
    left: 0;
    max-width: 1400px;
}

.alarm-facility .text {
    width: 50%;
	    background-image: url(../.././images/about/warning-equipment.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: contain;
}

.alarm-facility .text p{
	padding-right: 50%;
}

.alarm-facility .text img{
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top right;
	aspect-ratio: auto;
}


/* 放流警報立札 */
.message-plate {
    margin: 0 auto;
    margin-top: 2%;
    margin-bottom: 5%;
    width: 60vw;
    border: 3px solid #0E62A9;
    border-radius: 20px;
    justify-content: center;
    text-align: center;
}

.message-plate h2 {
    display: block;
    background-color: #0E62A9;
    color: #FFFFFF;
    padding: 2rem 0;
    padding: auto;
    border-radius: 15px 15px 0 0;
}

.message-plate-list {
    display: grid;
    grid-template-columns: repeat(auto-fit,  minmax(140px, 1fr));
    gap: 3rem 2rem;
    padding: 3rem 6rem ;
}

.message-plate-list p {
    color: #0E62A9;
    font-family: 'Zen Kaku Gothic Antique&';
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 28.96px;
    text-align: center;
    text-decoration-skip-ink: none;
    margin-top: 1rem;
}

/* サイレンの鳴り方 */
.siren {
    margin: 0 auto;
    padding-bottom: 5%;
    text-align: center;
    background-image: url(../.././images/about/warning-equipment-bg.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
}

.siren-content {
    margin: 0 auto;
    width: 72vw;
}

.siren img{
    margin: 0 auto;
    display: block;
    padding: 2rem 0 3rem;
}

.siren-button {
    display: inline-block;
    width: 300px;
    height: 50px;
    padding: 0.7em 0;
    border: 1px solid #CB0303;
    border-radius: 30px; 
    color: #CB0303;
    font-family: 'Zen Kaku Gothic Antique';
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 26.06px;
    text-align: center;
    position: relative;
    margin: 2rem auto;
    background-color: #FFFFFF;
}

.siren-button::after {
    position: absolute;
    top: 30%;
    right: 7%;
    content: url('../.././images/button-img/siren.png');
}

/* Q&A */
.qa {
    background-color: #ECF5FC;
    padding: 5% 0;
    text-align: center;
}

.qa .section-title::before {
    content: '';
    background-image: url('../.././images/title-icon/qa.png');
    background-size: contain;
    margin-right: 1rem;
    display: inline-block;
    width: 65px;
    height: 52.7px;
}

.qa .container {
    margin: 0 auto;
    background-color: #FFFFFF;
    width: 36vw;
    min-width: 400px;
    padding: 3%;
}

.qa p {
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .message-plate-list {
        padding: 1rem 4rem;
        gap: 1.5rem;
    }

    .work {
        padding: 5% 4%;
    }

    .work-list {
        gap: 1.5rem;
    }

    .work-list li {
        width: 25%;
    }
}

@media (max-width: 768px) {

    .pc-only {
        display: none;
    }

    .sp-only {
        display: block;
    }

    .page-main-visual {
        margin-bottom: 0;
    }

    .link-button,
    .detail-button,
    .siren-button {
        width: 260px;
        height: 40px;
        margin: 0 auto;
        display: block;
    }

    .detail-button,
    .siren-button {
        padding: 0.4rem 0;
    }

    .about-dam,
    .work,
    .introduction,
    .what-is-a-dam,
    .alarm-facility,
    .siren,
    .qa {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .about-dam .section-title::before {
        width: 80px;
        height: 32.6px;
        margin-bottom: 0.5rem;
    }

    .content {
        margin: 0 auto;
        display: flex;
        gap: 1rem 0;
        flex-direction: column;
    }

    .content img {
        width: 100%;
        max-width: 450px;
        height: auto;
        object-fit: contain;
        margin: 0 auto;
    }

    .border-container {
        text-align: center;
    }

    .about-dam p,
    .border-container p,
    .work p{
        text-align: left;
        margin-bottom: 1rem;
    }

    .text {
        width: 100%;
        margin-top: 0;
    }

    .work .section-title::before {
        display: block;
        margin: 0 auto;
        margin-bottom: 0.5rem;
        width: 55px;
        height: 52.65px;
    }

    .work-list {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 2%;
    }
    
    .work-list li {
        width: 100%;
    }

    .work-list img {
        width: 100%;
        max-width: 450px;
    }
    
    .work-list h3 {
        font-family: 'Zen Kaku Gothic Antique';
        font-size: 18px;
        font-weight: 700;
        line-height: 26.06px;
        margin: 0.5rem 0;
    }

    .page-parallax-visual  {
        height: 445px;
        background-image: url(../.././images/about/digital-archive-sp.png);
        background-size: cover;
    }

    .parallax-text-container p {
        font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;;
        font-weight: 500;
        font-size: 1rem;
        line-height: 21.79px;
        margin-bottom: 1rem;
    }

    .image-title::before {
        display: block;
        margin: 0 auto;
        margin-bottom: 0.5rem;
        width: 50px;
        height: 37.92px;
    }

    .introduction,
    .what-is-a-dam-container,
    .siren-content {
        width: 100%;
        margin: 0 auto;
        padding-right: 7%;
        padding-left:  7%;
        display: flex;
        flex-direction: column;
        gap: 0.5rem 0;
    }

    .introduction .text {
        display: contents;
    }

    .introduction img {
        order: 2;
        margin: 0 auto;
        width: 100%;
    }

    .introduction .title-container {
        order: 1;
        margin: 0 auto;
    }

    .introduction p {
        order: 3;
        margin-bottom: 0;
    }

    .what-is-a-dam .section-title::before {
        display: block;
        margin: 0 auto;
        margin-bottom: 0.5rem;
    }

    .kind-container {
        width: 86%;
        margin: 0 auto;
    }

    .kind-container ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .kind-container h4 {
        font-size: 1rem;
        font-weight: 700;
        line-height: 21.79px;
    }

    .alarm-facility {
        margin: 0 auto;
        padding-right: 0;
        width: 100vw;
        flex-direction: column-reverse;
        justify-content: center;
    }

    .alarm-facility .text {
        width: 100%;
        padding: 0 7%;
        margin: 0 auto;
        text-align: center;
		background-size: 60%;
		background-position: center right;
    }

	.alarm-facility .text p{
	padding-right: 30%;
	/*padding-bottom: 50px;*/
}
	
    .alarm-facility h2 {
        margin: 0 auto 1rem;
    }

    .alarm-facility p {
        text-align: left;
        margin-bottom: 1rem;
    }
    
    .alarm-facility img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    .alarm-facility .section-title::before {
        display: block;
        margin: 0 auto 0.5rem;
        width: 60px;
        height: 34.5px;
    }

    .message-plate {
        width: 86vw;
    }
    
    .message-plate h2 {
        padding: 1rem 0;
    }
    
    .message-plate-list {
        display: grid;
        grid-template-columns: repeat(auto-fit,  minmax(100px, 1fr));
        gap: 2rem 1rem;
        padding: 1rem 2rem;
    }
    
    .message-plate-list img {
        width: 135px;  
        height: auto;
    }
    
    .message-plate-list p {
        font-size: 0.875em;
        line-height: 16.8px;
        margin-top: 0.2rem;
    }

    .siren-content .section-title-middle {
        display: inline-block;
    }
    .siren img{
        margin: 0 auto;
        display: block;
        padding: 1rem 0 2rem;
    }

    .qa .section-title::before {
        display: block;
        margin: 0 auto 0.5rem;
    }

    .qa .container {
        min-width: 0;
        width: 86%;
        padding: 3rem 1rem;
    }
}