@charset "utf-8";

.sec {
    margin-bottom: 80px;
}


.sec-title {
    padding: 10px 40px;
    /* width: calc(100% - 80px); */
    width: 100%;
    background-color: #0039A8;
    color: #fff !important;
    text-align: center;
    display: inline-block;
    border-radius: 3px;
}

.sec01 .sec-title {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    width: 100%;
}

.sec02 .sec__inner {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    position: relative
}

.sec02 .sec__inner .issuesBlock {
    width: calc(50% - 10px);
    display: flex;
    flex-direction: column;
    align-items: center;
}


.sec02 .sec__inner .issuesBlock .issues-title {
    margin-bottom: 40px !important;
    width: 50%;
    padding: 10px;
    display: inline-block;
    border: 1px solid #0039A8;
    font-size: 1.5rem !important;
    font-weight: bold;
    text-align: center;
    /* background: linear-gradient(135deg, #f2f8ff, #dbeeff); */
    background: #f2f8ff;

}

.sec02 .sec__inner .issuesBlock.--addressed .issues-title {
    color: #7e6500 !important;
    /* background: linear-gradient(135deg, #fff9e6, #fff0b3); */
    background: #fff9e6;
}


.issues__list .issues__item {
    /* background: linear-gradient(135deg, rgba(210, 230, 255, 0.6), rgba(240, 245, 255, 0.8)); */
    background: #f2f8ff;
    backdrop-filter: blur(4px);
    padding: 20px 24px;
    margin-bottom: 10px;
    border: 1px solid #0039A8;
    border-radius: 3px;
}

.sec02 .sec__inner .issuesBlock.--addressed .issues__list .issues__item {
    /* background: linear-gradient(135deg, #fff9e6, #fff0b3); */
    background: #fff9e6;
}

.issues__list .issues__item p {
    margin-bottom: 0 !important;
    position: relative;
    padding-left: 1em;
    font-size: 12px;
    font-weight: bold;
    text-align: justify;
    font-feature-settings: "palt";
    line-height: 1.666;
}

.issues__list .issues__item p::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
}

.issues__list .issues__item-title {
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: bold;
    color: #0039A8;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.sec02 .sec__inner .issuesBlock.--addressed .issues__list .issues__item-title {
    color: #7e6500 !important;
}


/* .issues__list .issues__item.--03 .issues__item-title,
.issuesBlock.--addressed .issues__list .issues__item.--03 .issues__item-title {
    color: red !important;
} */

/* =========================================
   ベース
========================================= */

div#container {
    background-image: url(../img/bg_001.jpg);
    background-repeat: no-repeat;
    background-position: center top;
}


/* -----------------------------------------
   h3 見出し画像系
   height:0 / overflow:hidden で画像置換してるやつ
----------------------------------------- */
div#main .h3title {
    background-repeat: no-repeat;
    background-position: center center;
    padding-top: 90px;
    height: 0;
    overflow: hidden;
    background-color: #0039A8;
}

div#main .h3title#h3-001 {
    background-image: url(../img/h3_001.png);
}

div#main .h3title#h3-002 {
    background-image: url(../img/h3_002.png);
}

/* =========================================
   レイアウトの考え方
   ・.main-container … セクションの大枠（地図・case群などを並べる）
   ・.case … 各プロジェクトブロック
   ・.case-left / .case-right … case内部の左右カラム
   ・#gmap など単独要素も .main-container の子
========================================= */

/* main-container をflex化
   - PC時はflexで各 .case などを横に並べられるようにする
   - スマホで display:block に戻す（後述の @media）
*/
div#main .main-container {
    padding-bottom: 0 !important;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    box-sizing: border-box;
}

div#main .case {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    box-sizing: border-box;
    margin: 0 0 4em 0;
}

div#main .case.--flex {
    flex-direction: column;
}

/* case内部 左右カラム */
div#main .case .case-left,
div#main .case .case-right {
    flex: 1 1 430px;
    /* 430px程度を目安に並ぶ */

    box-sizing: border-box;
}

/* .gray ボックス等、元のまま */
div#main div.case div.gray {
    background-color: #f2f2f2;
    margin: 0 0 2em 0;
    padding: 20px;
    border-radius: 10px;
}

