/* 文字コードを指定 */
@charset "UTF-8";

/* sanitize.cssを読み込み */
@import url(sanitize.css);

/* ページ全体に関わる設定 */
body {
    /* 文字系（フォント・色・行の高さ） */
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.6;

    /* 背景色 */
    background-color: #fafafa;

    /* 外側の要素に対する余白系 */
    margin: 0;
}

/* 全てのaタグに対して調整 */
a {
    /* アンダーラインを削除 */
    text-decoration: none;
}

section {
    /* bodyに対してsectionを中央揃え */
    margin: 0 auto;
    padding: 0;

    display: flex;
    flex-direction: column;

}

.first-view {
    padding: 0px;
    margin: 0;
}

.first-view .img-with-text {
    width: 100%;
    height: 700px;
    position: relative;
}

.first-view .img-with-text img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 画像自体をぼんやりさせる */
    /* filter: blur(5px); */
}

.first-view .img-with-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* 黒色の透過度を調整 */
    background: rgba(0, 0, 0, 0.12);

    z-index: 1;
}


.first-view .img-with-text h1 {
    position: absolute;
    bottom: 25%;
    left: 7%;
    color: #fff;
    font-size: 54px;
    line-height: 1.4;
    
    font-family: 'Roboto', sans-serif;
    /* font-family: 'Noto Sans JP'; */

    z-index: 3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);

}

@media screen and (max-width: 1200px) {
    .first-view .img-with-text h1 {
        font-size: 46px;
        line-height: 1.4;
    }
}

@media screen and (max-width: 1000px) {
    .first-view .img-with-text h1 {
        font-size: 36px;
    }
}

@media screen and (max-width: 768px) {
    .first-view .img-with-text {
        height: 500px;
    }
    .first-view .img-with-text h1 {
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .first-view .img-with-text {
        height: 400px;
    }

    .first-view .img-with-text h1 {
        left: 6%;
        font-size: 18px;
        line-height: 1.3;
    }
}


/* aboutについて */

.about {
    padding: 0;
    margin: 0;
    margin-top: 32px;

    display: flex;
    flex-direction: column;
}

.about .about-header {
    position: relative;
    padding-left: 40px;
}

.about-header:before {
    /* 必須：疑似要素に内容を追加（ここでは空） */
    content: "";
    position: absolute;
    /* 縦棒の左端からの位置 */
    left: 8px;
    /* 縦棒の上端 */
    top: 0;
    /* 縦棒の下端 */
    bottom: 0;
     /* 縦棒の太さ */
    width: 5px;
     /* 縦棒の色 */
    background-color: #f08340;
}


.about .about-header h2 {
    margin: 0;

    font-size: 28px;
    color: #f08340;
    font-family: 'Noto Sans JP';
}

.about .about-header p {
    margin: 0;

    font-size: 16px;
    color: #f08340;
    font-family: 'Noto Sans JP';
}

.about .about-text {
    margin: 0;
    margin-top: 32px;
    padding: 0;

    font-size: 20px;

    text-align: center;
    font-family: 'Noto Sans JP';
}

.about .about-text p {
    margin: 0;
    padding: 0;
    line-height: 2.0;

    color: #555555;
}

@media screen and (max-width: 768px) {
    .about .about-header {
        padding-left: 32px;
    }

    .about .about-header h2 {
        font-size: 24px;
    }

    .about .about-header p {
        font-size: 12px;
    }

    .about-header:before {
        left: 8px;
    }

    .about .about-text {
        font-size: 16px;
    }

    .about .about-text p {
        line-height: 1.8;
    }
}

@media screen and (max-width: 500px) {
    .about .about-header {
        padding-left: 20px;
    }

    .about .about-header h2 {
        font-size: 20px;
    }

    .about .about-header p {
        font-size: 12px;
    }

    .about-header:before {
        left: 4px;
    }

    .about .about-text {
        font-size: 14px;
        text-align: center;

        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
    }

    .about .about-text p {
        margin: 0 auto;
        padding: 0;
        padding-left: 20px;
        margin-top: 16px;

        line-height: 1.8;
        text-align: left;

        width: 80%;
    }

    .about .about-text .comma {
        display: none;
    }

    .about .about-text .break {
        display: block;
    }
}


/* イベント内容に関する */
.contents {
    margin: 0;
    margin-top: 32px;
    padding: 0;

    display: flex;
    flex-direction: column;
}

.contents .contents-header {
    position: relative;
    padding-left: 40px;
}


.contents .contents-header:before {
    /* 必須：疑似要素に内容を追加（ここでは空） */
    content: "";
    position: absolute;
    /* 縦棒の左端からの位置 */
    left: 8px;
    /* 縦棒の上端 */
    top: 0;
    /* 縦棒の下端 */
    bottom: 0;
     /* 縦棒の太さ */
    width: 5px;
     /* 縦棒の色 */
    background-color: #f08340;
}


.contents .contents-header h2 {
    margin: 0;

    font-size: 28px;
    color: #f08340;
    font-family: 'Noto Sans JP';
}

.contents .contents-header p {
    margin: 0;

    font-size: 16px;
    color: #f08340;
    font-family: 'Noto Sans JP';
}


.contents .contents-body {
    margin: 0;
    padding: 0;
    padding-top: 32px;

    display: flex;
    /*カードを横並びにする*/
    flex-direction: row;
    /*通常の折り返し*/
    flex-wrap: wrap; 
    /* カードを均等に */
    justify-content: center;
    /*高さ指定されていないものは高さが一番高いものに合わせる*/
    align-items: stretch;

    gap: 42px;

}

.contents .contents-body .contents-card {
    padding: 0;
    padding-top: 36px;
    padding-bottom: 36px;
    margin: 0;
    
    display: flex;
    flex-direction: column;

    /* カード幅 */
    width: 44%;

    background-color: #FFF6DB;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;

    text-align: center;

    /* background-color: aqua; */
}

.contents .contents-body .contents-card .contents-title {
    padding: 0;
    margin: 0;

    display: flex;
    flex-direction: column;

    /* background-color: red; */
}

.contents .contents-body .contents-card .contents-title h3 {
    margin: 0;
    padding: 0;

    font-size: 28px;
    color: #f08340;
    font-weight: bold;

    text-align: center;
}

.contents .contents-body .contents-card .contents-image {
    padding: 0;
    margin: 0 auto;
    margin-top: 24px;
    margin-bottom: 24px;
    
    padding-top: 45%;

    position: relative;
    overflow: hidden;
    width: 80%;
}

.contents .contents-body .contents-card .contents-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    border-radius: 5px;
}

