@charset "UTF-8";

:root {
    --base-color: #EEEAEB;
    --main-color: #0D9CA4;
    --main-sub-color: #43AAAE;
    --accent-color: #FE7310;
    --accent-sub-color: #FE8C12;
    --accent2-color: #FCBC15;
    --font-color: #1E1E1E;
    --note-bg-color: #DFDFDF;
    --white: #F8F8F8;
}

body {
    background-color: var(--base-color);
    font-family: "Zen Kaku Gothic New", sans-serif;
    color: var(--font-color);
}

img {
    vertical-align: bottom;
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}

p {
    letter-spacing: 0.05em;
    line-height: 1.7;
    margin: 6px 0 10px;
}

ul {
    list-style-position: inside;
}

ol {
    list-style-position: inside;
}

nav {
    width: 100%;
    min-height: 3em;
    color: #fff;
    padding: 0 1em;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}

#nav.is-active {
    position: fixed;
    background-color: var(--main-color);
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.nav-wrapper {
    width: 100%;
    min-height: 3em;
    margin: 0 auto;
    padding: 1em 0;
    display: flex;
    /* メニューが少なくてもいい場合はdisplay: flex;のコメントアウトして下さい。 */
    justify-content: space-between;
    align-items: center;
    position: relative;
}

#nav-wrapper.is-active {
    display: block;
}

.nav-wrapper h1 {
    font-size: 1.6em;
    margin-left: 1em;
}

.nav-wrapper ul {
    display: flex;
    justify-content: flex-end;
}

.nav-wrapper li {
    max-width: 15em;
    list-style: none;
    margin: 0 1em;
}

.nav-wrapper span {
    line-height: 2
}

.nav-wrapper a {
    color: #fff;
    text-decoration: none;
}

.nav-wrapper a:hover {
    color: var(--accent-color);
}

#hamburger {
    display: none;
    position: absolute;
    position: fixed;
    top: 1em;
    right: 1.5em;
    width: 50px;
    height: 44px;
    cursor: pointer;
    transition: .6s ease;
    z-index: 999;
}

.inner_line {
    display: none;
    position: absolute;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #fff;
    transition: .6s ease;
    border-radius: 4px;
    z-index: 999;
}

#line1 {
    top: 0;
}

#line2 {
    top: 20px;
}

#line3 {
    bottom: 0px;
}

.line_1 {
    transform: translateY(20px) rotate(-45deg);
    top: 0;
}

.line_2 {
    opacity: 0;
}

.line_3 {
    transform: translateY(-20px) rotate(45deg);
    bottom: 0;
}

.in {
    transform: translateX(100%);
}

.hero-wrapper {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

/* swiper */

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    filter: brightness(60%);
}

.logo img {
    display: block;
    height: 60px;
}

/* /swiper */

.swiper-wrapper {
    position: relative;
}

.hero-container {
    color: #fff;
    position: absolute;
    width: 50%;
    top: 50%;
    left: 3em;
    z-index: 2;
    transform: translate(0, -50%);
}

.hero-container h1 {
    font-size: 3em;
}

.hero-container p {
    max-width: 100%;
}

button {
    display: inline-block;
    /* color: #fff;
    background-color: var(--accent-color);
    margin: 2em 0;
    padding: 1em 2em; */
    border: none;
    outline: none;
}

button:hover {
    opacity: .6;
}

.contents-wrapper {
    width: calc(100% - 6em);
    margin: 20vh auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1em;
    color: #444;
}

.contents-wrapper a {
    text-decoration: none;
    background-color: var(--main-color);
    color: #fff;
}

.contents-wrapper a:nth-last-child(1) {
    text-decoration: none;
    background-color: var(--accent-color);
    color: #fff;
}

.contents-wrapper a:hover {
    opacity: .6;
}

.box {
    padding: 1em;
}

.box h2 {
    margin-top: .6em;
}

.box img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* step n++.htmlの共通style */

.child {
    height: 70vh;
}

.hero-img-box {
    width: 100%;
    height: 70vh;
    position: relative;
}

.hero-img-text {
    position: absolute;
    top: 50%;
    left: 3em;
    transform: translate(0, -50%);
    z-index: 2;
}

