/* * {
    outline: 1px solid red;
  } */

:root {
    --main-color: #74A9F1;
    --pink: #FF7777;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #E4F4FD;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #575757;
    letter-spacing: 0.04em;
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
}

/* タイトル */
.section_title {
    text-align: center;
    margin-bottom: 32px;
}

.title img {
    width: 28px;
}

.title_text {
    color: #FF7777;
    font-family: "Unbounded", sans-serif;
    font-style: normal;
    font-weight: normal;

}

.title_japanese {
    font-size: 32px;
    margin: auto;
    font-weight: bold;

}

@media (max-width: 760px) {
    .title img {
        width: 24px;
    }

    .title_japanese {
        font-size: 20px;

    }

    .section_title {
        text-align: center;
        margin-bottom: 16px;
    }
}


/* ---------- テーマ色 ---------- */
.theme--mika {
    --bubble-color: #FF7777;
}

.theme--saku {
    --bubble-color: #2F6CBA;
}

/* コメント */
.comment_box {
    display: grid;
    row-gap: 16px;
    margin-top: 48px;
}

.comment {
    display: grid;
    align-items: center;
    column-gap: 16px;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
}

/* スクロールで「ふわっ」と浮き上がる（JSがクラス付与） */
.comment.js-scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    -webkit-transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    -webkit-transition: opacity 0.6s ease, -webkit-transform 0.6s ease;
}

.comment.js-scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .comment.js-scroll-reveal {
        transition: none;
        transform: none;
        -webkit-transform: none;
        opacity: 1;
    }
}

/* 左：画像 | 吹き出し */
.comment--left {
    grid-template-columns: auto 1fr;
    justify-items: start;
}

/* 右：吹き出し | 画像 */
.comment--right {
    grid-template-columns: 1fr auto;
    justify-items: end;
}

/* 画像 */
.comment_image {
    width: fit-content;
}

.comment_image img {
    width: 90px;
    height: auto;
    display: block;
}

/* 吹き出し */
.bubble {
    position: relative;
    background: #fff;
    border: 2px solid var(--bubble-color);
    border-radius: 30px;
    padding: 16px;
    line-height: 1.6;
    max-width: 100%;
}

/* 吹き出しの三角 */
.bubble::before,
.bubble::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-style: solid;
}

/* 左向き三角 */
.bubble--left::before {
    left: -14px;
    border-width: 10px 14px 10px 0;
    border-color: transparent var(--bubble-color) transparent transparent;
}

.bubble--left::after {
    left: -11px;
    border-width: 8px 12px 8px 0;
    border-color: transparent #fff transparent transparent;
}

/* 右向き三角 */
.bubble--right::before {
    right: -14px;
    border-width: 10px 0 10px 14px;
    border-color: transparent transparent transparent var(--bubble-color);
}

.bubble--right::after {
    right: -11px;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent #fff;
}

@media (max-width: 760px) {
    .comment_image img {
        width: 64px;
    }

    .bubble {
        border-radius: 16px;
        padding: 16px;
    }
}


/* shape */
.work_shape {
    position: absolute;
    width: 350px;
    left: 0;
    top: -220px;
    mix-blend-mode: multiply;

}

.work_shape2 {
    position: absolute;
    width: 282px;
    right: 0;
    bottom: -220px;
    mix-blend-mode: multiply;

}

.road_shape {
    position: absolute;
    top: 1864px !important;
    right: 0;
    width: fit-content;
    mix-blend-mode: multiply;
}

.road_shape img {
    width: 250px;
}

.road_shape2 {
    position: absolute;
    left: 0;
    width: 230px;
    mix-blend-mode: multiply;
    top: 837px;
}

.onMovie_shapeL {
    position: absolute;
    width: 195px;
    top: 92px;
    left: 75px;
    mix-blend-mode: multiply;
}

.onMovie_shapeR {
    position: absolute;
    width: 236px;
    bottom: -92px;
    right: 0px;
    mix-blend-mode: multiply;
    z-index: 1;
}

.movie_shapeL {
    position: absolute;
    left: 0;
    width: 278px;
    top: -200px;
    mix-blend-mode: multiply;
}

.movie_shapeR {
    position: absolute;
    right: 0;
    width: 278px;
    bottom: -200px;
    mix-blend-mode: multiply;
    z-index: 2;
}

.QAshape {
    position: absolute;
    mix-blend-mode: multiply;
    width: 247px;
    bottom: 100px;
    left: 0;
    transform: scale(-1, 1);
}

@media (max-width: 1230px) {
    .onMovie_shapeL {
        display: none;
    }
}

@media (max-width: 1000px) {
    .work_shape {
        width: 300px;
    }

    .work_shape2 {
        width: 260px;
    }

    .work_shape {
        width: 300px;
    }

    .work_shape2 {
        width: 240px;
    }
}

@media (max-width: 750px) {
    .work_shape {
        width: 250px;
    }

    .onMovie_shapeR {
        width: 200px;
    }

    .road_shape img {
        width: 200px;
    }

    .road_shape2 {
        width: 180px;
    }

    .movie_shapeL {
        width: 230px;
    }

    .movie_shapeR {
        width: 220px;
    }

    .QAshape {
        width: 200px;
    }

}