.contents .contents-body .contents-card .contents-text {
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;

    text-align: center;
}

.contents .contents-body .contents-card .contents-text p {
    margin: 0 auto;
    padding: 0;

    font-size: 20px;
    line-height: 1.6;

    text-align: left;

    color: #555555;
}


@media screen and (max-width: 1200px) {
    .contents .contents-body .contents-card .contents-image {
        /* margin-top: 18px;
        margin-bottom: 18px; */

        width: 85%;
    }
    
    .contents .contents-body .contents-card .contents-text p {
        font-size: 18px;
        line-height: 1.5;
    }
}

@media screen and (max-width: 1000px) {

    .contents .contents-body {
        gap: 36px;
    }
    .contents .contents-body .contents-card .contents-text p {
        font-size: 16px;
    }
}

/* 画面幅が480px以下の場合のスタイル */
@media screen and (max-width: 900px) {
    .contents .contents-body {
        gap: 36px;
    }
    .contents .contents-body .contents-card .contents-text p {
        font-size: 18px;
    }
    .contents .contents-body .contents-card {
        width: 62%;
    }
}


@media screen and (max-width: 768px) {
    .contents .contents-header {
        padding-left: 32px;
    }

    .contents .contents-header h2 {
        font-size: 24px;
    }

    .contents .contents-header p {
        font-size: 12px;
    }

    .contents .contents-header:before {
        left: 8px;
    }

    .contents .contents-body .contents-card .contents-text p {
        font-size: 16px;
    }

}

@media screen and (max-width: 650px) {
    .contents .contents-body .contents-card .contents-title h3 {
        font-size: 24px;
    }
    
    .contents .contents-body .contents-card .contents-text p {
        font-size: 14px;
    }
    .contents .contents-body .contents-card {
        width: 75%;
    }
}