.hero-img-text h1 {
    color: #fff;
    padding-left: 1em;
    padding-right: 2em;
    border-left: medium solid #fff;
}

.hero-img-text p {
    color: #fff;
    padding-left: 2em;
    padding-right: 2em;
}


.hero-wrapper img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    filter: brightness(60%);
}

article {
    width: calc(66.66% - 6em + 2em);
    background-color: #f8f8f8;
    margin: 10vh auto;
    padding: 3em;
}

article h2:nth-child(1) {
    color: var(--main-color);
    padding-left: 1em;
    border-left: medium solid var(--main-color);
}

article h2:nth-child(n+2) {
    color: var(--main-color);
    padding-left: 1em;
    margin-top: 3em;
    border-left: medium solid var(--main-color);
}

article p {
    color: #444;
    padding: 0 2em;
    margin: 1em 0;
}

article img {
    width: 100%;
    margin: 1em 0;
}

article ul {
    list-style: none;
    counter-reset: number 0;
    padding-left: 2em;
    margin: 1em 0;
}

article ul li::before {
    counter-increment: number 1;
    content: counter(number);
    padding-right: .5em;
}

/* あこーでぃおん */

.accbox {
    margin: 2em 0;
    padding-left: 2em;
    width: 100%;
}

/*ラベル*/
.accbox label {
    display: block;
    margin: 1.5px 0;
    padding: 1em;
    padding-left: 2em;
    color: #fff;
    font-weight: bold;
    background: var(--main-color);
    cursor: pointer;
    transition: all 0.5s;
}

/*ラベルホバー時*/
.accbox label:hover {
    opacity: .6;
}

/*チェックは隠す*/
.accbox input {
    display: none;
}

/*中身を非表示にしておく*/
.accbox .accshow {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}

/*クリックで中身表示*/
.cssacc:checked+.accshow {
    height: auto;
    padding: 5px;
    background: #eaeaea;
    opacity: 1;
}

article span.color {
    color: var(--accent-color);
}

article span.bold {
    font-weight: bold;
}

article span.large {
    font-size: 1.5em;
}

article p.border-enclose {
    padding: 1em 2em;
    border: medium solid var(--main-color);
}

.perusona-img {
    color: var(--main-sub-color);
    font-weight: bold;
    font-size: 1.125rem;
}

.perusona-img img {
    width: 100%;
}

.content-row {
    display: flex;
    align-items: flex-start;
    gap: 35px;
    margin-bottom: 40px;
}

.text-col {
    max-width: 600px;
    width: 75%;
    /* flex-shrink: 0; */
}

.image-col {
    flex: 1;
    min-width: 200px;
}

.image-col1 {
    text-align: center;
    flex-grow: 1;
    flex-shrink: 0;
}

.image-col img {
    width: 100%;
}

.image-col1 img {
    width: 65%;
    max-width: 110px;
}

.mono img {
    width: 30%;
}

.content-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
}

.text-col6 {
    /* width: 300px;      */
    /* flex-shrink: 0; */
    width: 67%;
}

.mono {
    flex: 1;
    width: 30%;
}

.mono img {
    /* width: 50%; */
    width: 100%;
}

.step5-quiz-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.step5-quiz-flex img {
    padding: 16px;
}

.step5-quiz-flex input:checked+*+img {
    background-color: #d1f2f3;
}


/*オリジナルのクラス*/



/* ==========================================
   全8クラスのセレクタスタイル
   ========================================== */

/* 1. 全体を包む外枠（SPベース・PCで最大幅制限） */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 16px;
    background-color: var(--base-color);
    color: var(--font-color);
    /* font-family: sans-serif; */
    line-height: 1.7;
}

/* 2. ページ最上部の大見出し（H1） */
.page-title {
    font-size: 24px;
    color: var(--main-color);
    border-bottom: 3px solid var(--main-sub-color);
    padding-bottom: 8px;
    margin-top: 0;
    margin-bottom: 16px;
}

/* 3. 導入文（リード文） */
.lead {
    font-size: 15px;
    margin-bottom: 40px;
    color: var(--main-color);
}

