/* hello-eco.css */

* {
    color: #222222;
}

body {
    font-weight: normal;
}

.wrapper {
    width: 960px;
}
@media screen and (max-width: 767px) {
    .wrapper {
        width: 337px;
    }
}

main {
    padding: 0 0 45px;
}
@media screen and (max-width: 767px) {
    main {
        padding: 0 0 35px;
    }
}

sub {
    font-size: 50%;
}

/* h1 見出しスタイル */
h1 {
    padding: 0 0 13px;
    position: relative;
    font-family: "メイリオ", Meiryo, sans-serif;
    font-size: 34px;
    font-weight: bold;
    line-height: 36px;
    letter-spacing: 0.04em;
    color: #ffffff;
}
@media screen and (max-width: 767px) {
    h1 {
        padding: 0 0 10px;
        font-size: 18px;
        letter-spacing: 0.04em;
    }
}


h1::after {
    content: "";
    width: 100%;
    height: 3px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to right, #FFFFFF 0% 9%, #009944 9% 75%);
}
@media screen and (max-width: 767px) {
    h1::after {
    background-image: linear-gradient(to right, #FFFFFF 0% 16%, #009944 16% 75%);
    }
}

/* h2 見出しスタイル */
h2 {
    padding-left: 12px;
    position: relative;
    font-family: "メイリオ", Meiryo, sans-serif;
    font-size: 24px;
    font-weight: bold;
    line-height: 36px;
}
@media screen and (max-width: 767px) {
    h2 {
        font-size: 16px;
    }
}

h2::before {
    content: "";
    width: 5px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background-image: linear-gradient(to bottom, #0068B7 0% 25%, #009944 25% 75%);
}
@media screen and (max-width: 767px) {
    .header div img {
        width: 210px;
    }
}

.gnav {
    border-bottom: none;
}
.list-gnav {
    font-weight: bold;
}

.sec-japan-about {
    padding: 45px;
    position: relative;
    z-index: 1;
    background-color: #004EA2;
    border-radius: 7px 7px 0 0;
}
@media screen and (max-width: 767px) {
    .sec-japan-about {
        padding: 40px 15px;
        border-radius: 0;
    }
}

.sec-japan-about::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    background-image: url(../img/hello-eco-background.png);
    opacity: 0.07;
}

.sec-japan-about::after {
    content: '';
    width: 100%;
    height: calc(960px * tan(12.339deg));
    position: absolute;
    left: 0;
    bottom: 0;
    scale: 1.05;
    z-index: 0;
    background-color: #ffffff;
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
}
@media screen and (max-width: 767px) {
    .sec-japan-about::after {
        height: calc(337px * tan(12.339deg) + 80px);
        clip-path: polygon(100% 0, 0 calc(337px * tan(12.339deg)), 0 100%, 100% 100%);
    }
}

.sec-japan-about .about-contents {
    margin: 40px 0 0;
    font-family: "メイリオ", Meiryo, sans-serif;
    color: #ffffff;
    font-size: 18px;
    font-weight: normal;
    line-height: 27px;
}
@media screen and (max-width: 767px) {
    .sec-japan-about .about-contents {
        margin: 24px 0 0;
        font-size: 16px;
        text-align: center;
    }
}

.sec-japan-about .about-icon {
    margin: 30px 0 0;
    display: flex;
    justify-content: center;
    position: relative;
    top: 35px;
    z-index: 1;
}
@media screen and (max-width: 767px) {
    .sec-japan-about .about-icon {
        width: 276px;
        margin: 24px auto 0;
        top: 0;
    }
    .sec-japan-about .about-icon img {
        width: 100%;
    }
}

/* sec-japan-mark セクション */
.sec-japan-mark {
    width: 870px;
    margin: 46px auto 0;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    gap: 0 20px;
}
@media screen and (max-width: 767px) {
    .sec-japan-mark {
        width: auto;
        margin: 10px auto 0;
        display: block;
    }
    .sec-japan-mark .mark-image {
        margin: 15px 0 0;
        display: flex;
        justify-content: center;
    }
}

.sec-japan-mark h2 {
    grid-column: 1;
    grid-row: 1;
}

.sec-japan-mark .mark-contents {
    grid-column: 1;
    grid-row: 2;
    font-family: "メイリオ", Meiryo, sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    margin: 15px 0 0;
}
@media screen and (max-width: 767px) {
    .sec-japan-mark .mark-contents {
        font-size: 14px;
    }
}

.sec-japan-mark .mark-image {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
}

.sec-japan-mark .mark-image img {
    display: block;
}

/* sec-japan-place セクション */
.sec-japan-place {
    width: 870px;
    margin: 0 auto;
    text-align: center;
}
@media screen and (max-width: 767px) {
    .sec-japan-place {
        width: auto;
    }
}

.sec-japan-place h3 {
    font-family: "メイリオ", Meiryo, sans-serif;
    font-size: 20px;
    font-weight: bold;
    margin: 45px 0 0;
    display: inline-block;
}
@media screen and (max-width: 767px) {
    .sec-japan-place h3 {
        width: 100%;
        font-size: 15px;
    }
}

.sec-japan-place h3::after {
    content: '';
    width: 100%;
    height: 13px;
    margin: 10px 0 0;
    display: block;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22669.438%22%20height%3D%2212.213%22%20viewBox%3D%220%200%20669.438%2012.213%22%3E%3Cpath%20d%3D%22M0%20.5h324.254l12.5%2011.036L348.448.5h320.99%22%20fill%3D%22none%22%20stroke%3D%22%23004ea2%22%2F%3E%3C%2Fsvg%3E');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
}
@media screen and (max-width: 767px) {
    .sec-japan-place h3::after {
        background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22308%22%20height%3D%226.255%22%20viewBox%3D%220%200%20308%206.255%22%3E%3Cpath%20d%3D%22M0%20.5h149.188l5.749%205.078L160.317.5H308%22%20fill%3D%22none%22%20stroke%3D%22%23004ea2%22%2F%3E%3C%2Fsvg%3E');
    }
}

.place-contents {
    margin: 10px 0 0;
}

.sec-japan-place .place-contents::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #009944;
}