@media (max-width: 600px) {
    .work_shape {
        width: 200px;
        top: -150px;
    }

    .work_shape2 {
        width: 200px;
        bottom: -150px;

    }

    .onMovie_shapeR {
        width: 160px;
    }

    .road_shape img {
        width: 200px;
    }

    .road_shape2 {
        width: 160px;
    }

    .movie_shapeL {
        width: 200px;
        top: -131px;
    }

    .movie_shapeR {
        width: 180px;
        bottom: -151px;
    }

    .QAshape {
        width: 200px;
    }

    .road_shape img {
        width: 180px;
    }

}


/* header */
header {
    background-color: #fff;
    border-radius: 0 0 50px 50px;
    max-width: 1280px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 160px);
    z-index: 9999;
    border: #EDEDED 1px solid;
}

/* ページ内リンクのスクロール位置調整 */
#section_work,
#charms,
#road,
#qa {
    scroll-margin-top: 100px;
}

.header_logo img {
    width: 219px;
    height: auto;
    display: block;
}

.header_container {
    display: flex;
    justify-content: space-between;
    padding: 26px 40px 18px;
    z-index: 9999;
    align-items: center;
}

.nav_area {
    display: flex;
    gap: 56px;
}

.nav_list {
    display: flex;
    gap: 56px;
    align-items: center;
}

.list_buttun {
    color: #50A1E0;
    font-weight: bold;

}

.nav_button {
    color: #fff;
    background-color: #FF7777;
    border-radius: 8px;
    text-align: center;
    gap: 6px;
    padding: 16px;
    margin: 0 auto;
    position: relative;
    display: block;
    pointer-events: none;
}

.nav_button a,
.nav_button_link {
    display: block;
    color: #fff;
    text-decoration: none;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    cursor: pointer;
    pointer-events: auto;
}

.spnav {
    margin-top: 24px;
    padding: 24px;
    font-size: 18px;
}

.menu_btn {
    background-color: #FF7777;
    width: 40px;
    height: 40px;
    border-radius: 100px;
    border: none;
    padding: 0;
    line-height: 1;
    gap: 3px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menu_btn span {
    border-radius: 9999px;
    width: 16px;
    height: 2px;
    background-color: #fff;
    display: block;
    margin: 0;
    transition: transform .25s ease, opacity .25s ease;
    position: relative;
}

.menu_toggle {
    display: none;
}

.sp_menu {
    display: none;
}

#menuToggle:checked~header .menu_btn span.bar_top {
    transform: translateY(5px) rotate(45deg) !important;
}

#menuToggle:checked~header .menu_btn span.bar_mid {
    opacity: 0 !important;
}

#menuToggle:checked~header .menu_btn span.bar_bottom {
    transform: translateY(-5px) rotate(-45deg) !important;
}

.list_box {
    padding: 24px 0px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: #AAE0FF 4px dotted;
}

.bottom_listBox {
    border-bottom: none;

}

.dli-caret-circle-fill-right.blue_arrow::before {
    border-left-color: #50A1E0;
}

.list_text {
    font-size: 20px;
    font-weight: bold;
    color: #50A1E0;
}

@media (max-width: 1320px) {
    .nav_list {
        display: flex;
        gap: 32px;
    }

    .nav_area {
        gap: 32px;
    }

}

@media (max-width: 1190px) {
    .pc_nav {
        display: none;
    }

    .menu_btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sp_menu {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #cfeeff;


        padding: 120px 80px 80px;

        z-index: 1;

        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
    }

    #menuToggle:checked~.sp_menu {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        z-index: 1000;
    }

    #menuToggle:checked~.sp_menu a {
        pointer-events: auto;
        cursor: pointer;
    }

    #menuToggle:checked~.sp_menu .nav_button {
        pointer-events: none;
    }

    #menuToggle:checked~.sp_menu .nav_button a,
    #menuToggle:checked~.sp_menu .nav_button_link {
        pointer-events: auto;
        cursor: pointer;
        position: relative;
        z-index: 10;
    }
}

@media (max-width: 950px) {
    header {
        width: calc(100% - 80px);
    }
}

@media (max-width: 760px) {
    .header_container {
        padding: 14px 40px 14px;
    }

    header {
        width: 100%;
    }
    .header_logo{
        width: 180px;
    }

    .dli-caret-circle-fill-right.blue_arrow {
        display: inline-block !important;
    }
}

@media (max-width: 500px) {
    .sp_menu {
        padding:80px 32px 80px;
    }

}
@media (max-width: 450px) {
    .header_logo{
        width: 150px;
    }}


/* header hover */
.list_buttun:hover,
.nav_button:hover {
    opacity: 0.55;

}