/* 4. 各トピックの大見出し（H2） */
.section-title {
    font-size: 18px;
    color: var(--main-color);
    border-left: 5px solid var(--main-color);
    padding-left: 10px;
    margin-top: 32px;
    margin-bottom: 16px;
}

/* 5. 細かい解説の中見出し（H3） */
.sub-title {
    font-size: 18px;
    color: var(--main-sub-color);
    margin-top: 24px;
    margin-bottom: 8px;
}

/* 6. 万能アクセントボックス */
.accent-box {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-left: 4px solid var(--accent-sub-color);
    padding: 16px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
}

.accent-box-step2 {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.accent-box-step2 img {
    order: 2;
    width: calc(50% - 8px);
}

/* 7. テーブルの横スクロール用ラッパー */
.scroll-table {
    overflow-x: auto;
    margin: 20px 0;
    -webkit-overflow-scrolling: touch;
}

/* 8. 次の章へのナビゲーション */
.next-nav {
    text-align: right;
    margin: 40px 0 20px auto;
    background-color: var(--accent-color);
    color: var(--base-color);
    font-weight: 700;
    width: fit-content;
    font-weight: 1.25rem;
    transition: all 0.2s;
    font-size: 18px;
}

.next-nav a {
    display: block;
    padding: 16px 24px;
}

.next-nav:hover {
    background-color: var(--accent-sub-color);
}


table {
    border-collapse: collapse;
}

table,
th,
td {
    border: 3px solid var(--base-color);
}

th,
td {
    background-color: #f8f8f8;
    padding: 8px 16px;
}

li:not(:last-child) {
    margin-bottom: 6px;
}

.margin-ul li {
    margin-bottom: 24px;
}

.margin-ul li img {
    margin-top: 4px;
    max-width: 250px;
}

section {
    margin-bottom: 70px;
}

blockquote {
    background-color: var(--note-bg-color);
    padding: 16px;
    width: fit-content;
    margin: 6px 0 10px;
}

dl div {
    display: flex;
    margin-bottom: 10px;
}

dl dt {
    width: 30%;
    flex-shrink: 0;
    font-weight: 500;
    background-color: #f5cea6;
    padding: 8px;
}

dl dd {
    background-color: #f8f8f8;
    width: 100%;
    padding: 8px;
}


.step-img {
    list-style: none;
    padding-inline-start: 0;
    display: flex;
    gap: 5px;
}

.step-img>li {
    width: calc(100% / 7);
    text-align: center;
    padding: 20px calc(100%/7*0.1 + 10px) 20px 10px;
    background-color: rgb(171, 215, 240);

    display: grid;
    place-content: center;
    clip-path: polygon(0% 0%, 80% 0%, 100% 50%, 80% 100%, 0% 100%);
    font-weight: 500;
    font-size: 1.125rem;
}

.final-box {
    text-align: center;
    background-color: #f8f8f8;
    padding: 24px 32px;
    border: 1px solid var(--accent-sub-color);
}

.final-quiz-link {
    background-color: var(--accent-color);
    font-size: 1.25rem;
    padding: 16px 24px;
    font-weight: 700;
    color: #f8f8f8;
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    transition: all 0.2s;
}

.final-quiz-link:hover {
    background-color: var(--accent-sub-color);
}

.step-quiz {
    margin-top: 80px;
    padding: 32px;
    /* background-color: var(--accent2-color); */
    border: 2px solid var(--accent2-color);
    background-color: rgb(243, 229, 211);
}

.step-quiz-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 25px;
}

.quiz-text {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.5;
}

.step-quiz input {
    background-color: var(--white);
    border: 1px solid var(--note-bg-color);
    padding: 2px 8px;
}

.step-quiz label {
    display: block;
    margin-bottom: 4px;
}

.step-quiz.step1 ul li {
    margin-bottom: 10px;
}

.check-answer-btn {
    background-color: var(--accent-sub-color);
    color: var(--base-color);
    padding: 16px 24px;
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 20px;
}

.result-area {
    width: 100%;
    text-align: center;
    padding: 24px 32px;
    background-color: var(--white);
}

.step-quiz .next-nav {
    margin-right: auto;
    margin-top: 30px;
}

.result-msg {
    font-size: 1.125rem;
    font-weight: 500;
}