.sec-japan-place .place-contents ul {
    list-style: none;
    padding: 18px 30px;
    margin: 0;
    background-color: #E2F0FF;
    text-align: left;
    border-radius: 5px;
}
@media screen and (max-width: 767px) {
    .sec-japan-place .place-contents ul {
        padding: 10px 15px;
    }
}

.sec-japan-place .place-contents li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-family: "メイリオ", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}
@media screen and (max-width: 767px) {
    .sec-japan-place .place-contents li {
        font-size: 14px;
        gap: 4px;
    }
}

.sec-japan-place .place-contents li small {
    font-size: 14px;
}
@media screen and (max-width: 767px) {
    .sec-japan-place .place-contents li small {
        font-size: 12px;
    }
}

.sec-japan-place .place-contents li:last-child {
    margin-bottom: 0;
}

.sec-japan-place .place-contents li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    background-color: #0068B7;
    color: #ffffff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    flex-shrink: 0;
    padding: 2px 0 0;
}
@media screen and (max-width: 767px) {
    .sec-japan-place .place-contents li span {
        font-size: 14px;
    }
}

.sec-japan-place .place-contents li p {
    margin: 0;
}

.sec-japan-place sup {
    vertical-align: top;
    position: relative;
    top: -0.3em;
}
@media screen and (max-width: 767px) {
    .sec-japan-place sup {
        top: 0;
    }
}


/* sec-japan-approach セクション */
.sec-japan-approach {
    width: 870px;
    margin: 60px auto 0;
}
@media screen and (max-width: 767px) {
    .sec-japan-approach {
        width: auto;
        margin: 50px auto 0;
    }
}

.sec-japan-approach .approach-contents {
    font-family: "メイリオ", Meiryo, sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    margin: 15px 0 20px;
}
@media screen and (max-width: 767px) {
    .sec-japan-approach .approach-contents {
        font-size: 14px;
        margin: 20px 0;
    }
}

.sec-japan-approach .approach-contents.message {
    text-align: center;
    margin-top: 45px;
}
@media screen and (max-width: 767px) {
    .sec-japan-approach .approach-contents.message {
        margin-top: 40px;
    }
}

.sec-japan-approach .table-wrapper {
    width: 100%;
}
@media screen and (max-width: 767px) {
    .sec-japan-approach .table-wrapper {
        overflow-x: auto;
    }
}

.sec-japan-approach table {
    width: 100%;
    border-collapse: collapse;
    font-family: "メイリオ", Meiryo, sans-serif;
    font-size: 16px;
    border-bottom: 1px solid #6091C5;
}
@media screen and (max-width: 767px) {
    .sec-japan-approach table {
        min-width: 772px;
        border-bottom: none;
    }
}

.sec-japan-approach table thead tr {
    background-color: #004EA2;
}

.sec-japan-approach table th {
    color: #ffffff;
    padding: 9px 0 7px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}
@media screen and (max-width: 767px) {
    .sec-japan-approach table th {
        font-size: 13px;
    }
}

.sec-japan-approach table th + th {
    border-left: 2px solid #ffffff;
}

.sec-japan-approach table tbody tr {
    background-color: #ffffff;
}

.sec-japan-approach table td {
    padding: 15px;
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
    line-height: 1.6;
}
@media screen and (max-width: 767px) {
    .sec-japan-approach table td {
        font-size: 14px;
    }
}

.sec-japan-approach table th:nth-child(1),
.sec-japan-approach table td:nth-child(1) {
    width: 15%;
}

.sec-japan-approach table th:nth-child(2),
.sec-japan-approach table td:nth-child(2) {
    width: 57%;
}

.sec-japan-approach table th:nth-child(3),
.sec-japan-approach table td:nth-child(3) {
    width: 28%;
}

.sec-japan-approach table td:nth-child(2),
.sec-japan-approach table td:nth-child(3) {
    text-align: left;
}

.approach-banner-area {
    text-align: center;
}
@media screen and (max-width: 767px) {
    .approach-banner-area {
        width: 308px;
        margin-inline: auto;
    }
}

.sec-japan-approach a img {
    display: inline-block;
}
@media screen and (max-width: 767px) {
    .sec-japan-approach a img {
        width: 100%;
    }
}

/* フッター */

.txt-copyright {
    color: #ffffff;
}

.d-sp {
    display: none;
}
@media screen and (max-width: 767px) {
    .d-sp {
        display: block;
    }
}