/* -----------------------------------------
   gmap ブロック
   （main-container の中の全幅要素扱い）
----------------------------------------- */
div#gmap {
    border: 5px solid #f2f2f2;
    width: auto;
    height: 360px;
    background-color: #fff;
    margin: 0 0 3em 0;

    /* main-container が flex なので、幅を指定 */
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Leafletのポップアップ内リンクが親CSSで崩れないように軽くリセットしておくと安心 */
.leaflet-popup-content a {
    color: #0066cc;
    text-decoration: underline;
}

/* -----------------------------------------
   各 case のブロック幅（main-container 直下）
   まずはデフォルトで「1カラム＝100%幅」
----------------------------------------- */
div#main .main-container>.case {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
}

div#main #case-002.case {
    display: flex;
    flex-direction: row-reverse;
}

/* case-003 と case-004 をPCで横並び(2カラム)にしたい */
div#main #case-003.case,
div#main #case-004.case {
    flex: 0 0 48%;
    max-width: 48%;
}

/* 同じく case-005 と case-006 も2カラムにする */
div#main #case-005.case,
div#main .case.--flex {
    flex: 0 0 48%;
    max-width: 48%;
}

div#main #case-007.sub-cnt {
    margin-top: 40px;
}

/* 最後の画像だけが入っている p.fclear.a-center も全幅で扱いたい */
div#main .main-container>.a-center {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* =========================================
   見出しやテキスト装飾など
========================================= */
.frame-title {
    border: 1px solid #00a4de;
    padding: 10px;
    text-align: center;
    margin-bottom: 30px !important;
    font-size: 16px !important;
    color: #0039a8;
}

.circle-num-list {
    counter-reset: kyodo-step;
    list-style: none;
    padding: 0;
    margin: 0;
}

.circle-num-list li,
.issue-marks {
    margin-left: 1rem;
    /* counter-increment: kyodo-step; */
    margin: 0 0 14px;
    padding-left: 3rem;
    position: relative;
    font-weight: 500;
    line-height: 1.6;
}

.circle-num-list li::before {
    /* content: counter(kyodo-step); */
    content: "";
    position: absolute;
    left: -10px;
    top: -10px;

    width: 1.6rem;
    height: 1.6rem;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: linear-gradient(135deg, #4fa3ff, #0039A8);
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: .02em;
}

.issuesBlock.--addressed .circle-num-list li::before {
    background: linear-gradient(135deg, #ffd84a, #ffb800);
}

.issue-marks::before,
.issue-marks::after {
    /* content: counter(kyodo-step); */
    content: "";
    position: absolute;
    left: -10px;
    top: -10px;

    width: 1.6rem;
    height: 1.6rem;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    /* background: linear-gradient(135deg, #4fa3ff, #0039A8); */
    background: linear-gradient(135deg, #ffd84a, #ffb800);
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: .02em;
}

.issue-marks::before {
    /* content: counter(kyodo-step); */
    content: "6";
    position: absolute;
    left: 24px;
    top: -30px;
}

.issue-marks::after {
    /* content: counter(kyodo-step); */
    content: "5";
    position: absolute;
    left: -6px;
    top: -30px;
}


.circle-num-list li.--01::before {
    content: "1";
}

.circle-num-list li.--02::before {
    content: "2";
}

.circle-num-list li.--03::before {
    content: "3";
}

.circle-num-list li.--04::before {
    content: "4";
}

.circle-num-list li.--05::before {
    content: "5";
}

.circle-num-list li.--06::before {
    content: "6";
}

.circle-num-list li.--07::before {
    content: "7";
}

.issuesBlock.--addressed .circle-num-list li.--05::after {
    content: "5";
    left: 16px;
}

*/ .issuesBlock.--addressed .circle-num-list li.--07::before {
    content: "7";

}


.arrow-red {
    width: 80px;
    height: 10px;
    background: #e53935;
    /* 赤 */
    position: absolute;
    left: 50%;
    top: 60px;
    transform: translateX(-50%);
}

.arrow-red::after {
    content: "";
    position: absolute;
    right: -18px;
    top: -5px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 20px solid #e53935;
}

@media screen and (max-width: 980px) {
    div#main {
        margin: 0 10px;
    }

    .sec02 .sec__inner {
        flex-direction: column;
    }

    .sec02 .sec__inner .issuesBlock {
        padding-left: 10px;
        padding-right: 10px;
        width: calc(100% - 20px);
    }

    .sec02 .sec__inner .issuesBlock.--addressed {
        margin-top: 60px;
    }

    .sec02 .sec__inner .issuesBlock .issues-title {
        width: 80%;
    }

    .arrow-red {
        display: none;
    }
}

/* --- 手動指定した分だけカウンタを調整 --- */
/* .circle-num-list li.--04,
.circle-num-list li.--05,
.circle-num-list li.--06,
.circle-num-list li.--07 {
    counter-increment: none;
} */

div#main div.case h5 {
    margin: 0 0 1em 54px;
    font-size: 1.8em;
    color: #0039a8;
    text-indent: -60px;
}

div#main div.case h5 img {
    vertical-align: middle;
    margin-left: 4px;
    margin-right: 16px;
    max-width: 100%;
}