@media screen and (max-width: 500px) {
    .contents .contents-body .contents-card {
        padding-top: 28px;
        padding-bottom: 28px;
    }
    
    .contents .contents-header {
        padding-left: 24px;
    }

    .contents .contents-header h2 {
        font-size: 20px;
    }

    .contents .contents-header p {
        font-size: 12px;
    }

    .contents-header:before {
        left: 4px;
    }

    .contents .contents-body .contents-card {
        width: 85%;
    }

    .contents .contents-body .contents-card .contents-title h3 {
        font-size: 20px;
    }
}

@media screen and (max-width: 425px) {
    .contents .contents-body .contents-card .contents-image {
        margin-top: 16px;
        margin-bottom: 16px;
    }
    .contents .contents-body .contents-card .contents-text p {
        font-size: 13px;
    }
}

@media screen and (max-width: 375px) {
    .contents .contents-body .contents-card {
        width: 88%;
    }
    .contents .contents-body .contents-card .contents-title h3 {
        font-size: 18px;
    }
    .contents .contents-body .contents-card .contents-text p {
        font-size: 12px;
    }
}

/* 過去イベントに関する */

.record {
    margin: 0;
    margin-top: 32px;
    padding: 0;

    display: flex;
    flex-direction: column;
}


.record .record-header {
    position: relative;
    padding-left: 40px;
}


.record .record-header:before {
    /* 必須：疑似要素に内容を追加（ここでは空） */
    content: "";
    position: absolute;
    /* 縦棒の左端からの位置 */
    left: 8px;
    /* 縦棒の上端 */
    top: 0;
    /* 縦棒の下端 */
    bottom: 0;
     /* 縦棒の太さ */
    width: 5px;
     /* 縦棒の色 */
    background-color: #f08340;
}


.record .record-header h2 {
    margin: 0;

    font-size: 28px;
    color: #f08340;
    font-family: 'Noto Sans JP';
}

.record .record-header p {
    margin: 0;

    font-size: 16px;
    color: #f08340;
    font-family: 'Noto Sans JP';
}


.record .record-body {
    padding: 0;
    margin: 0;

    display: flex;
    flex-direction: column;
}

.record  .record-body .record-card {
    padding: 0;
    padding-top: 64px;
    padding-bottom: 64px;

    margin: 0;

    display: flex;
    flex-direction: column;
    text-align: center;

    /* background-color: aqua; */
}

.record .record-body .record-card .event-title {
    padding: 0;
    margin: 0;
}

.record  .record-body .record-card .event-title h3 {
    padding: 0;
    margin: 0;

    /* 文字*/
    font-size: 36px;
    color: #f08340;
    font-family: 'Noto Sans JP', sans-serif;

    /* 余白 */
    margin: 0px;
}

.record  .record-body .record-card .event-title hr {
    /* 太さ */
    height: 2px;
    /* 幅 */
    width: 540px;
    /* 色 */
    background-color: #f08340;
    /* 余白 */
    margin: 0 auto;
    border: none;
}


/* 子ども福祉イベントのスライドショー */

.child-welfare-event-slideshow {
    padding: 0;
    margin: 0 auto;
    margin-top: 52px;

    width: 980px;
    height: 560px;

    position: relative;
    overflow: hidden; /* はみ出したスライドを隠す */

}

/* ↓ 左右のボタン */
.child-welfare-event-slideshow .next {
    position: absolute;
    width: 15px;
    height: 15px;
    right: 10px;
    bottom: 50%;
    z-index: 10;
    cursor: pointer;
    border-top: solid 5px #333;
    border-right: solid 5px #333;
    -webkit-transform: rotate(45deg) translateY(50%);
    transform: rotate(45deg) translateY(50%);

}
.child-welfare-event-slideshow .prev {
    position: absolute;
    width: 15px;
    height: 15px;
    left: 25px;
    bottom: 50%;
    z-index: 10;
    cursor: pointer;
    border-top: solid 5px #333;
    border-right: solid 5px #333;
    -webkit-transform: rotate(-135deg) translateY(-50%);
    transform: rotate(-135deg) translateY(-50%);

}
/* ↓ インジケーター */
.child-welfare-event-slideshow .indicator {
    width: 100%;
    position: absolute;
    bottom: 20px;
    display: flex;
    column-gap: 24px;
    z-index: 10;
    justify-content: center;
    align-items: center;

}

.child-welfare-event-slideshow .indicator li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    list-style: none;
    background-color: #fff;
    border: 1px #cccccc solid;
    cursor: pointer;
}