/* main_visual */
.mv {
    height: 760px;
    background-image: url(../img/mv-buildings.png), url(../img/mv-bg-left.png), url(../img/mv-bg-right.png), linear-gradient(180deg, #D9EFFC 0%, #F6FCFF 69%);
    background-size: 602px auto, contain, contain, 100% 100%;
    background-repeat: repeat-x, no-repeat, no-repeat, no-repeat;
    background-position: bottom, left top, right top, center;
    padding: 0px 40px;
}

.mv__inner {
    height: 760px;
    width: 70%;
    max-width: 1080px;
    margin: auto;
    display: grid;
    grid-template-columns: 622fr 457fr;
    padding-top: 45px;
    gap: 20px;
}

.mv__left {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.mv__owl {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 208px;


}
.sp_mvowl{
    display: none;
}

.mv__right {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    
}

.mv__slider-container {
    margin-right: -67px;
    position: relative;
}

.mv__slider {
    border: 35px solid var(--main-color);
    border-radius: 10000px;
}

.mv__slider-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    z-index: 100;
}


@media (max-width: 1300px) {
    .mv{
        height: 700px;
    }
    .mv__inner {

        height: 700px;

    }
    
}

@media (max-width: 1200px) {
    .mv__inner {
        width: 70%;
    }
    .mv__slider {
        border: 26px solid var(--main-color);}
    .mv__slider-badge{
        width: 60px;
    }
}

@media (max-width: 1060px) {
    .mv{
        height: 660px;
    }
    .mv__inner {
        width: 80%;
        height: 660px;
        padding-top: 35px;
    }
    
}

@media (max-width:900px) {


    .mv {
        height: 920px;
        position: relative;
    }
    .sp_mvowl{
        display: block;
        width: 180px;
        position: absolute;
        bottom: 0px;
        left: 50%;
        transform: translateX(-50%);
    }

    .mv__inner {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 40px;
        width: 70%;
        padding-top: 75px;
        max-width: 1080px;
        justify-content: flex-start;
        margin-top: 48px;
        max-width: 480px;
    }

    .mv__slider-container {
        width: 400px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }

    .mv__left {
        height: auto;
    }

    .mv__right {
        height: auto;
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }


    .mv {
        background-image:
            url(../img/mv-sp-top.webp),
            url(../img/mv-sp-under.webp),
            url(../img/mv-buildings.png),
            linear-gradient(180deg, #D9EFFC 0%, #F6FCFF 69%);

        background-size:
            contain,
            contain,
            602px auto,
            100% 100%;

        background-repeat:
            no-repeat,
            no-repeat,
            repeat-x,
            no-repeat;

        background-position:
            top center,
            bottom center,
            bottom,
            center;
    }

    .mv__owl {
        display: none;
    }
}
@media (max-width:780px) {
    .mv__slider-container {
        width: 42vh;}
}

@media (max-width: 600px) {
    .mv__inner {
        width: 100%;
    }

    .mv__slider-badge {
        width: 45px;
        top: 0px;
    }
    .mv {
        height: 790px;
    }


}

@media (max-width:550px) {
    .mv__inner {
        justify-content: flex-start;
        margin-top: 32px;
    }

}

@media (max-width:500px) {
    .mv {
        height: 860px;
    }

}

@media (max-width:430px) {
    .mv {
        height: 780px;
    }

    .mv__slider {
        border: 22px solid var(--main-color);
    }

}

@media (max-width:395px) {
    .mv {
        height: 740px;
    }

}
@media (max-width:375px) {
    .mv {
        height: 720px;
    }

}


/* buttun */
.buttun_container {
    padding: 8px 0;
    height: 81px;
}

.buttun {
    margin: auto;
    background-color: #FF7777;
    width: 523px;
    height: 77px;
    transition: transform 0.3s ease;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;

}

.under_buttun {
    width: 374px;
    margin-top: 8px;
}

.buttun:hover {
    transform: scale(1.05);
}

.under_buttun:hover {
    width: 392px;
}

.buttun:hover .buttun_text {
    font-size: 20px;
}

.buttun_text {
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: font-size 0.3s ease;
}


.dli-caret-circle-fill-right {
    display: inline-block;
    vertical-align: middle;
    color: #fff;
    line-height: 1;
    position: relative;
    width: 1.3em;
    height: 1.3em;
    border: 0.075em solid currentColor;
    background: currentColor;
    border-radius: 50%;
    box-sizing: content-box;
    margin-left: 16px;
}

.dli-caret-circle-fill-right::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent;
    border-width: 5px 0 5px 10px;
    border-left-color: #FF7777;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    border-radius: 1px;
}

@media (max-width: 760px) {
    .dli-caret-circle-fill-right {
        display: none;
    }

    .buttun {
        width: 400px;
    }

    .buttun_text {
        font-size: 16px;
    }

    .buttun:hover {
        transform: none;
    }
    .buttun:hover .buttun_text {
        font-size: 16px;
    }
    .under_buttun:hover {
        width: 400px;
    }
}

@media (max-width: 500px) {
    .buttun {
        width: 360px;
        height: 56px;
    }

    .buttun_text {
        font-size: 14px;
    }

    .buttun:hover .buttun_text {
        font-size: 14px;
    }

    .under_buttun:hover {
        width: 360px;
    }
}

@media (max-width: 390px) {
    .buttun {
        width: 100%;
        height: 56px;
    }

    .under_buttun:hover {
        width: 100%;
    }
}

/* about */
.section_about {
    background-color: #50A1E0;
    margin: auto;
    padding: 70px 80px 128px;

}

.section_about_container {
    max-width: 1085px;
    margin: 0 auto;
}

.about_comtent {
    display: grid;
    grid-template-columns: 493px 1fr;
    justify-content: space-between;
    gap: 73px;
    margin-top: 110px;

}

.about_comtent_item img {
    width: 493px;
}


.box_title {
    color: #fff;
    font-size: 27px;
    font-weight: bold;
}

.box_explain {
    color: #fff;
    margin-top: 32px;
}

@media (max-width: 1280px) {
    .about_comtent_item img {
        width: 400px;
    }

    .about_comtent {
        grid-template-columns: 400px 1fr;
    }

}

@media (max-width: 1140px) {
    .about_comtent {
        gap: 40px;
    }

    .about_comtent_item img {
        width: 360px;
    }

    .about_comtent {
        grid-template-columns: 360px 1fr;
    }

    .section_about {
        padding: 70px 40px 128px;
    }

}

@media (max-width: 990px) {
    .about_comtent {
        grid-template-columns: 1fr;
    }

    .about_comtent_item {
        text-align: center;
    }

    .about_comtent_item img {
        width: 60%;
    }
}

@media (max-width: 760px) {
    .section_about {
        padding: 48px 40px 72px 40px;
    }
    
    .about_comtent_item img {
        width: 70%;
    }

}
@media (max-width: 680px) {
    .about_comtent_item img {
        width: 85%;
    }

}
@media (max-width: 550px) {
    .about_comtent_item img {
        width: 90%;
    }

}


@media (max-width: 500px) {
    .section_about {
        padding: 48px 16px 72px 16px;
    }

    .about_comtent {
        margin-top: 48px;
    }
}


/* しごと */
.section_work {
    padding: 114px 180px;
    gap: 8px;
    position: relative;
}



.work_explain {
    max-width: 640px;
    margin: auto;
}

/* 1コラム */

.content_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.content_item {
    margin-top: 65px;
    width: min(340px, 100%);
}

.item_img {
    text-align: center;
}

.item_img img {
    width: 100%;
    max-width: 270px;
    height: auto;
    margin-bottom: -16px;
    z-index: 1;
    text-align: center;
}

.item_body {
    position: relative;
}

.item_title {
    background-color: #FF7777;
    color: #fff;
    font-size: 18px;
    width: fit-content;
    padding: 8px 32px;
    border-radius: 9999px;
    z-index: 5;
    position: absolute;
    top: -24px;
    left: 14px;

}

.item_explain {
    background-color: #AAE0FF;
    border-radius: 16px;
    padding: 32px 30px;
    position: relative;
    height: 142px;

}

@media (max-width: 1300px) {
    .section_work {
        padding: 114px 80px;
        gap: 16px;
    }
}

@media (max-width: 1140px) {
    .section_work {
        padding: 114px 40px;
    }

}

@media (max-width: 1000px) {
    .content_list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }



    .content_item {
        width: 100%;
        max-width: 350px;
    }

    .content_item:last-child {
        grid-column: 1 / -1;
        justify-self: center;

    }
}