div#main div.case h6 {
    margin: 0 0 .5em 0;
    font-size: 1.2em;
    color: #0039a8;
}

/* ULリスト類 */
div#main ul.icon-002.l {
    width: 540px;
}

div#main ul.icon-002.l li {
    border-bottom: 1px solid #00a4de;
    padding: 1em 0 1em 25px;
    background-position: left 1.1em;
    margin: 0;
}

div#main ul.icon-002 li {
    border-bottom: 1px solid #00a4de;
    padding: 1em 0 1em 25px;
    background-position: left 1.1em;
    margin: 0;
}

/* 画像系 */
div#main .case img {
    max-width: 100%;
    height: auto;
}

/* =========================================
   スマホ (max-width:980px)
========================================= */

@media screen and (max-width: 980px) {
    div#main #case-002 .case-right img {
        width: 100%;
    }

    /* div#main h3 {
        padding-top: 60px;
        background-size: 80%;
    } */

    div#main img {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* スマホでは main-container を縦積みに戻す */
    div#main .main-container {
        display: block;
        /* flex解除 */
        padding-left: 10px!important;
        padding-right: 10px!important;
    }

    #h3-002+.main-container {
        display: flex !important;
        flex-direction: column-reverse;

    }

    /* その子要素も幅100%に */
    div#main .main-container>.case,
    div#main .main-container>.a-center,
    div#gmap {
        max-width: 100%;
        width: 100%;
        flex: none;
        z-index: 0;
        /* 念のためflex指定を無効化 */
    }

    /* 各 .case 内部も1カラムに戻す */
    div#main .case {
        display: block;
        /* flex解除 */
        margin: 0 0 4em 0;
        max-width: 100% !important;
    }

    div#main .case .case-left,
    div#main .case .case-right {
        max-width: 100%;
        width: 100%;
        flex: none;
        box-sizing: border-box;
    }

    /* もともと width: auto; margin:0; にしていたリスト調整 */
    div#main ul.icon-002.l {
        width: auto;
        margin: 40px 0 0;
    }
}

/* =========================================
   印刷
========================================= */
@media print {

    div#main h3 {
        padding-top: 60px;
        /* background-size は紙にはあまり関係ないので省略可 */
    }

    /* 印刷時はPCに近い2カラムレイアウトを維持したいので
       main-container はflex */
    div#main .main-container {
        display: flex;
        flex-wrap: wrap;
        gap: 2%;
        align-items: flex-start;
        box-sizing: border-box;
    }

    /* デフォルトは1カラム */
    div#main .main-container>.case {
        flex: 0 0 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* ただし 003/004, 005/006 は2カラム */
    div#main #case-003.case,
    div#main #case-004.case,
    div#main #case-005.case,
    div#main #case-006.case {
        flex: 0 0 48%;
        max-width: 48%;
    }

    /* case 内部は2カラムのまま維持 */
    div#main .case {
        display: flex;
        flex-wrap: wrap;
        gap: 2%;
        flex-direction: row;
        box-sizing: border-box;
    }

    div#main .case .case-left,
    div#main .case .case-right {
        flex: 0 0 48%;
        max-width: 48%;
        box-sizing: border-box;
    }

    div#main .case .case-left img,
    div#main .case .case-right img {
        max-width: 100%;
        height: auto;
    }
}

.quote {
    display: inline-block;
    margin-left: auto;
    margin-right: 40px;
}