.child-welfare-event-slideshow .indicator li:first-of-type {
    background-color: #333;
}

.child-welfare-event-slideshow .slide { /*スライド全体 */
    width: 400%;
    /* 消した */
    height: 100%;

    /* 画像を横並びに */
    display: flex;
    flex-direction: row;

    transition: all 0.3s;
}


.child-welfare-event-slideshow .slide .slide-card { /* スライドの中身 */
    width: 25%;


    font-size: 16px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;

    position: relative;

}

.child-welfare-event-slideshow .slide .slide-card img {
    width: 100%; /* 画像がスライドの幅に合わせて表示されるようにします */
    height: 100%; /* 画像の高さをスライドの高さに合わせます */
    object-fit: cover; /* 画像の比率を保ちつつ、コンテナにフィットさせます */
}


.child-welfare-event-slideshow .slide .slide-card .slide-text {
    position: absolute;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 40%;
    padding: 12px;
    box-sizing: border-box;
    text-align: left;
    font-size: 16px;
}

/* .child-welfare-event-slideshow .slide .slide-card .slide-text {
    position: absolute;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 40%;
    padding: 12px;
    box-sizing: border-box;
    text-align: left;
    font-size: 16px;
    border-radius: 8px;
} */


@media screen and (max-width: 1024px) {
    .child-welfare-event-slideshow {
        width: 720px;
        height: 410px;
    }
    .child-welfare-event-slideshow .indicator {
        column-gap: 22px;
    }
}

@media screen and (max-width: 768px) {
    .record  .record-body .record-card .event-title hr {
        width: 50%;
    }
    .record  .record-body .record-card .event-title h3 {
        font-size: 28px;
    }

    .child-welfare-event-slideshow {
        margin-top: 36px;

        width: 460px;
        height: 260px;
    }
    .child-welfare-event-slideshow .indicator {
        column-gap: 20px;
        bottom: 8px;
    }
    .child-welfare-event-slideshow .indicator li {
        width: 10px;
        height: 10px;
    }
}

@media screen and (max-width: 480px) {
    .record  .record-body .record-card .event-title h3 {
        font-size: 24px;
    }

    .child-welfare-event-slideshow {
        margin-top: 24px;

        width: 365px;
        height: 208px;
    }
    .child-welfare-event-slideshow .indicator {
        column-gap: 20px;
        bottom: 8px;
    }
    .child-welfare-event-slideshow .indicator li {
        width: 9px;
        height: 9px;
    }
}

@media screen and (max-width: 375px) {
    .record  .record-body .record-card .event-title hr {
        width: 220px;
    }
    .record  .record-body .record-card .event-title h3 {
        font-size: 22px;
    }
    .child-welfare-event-slideshow {
        width: 310px;
        height: 180px;
    }
    .child-welfare-event-slideshow .indicator {
        column-gap: 18px;
        bottom: 8px;
    }
    .child-welfare-event-slideshow .indicator li {
        width: 8px;
        height: 8px;
    }
}

/* 自己分析スライドショー */

.self-analysis-event-slideshow {
    padding: 0;
    margin: 0 auto;
    margin-top: 52px;

    width: 980px;
    height: 720px;

    position: relative;
    overflow: hidden; /* はみ出したスライドを隠す */

}

/* ↓ 左右のボタン */
.self-analysis-event-slideshow .next {
    position: absolute;
    width: 15px;
    height: 15px;
    right: 10px;
    bottom: 50%;
    z-index: 10;
    cursor: pointer;
    border-top: solid 5px #333;
    border-right: solid 5px #333;
    -webkit-transform: rotate(45deg) translateY(50%);
    transform: rotate(45deg) translateY(50%);

}
.self-analysis-event-slideshow .prev {
    position: absolute;
    width: 15px;
    height: 15px;
    left: 25px;
    bottom: 50%;
    z-index: 10;
    cursor: pointer;
    border-top: solid 5px #333;
    border-right: solid 5px #333;
    -webkit-transform: rotate(-135deg) translateY(-50%);
    transform: rotate(-135deg) translateY(-50%);

}
/* ↓ インジケーター */
.self-analysis-event-slideshow .indicator {
    /* margin: 0 auto; */
    padding-right: 32px;
    width: 100%;
    position: absolute;
    bottom: 12px;
    display: flex;
    column-gap: 24px;
    z-index: 10;
    justify-content: center;

}