@media (max-width: 850px) {
    .content_list {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .item_explain {
        height: 104px;
    }

    .content_item {
        width: 100%;
        max-width: 500px;
    }

    .content_item:last-child {
        grid-column: auto;

    }
}

@media (max-width: 760px) {
    .section_work {
        padding: 72px 40px;
    }

    .content_item {
        margin-top: 32px;
    }

    .item_title {
        font-size: 16px;
    }

    .item_explain {
        height: 92px;
        padding: 24px;
    }

    .content_list {
        margin-bottom: 48px;
    }
}

@media (max-width: 560px) {
    .item_img img {
        max-width: 200px;
    }
}

@media (max-width: 500px) {
    .section_work {
        padding: 72px 16px;
    }
}


/* その他の業務 */
.work_mini {
    margin-top: 98px;
}

.work_mini_title {
    padding: 8px 48px;
    border-radius: 16px;
    background-color: #AAE0FF;
    width: fit-content;
    font-weight: bold;
    font-size: 18px;
}

.work_mini_contena {
    margin-top: 16px;
    padding: 24px 24px;
    background-image: repeating-linear-gradient(to bottom,
            transparent 0,
            transparent 8px,
            #AAE0F7 8px,
            #AAE0F7 16px);
    background-size: 2px 100%;
    background-position: center center;
    background-repeat: no-repeat;
}

.contena_box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}


.secound_contena {
    margin-top: 32px;
    background-image: repeating-linear-gradient(to right,
            transparent 0,
            transparent 8px,
            #AAE0FF 8px,
            #AAE0F7 16px);
    background-size: 100% 2px;
    background-position: top center;
    background-repeat: no-repeat;
    padding-top: 32px;
}

.box_item_name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 16px;
}

@media (max-width: 760px) {
    .contena_box {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .work_mini {
        margin-top: 56px;
    }

    .work_mini_contena {
        background-image: none;
        padding: 0px 8px;
    }

    .contena_box_item {

        margin-top: 16px;
    }

    .work_mini_title {
        padding: 8px 16px;
        border-radius: 8px;
    }

    .contena_box_item:not(:first-child) {
        background-image: repeating-linear-gradient(to right,
                transparent 0,
                transparent 8px,
                #AAE0FF 8px,
                #AAE0FF 16px);
        background-size: 100% 2px;
        background-position: top center;
        background-repeat: no-repeat;
    }

    .secound_contena .contena_box_item:first-child {
        background-image: repeating-linear-gradient(to right,
                transparent 0,
                transparent 8px,
                #AAE0FF 8px,
                #AAE0FF 16px);
        background-size: 100% 2px;
        background-position: top center;
        background-repeat: no-repeat;
        padding-top: 16px;
        margin-top: 16px;
    }

    .margin_name {
        padding-top: 16px;
    }

    .secound_contena {
        background-image: none;
        padding-top: 0;
        margin-top: 0;
    }

    .sp_contena {
        padding-top: 16px;
    }


    .secound_contena.sp_contena .contena_box_item:first-child {
        margin-top: 0;
        padding-top: 0;
    }
}


/* みりょく */
.charms {
    background-color: #50A1E0;
    padding: 114px 200px;
}

.title_charms {
    margin-bottom: 56px;
}

.charms_title_alf {
    font-family: "Luckiest Guy", cursive;
    line-height: 110%;
    color: #FF7777;
    width: fit-content;
}

.charms_title_num {
    font-family: "Bungee", system-ui, sans-serif;
    font-size: 40px;
    letter-spacing: 0.05em;
    font-weight: 400;
    font-style: normal;
    color: #FF7777;
    font-weight: bold;
    line-height: 100%;
    width: fit-content;
    text-align: center;
}

.charms_explain {
    margin-top: 24px;
}

.charms_text {
    font-size: 24px;
    letter-spacing: 0.04em;
    color: #50A1E0;
    font-weight: bold;

}

.charms_box {
    display: grid;
    grid-template-columns: 1fr 300px;
    padding: 32px 64px;
    background: white;
    border-radius: 30px;
    gap: 64px;
    border: solid #FF7777 4px;
}

.other_charm {
    margin-top: 32px;
}

.charms_title {
    display: flex;
    align-items: center;
    gap: 13px;
}

.charms_title_appeal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.charms_imgBOx {
    position: relative;
}

.charms_icon {
    width: 55px;
    position: absolute;
    bottom: -5px;
    right: -28px;
}

.icon_do {
    width: 77px;
}

.charms_img img {
    border-radius: 8px;
    box-shadow: 4px 4px rgba(173, 174, 174, 0.25);
}


@media (max-width: 1300px) {
    .charms {
        padding: 114px 150px;
    }

}

@media (max-width: 1150px) {
    .charms {
        padding: 114px 80px;
    }

}

@media (max-width: 1000px) {
    .charms_box {
        gap: 32px;
        padding: 32px 48px;
        grid-template-columns: 1fr 270px;
    }

}

@media (max-width: 890px) {
    .charms_box {
        grid-template-columns: 1fr;
    }

    .charms_imgBOx {
        width: 70%;
        margin: auto;
    }
}

@media (max-width: 760px) {
    .charms {
        padding: 72px 40px;

    }

    .charms_title_num {
        font-size: 32px;
    }

    .charms_text {
        font-size: 18px;
    }

    .charms_box {
        padding: 24px 32px;


    }

    .charms_imgBOx {
        width: 90%;
    }

    .title_charms {
        margin-bottom: 32px;
    }
}

@media (max-width: 500px) {
    .charms_icon {
        width: 41px;
        right: -19px;
    }

    .icon_do {
        width: 56px;
    }
}

@media (max-width: 450px) {
    .charms {
        padding: 40px 16px;
    }

}

/* 税理士の道 */

.road {
    --road-bg: #CFE8FF;
    padding: 114px 80px;
    position: relative;
}

.steps_number_text {
    font-family: "Bungee", system-ui, sans-serif;
    letter-spacing: 0.1em;
}


.step_box {
    margin: auto;
    background-color: #fff;
    max-width: 1000px;
    border-radius: 30px;
    position: relative;
    margin-top: 56px;
    overflow: visible;
}

.step_box1 {
    margin-top: 108px;
}

.step_box2 {
    margin-top: 64px;
    position: relative;
}

.step_box2_inner {
    position: relative;

}

.amlets {
    position: absolute;
    bottom: 32px;
    right: 32px;
}

.party_r {
    position: absolute;
    width: 114px;
    bottom: -36px;
    right: -40px;
}

.party_l {
    position: absolute;
    width: 114px;
    bottom: -36px;
    left: -40px;
}

.step_box3 {
    margin-top: 97px;
}

.steps_number {
    position: absolute;
    top: -44px;
    left: 50%;
    transform: translateX(-50%);

    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #50A1E0;

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

    z-index: 3;
}

/* 数字だけ下げる */
.steps_number_text {
    display: inline-block;
    transform: translateY(-11px);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

.step_box_title {
    background-color: #50A1E0;
    text-align: center;
    color: #fff;
    font-size: 24px;
    height: 80px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 22;
    border-radius: 30px 30px 0px 0px;

    position: relative;
    border: none;
    padding: 0;
}

.step_box_content_inner {
    padding: 16px 40px 32px 40px;
    border: solid #50A1E0 4px;
    border-top: none;
    border-radius: 0px 0px 30px 30px;
}

.requirement_box_margin {
    margin-top: 8px;
}

.requirement_box {
    display: grid;
    grid-template-columns: 182px 1fr;
    gap: 16px;
}

.step_box_requirement {
    margin-top: 24px;
    position: relative;
}

.books {
    position: absolute;
    width: 183px;
    bottom: 18px;
    right: 11px;
}

.requirement_subtitle {
    text-align: center;
    background-color: #CBE8FF;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px;
}

/* 左カラム */
.requirement_subtitle {
    grid-column: 1;
}

/* 右カラムに来る要素を全部まとめる */
.requirement_list,
.requirement_text {
    grid-column: 2;
}



/* ピンクの丸 */
:root {
    --pink-dot-size: 14px;
    --pink-dot-color: #FF7777;
}

/* リスト全体 */
.requirement_list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 586px;
}


.requirement_item {
    position: relative;
    display: block;
    line-height: 1.6;
    padding-left: calc(var(--pink-dot-size) + 8px);
}

.requirement_item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25em;
    width: var(--pink-dot-size);
    height: var(--pink-dot-size);
    background-color: var(--pink-dot-color);
    border-radius: 50%;
}

/* ドット無し行 */
.requirement_item.no-dot {
    padding-left: 0;
}

.requirement_item.no-dot::before {
    display: none;
}

/* 税法リスト */
.requirement_item.requirement_item_padding {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0 12px;
    padding-left: 0;
}

.requirement_item.requirement_item_padding::before {
    display: none;
}


.requirement_item.requirement_item_padding.requirement_item_char_wrap {
    display: block;
    padding-left: calc(var(--pink-dot-size) + 8px);
    word-break: break-all;
    overflow-wrap: break-word;
    line-height: 1.6;
}

.requirement_item.requirement_item_padding.requirement_item_char_wrap::before {
    display: block;
}


.requirement_item_char_wrap .dot-pink {
    display: inline-block;
    width: var(--pink-dot-size);
    height: var(--pink-dot-size);
    margin: 0 4px;
    vertical-align: middle;
    word-break: normal;
    overflow-wrap: normal;
}

.requirement_item_char_wrap .requirement_text_after_dot {
    display: inline;
    word-break: break-all;
    overflow-wrap: break-word;
}

.requirement_item_text {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    text-indent: 0;
    line-height: 1.6;
}

.requirement_item_text .dot-pink {
    display: inline-block;
    width: var(--pink-dot-size);
    height: var(--pink-dot-size);
    background-color: var(--pink-dot-color);
    border-radius: 50%;
    margin: 0 4px 0 0;

    vertical-align: middle;
    flex: 0 0 auto;
}

/* 注釈 */
.kaigyo {
    display: block;
    padding-left: 1em;
    text-indent: -1em;
}

/* その他 */
.tyusyaku {
    margin-top: 24px;
}

.last_inner {
    padding: 31px 40px 32px 40px;
}

.step_comment_r {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    margin: 48px auto 0;
}


/* 文章途中のドット */
.dot-pink {
    display: inline-block;
    width: var(--pink-dot-size);
    height: var(--pink-dot-size);
    background-color: var(--pink-dot-color);
    border-radius: 50%;
    margin: 0 1px;
    vertical-align: middle;
}

/* コラム */
.colum {
    background-color: #FFFCDD;
    padding: 48px 28px 16px;
    border-radius: 12px;
    display: flow-root;
    margin-top: 116px;
    position: relative;

}

.news {
    position: absolute;
    width: 74px;
    top: -37px;
    left: 55px;
}

.column_title {
    width: 522px;
    position: absolute;
    left: 50%;
    top: -31px;
    transform: translateX(-50%);
}

.column_title_sp {
    display: none;
    width: auto;
    position: absolute;
    left: 50%;
    top: -70px;
    transform: translateX(-50%);
}

.column_title_sp img {
    width: 380px;
    max-width: none;
    height: auto;
    display: block;
}

.under_column {
    margin-top: 32px;
}

.session_title {
    display: flex;
    align-items: center;

    gap: 24px;
}

.session_tab {
    background-color: #FFCBCB;
    padding: 8px;

    border-radius: 8px;
    font-weight: bold;
}

.undot {
    padding-bottom: .4em;
    background-image: radial-gradient(circle at center 4px,
            var(--pink),
            var(--pink) 3px,
            transparent 3px,
            transparent 100%);
    background-position: center bottom;
    background-repeat: repeat-x;
    background-size: 1.05em 8px;
}

.tab_area {
    font-weight: bold;
}

.session_group {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 16px;
}

.session_triangle {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 14px solid #505050;
    flex-shrink: 0;
}

.session_greoup_right {
    padding: 16px;
    background-color: #FFCBCB;
    max-width: 414px;
    width: 100%;
    min-height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.session_greoup_left {
    padding: 16px;
    background-color: #fff;
    border: 2px #FFA6A7 solid;
    min-height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 414px;
    width: 100%;
    border-radius: 8px;
}

.blue_line {
    border: 2px #CBE8FF solid;
}

.blue_corner {
    background-color: #CBE8FF;
}

.requirement_tax_list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 12px;
    padding-left: 0;
}

.requirement_tax_list::before,
.requirement_tax_list>.requirement_item::before {
    display: none;
}

.requirement_tax_list .requirement_item_text {
    position: relative;
    padding-left: calc(var(--pink-dot-size) + 6px);
    line-height: 1.6;
    white-space: nowrap;
}

.requirement_tax_list .requirement_item_text::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: var(--pink-dot-size);
    height: var(--pink-dot-size);
    background-color: var(--pink-dot-color);
    border-radius: 50%;
}

.requirement_tax_list .requirement_item_text.no-tax-dot {
    padding-left: 0;
}

.requirement_tax_list .requirement_item_text.no-tax-dot::before {
    display: none;
}


@media (max-width: 1140px) {

    .party_r,
    .party_l {
        width: 100px;
        bottom: -24px;
    }

    .party_l {
        left: -25px;
    }

    .party_r {
        right: -25px;
    }
}

@media (max-width: 1110px) {
    .road {
        padding: 114px 40px;
    }
}

@media (max-width: 1040px) {

    .books,
    .amlets {
        display: none;
    }

    .party_r,
    .party_l {
        width: 85px;
    }
}

@media (max-width: 960px) {
    .news {
        left: 32px;
    }
}

@media (max-width: 900px) {
    .news {
        left: 16px;
    }
}

@media (max-width: 760px) {
    .session_title {
        gap: 8px;
    }

    .road {
        padding: 48px 40px;
    }
    .step_box1 {
        margin-top: 61px;
    }
    .step_box3 {
        margin-top: 64px;
    }
    
}

@media (max-width: 600px) {

    .step_box_content_inner {
        padding: 16px 24px 24px 24px;
    }

    .colum {
        padding: 48px 16px 16px;
    }

    .party_r,
    .party_l {
        width: 64px;
        bottom: -40px;
    }

    .party_r {
        right: -14px;
    }
    .party_l{
        left: -14px;
    }
}

@media (max-width: 530px) {

    .column_title_sp,
    .column_title_sp img {
        width: 310px;
    }

    .column_title_sp,
    .column_title_sp img {
        top: -60px;
    }

    .step_box_content_inner {
        padding: 16px 16px 24px 16px;
    }

    .road {
        padding: 48px 16px;
    }

    .colum {
        margin-top: 81px;
    }
}

@media (max-width: 500px) {


    .session_title {
        display: block;
    }

    .tab_area {
        margin-top: 8px;
    }

}

@media (max-width: 865px) {
    .session_group {
        flex-direction: column;
        gap: 8px;
    }

    .session_triangle {
        border-top: 14px solid #505050;
        border-bottom: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        width: 0;
        height: 0;
    }

    .session_greoup_left,
    .session_greoup_right {
        max-width: 100%;
        width: 100%;
        min-height: auto;
    }

    .news {
        display: none;
    }

    .column_title {
        display: none;
    }

    .column_title_sp {
        display: block;
    }
}

@media (max-width: 800px) {
    .requirement_box {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 4px;
    }

    .requirement_box .requirement_subtitle {
        grid-column: 1 !important;
    }

    .requirement_box .requirement_list,
    .requirement_box .requirement_text {
        grid-column: 1 !important;
    }

    .road_br {
        display: none;
    }

    .tyusyaku {
        margin-top: 16px;
    }
}

@media (max-width: 760px) {
    .step_box_title {
        font-size: 18px;
        height: 50px;
    }

    .steps_number {
        top: -31px;
        width: 64px;
        height: 64px;

    }

    .steps_number_text {
        font-size: 14px;
    }

}




.movie {
    background-color: #fff;
    padding: 96px 40px;
    position: relative;
}

.onMovie {
    position: relative;
}

.movie_title {
    width: 453px;
}

.movie_title2 {
    width: 580px;
    height: auto;
    margin: auto;
    position: relative;
    z-index: 3;
}

.movie_titleArea {

    position: relative;

    width: fit-content;
    margin: auto;
}

.movie__movie {
    max-width: 960px;
    margin: auto;
    margin-top: 32px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.owl_area {
    width: 128px;
    position: absolute;
    bottom: -40px;
    right: -130px;
}

.owl_area2 {
    width: 115px;
}

.movie__movie-inner {
    padding: 2.4% 7.3%;
    background-color: #707070;
    background-image: url(../img/movie-bg.png), url(../img/movie-bg.png);
    background-size: 7.3% auto;
    background-repeat: no-repeat;
    background-position: left center, right center;
}

.movie__movie-inner iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

@media (max-width: 890px) {
    .movie_title {
        width: 360px;
    }

    .movie_title2 {
        width: 450px;
    }

    .owl_area {
        width: 110px;
    }
}

@media (max-width: 760px) {
    .movie_title {
        width: 310px;
    }

    .movie_title2 {
        width: 400px;
    }

    .owl_area {
        display: none;
    }
}

@media (max-width: 500px) {
    .movie_title {
        width: 268px;
    }

    .movie_title2 {
        width: 326px;
    }
}

@media (max-width: 450px) {
    .movie {
        padding: 48px 16px 56px;
    }
}

/* Q&A */

.section_qa {
    position: relative;
}

.title_qa img {
    width: 48px;

}

.section_qa {
    padding: 114px 80px 128px;
}

.section_qa {
    background-color: #50A1E0;
}

.QA_name {
    color: #fff;
}

.QA_japanese {
    color: #fff;
}

.QA_explain {
    color: #fff;
    text-align: center;
}

.QA_container {
    margin-top: 56px;
    position: relative;
    z-index: 3;
}

dd {
    margin: 0px;
}

.accordion {
    width: 75%;
    margin: 0 auto;
}

.accordion__button {
    border-radius: 8px;
    position: relative;
    display: block;
    width: 100%;
    padding: 18px 30px;
    background-color: #E4F4FD;
    border: 2px solid #E4F4FD;
    text-align: left;
    cursor: pointer;
    transition: .25s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.accordion__button::before,
.accordion__button::after {
    content: '';
    position: absolute;
    top: 50%;
    display: block;
    background-color: #2F6CBA;
    transform: translateY(-50%);
}

.accordion__button::before {
    right: 15px;
    width: 20px;
    height: 2px;
}

.accordion__button::after {
    right: 24px;
    width: 2px;
    height: 20px;
    transform-origin: center;
    transform: translateY(-50%);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.accordion__title.is-active .accordion__button::after {
    transform: translateY(-50%) rotate(90deg);
}

.accordion__title.is-active .accordion__button {
    border-radius: 8px 8px 0 0;
}

.accordion__body {
    height: 0;
    overflow: hidden;
    transition: height 0.45s cubic-bezier(.2, .8, .2, 1);
    padding: 0;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
}

.accordion__text {
    margin: 0;
    margin-right: 16px;

}

.accordion__q {
    background-color: #5BACF8;
    font-family: "Manrope", sans-serif;
    font-size: 1.6rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: flex-start;

}

.accordion__answer {
    display: grid;
    grid-template-columns: 71px 1fr;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
}

.accordion_secound {
    margin-top: 16px;
}

.under_buttun_corner {
    margin-top: 64px;
    text-align: center;
}

.under_buttun_corner_text {
    color: #fff;
    font-weight: bold;
    margin-bottom: 8px;
}

@media (max-width: 1200px) {
    .accordion {
        width: 90%;
    }
}

@media (max-width: 1140px) {
    .section_qa {
        padding: 48px 40px 128px;
    }
}

@media (max-width: 760px) {
    .accordion {
        width: 100%;
    }

    .accordion__button {
        padding: 18px;
    }

    .accordion__q {
        font-size: 18px;
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        max-width: 32px;
        max-height: 32px;
    }

    .section_qa {
        padding: 48px 16px 128px;
    }

    .accordion__answer {
        padding: 16px;

    }

}

@media (max-width: 760px) {
    .accordion__answer {
        display: grid;
        grid-template-columns: 56px 1fr;
    }
}


/* footer */
footer {
    background-color: #fff;
    padding: 40px 80px 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer_left img {
    width: 247px;
}

.footerbuttun {
    margin-top: 24px;
    border-radius: 9999px;
    font-size: 18px;
    color: #fff;
    font-weight: bold;
    background-color: #FF7777;
    width: 251px;
    height: 61px;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
    line-height: 1;
}

.footerbuttun a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    padding: 0 32px;
}

.footerbuttun:hover {
    opacity: 0.55;

}

.footer_circle {
    position: absolute;
    right: 22px;
    top: 19px;

}

.adress {
    font-size: 20px;

}

.footer_br {
    display: none;
}

.copyright {
    margin-top: 24px;
    font-size: 14px;
    text-align: right;
}

@media (max-width: 1050px) {
    footer {
        padding: 40px 30px 56px;
    }
}

@media (max-width: 900px) {
    footer {
        display: block;
    }

    .footer_logo {
        text-align: center;
    }

    .footer_left {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 16px;
    }

    .footer_right {
        text-align: center;
        margin: 27px 0px;

    }

    .copyright {
        text-align: center;
    }
}

@media (max-width: 760px) {
    .footerbuttun {
        width: fit-content;
        font-size: 14px;
        margin: auto;
        line-height: 1;
        padding: 0;
        width: 400px;
        height: 64px;
        text-align: center;
        margin-top: 24px;
    }

    .footerbuttun a {
        display: flex;
        align-items: center;
        line-height: 1;
        padding: 0 24px;
        justify-content: center;
    }

    .adress {
        font-size: 14px;
    }

    .footer_left {
        display: block;

    }

    .copyright {
        font-size: 10px;
    }

    .footerbuttun:hover {
        opacity: 1;
    }
}

@media (max-width: 500px) {
    footer {
        padding: 40px 16px 35px;
    }

    .footer_br {
        display: block;
    }

    .slash {
        display: none;
    }

    .footer_br {
        display: block;
    }

    .footerbuttun {
        width: 360px;
        height: 56px;
    }
}

@media (max-width: 390px) {
    .footerbuttun {
        width: 100%;
        height: 56px;
    }
}