/* ヘッダー */
main {
    padding-top: 120px !important;
}

#header {
    width: 100%;
    display: flex;
    /* background-color: white; */
    padding: 20px 16px;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
}


.hb-btn-open {
    width: 40px;
    height: 26px;
    position: relative;
}

.hb-btn-open span {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    background-color: var(--font-color);
    height: 2px;
    width: 100%;
    translate: 0 -50%;
}

.hb-btn-open::before,
.hb-btn-open::after {
    position: absolute;
    height: 2px;
    width: 100%;
    left: 0;
    background-color: var(--font-color);
    content: "";
}

.hb-btn-open::before {
    top: 0;
}

.hb-btn-open::after {
    bottom: 0;
}

body:has(dialog[open]) {
    /* 背景ページのスクロールを止める */
    overflow: hidden;
}

.hb-btn-close {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 20px;
    right: 16px;
    z-index: 900;
}

.hb-btn-close::before,
.hb-btn-close::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    background-color: var(--font-color);
    transform-origin: center;
    left: 0;
    top: 50%;
    translate: 0 -50%;
}

.hb-btn-close::before {
    rotate: 45deg;
}

.hb-btn-close::after {
    rotate: -45deg;
}

.hb-menu {
    top: 0;
    max-width: 100%;
    width: 600px;
    max-height: 100vh;
    height: 100vh;
    border: none;
    transition: all 0.2s;

    @starting-style {
        /* ひらき始めは少し上に置く */
        opacity: 0;
        translate: -24px 0;
    }
}

.hb-nav {
    color: var(--font-color);
    padding: 80px 0px;
}

.hb-nav ul {
    list-style: none;
}

.hb-nav li {
    margin-bottom: 0;
}

.hb-nav a {
    display: block;
    padding: 16px 16px;
    border-top: 1px dashed var(--main-sub-color);
    font-size: 1.125rem;
    transition: all 0.1s;
    font-weight: 700;
}

.hb-nav a:hover {
    color: var(--main-color);
}

.hb-nav li:last-child {
    border-bottom: 1px dashed var(--main-sub-color);
}

.flex {
    display: flex;
    gap: 3%;
    justify-content: space-between;
}

/* ヘッダーここまで */
footer {
    padding: 8px 16px;
}

.copy {
    text-align: center;
    font-size: 0.75rem;
    margin: 0;
}

/* ==========================================
   PC版（画面幅 768px 以上）の微調整
   ========================================== */
@media (min-width: 768px) {
    .container {
        padding: 40px 24px;
    }

    .page-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 22px;
    }
}

/* オリジナルのクラスここまで */

/* sp-design */

@media screen and (max-width:768px) {

    .nav-wrapper ul {
        display: none;
    }

    #nav-wrapper-ul.is-active {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .nav-wrapper li {
        font-size: 1.2em;
        margin: .6em 0;
    }

    .nav-wrapper h1 {
        font-size: 1.6em;
        margin-left: 0;
    }

    .hero-container {
        width: 90vw;
        left: 0;
        margin-left: 5vw;
    }

    .hero-container h1 {
        font-size: 2.5em;
    }

    .contents-wrapper {
        width: 90%;
        grid-template-columns: none;
    }

    #hamburger {
        display: block;
    }

    .inner_line {
        display: block;
    }

    /* step n++.htmlの共通style */

    .child {
        height: 100vh;
    }

    .hero-img-text {
        left: 1em;
    }

    .hero-img-text h1 {
        padding-left: .5em;
    }

    .hero-img-text p {
        padding-left: 1em;
    }

    .hero-img-box {
        height: 100vh;
    }

    .hero-img-box img {
        height: 100vh;
    }

    article {
        width: calc(100%);
        background-color: #f8f8f8;
        margin-top: 10vh;
        margin-left: 0;
        padding: 2em;
    }

    .sub-title {
        font-size: 17px;
    }


    /* オリジナルクラス */
    .step-img {
        flex-direction: column;
    }

    .step-img li {
        padding: 20px 10px 25px;
        width: 100%;
        clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 50% 100%, 0% 80%);
    }
}

@media screen and (max-width:768px) {

    #hamburger {
        display: block;
    }

}