.self-analysis-event-slideshow .indicator li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    list-style: none;
    background-color: #fff;
    border: 1px #cccccc solid;
    cursor: pointer;
}

.self-analysis-event-slideshow .indicator li:first-of-type {
    background-color: #333;
}

.self-analysis-event-slideshow .slide { /*スライド全体 */
    width: 500%;
    /* 消した */
    height: 100%;

    /* 画像を横並びに */
    display: flex;
    flex-direction: row;

    transition: all 0.3s;
}


.self-analysis-event-slideshow .slide .slide-card { /* スライドの中身 */
    width: 20%;


    font-size: 16px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;

    position: relative;

}

.self-analysis-event-slideshow .slide .slide-card img {
    width: 100%; /* 画像がスライドの幅に合わせて表示されるようにします */
    height: 100%; /* 画像の高さをスライドの高さに合わせます */
    object-fit: cover; /* 画像の比率を保ちつつ、コンテナにフィットさせます */
}


.self-analysis-event-slideshow .slide .slide-card .slide-text {
    position: absolute;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    text-align: left;
    font-size: 16px;
}

/* 黒い影の文字入れ */
.self-analysis-event-slideshow .slide .slide-card .slide-text {
    position: absolute;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 100%;
    /* padding: 8px 4px 8px 4px; */
    padding: 0;
    box-sizing: border-box;
    text-align: left;
}

.self-analysis-event-slideshow .slide .slide-card .slide-text p {
    padding: 8px 4px 8px 4px;
    margin: 0;

    font-size: 14px;
}

.self-analysis-event-slideshow .slide .slide-card .slide-text .break {
    display: block;
}

@media screen and (max-width: 1024px) {
    .self-analysis-event-slideshow {
        width: 720px;
        height: 528px;
    }
    .self-analysis-event-slideshow .indicator {
        column-gap: 18px;
    }
    .self-analysis-event-slideshow .slide .slide-card .slide-text {
        padding: 0;
    }
    .self-analysis-event-slideshow .slide .slide-card .slide-text p {
        /* padding: 4px 4px 4px auto; */
        font-size: 12px;
    }
}

@media screen and (max-width: 768px) {
    .record .record-header {
        padding-left: 32px;
    }

    .record .record-header h2 {
        font-size: 24px;
    }

    .record .record-header p {
        font-size: 12px;
    }

    .record .record-header:before {
        left: 8px;
    }

    .record  .record-body .record-card .event-title hr {
        width: 50%;
    }
    .record  .record-body .record-card .event-title h3 {
        font-size: 28px;
    }

    .self-analysis-event-slideshow {
        margin-top: 36px;

        width: 460px;
        height: 340px;
    }
    .self-analysis-event-slideshow .indicator {
        column-gap: 20px;
        /* bottom: 8px; */
    }
    .self-analysis-event-slideshow .indicator li {
        width: 10px;
        height: 10px;
    }
    .self-analysis-event-slideshow .slide .slide-card .slide-text {
        font-size: 8px;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .record .record-header {
        padding-left: 24px;
    }

    .record .record-header h2 {
        font-size: 20px;
    }

    .record .record-header p {
        font-size: 12px;
    }

    .record-header:before {
        left: 4px;
    }
    
    .record  .record-body .record-card .event-title h3 {
        font-size: 24px;
    }

    .self-analysis-event-slideshow {
        margin-top: 24px;

        width: 365px;
        height: 268px;
    }
    .self-analysis-event-slideshow .indicator {
        column-gap: 20px;
    }
    .self-analysis-event-slideshow .indicator li {
        width: 9px;
        height: 9px;
    }
}

@media screen and (max-width: 374px) {
    .record  .record-body .record-card .event-title hr {
        width: 220px;
    }
    .record  .record-body .record-card .event-title h3 {
        font-size: 22px;
    }
    .self-analysis-event-slideshow {
        width: 310px;
        height: 228px;
    }
    .self-analysis-event-slideshow .indicator {
        column-gap: 18px;
        bottom:  12px;
    }
    .self-analysis-event-slideshow .indicator li {
        width: 8px;
        height: 8px;
    }
}

/* 著作権 */
footer {
    text-align: center;
    font-size: .8em;
    padding: 5px;
    background-color: #ccc;
}
