@charset "utf-8";

/* ==============================

    サイト設定 適宜変更箇所

============================== */

:root {
    /* ベースカラー設定 */
    --base-color: #393f30;
    --main-color1: #64ae51;
    --main-color2: #f1768b;
    --main-color3: #c4d665;
    --border-color: #ccc;

    /* フォント・サイズ */
    --base-font-size: 18px;
    --heading-size-l: 30px;
    --heading-size-m: 24px;

    --base-line-height: 2;
    --heading-line-height: 1.5;

    /* 余白 */
    --section-padding: 4.4rem 0;
    --section-padding-m: 6.6rem 0;
    --section-padding-l: 7.7rem 0;

    /* インナー幅 */
    --section-inner: 1200px;
}

.jost {
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}

p.en {
    font-family: "Jost", sans-serif;
    line-height: 1.6;
}

body,
html {
    font-size: var(--base-font-size);
}

body {
    color: var(--base-color);
    font-family: "游ゴシック", "Yu Gothic", "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: bold;
}

html {
    scroll-behavior: smooth;
}

a,
a img {
    color: var(--base-color);
    text-decoration: none;
    transition: all 0.2s ease 0s;
}

h2 {
    font-size: var(--heading-size-l);
}

h2::before {
    font-size: var(--base-font-size);
}

h2[data-name]::before {
    line-height: 0.6;
    font-size: 14px;
    font-weight: bold;
}

h3 {
    font-size: var(--heading-size-m)
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: var(--heading-line-height);
}

p {
    line-height: var(--base-line-height);
}

.wp-block-button[data-name]::before {
    font-size: 14px;
    font-weight: bold;
}


/*ハンバーガーメニュー PCでは不要な場合*/
.nav-wrapper {
    display: none;
}

/* ==============================

    サイト設定

============================== */


header.scroll-nav ul#menu-nav {
    margin: -20px 0 0 auto;
    font-size: 16px;
}

header.scroll-nav {
    background-color: #fff;
    padding-bottom: 0.22rem;
}

header {
    position: fixed;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 9990;
    top: 0;
    padding: 0 2.2rem;
    transition: .6s;
}

ul#menu-nav {
    transition: .6s;
}

.inner {
    margin: 0 auto;
    max-width: calc(1200px + 40px * 2);
    padding-left: 2.2rem !important;
    padding-right: 2.2rem !important;
}

/*画像ホバー時*/

.img-hover {
    transition: .6s;
}

.img-hover:hover {
    opacity: .6;
}

.pc {
    display: block;
}

.sp {
    display: none;
}


/* ==============================
    
    特定商取引に基づく表記・テーブル
    
 ============================== */

.wp-block-group.tokusho-wrap {
    padding: var(--section-padding);
}

figure.wp-block-table td,
figure.wp-block-table th {
    border: none;
    padding: 0.99rem 0.935rem;
}

figure.wp-block-table {
    border: 1px solid var(--border-color);
    line-height: var(--base-line-height);
}

.wp-block-table td:first-of-type {
    width: 50%;
    background-color: #ccc;
    border-bottom: 1px solid #fff;
}

.wp-block-table tr td {
    border-bottom: 1px solid var(--border-color);
}

.wp-block-table tr:last-of-type td {
    border-bottom: none;
}

/* ==============================
    
    個人情報保護方針
    
 ============================== */

.wp-block-group.policy-wrap {
    padding: var(--section-padding);
    font-size: 16px;
    line-height: var(--base-line-height);
}

.wp-block-group.policy-wrap p {
    margin-bottom: 1.925rem;
}

.wp-block-group.policy-wrap li {
    margin-bottom: 1.43rem;
}

ul {
    line-height: var(--base-line-height);
    font-size: var(--base-font-size);
}


/* ==============================

  ↓ PC版テーマ専用CSSは下記から記述 ↓

 ============================== */
.header__logo-btn figure {
    max-width: 315px;
}

.header__logo-btn {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header__btn {
    display: flex;
    gap: 10px;
}

a.app-btn {
    display: block;
    width: 220px;
    background-color: var(--main-color1);
    padding: 0.66rem 0 0.495rem 3.3rem;
    border-radius: 10px;
    color: #fff;
    line-height: 1;
    height: 57px;
    position: relative;
    overflow: hidden;
}

.inner.contact-wrap a.app-btn {
    width: 377px;
    margin: 0 auto;
    padding: 1.5rem 0 1.5rem 1rem;
    height: 93px;
    font-size: 28px;
    text-align: center;
}

.inner.contact-wrap a.app-btn span.app-small {
    font-size: 18px;
}

.inner.contact-wrap a.app-btn:before {
    width: 36px;
    height: 36px;
    left: 42px;
}


header a.app-btn {
    width: 188px;
    padding: 0.55rem 0 0.275rem 2.2rem;
    border-radius: 0 0 10px 10px;
    height: 54px;
}

header a.tel-btn.app-btn {
    padding-left: 1.2rem;
}

header a.app-btn:before {
    left: 10px;
}

a.app-btn:before {
    content: '';
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/tel.png);
    background-size: contain;
    display: inline-block;
    width: 21px;
    height: 21px;
    position: absolute;
    left: 26px;
    bottom: 0;
    top: 0;
    margin: auto;
    z-index: 10;
}

a.contact-btn.app-btn:before {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/mail.png);
}

.contact-btn {
    position: relative;
    max-width: 325px;
}

a.tel-btn.app-btn {
    line-height: 0.8;
    padding-top: 0.88rem;
}

.footerbox__contactbtn {
    display: flex;
    gap: 5px;
}

header a.tel-btn.app-btn {
    padding-top: 0.81rem;
    text-align: center;
}

a.contact-btn.app-btn {
    background-color: var(--main-color2);
}

a.app-btn:hover:after {
    width: 300px !important;
    height: 300px !important;
    top: -85px !important;
    right: -63px;
}

.footer-contact__formbox a.app-btn:hover:after {
    width: 450px !important;
    height: 450px !important;
    top: -174px !important;
    z-index: 0;
}

a.app-btn:after {
    content: '';
    width: 71px;
    height: 71px;
    background: #8ec475;
    display: block;
    border-radius: 50%;
    top: 11px;
    position: absolute;
    right: -9px;
    z-index: 0;
    transition: .6s;
}

a.app-btn span {
    z-index: 10;
    position: relative;
}

a.app-btn span.app-small {
    font-size: 11px;
}

header a.app-btn span.app-small {
    font-size: 10px;
}

a.contact-btn.app-btn:after {
    background: #f08c9d;
}

.header__logo-btn figure {
    max-width: 330px;
    margin: 0.55rem 0 0rem;
}

ul#menu-nav {
    display: flex;
    justify-content: flex-end;
    font-size: 18px;
}

ul#menu-nav li:after {
    content: '';
    position: absolute;
    right: 0;
    background: var(--main-color3);
    height: 20px;
    width: 1px;
    display: block;
    top: 7px;
}

header.scroll-nav ul#menu-nav li:after {
    height: 17px;
    top: 7px;
}


ul#menu-nav li:last-of-type:after {
    display: none;
}

ul#menu-nav li {
    padding: 0 0.55rem;
    position: relative;
}

ul#menu-nav li a:hover {
    color: var(--main-color3);
}

ul#menu-nav li a {
    transition: .6s;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}


.mv__inner {
    height: 100vh;
    display: flex;
    justify-content: space-between;
    padding: 0 2.2rem;
    max-width: 1650px;
    align-items: center;
    margin: auto;
    width: 90%;
}

.mv {
    width: 100%;
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/map.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 27%;
}

.mv__image {
    width: 73%;
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/v.png);
    height: 70vh;
    background-size: cover;
    border-radius: 20px;
    margin-top: 7vh;
    position: relative;
}

.mv__maincopybox {
    padding-right: 6%;
}

.mv__maincopy h3 span {
    color: var(--main-color2);
}

.mv__maincopy h3 {
    display: flex;
    gap: 7px;
    margin-right: 10px;
    flex-direction: row-reverse;
}

/*.mv__maincopy h1 {
    font-size: 45px;
    writing-mode: vertical-rl;
    color: var(--main-color1);
    background: #fff;
    padding: 0.55rem 0.055rem;
}*/

.mv__maincopy h3 span.mv__name {
    display: block;
    font-size: 45px;
    writing-mode: vertical-rl;
    color: var(--main-color1);
    background: #fff;
    padding: 0.55rem 0.055rem;
    height: fit-content;
}

.mv__maincopy h2 {
    color: #5f4d33;
    font-size: 30px;
    writing-mode: vertical-rl;
}

.mv__maincopy {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 10px;
}

.mv__maincopy2 p:last-of-type {
    margin-top: 0.55rem;
    margin-left: 6.6rem;
}

.mv__maincopy2 p span {
    color: var(--main-color2);
}

.mv__maincopy2 p {
    font-size: 26px;
    background: #fff;
    line-height: 1;
    padding: 0.66rem 0.66rem 0.44rem;
    display: block;
    max-width: fit-content;
}

.mv__maincopy2 {
    position: absolute;
    bottom: 57px;
    left: -50px;
}

.wrap {
    overflow: hidden;
}

.mv-circle {
    width: 660px;
    height: 660px;
    position: absolute;
    top: -213px;
    right: -57px;
    background-color: #fffcee;
    border-radius: 50%;
    z-index: -1;
}

.mv__maincopybox .en {
    font-size: 14px;
    line-height: 1.3;
    color: var(--main-color1);
    max-width: fit-content;
    margin: 1.65rem auto 0;
}

.bk,
.bk2 {
    position: relative;
}

.bk:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: calc(50% + 670px);
    height: 100%;
    background-color: #fffbed;
    border-radius: 0 35px 35px 0;
}

.bk2:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: calc(50% + 670px);
    height: 100%;
    background-color: #fffbed;
    border-radius: 35px 0 0 35px;
}

.bk.onayami-wrap .inner {
    padding: 3.685rem 0 4.95rem;
}


p.en.en-heading {
    color: var(--main-color3);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 0.825rem;
    text-align: center;
}

.bk.onayami-wrap h2 span {
    background-color: var(--main-color1);
    color: #fff;
    /* display: block; */
    max-width: fit-content;
    line-height: 1;
    padding: 0.385rem 0.55rem;
    margin: 0 0.33rem;
}

.bk.onayami-wrap h2 {
    text-align: center;
    margin-bottom: 2.31rem;
    line-height: 2;
}

ul.onayami__list li {
    width: 288px;
    height: 88px;
    background-color: #fff;
    text-align: center;
    color: #5f4d33;
    border: 3px dotted var(--main-color3);
    border-radius: 10px;
    margin-bottom: 0.77rem;
    position: relative;
    line-height: 1.5;
    font-size: 20px;
    padding-top: 1.485rem;
    font-weight: bold;
}

ul.onayami__list li.onayami__li2 {
    padding-top: 0.66rem;
}

/*ul.onayami__list li p {
    line-height: 1.5;
    top: 0;
    bottom: 0;
    height: fit-content;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 20px;
}
*/


.onayami__list-wrap {
    display: flex;
    justify-content: space-between;
    max-width: 882px;
    margin: auto;
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/onayami2.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 283px;
}

ul.onayami__list:first-of-type li:nth-of-type(2) {
    margin-left: 0;
}

ul.onayami__list:first-of-type li {
    margin-left: 2.145rem;
}

ul.onayami__list:nth-of-type(2) li:nth-of-type(2) {
    margin-left: 2.145rem;
}

.bk.onayami-wrap {
    margin-top: 2.75rem;
}

.bk.onayami-wrap h2:before {
    content: '';
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/onayami1.png);
    background-size: contain;
    width: 62px;
    height: 63px;
    position: absolute;
    left: -62px;
    top: -47px;
    background-repeat: no-repeat;
}

.bk.onayami-wrap h2 {
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}


.comparison-table {
    position: relative;
    width: 100%;
    max-width: 865px;
    margin: 0 auto 0;
    padding-top: 2.75rem;
}

h2 span.heading-small {
    font-size: 26px;
}

span.underline {
    font-size: 36px;
    background: linear-gradient(transparent 78%, #e8edc8 78%);
}

span.green {
    color: var(--main-color1);
}

span.pink {
    color: var(--main-color2);
}

.bk2.point h2 {
    writing-mode: vertical-rl;
}

.bk2.point h2 span.underline {
    background: linear-gradient(to left, #e8edc8 0, #e8edc8 20%, transparent 20%, transparent 100%);
}

.point__box-flex {
    max-width: 956px;
    display: flex;
    flex-wrap: wrap;
    gap: 4%;
    margin-top: 1.1rem;
}

.point__box .step {
    background-position: left;
    position: absolute;
    top: 19px;
    left: 17px;
}

/*.point__box:before {
    content: '';
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/point01.png);
    background-size: contain;
    display: inline-block;
    height: 42px;
    width: 49px;
    background-repeat: no-repeat;
    background-position: left;
    position: absolute;
    top: 13px;
    left: 19px;
}

.point__box:nth-of-type(2):before {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/point02.png);
}

.point__box:nth-of-type(3):before {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/point03.png);
}

.point__box:nth-of-type(4):before {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/point04.png);
}

.point__box:nth-of-type(5):before {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/point05.png);
}

.point__box:nth-of-type(6):before {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/point06.png);
}
*/
.point__box {
    border-radius: 10px;
    background-color: #fff;
    width: 30.5%;
    margin-bottom: 1.1rem;
    padding: 1.045rem 0.55rem;
    position: relative;
}

figure.point__img {
    max-width: 94px;
    margin: 0 auto 0.33rem;
}

.point__box p {
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}

.point__box h3 {
    background-color: var(--main-color1);
    text-align: center;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    padding: 0.385rem 0 0.22rem;
    margin-bottom: 0.66rem;
}

.bk2.point .inner {
    display: flex;
    padding: 3.135rem 0 4.29rem;
    gap: 60px;
    position: relative;
}

.bk2.point p.en-heading-b.en {
    position: absolute;
    writing-mode: vertical-rl;
    right: 0;
    bottom: 35px;
}

.sp {
    display: none;
}

/* ==============================
   上部の見出し
============================== */

.comparison-table__head {
    position: absolute;
    top: 0;
    left: 25.4%;
    width: 74.6%;
    height: 50px;
    display: flex;
}

.comparison-table__head-center {
    width: 50%;
    height: 50px;
    background: #5eae4f;
    border-radius: 5px 5px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-table__logo img {
    display: block;
    width: auto;
    max-width: 80%;
    height: 55px;
    object-fit: contain;
}

.comparison-table__head-right {
    width: 50%;
    height: 41px;
    margin-top: 13px;
    background: #999d93;
    border-radius: 5px 5px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    /* font-size: 16px; */
    font-weight: 700;
    padding: 0.22rem 0 0;
}

/* ==============================
   テーブル本体
============================== */

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.comparison-table .col-label {
    width: 25.4%;
}

.comparison-table .col-center {
    width: 37.3%;
}

.comparison-table .col-right {
    width: 37.3%;
}


/* ==============================
   セル
============================== */

.comparison-table th,
.comparison-table td {
    height: 67px;
    padding: 1.155rem 1.1rem 0.99rem;
    box-sizing: border-box;
    /* font-size: 16px; */
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
}

/* 左側 */

.comparison-table th {
    color: #fff;
    background: #5eae4f;
    border-bottom: 2px solid #fff;
}

.comparison-table tr:first-child th {
    border-radius: 5px 0 0 0;
}

.comparison-table tr:last-child th {
    border-radius: 0 0 0 5px;
    border-bottom: none;
}


/* 中央 */

.comparison-table td:nth-child(2) {
    color: #333;
    background: #fff;

    border-left: 4px solid #5eae4f;
    border-right: 4px solid #5eae4f;
    border-bottom: 1px solid #5eae4f;
}

.comparison-table tr:first-child td:nth-child(2) {
    border-top: 4px solid #5eae4f;
}

.comparison-table tr:last-child td:nth-child(2) {
    border-bottom: 4px solid #5eae4f;
    border-radius: 0 0 3px 0;
}


/* 右側 */

.comparison-table td:nth-child(3) {
    color: #666;
    background: #fff;
    border-bottom: 1px solid #d5d5d5;
}

.comparison-table tr:first-child td:nth-child(3) {
    border-radius: 0 0 0 0;
}

.comparison-table tr:last-child td:nth-child(3) {
    border-bottom: none;
    border-radius: 0 0 5px 0;
}

.omakase__dot {
    max-width: 12px;
    margin: 3.575rem auto 0.66rem;
}

.omakase__txt {
    padding: 4.4rem 0 7.535rem;
    max-width: 574px;
    margin: 0 auto;
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/bk.png);
    background-position: center;
    background-repeat: no-repeat;
}

span.yellow {
    color: #fff9db;
}

.omakase.inner {
    position: relative;
}

:where(figure) {
    margin: 0;
}

.omakase__txt p {
    margin-top: 2.475rem;
}

.omakase__txt figure {
    margin: 0.77rem auto;
    max-width: fit-content;
}

figure.omakase__family {
    max-width: 223px;
    position: absolute;
    right: 80px;
    bottom: -52px;
}

.bk p.en-heading-b.en,
.bk2 p.en-heading-b.en {
    color: #f9f2d4;
}

p.en-heading-b.en {
    color: #faf6e5;
    font-size: 58px;
    line-height: 1;
    font-weight: 500;
}

.top-about__text {
    width: 50%;
}

.top-about__image {
    width: 55%;
    position: relative;
}

figure.top-about__img2 {
    max-width: 160px;
    position: absolute;
    bottom: -50px;
    left: -40px;
}

.top-about.inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4%;
    padding: 7.535rem 0 7.7rem;
}

.top-about__text h2 {
    margin-bottom: 2.2rem;
}

a.btn {
    max-width: 325px;
    display: block;
    width: 100%;
    background-color: var(--main-color1);
    border-radius: 10px;
    color: #fff;
    padding: 1.32rem 2rem 1.32rem 0.715rem;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
    height: 74px;
    text-align: center;
}

a.btn.btn-2lines {
    padding-top: 0.66rem;
}

a.btn:before {
    content: '';
    width: 71px;
    height: 71px;
    display: block;
    border-radius: 50%;
    background: #8ec475;
    position: absolute;
    top: -24px;
    left: -21px;
    z-index: 0;
    transition: .6s;
}

a.btn:after,
input.wpcf7-form-control.wpcf7-submit.has-spinner:after {
    content: '→';
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    right: 0;
    color: var(--main-color1);
    text-align: center;
    line-height: 2.1;
    font-weight: bold;
    bottom: 0;
    top: 0;
    margin: auto;
    right: 12px;
    transition: .6s;
}

.contact-btn:after {
    content: '→';
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    right: 0;
    color: var(--main-color1);
    text-align: center;
    line-height: 2.1;
    font-weight: bold;
    bottom: auto;
    top: 19px;
    margin: auto;
    right: 12px;
    transition: .6s;
}

.form-submit:hover:after {
    background: var(--main-color1);
    color: #fff;
}

.form-submit {
    max-width: 325px;
    margin: 0 auto;
    position: relative;
    height: fit-content;
}

a.btn:hover::before {
    width: 350px;
    height: 350px;
    top: -141px;
    left: -9px;
}

a.btn span {
    position: relative;
    z-index: 4;
}

a.btn:hover:after {
    right: 6px;
}

.top-about__text a.btn {
    margin-top: 2.97rem;
}

.bk3 {
    background-color: #fffcee;
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/bk1.png), url(https://magokoro-soudan.info/wp-content/uploads/2026/08/bk2.png);
    background-repeat: no-repeat;
    background-position: top left, bottom right;
}

.bk3.difference .inner {
    padding: 4.84rem 0 5.885rem;
    text-align: center;
}

p.difference__text {
    margin: 2.255rem 0 4.675rem;
}

.omakase.inner p,
.omakase__txt {
    text-align: center;
}

.comparison-table__head-center:after {
    content: '';
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/table-logo.png);
    background-size: contain;
    display: inline-block;
    width: 218px;
    height: 60px;
    background-repeat: no-repeat;
    position: absolute;
    top: -15px;
}

.comparison-table__head-center {
    position: relative;
}


.accordion {
    width: 100%;
    border-top: 1px solid var(--main-color1);
}

.accordion:first-of-type {
    border-top: none;
}

.accordion__button {
    position: relative;
    display: block;
    width: 100%;
    padding: 1.21rem 2.365rem 1.265rem 2.42rem;
    border: 0;
    background: none;
    text-align: left;
    color: inherit;
    cursor: pointer;
    font-family: inherit;
}

.accordion:last-of-type {
    border-bottom: 1px solid var(--main-color1);
}

.accordion__body {
    padding: 1.21rem 2.365rem 1.265rem 2.42rem;
    font-size: 16px;
    color: inherit;
    border-top: 1px solid var(--main-color1);
    /* background-color: #fffcee; */
    position: relative;
}

.accordion__body:after {
    content: "A";
    position: absolute;
    top: 25px;
    left: 8px;
    font-size: 15px;
    line-height: 1.8;
    width: 27px;
    height: 27px;
    background: var(--main-color2);
    border-radius: 50%;
    color: #fff;
    text-align: center;
    font-family: 'Jost';
    font-weight: 500;
}

/* Q */
.accordion__question {
    position: relative;
    font-size: 18px;
    font-weight: 600;
}

.accordion__question::before {
    content: "Q";
    position: absolute;
    top: -2px;
    left: -35px;
    font-size: 15px;
    line-height: 1.9;
    width: 27px;
    height: 27px;
    background: var(--main-color1);
    border-radius: 50%;
    color: #fff;
    text-align: center;
    font-family: 'Jost';
    font-weight: 500;
}

/* ＋ */
.accordion__button::before,
.accordion__button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 13px;
    height: 2px;
    background: var(--main-color1);
    transition: 0.3s ease;
}

.accordion__button::before {
    transform: translateY(-50%);
}

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

/* 開いたら「－」 */
.accordion__button.open::after {
    opacity: 0;
}

/* 本文 */
.accordion__menu {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.accordion__body p {
    margin: 0;
    font-size: 16px;
    line-height: 2;
}

.qa-column.inner a.btn.btn-center {
    position: absolute;
    bottom: -42px;
    left: 0;
    right: 0;
    margin: auto;
}

.top-flow {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/flow-bk.png);
    background-position: top left;
    background-repeat: no-repeat;
}

.top-type {
    padding: 8.525rem 0 11rem;
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/care-img.png), url(https://magokoro-soudan.info/wp-content/uploads/2026/08/care-bk.png);
    background-repeat: no-repeat;
    background-position: right top 116px, top 650px right;
}

p.top-type__text {
    margin-bottom: 3.135rem;
}

.top-type h2 {
    margin: 3.85rem 0 2.64rem;
}

.top-type p.en-heading-b.en {
    left: -70px;
    position: relative;
}

.bk.top-voice .inner {
    padding: var(--section-padding);
}

h2.heading-center {
    text-align: center;
}

a.btn.btn-center {
    margin-left: auto;
    margin-right: auto;
}

.top-flow .inner .btn,
.bk.top-voice .btn {
    margin-top: 3.575rem;
}

.top-flow .inner {
    padding: 5.72rem 0 7.15rem;
}

.top-flow__box:after {
    content: '';
    width: 0;
    height: 0;
    border-left: 17px solid var(--main-color1);
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    position: absolute;
    right: -20px;
    top: 0;
    bottom: 0;
    margin: auto;
}

.top-flow__box {
    width: 173px;
    background-color: #fffcee;
    border-radius: 10px;
    padding: 1.1rem 0.66rem;
    position: relative;
}

.top-flow__box:last-of-type:after {
    display: none;
}

.top-flow__number img,
.top-flow__number figure {
    height: 38px;
    object-fit: contain;
    object-position: center;
}

.top-flow__icon img {
    object-position: center;
}

.top-flow__icon,
.top-flow__icon img {
    width: 79px;
    height: 47px;
    object-fit: contain;
    object-position: center;
}

.top-flow__box-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.715rem;
    padding-bottom: 0.715rem;
    border-bottom: 2px dotted var(--main-color1);
}

.top-flow__text p {
    text-align: center;
    letter-spacing: -1px;
    font-size: 17px;
}

.top-flow__flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2%;
}

.top-flow h2 {
    margin-bottom: 3.465rem;
}

.top-qa,
.top-column {
    background-color: #fffcee;
    border-radius: 35px;
    padding: 2.035rem 2.2rem 1.1rem;
    width: 48%;
    position: relative;
}

.qa-column.inner p.en-heading-b.en {
    color: #f9f2d4;
    position: absolute;
    top: -24px;
    max-width: fit-content;
    left: 0;
    right: 0;
    margin: auto;
}

.qa-column.inner h2 {
    margin-bottom: 2.475rem;
}

.qa-column.inner {
    display: flex;
    justify-content: space-between;
    padding-bottom: 7.975rem;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.top-news__title p.en.en-heading {
    text-align: left;
    margin-bottom: 0.055rem;
}

.top-news__title {
    width: 27%;
}

.top-news__list {
    width: 70%;
}

.top-news .inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

a.top-news__more {
    max-width: fit-content;
    margin: 0.275rem 0 0 auto;
    display: block;
}

.under-v {
    margin-top: 6.875rem;
    height: 250px;
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/news-v.png);
    background-size: cover;
    background-position: top center;
    position: relative;
    color: #fff;
}

body#privacypolicy .under-v {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/policy-v.png);
}

body#privacypolicy .under-v h1:before {
    content: 'PRIVACY POLICY';
}

.under-v h1:before {
    content: 'NEWS';
    font-family: "Jost", sans-serif;
    font-size: 83px;
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    max-width: fit-content;
    margin: auto;
    text-align: center;
    z-index: 0;
    color: rgba(255, 255, 255, 0.15);
    font-weight: 500;
}

.under-v h1 {
    padding: 2.145rem 0;
    height: fit-content;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0;
    max-width: 100%;
    font-size: 36px;
    text-align: center;
}

body#about .under-v h1:before {
    content: 'ABOUT';
}

body#about .under-v {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/about-v.png);
}

body#contact .under-v h1:before,
body#contact-thanks .under-v h1:before,
body#contact-confirm .under-v h1:before {
    content: 'CONTACT';
}

body#contact .under-v,
body#contact-thanks .under-v,
body#contact-confirm .under-v {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/contact-v.png);
}

body#types .under-v h1:before {
    content: 'TYPES';
}

body#company .under-v h1:before {
    content: 'COMPANY';
}

body#company .under-v {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/company-v.png);
}

body#types .under-v {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/types.png);
}

body#faq .under-v h1:before {
    content: 'FAQ';
}

body#faq .under-v {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/faq-v-1.png);
}

body#flow .under-v h1:before {
    content: 'FLOW';
}

body#flow .under-v {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/flow-v.png);
}

ol.breadcrumb__list {
    display: flex;
    gap: 25px;
    font-size: 16px;
    margin: 1.595rem 0 4.4rem;
}

li.breadcrumb__item {
    position: relative;
}

li.breadcrumb__item:after {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-top: solid 1px var(--main-color1);
    border-right: solid 1px var(--main-color1);
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: -15px;
    bottom: 0;
    margin: auto;
}

li.breadcrumb__item:last-of-type:after {
    display: none;
}

.news-main-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

aside.news-category {
    width: 300px;
    margin-left: 1.65rem;
}

.news-page-body {
    width: calc(100% - 330px);
}

a.news-li__image img {
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
}

a.news-li__image,
a.news-li__image img {
    display: block;
    width: 223px;
    height: 136px;
}

article.news-li {
    display: flex;
    justify-content: center;
    gap: 33px;
    align-items: center;
    margin-bottom: 2.2rem;
}

.news-li__text {
    width: calc(100% - 256px);
}

span.news-li__label {
    color: var(--main-color1);
    background: #e8edac;
    width: 107px;
    display: block;
    text-align: center;
    line-height: 1;
    padding: 5px 0 2px;
    margin-right: 0.66rem;
    font-size: 16px;
}

.news-li__meta {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.825rem;
}

h2.news-li__title {
    font-size: 18px;
    margin-bottom: 0.88rem;
}

a.news-li__link {
    font-size: 16px;
    color: var(--main-color1);
}

aside.news-category h3 {
    background: var(--main-color1);
    text-align: center;
    line-height: 1;
    color: #fff;
    padding: 0.715rem 0 0.55rem;
    margin-bottom: 0.825rem;
}

aside.news-category ul li a {
    display: block;
    padding: 0.66rem 1.65rem 0.55rem 0.88rem;
    position: relative;
    border-bottom: 1px solid var(--main-color1);
    transition: .6s;
}

aside.news-category ul li a:before {
    content: '';
    width: 6px;
    height: 6px;
    border: 0;
    border-top: solid 2px var(--main-color1);
    border-right: solid 2px var(--main-color1);
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 18px;
    bottom: 0;
    margin: auto;
    transition: .6s;
}

aside.news-category ul li a:hover {
    color: var(--main-color1);
}

aside.news-category ul li a:hover:before {
    right: 9px;
}

.pagination__numbers {
    gap: 5px;
    display: flex;
    align-items: baseline;
}

nav.pagination {
    display: flex;
    justify-content: center;
    gap: 43px;
    align-items: baseline;
    margin-top: 4.29rem;
}

.pagination__numbers .current {
    text-decoration: underline;
}

.pagination__next:before {
    content: '';
    width: 0;
    height: 0;
    border-left: 11px solid var(--main-color1);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    position: absolute;
    right: -22px;
    top: -1px;
    bottom: 0;
    margin: auto;
}

.pagination__prev:before {
    content: '';
    width: 0;
    height: 0;
    border-right: 11px solid var(--main-color1);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    position: absolute;
    left: -22px;
    top: 0px;
    bottom: 0;
    margin: auto;
}


.pagination__next,
.pagination__prev {
    position: relative;
}

li.breadcrumb__item a {
    text-decoration: underline;
}

h2.news-detail__title {
    padding-bottom: 1.375rem;
    margin-bottom: 1.925rem;
    border-bottom: 1px solid var(--main-color1);
}

.news-detail__content h3 {
    margin-top: 2.915rem;
    font-size: 28px;
    color: var(--main-color1);
    background: linear-gradient(transparent 78%, #e8edc8 78%);
    max-width: fit-content;
}

.news-detail__content h5 {
    font-size: 20px;
    color: var(--main-color1);
    margin-top: 1.1rem;
}

.news-detail__content h4 {
    font-size: 24px;
    color: var(--main-color2);
    margin-top: 1.1rem;
}

.news-detail__content h3 {
    margin-top: 1.1rem;
    font-size: 28px;
    color: var(--main-color1);
    background: linear-gradient(transparent 78%, #e8edc8 78%);
    max-width: fit-content;
}

.news-detail__content a.btn {
    margin-top: 1.1rem;
}

.voice__icon,
.voice__icon img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 50%;
}

.voice__info {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    margin-bottom: 1.705rem;
    margin-top: 2.365rem;
}

.voice__person {
    display: flex;
    margin-bottom: 0.165rem;
    align-items: center;
    gap: 12px;
}

span.voice__label {
    color: var(--main-color1);
    background: #e8edac;
    display: block;
    width: 95px;
    text-align: center;
    font-size: 16px;
    line-height: 1;
    padding: 5px 0 2px;
}

span.voice__label.voice__label2 {
    background: var(--main-color1);
    color: #fff;
}

.wrap.column-wrap .under-v h1:before {
    content: 'COLUMN';
}

.wrap.column-wrap .under-v {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/column-v.png);
}

article.news-li.column-li a.news-li__image,
article.news-li.column-li a.news-li__image img {
    width: 100%;
    height: 195px;
}

.column-li .news-li__text {
    width: 100%;
}

.column-li .news-li__meta {
    display: block !important;
    margin-bottom: 0 !important;
}

.column-li span.news-li__label {
    width: 100% !important;
    margin-bottom: 0.33rem !important;
    font-weight: bold;
}

.column-li time.news-li__date {
    text-align: left;
    display: block;
    margin-bottom: 0.33rem;
}

article.news-li.column-li:hover {
    opacity: .6;
}

article.news-li.column-li {
    display: block;
    width: 30%;
    position: relative;
    transition: .6s;
}

.news-list.column-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
}

article.news-li.column-li h2.news-li__title {
    height: 94px;
    position: relative;
    margin-bottom: 0;
}

.column-li a.news-li__link {
    position: absolute;
    bottom: 0;
    max-width: fit-content;
    right: 0;
}

.wrap.column-wrap .news-page-body {
    width: calc(100% - 380px);
}

article.news-li.column-li time.news-li__date {
    margin-top: 0.605rem;
    display: block;
    margin-bottom: 0.33rem;
}

span.news-li__label.news-li__label-single {
    max-width: fit-content;
    padding: 3px 14px 1px;
    width: 100%;
}

.table-contents h4 {
    margin-bottom: 0.88rem;
    color: var(--main-color1);
    text-align: center;
}

.table-contents {
    padding: 1.375rem 1.65rem 1.1rem;
    background: #fffcee;
}

.table-contents {
    margin-bottom: 2.2rem;
}

.table-contents h4 {
    margin-bottom: 0.825rem;
}

/* 大見出し */
.table-contents>ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: toc-h3;
}

.table-contents>ol>li {
    margin-bottom: 0.55rem;
    counter-increment: toc-h3;
}

.table-contents>ol>li::before {
    content: counter(toc-h3) ". ";
}

/* 小見出し */
.table-contents>ol>li>ol {
    margin: 0.275rem 0 0;
    padding: 0 0 0 1.5em;
    list-style: none;
    counter-reset: toc-h4;
}

.table-contents>ol>li>ol>li {
    margin-bottom: 0.275rem;
    counter-increment: toc-h4;
    font-size: 16px;
}

.table-contents>ol>li>ol>li::before {
    content: counter(toc-h3) "-"counter(toc-h4) ". ";
}

.table-contents a {
    text-decoration: none;
}

.wrap.column-wrap .news-detail__content h3 {
    background: none;
    color: inherit;
    border-bottom: 1px solid var(--main-color1);
    max-width: 100%;
    font-size: 24px;
    margin-bottom: 0.88rem;
    padding-bottom: 0.66rem;
    margin-top: 3.85rem;
}

article.top-news__li a {
    display: flex;
    width: 100%;
}

.voice-list {
    display: flex;
    gap: 3%;
    flex-wrap: wrap;
    margin-top: 3.19rem;
}

.voice-list a.voice:hover {
    opacity: .8;
}

.voice-list a.voice {
    padding: 0.77rem 0.77rem 1.43rem;
    width: 31%;
    background-color: #fff;
    border-radius: 10px;
    position: relative;
    transition: .6s;
}

.voice-list .voice__icon,
.voice-list .voice__icon img {
    width: 90px;
    height: 90px;
}

.voice-list .voice__info {
    margin-bottom: 0.77rem;
    margin-top: 0.605rem;
}

.voice-list a.voice :after {
    content: '';
    border-left: 30px solid transparent;
    border-bottom: 30px solid var(--main-color2);
    position: absolute;
    bottom: 7px;
    right: 8px;
}

.top-column a.news-li.column-li {
    display: flex;
    align-items: center;
    gap: 34px;
    flex-direction: row-reverse;
    margin-bottom: 1.1rem;
}

.column-li .news-li__text {
    width: 100%;
}

.top-column .news-li__image {
    max-width: 267px;
    height: 154px;
    width: 100%;
    border-radius: 10px;
}

.top-column h2.news-li__title {
    margin-bottom: 0.33rem;
}

.top-column time.news-li__date {
    font-size: 14px;
    margin-bottom: 0.055rem;
    color: var(--main-color1);
}

p.news-li__excerpt {
    line-height: 1.3;
    font-size: 16px;
}

.inner.footer-contact {
    padding: 2.75rem 0;
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/contact-bk-2.png);
    color: #fff;
    border-radius: 35px;
    background-size: cover;
    background-position: top center;
    z-index: 1;
    position: relative;
}

.footer-contact__inner {
    width: 95%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-size: 300px;
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/contactbk2.png);
    background-repeat: no-repeat;
    background-position: center;
}

.inner.footer-contact a.line-btn.app-btn span.yellow {
    font-size: 14px;
    line-height: 2;
}

a.line-btn.app-btn {
    background-color: #06c755;
}

a.line-btn.app-btn:after {
    background: #3bd170;
}

.footer-contact__formbox a.app-btn {
    margin-top: 0.55rem;
}

.footer-contact__formbox a.app-btn:after {
    width: 93px;
    height: 93px;
    top: 23px;
}

.inner.footer-contact a.line-btn.app-btn {
    padding-top: 0.77rem;
    text-align: left;
}

.inner.footer-contact a.app-btn.line-btn:before {
    width: 56px;
    height: 56px;
    left: auto;
    right: 16px;
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/QR.png);
}

.footer-contact__textbox h2 {
    margin: 1.1rem 0 0.825rem;
    font-size: 30px;
    color: #e8edac;
}

.footer-contact__textbox {
    width: 60%;
}

.footer-contact__formbox {
    width: 50%;
    background-color: #fff;
    border-radius: 10px;
    color: var(--base-color);
    max-width: 443px;
    margin: 0;
    padding: 1.375rem 1.65rem 1.375rem;
}

.inner.footer-contact a.line-btn.app-btn i.fa-brands.fa-line {
    position: absolute;
    left: 35px;
    top: 26px;
    font-size: 27px;
    z-index: 1;
}

.footer-contact__tel {
    display: block;
    padding-bottom: 0.495rem;
    margin-bottom: 0.715rem;
    border-bottom: 2px dotted var(--main-color1);
}

.footer-contact__tel p {
    text-align: center;
}

.footer-contact__tel h3 {
    color: #64ae51;
    font-size: 33px;
    max-width: fit-content;
    margin: 0 auto;
    line-height: 1;
    padding-left: 1.65rem;
    position: relative;
}

.footer-contact__tel h3:after {
    content: '';
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/tel2.png);
    background-size: contain;
    display: inline-block;
    width: 26px;
    height: 26px;
    position: absolute;
    left: 0;
    top: 2px;
    background-repeat: no-repeat;
}

.inner.footer-contact a.app-btn {
    max-width: 375px;
    width: 100%;
    border-radius: 10px;
    height: 77px;
    padding-left: 5.335rem;
    padding-top: 1.595rem;
}

.inner.footer-contact a.app-btn:before {
    width: 27px;
    height: 27px;
    left: 35px;
}

p.footer-contact__text {
    line-height: 1.6;
}

.footerbox {
    padding: 6.38rem 0 1.375rem;
    background-color: #fffcee;
    margin-top: -2.915rem;
}

a.foot-logo.img-hover {
    max-width: 317px;
    display: block;
    margin-bottom: 1.815rem;
}

p.footerbox__adress {
    margin-bottom: 1.705rem;
    line-height: 1.7;
    font-size: 16px;
}

.footerbox__line {
    display: block;
    margin-top: 1.32rem;
    padding-left: 2.86rem;
    font-size: 14px;
    position: relative;
}

.footerbox__line:before {
    content: '';
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/line-icon.png);
    background-size: contain;
    width: 29px;
    height: 29px;
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    margin: auto;
    background-repeat: no-repeat;
}

.footerbox__flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.915rem;
}

.footerbox__left {
    width: 58%;
}

.footerbox__right {
    display: flex;
    max-width: fit-content;
    gap: 59px;
}

.footerbox__right ul li {
    font-size: 16px;
    margin-bottom: 0.385rem;
}

.footerbox__right li>ul li:before {
    content: "";
    background: var(--main-color1);
    position: absolute;
    left: 14px;
    width: 15px;
    height: 2px;
    top: 0;
    bottom: 0;
    margin: auto;
}

.footerbox__right li>ul li {
    padding-left: 1.925rem;
    position: relative;
}

footer#site-footer {
    margin-top: 6.6rem;
}

a.taichoukai-banner {
    max-width: 783px;
    margin: auto;
    display: block;
}

p.copylight {
    font-size: 14px;
    text-align: center;
    margin-top: 0.385rem;
}

.\34 04page ol.breadcrumb__list {
    margin-bottom: 3.025rem;
}

.\34 04page .inner h2 {
    margin-bottom: 2.64rem;
}

.\34 04page a.top-btn {
    margin-top: 2.475rem;
}

a.top-btn {
    display: block;
    width: 225px;
    border: 1px solid;
    border-radius: 80px;
    text-align: center;
    color: var(--main-color1);
    padding: 0.99rem 0 0.935rem;
    line-height: 1;
    transition: .6s;
}

a.top-btn:hover {
    background: var(--main-color1);
    color: #fff;
}

.\34 04page {
    margin-top: 8.525rem;
    margin-bottom: 5.665rem;
    position: relative;
}

.error404 footer {
    margin-top: 0 !important;
}

.inner.\34 04page-text {
    font-size: 24px;
    margin-bottom: 1.1rem;
}

/* ========================================
   SP HAMBURGER
======================================== */

/* ハンバーガーボタン */
.header__hamburger {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1003;
    width: 95px;
    height: 95px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #64ae51;
    color: #fff;
    cursor: pointer;
}

/* ========================================
       3本線
    ======================================== */
.header__hamburger-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 54px;
    height: 2px;
    margin-bottom: 0.33rem;
}

.header__hamburger-icon span:nth-of-type(3) {
    top: 47px;
}

.header__hamburger-icon span:nth-of-type(2) {
    top: 30px;
}

.header__hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 10;
    position: absolute;
    top: 14px;
    left: 0;
    right: 0;
    margin: auto;
}

.header__hamburger-text span {
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-size: 16px;
    position: absolute;
    bottom: 9px;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
}

/* ========================================
       MENU / CLOSE
    ======================================== */

.header__hamburger-text {
    position: relative;
    display: block;
    width: 100%;
    line-height: 1;
    text-align: center;
}



.close-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    opacity: 0;
    transform: translateY(4px);
}

.header__hamburger.is-open .header__hamburger-icon span:nth-of-type(1) {
    top: 29px;
    transform: rotate(45deg);
}

.header__hamburger.is-open .header__hamburger-icon span:nth-child(2) {
    opacity: 1;
}

.header__hamburger.is-open .header__hamburger-icon span:nth-of-type(3) {
    top: 29px;
    transform: rotate(-45deg);
}

/* ========================================
       OPEN：三本線 → ×
    ======================================== */

.header__hamburger.is-open .header__hamburger-icon span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.header__hamburger.is-open .header__hamburger-icon span:nth-of-type(2) {
    opacity: 0;
}

.header__hamburger.is-open .header__hamburger-icon span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}


/* MENU → CLOSE */

/*.header__hamburger.is-open .menu-text {
    opacity: 0;
    transform: translateY(-4px);
}

.header__hamburger.is-open .close-text {
    opacity: 1;
    transform: translateY(0);
}*/


/* ========================================
       SP MENU
    ======================================== */
.header__sp-menu {
    position: fixed;
    inset: 0;
    z-index: 1001;
    width: 80%;
    height: 639px;
    /* display: flex; */
    /* align-items: center; */
    justify-content: center;
    /* padding: 80px 30px 40px; */
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 30px;
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/logobk-1.png);
    background-repeat: no-repeat;
    background-position: bottom 26px right 33px;
    border: 2px dotted var(--main-color3);
}

.header__sp-menu.is-open {
    opacity: 1;
    visibility: visible;
}


/* ========================================
       SP NAV
    ======================================== */
.header__sp-nav {
    width: 100%;
    max-width: 90%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s ease 0.05s, transform 0.45s ease 0.05s;
    margin: auto;
    /* background-color: #fff; */
    /* border-radius: 20px; */
    margin-top: 1.705rem;
}

.header__sp-menu.is-open .header__sp-nav {
    opacity: 1;
    transform: translateY(0);
}

.header__sp-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    list-style: none;
    width: 90%;
    margin: 3.465rem auto 0;
    height: fit-content;
}

.header__sp-nav a:after {
    content: '→';
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    right: 0;
    background: var(--main-color1);
    text-align: center;
    line-height: 1.8;
    font-weight: bold;
    bottom: 0;
    top: 0;
    margin: auto;
    right: 12px;
    transition: .6s;
    color: #fff;
}

.header__sp-nav li {
    width: 100%;
    margin: 0;
    padding: 0;

    text-align: center;
}

.header__sp-nav a {
    display: block;
    padding: 0.935rem 1.1rem 0.825rem;
    border-bottom: 1px dotted var(--main-color1);
    text-decoration: none;
    line-height: 1.6;
    text-align: left;
    font-size: 18px;
    position: relative;
}

a.taichoukai-banner figure {
    position: relative;
}

a.taichoukai-banner figure:after {
    content: '';
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/window.png);
    background-size: contain;
    display: inline-block;
    width: 38px;
    height: 38px;
    position: absolute;
    bottom: 9px;
    right: 0;
}

a.taichoukai-banner.img-hover.sp {
    display: none;
}

.swipe-hint {
    display: none;
}

/* MV opening animation */
.mv-circle {
    transform: scale(0);
    transform-origin: center center;
}

.mv__maincopy {
    clip-path: inset(0 0 100% 0);
}

.inner.policy-wrap ul li {
    margin-top: 2.5rem;
}

.inner.policy-wrap ul li h3 {
    font-size: 18px;
}

.inner.policy-wrap ul li h3:before {
    content: '■';
    color: var(--main-color1);
    font-size: 20px;
    margin-right: 7px;
    line-height: 1;
    position: relative;
    top: 1px;
}

.policy-company {
    margin: 36px 0 0 auto;
    max-width: fit-content;
    text-align: right;
}

::placeholder {
    color: #dcdcdc;
}

.inner.contact-wrap h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-text p {
    margin-top: 0.8rem;
}

.contact-text {
    /* text-align: center; */
    max-width: fit-content;
    margin: 0 auto 4rem;
}

.inner.contact-wrap h4 {
    font-size: 24px;
    text-align: center;
    color: var(--main-color1);
    max-width: fit-content;
    margin: 0 auto 0.8rem;
    position: relative;
}

.inner.contact-wrap a.app-btn:after {
    width: 160px;
    height: 160px;
    top: 32px;
    right: -27px;
}

.inner.contact-wrap h4:before {
    content: "";
    position: absolute;
    width: 23px;
    height: 1px;
    background: var(--main-color1);
    transform: rotate(52deg);
    left: -26px;
    top: 17px;
}

.inner.contact-wrap h4:after {
    content: "";
    position: absolute;
    width: 23px;
    height: 1px;
    background: var(--main-color1);
    transform: rotate(-52deg);
    right: -26px;
    top: 17px;
}

.inner.contact-wrap a.app-btn:hover::after {
    width: 450px !important;
    height: 450px !important;
    right: -41px !important;
    top: -104px !important;
}

.inner.contact-wrap a.top-btn {
    margin: 3rem auto 0;
}

body#contact p.contact-text {
    text-align: center;
    margin-top: 4.5rem;
    margin-bottom: 6rem;
}

.contact-form {
    max-width: 950px;
    margin: 0 auto;
}

.form-label {
    width: 266px;
}

.form-row {
    display: flex;
    margin-bottom: 1.4rem;
}

.form-field input,
.form-field input[type="radio"],
.form-field textarea#your-message {
    padding: 3px 5px;
    border: 1px solid #dcdcdc;
    max-width: 460px;
}

.form-field textarea#your-message {
    max-width: 620px;
    width: 100%;
}

.form-field {
    max-width: 665px;
    width: 100%;
}

span.wpcf7-list-item {
    display: block;
    margin-left: 0 !important;
}

.privacy-check {
    max-width: fit-content;
    margin: 0 auto 3rem;
}

span.optional.optional2 {
    background: var(--main-color1);
}

span.optional {
    font-size: 13px;
    background: var(--main-color2);
    color: #fff;
    line-height: 1;
    padding: 2px 7px 1px;
    margin-right: 10px;
}

span.wpcf7-list-item-label a {
    text-decoration: underline;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner,
input.wpcf7-form-control.wpcf7-previous {
    width: 325px;
    margin: 0 auto !important;
    border-radius: 10px !important;
    background-color: var(--main-color1);
    color: #fff;
    height: 74px !important;
    border: 1px solid var(--main-color1);
    text-align: left;
    padding-left: 2rem;
    transition: .6s;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
    background-color: #fff !important;
    color: var(--main-color1);
}

input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
    border: 1px solid #dcdcdc !important;
    border-radius: 50%;
    background: #fff;
    width: 15px;
    height: 15px;
}

.form-field input[type="radio"]:checked::after {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    margin: -5px -6px;
    background: #dcdcdc;
    border-radius: 50%;
}

input.wpcf7-form-control.wpcf7-previous {
    background-color: #a5a5a5;
    border: 1px solid #a5a5a5;
}

.contact-btn.contact-btn2 {
    margin-right: 1.5rem;
}

.contact-btn2:after {
    color: #a5a5a5;
}

.wpcf7-submit {
    cursor: default;
}

.wpcf7-submit:disabled {
    cursor: not-allowed;
}

.wpcf7-submit:not(:disabled) {
    cursor: pointer;
}

.wpcf7-response-output {
    display: none;
}

.contact-confirm h2 {
    font-size: 24px;
    margin-bottom: 4rem;
    text-align: center;
}

.confirm-row {
    display: flex;
    margin-bottom: 1rem;
}

.confirm-row dt {
    width: 24%;
}

.confirm-row dd {
    width: 76%;
}

.contact-confirm {
    max-width: 840px;
    margin: 0 auto;
}

.confirm-buttons {
    display: flex;
    justify-content: center;
    margin: 5rem auto 0;
    max-width: 625px;
}

span.wpcf7-spinner {
    display: none;
}

.contact-btn.contact-btn2 input.wpcf7-form-control.wpcf7-previous:hover {
    background: #fff;
    color: #a5a5a5;
}

.contact-btn.contact-btn2 input.wpcf7-form-control.wpcf7-previous {
    cursor: pointer;
}

.contact-btn2:hover:after {
    background: #a5a5a5;
    color: #fff;
}

p.types-about-text {
    text-align: center;
    margin-bottom: 4rem;
}

h2.types-heading:before {
    content: '';
    background-color: var(--main-color3);
    display: block;
    width: 8px;
    height: 53px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

h2.types-heading {
    padding-left: 25px;
    position: relative;
    margin-bottom: 4rem;
}

.types-box h3 {
    padding-bottom: 17px;
    margin-bottom: 25px;
    color: var(--main-color1);
    border-bottom: 2px dotted;
}

.types-box {
    padding: 35px 40px 20px;
    background-color: #fffcee;
    margin-bottom: 2rem;
}

p.types-title {
    width: 106px;
    margin-right: 23px;
    color: var(--main-color1);
    background-color: #e8edac;
    text-align: center;
    line-height: 1;
    padding: 4px 0px 2px;
    font-size: 16px;
}

.types-flex-wrap {
    display: flex;
    gap: 60px;
}

.types-flex:first-of-type {
    width: 370px;
}

p.types-text {
    width: 88%;
}

.types-flex-wrap p.types-text {
    width: auto;
}

.types-flex {
    display: flex;
    align-items: baseline;
    margin-bottom: 1rem;
}

p.types-text.star span.sc {
    background: var(--main-color1);
    color: #fff;
}

p.types-text.star span {
    background: #fff;
    display: block;
    width: 23px;
    height: 23px;
    color: var(--main-color1);
    text-align: center;
    border-radius: 50%;
    line-height: 1.28;
    border: 1px solid var(--main-color1);
}

p.types-text.star {
    color: #b8ccb3;
    gap: 3px;
    display: flex;
}

p.types-text.star {
    color: #b8ccb3;
}

.types-image {
    max-width: fit-content;
    position: absolute;
    bottom: -75px;
    right: -35px;
}

.types-box-wrap {
    position: relative;
    margin-bottom: 6rem;
}

.types-image2 {
    max-width: fit-content;
    position: absolute;
    bottom: -110px;
    left: -45px;
}

.types-box-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.types-box-flex__text h2 {
    margin-bottom: 3rem;
}

.types-box-flex__image.pc {
    width: 46%;
}

.types-box-flex__text {
    width: 50%;
}

.types-box-flex-wrap {
    margin-top: 10rem;
    padding-bottom: 8rem;
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/care-bk.png);
    background-repeat: no-repeat;
    background-position: bottom right;
}

p.faq-about-text {
    margin-bottom: 3.8rem;
    text-align: center;
}

.pagelink ul li a {
    padding-left: 43px;
    position: relative;
    display: block;
    transition: .6s;
}

.pagelink ul li a:hover {
    color: var(--main-color3);
}

.pagelink ul li {
    width: 33%;
    margin-bottom: 1rem;
}

.pagelink ul {
    width: 90%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
}

.pagelink {
    padding: 2.4rem 0 1rem;
    background-color: #fffcee;
}

.pagelink ul li a:before {
    content: "";
    background: var(--main-color1);
    position: absolute;
    left: 12px;
    width: 15px;
    height: 2px;
    top: -1px;
    bottom: 0;
    margin: auto;
}

.faq-box {
    margin-top: 5.8rem;
}

.faq-box h2.types-heading {
    margin-bottom: 2rem;
}

[id] {
    scroll-margin-top: 92px;
}

@media screen and (max-width: 1024px) {
    [id] {
        scroll-margin-top: 75px;
    }
}

@media screen and (max-width: 767px) {
    [id] {
        scroll-margin-top: 0px;
    }
}

.about-types {
    padding: 7.5rem 0 10rem;
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/about-types.png);
    background-repeat: no-repeat;
    background-position: top 50px right 60px;
}

.about-types h2 {
    margin-bottom: 3rem;
    text-align: center;
}

.green-heading {
    color: var(--main-color1);
    text-align: center;
    margin-bottom: 1.5rem;
}

.about-types ul li {
    border: 3px dotted var(--main-color3);
    border-radius: 10px;
    width: 23%;
    text-align: center;
    font-size: 22px;
    color: #5f4d33;
    line-height: 1.45;
    padding: 10px 0 7px;
    background-color: #fff;
}

.about-types ul {
    display: flex;
    gap: 2%;
    flex-wrap: wrap;
}

.features .inner {
    padding: 6rem 0 4rem;
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/feat-illust.png);
    background-repeat: no-repeat;
    background-position: bottom -8px right;
}

.features h2 {
    margin-bottom: 8rem;
}

.features__text {
    width: 50%;
}

.features__img {
    width: 46%;
    position: relative;
    margin-right: 4%;
}

.features__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8rem;
}

.features__box:nth-child(even) {
    flex-direction: row-reverse;
}

.features__box:nth-child(even) .features__img {
    margin-right: 0;
    margin-left: 4%;
}

.features__text h3 {
    margin-bottom: 2.5rem;
    font-size: 30px;
}

/*
.features__img:after {
    content: '';
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/01.png);
    background-size: contain;
    display: inline-block;
    height: 57px;
    width: 96px;
    background-position: left;
    background-repeat: no-repeat;
    position: absolute;
    top: -27px;
    left: -29px;
}

.features__box:nth-of-type(2) .features__img:after {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/02.png);
}

.features__box:nth-of-type(3) .features__img:after {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/03.png);
}*/
.features__img .step span.step-number {
    font-size: 73px;
    filter:
        drop-shadow(1px 0 0 #fffcee) drop-shadow(-1px 0 0 #fffcee) drop-shadow(0 1px 0 #fffcee) drop-shadow(0 -1px 0 #fffcee);
}

.features__img .step {
    position: absolute;
    top: -36px;
    left: -20px;
}

.service {
    padding: 6.5rem 0 12rem;
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/bk-illust2.png);
    background-repeat: no-repeat;
    background-position: bottom 7rem left;
}

figure.free__img {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.service__icons ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}


.service__icons ul li figure {
    max-width: 115px;
    height: 115px;
}

.service__icons ul li p {
    font-size: 24px;
    line-height: 1.5;
}

.service__icons ul li {
    background-color: #fffcee;
    border-radius: 10px;
    padding: 27px;
    width: 32%;
    margin-bottom: 21px;
    display: flex;
    align-items: center;
    gap: 29px;
    height: 151px;
}

.service__icons {
    margin-top: 4rem;
}

.free .inner {
    padding: 3.5rem 0 4rem;
}

.free p.en-heading-b.en,
.free h2 {
    text-align: center;
}

.free h2 {
    margin: -1.3rem 0 3rem;
}

p.free__text {
    margin-bottom: 3.4rem;
    text-align: center;
}

.under {
    text-decoration: underline;
}

.merit {
    padding: 7rem 0 10rem;
}

.merit {
    padding: 6rem 0 8.5rem;
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/merit-bk.png);
    background-repeat: no-repeat;
    background-position: top right;
}

p.merit__text {
    padding: 4rem 0 4rem;
    text-align: center;
}

.merit ul li {
    width: 22%;
    background-color: #fffcee;
    padding: 75px 23px 18px;
    position: relative;
    border-radius: 10px;
}

.merit ul {
    display: flex;
    margin-bottom: 4rem;
    justify-content: space-between;
    gap: 4%;
    flex-wrap: wrap;
}

.merit ul li h3 {
    padding-bottom: 11px;
    margin-bottom: 11px;
    border-bottom: 2px dotted var(--main-color1);
}

.merit ul li p {
    line-height: 1.8;
}

.merit .step {
    position: absolute;
    top: 24px;
}

/*.merit li:nth-of-type(2):after {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/merit2.png);
}

.merit li:nth-of-type(3):after {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/merit3.png);
}

.merit li:nth-of-type(4):after {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/merit4.png);
}

.merit li:after {
    content: '';
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/merit1.png);
    background-size: contain;
    display: inline-block;
    height: 46px;
    width: 53px;
    position: absolute;
    top: 20px;
    background-repeat: no-repeat;
    background-position: left bottom;
}
*/
.merit a.btn {
    margin-left: auto;
    margin-right: auto;
}

.hukidashi span {
    color: #fff6b9;
}

.bk.help p.en-heading-b.en {
    position: absolute;
    bottom: 25px;
    right: 17px;
}

.hukidashi {
    max-width: 400px;
    border-radius: 10px;
    text-align: center;
    position: absolute;
    top: -26px;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #a2cd5e;
    color: #fff;
    padding: 24px 0;
    font-size: 24px;
}

.hukidashi:after {
    content: '';
    width: 0;
    height: 0;
    border-left: 17px solid transparent;
    border-right: 17px solid transparent;
    border-top: 26px solid #a2cd5e;
    position: absolute;
    bottom: -21px;
    left: 0;
    right: 0;
    margin: auto;
}

ul.checklist li {
    margin-bottom: 1rem;
    padding-left: 39px;
    position: relative;
}

ul.checklist {
    max-width: 55%;
    margin: 0 0 0 auto;
}

ul.checklist li:before {
    content: '';
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/check.png);
    background-size: contain;
    width: 23px;
    height: 21px;
    display: inline-block;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 2px;
    margin: auto;
}

.help .inner {
    padding: 7.5rem 0 6rem;
    position: relative;
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/who.png);
    background-repeat: no-repeat;
    background-position: bottom left 90px;
}

.advisers .inner {
    padding: 6rem 0 6rem;
}

.advisers h2 {
    margin-bottom: 4rem;
}

.advisers__box {
    width: 47.5%;
    background-color: #fffcee;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 23px !important;
}

.advisers__box-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
}

.advisers__img {
    max-width: 164px;
}

.advisers__txt-wrap {
    width: calc(100% - 164px);
}

.advisers__txt-wrap h3 {
    color: var(--main-color1);
    font-size: 18px;
    margin-bottom: 0.5rem;
}

.advisers__txt {
    margin-bottom: 0.5rem;
}

.advisers__txt h4 {
    max-width: 90px;
    width: 100%;
    font-size: 14px;
    background-color: #e8edac;
    text-align: center;
    color: var(--main-color1);
    padding: 4px 0 3px;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.advisers__txt p {
    line-height: 1.6;
}

.taichokai h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.taichokai .inner {
    padding: 4.5rem 0 4rem;
    position: relative;
}

.taichokai__txt .btn {
    margin-top: 4rem;
}

.taichokai__txt {
    width: 45%;
    margin: 0 0 0 auto;
}

figure.taichokai__image {
    position: absolute;
    left: -80px;
    bottom: -90px;
}

.taichokai {
    margin-bottom: 12rem;
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/taicho-bk.png);
    background-repeat: no-repeat;
    background-position: top right;
}

.taichokai__txt p {
    margin-bottom: 1rem;
}

.swipe-wrap {
    position: relative;
    padding-top: 18px;
}

.swipe-hint {
    position: absolute !important;
    top: 58px !important;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999 !important;
    width: 100%;
    text-align: center;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    /* right: 0; */
    max-width: fit-content;
    margin: auto;
}

.swipe-hint.is-active {
    visibility: visible;
    animation: swipeFadeEffect 3s ease-in-out forwards;
}

.swipe-hint .swipe-icon {
    display: inline-block;
}

@keyframes swipeFadeEffect {

    0%,
    100% {
        opacity: 0;
    }

    20%,
    80% {
        opacity: 1;
    }
}

.swipe-hint figure {
    max-width: 161px;
}

.company__flex {
    display: flex;
    width: 100%;
    padding: 14px 4px;
    border-bottom: 1px solid var(--main-color1);
}

p.company__title {
    color: var(--main-color1);
    width: 334px;
}

.company.inner {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/map.png);
    background-repeat: no-repeat;
    background-position: top 383px right;
}

.bk2.philosophy {
    margin: 8rem auto 3rem;
}

.bk2.philosophy .inner {
    position: relative;
}

.bk2.philosophy p.en-heading-b.en {
    position: absolute;
    writing-mode: vertical-lr;
    bottom: 28px;
    right: -53px;
}

.bk2.philosophy:before {
    border-radius: 35px 0 0 35px;
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/phi-bk.png);
    background-size: contain;
    display: inline-block;
    background-position: bottom 57px left;
    background-size: 460px;
    background-repeat: no-repeat;
}

.philosophy__box-wrap {
    width: 68%;
    z-index: 10;
    position: relative;
}

.bk2.philosophy h2 {
    width: 400px;
    margin-right: 3rem;
}

.bk2.philosophy .inner {
    position: relative;
    display: flex;
    padding: 6rem 0 2rem;
    justify-content: space-between;
}

.philosophy__text {
    width: 81%;
}

.philosophy__box h3 {
    color: var(--main-color1);
    width: 135px;
}

.philosophy__box {
    padding: 25px;
    border-radius: 10px;
    background-color: #fff;
    margin-bottom: 1rem;
    display: flex;
}

.manegement .inner {
    padding: 5rem 0 2rem;
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/about-types.png);
    background-repeat: no-repeat;
    background-position: top right;
}

.manegement h2 {
    margin-bottom: 3.2rem;
}

.manegement__box {
    width: 30%;
    background-color: #fffcee;
    border-radius: 10px;
    padding: 15px 15px 29px;
}

.company__box {
    margin-bottom: 6rem;
}

.philosophy__text ul {
    list-style-type: disc;
    padding-left: 28px;
}

.manegement__box h3 {
    text-align: center;
    background-color: var(--main-color1);
    color: #fff;
    padding: 2px 0 0;
    margin-bottom: 1.4rem;
}

.manegement__box p {
    text-align: center;
}

.manegement__box figure {
    max-width: 100px;
    margin: 0 auto 0.5rem;
}

.manegement__flex {
    display: flex;
    align-items: center;
    gap: 5%;
    flex-wrap: wrap;
}

figure.flow__image {
    margin: 4.5rem auto 7rem;
}

p.flow__text {
    text-align: center;
}

.flow__box {
    padding: 45px;
    background-color: #fffcee;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 55px;
    margin-bottom: 3rem;
    position: relative;
}

.flow__boxtext-wrap {
    width: 72%;
}

.flow__boxtext-wrap h3 {
    margin-bottom: 2rem;
    padding-left: 65px;
    position: relative;
}

.flow__boxtext-wrap {
    position: relative;
}

.flow__boxtext-wrap .step {
    position: absolute;
    left: 5px;
    top: -7px;
}


/*.flow__boxtext-wrap h3:before {
    content: '';
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/step01.png);
    background-size: contain;
    display: inline-block;
    height: 42px;
    width: 52px;
    background-repeat: no-repeat;
    background-position: left;
    position: absolute;
    left: 5px;
    top: -10px;
}

.flow__box:nth-of-type(2) h3:before {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/step02.png);
}

.flow__box:nth-of-type(3) h3:before {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/step03.png);
}

.flow__box:nth-of-type(4) h3:before {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/step04.png);
}

.flow__box:nth-of-type(5) h3:before {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/step05.png);
}

.flow__box:nth-of-type(6) h3:before {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/step06.png);
}*/

.flow__box:last-of-type:after {
    display: none;
}

.flow__box figure {
    width: 180px;
}

.flow__btnflex {
    display: flex;
    margin-top: 1.5rem;
    gap: 14px;
}

a.line-btn.app-btn {
    text-align: center;
    padding-left: 1rem;
    padding-top: 1.2rem;
}

a.line-btn.app-btn::before {
    display: none;
}

a.line-btn.app-btn i.fa-brands.fa-line {
    position: absolute;
    left: 0;
    top: 15px;
    font-size: 27px;
    z-index: 1;
    right: 84px;
}

.flow__box .btn {
    margin-top: 1rem;
}

.flow.inner {
    position: relative;
}

figure.flow__illust {
    max-width: fit-content;
    position: absolute;
    bottom: -68px;
    right: -10px;
}

body#flow .types-box-flex {
    flex-direction: row;
}

body#flow .types-box-flex__image.pc {
    margin-right: 39px;
}

body#flow .types-box-flex-wrap {
    background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/bk-illust2.png);
    background-position: bottom left;
}

.flow__box:after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 18px solid var(--main-color1);
    position: absolute;
    bottom: -38px;
    left: 0;
    right: 0;
    margin: auto;
}

/*.faq-box .accordion:first-of-type .accordion__menu {
    height: 100% !important;
}

.faq-box .accordion:first-of-type .accordion__button::after {
    opacity: 0 !important;
}*/

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    line-height: 1;
}

.step-label {
    font-size: 14px;
    color: #64ae51;
    letter-spacing: 0;
    line-height: 0.5;
}

.step-number {
    display: block;
    margin-top: 4px;
    font-size: 36px;
    line-height: 0.9;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg,
        #a5d05b 0%,
        #a5d05b 49.5%,
        #5eaf4e 49.5%,
        #5eaf4e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.comparison-table__sp {
    display: none;
}

.sp2 {
    display: none;
}

.types-flex-wrap {
    align-items: center;
}

.kado img {
    border-radius: 20px;
}

.omakase.inner h2 .omakase-pink {
    color: var(--main-color2);
    font-size: 36px;
}

.omakase.inner h2 .omakase-small {
    font-size: 36px;
}

.omakase.inner h2 span {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: var(--main-color1);
    font-size: 42px;
    line-height: 2;
    letter-spacing: 4px;
}

.mv h4 img {
    max-width: 148px;
    margin: 2rem auto 0;
}

.header__logo-btn h1 {
    display: none;
}

body#top .under-logo {
    display: none;
}

body#top .header__logo-btn h1 {
    display: block;
}

.header__logo-btn a.img-hover.sp {
    position: absolute;
    top: 7px;
}

/* ==============================

    タブレット横以下

============================== */

@media screen and (max-width: 1480px) {
    figure.taichokai__image {
        position: absolute;
        left: -10px;
        bottom: -90px;
        width: 50%;
    }

    .bk2.philosophy p.en-heading-b.en {
        right: -4px;
    }
}

@media screen and (max-width: 1380px) {
    ul#menu-nav li {
        font-size: 16px;
    }

    .types-flex-wrap {
        flex-wrap: wrap;
        gap: 7%;
    }

    .bk:before {
        width: calc(50% + 610px);
    }

    .bk2:before {
        width: calc(50% + 610px);
    }

    .bk2.philosophy p.en-heading-b.en {
        right: 13px;
        line-height: 1;
    }

    figure.flow__illust {
        right: 23px;
    }

}

@media screen and (max-width:1230px) {
    .pagelink ul li {
        width: 50%;
    }

    article.news-li.column-li {
        width: 47%;
    }

    .voice-list {
        display: flex;
        gap: 3%;
        flex-wrap: wrap;
        max-width: 800px;
        margin: 3.19rem auto 0;
    }

    ul#menu-nav {
        display: flex;
        justify-content: flex-end;
        font-size: 18px;
        flex-wrap: wrap;
        max-width: 800px;
        margin: -17px 0 0 auto;
    }

    .mv__inner {
        width: 100%;
    }

    .mv__inner {
        height: 520px;
        width: 100%;
        margin-top: 5.28rem;
        margin-bottom: 6rem;
    }

    .mv__maincopybox {
        padding-right: 0.825rem;
    }

    .mv__image {
        height: 458px;
        background-size: cover;
        border-radius: 20px;
        margin-top: 13vh;
        position: relative;
        background-position: right 34% center;
    }

    .bk:before {
        width: 100%;
        height: 100%;
    }

    .bk2:before {
        width: 100%;
        height: 100%;
    }

    .top-type {
        padding: 8.525rem 0 8.25rem;
        padding: 8.525rem 0 11rem;
        background-position: right top 153px, top 650px right;
        background-size: 52%, 350px;
    }

    .top-type p.en-heading-b.en {
        left: -36px;
    }

    .voice-list a.voice {
        width: 48%;
        margin-bottom: 1.65rem;
    }

    .top-flow__flex {
        justify-content: flex-start;
        gap: 4%;
        max-width: 600px;
        margin: 0 auto;
    }

    .top-flow__box {
        margin-bottom: 1.1rem;
    }

    .top-news__title {
        width: 125px;
    }

    .top-news__list {
        width: 74%;
    }

    .inner.footer-contact {
        width: 90%;
    }

    .footer-contact__formbox {
        width: 436px;
    }

    .inner.footer-contact a.app-btn {
        padding-left: 3.3rem;
    }

    .inner.footer-contact a.app-btn:before,
    .inner.footer-contact a.line-btn.app-btn i.fa-brands.fa-line {
        left: 22px;
    }

    .footerbox__right ul li {
        font-size: 14px;
        margin-bottom: 0.275rem;
    }

    .footerbox__right ul li a {
        display: block;
        width: 100%;
    }

    .service__icons ul li {
        width: 49%;
    }

    .merit ul li {
        width: 48%;
        margin-bottom: 2rem;
    }

    .merit ul li h3 br {
        display: none;
    }

    .manegement__box {
        width: 46%;
        margin-bottom: 2rem;
    }

    .manegement__flex {
        justify-content: center;
    }

    .manegement .inner {
        padding: 5rem 0 0;
    }

    .bk2.philosophy {
        margin: 6rem auto 3rem;
    }

    .bk2.philosophy p.en-heading-b.en {
        right: 13px;
        line-height: 1;
    }
}


/* ==============================

    スマホ・タブレット縦

============================== */

@media screen and (max-width:1024px) {
    .flow__boxtext-wrap .step {
        position: absolute;
        left: -23px;
        right: 0;
        margin: auto;
        top: -17px;
    }

    .form-field {
        max-width: 480px;
        width: 100%;
    }

    .features__img .step {
        position: absolute;
        top: -36px;
        left: 0;
        right: 0;
        margin: auto;
    }

    .wrap.column-wrap .news-page-body {
        width: 100%;
    }

    article.news-li.column-li {
        width: 30%;
    }

    .under-v {
        margin-top: 95px;
    }

    header {
        position: absolute;
    }

    .header__btn-sp.sp a.app-btn {
        padding-left: 1.925rem;
        padding-top: 1.1rem;
        max-width: 50% !important;
    }

    .footerbox__contactbtn {
        display: none;
    }

    .inner {
        max-width: calc(1200px + 4vw * 2);
        padding-left: 4vw !important;
        padding-right: 4vw !important;
    }

    header.scroll-nav {
        padding-bottom: 0;
        background: none;
    }

    a.taichoukai-banner.img-hover.sp {
        display: block;
        max-width: 445px;
    }

    a.taichoukai-banner.img-hover.pc {
        display: none;
    }


    /*ハンバーガーメニュー表示*/
    .nav-wrapper {
        display: block;
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .header__btn-sp.sp {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        display: flex;
        flex-direction: row-reverse;
    }

    ul.onayami__list:nth-of-type(2) li:nth-of-type(2) {
        margin-left: 0;
    }

    header a.tel-btn.app-btn {
        padding-top: 0.77rem;
        text-align: center;
        width: 50%;
        border-radius: 0 !important;
        font-size: 18px !important;
        line-height: 1.1;
    }

    header a.app-btn span {
        max-width: fit-content;
        margin: auto;
        display: block;
    }

    header a.app-btn:before {
        left: -130px;
        right: 0;
        margin: auto;
        top: 1px;
    }

    header a.app-btn {
        border-radius: 0;
        padding: 0.605rem 0 0.275rem 1.925rem;
        width: 50%;
        font-size: 18px !important;
    }

    .header__logo-btn figure {
        max-width: 246px;
        margin: 0;
    }

    header {
        padding: 0 1.155rem;
    }

    .header__logo-btn {
        max-width: fit-content;
    }

    .mv__inner {
        height: auto;
        width: 100%;
        margin-top: 1.43rem;
        padding: 0;
        display: block;
    }

    .mv__image {
        height: 382px;
        background-size: cover;
        border-radius: 0 20px 20px 0;
        margin-top: 6.435rem;
        position: relative;
        background-position: right 34% center;
        width: 92%;
    }

    .mv__maincopy h2 br {
        display: none;
    }

    .mv__maincopy h2 {
        writing-mode: lr;
    }

    .mv__maincopy h3 {
        /* padding: 0.55rem 0.55rem; */
        /* writing-mode: lr; */
        /* max-width: fit-content; */
        display: flex;
        flex-direction: row;
        margin: 19px 0 0;
        gap: 0;
    }

    .mv__maincopy h3 span.mv__name:nth-of-type(2) {
        padding-left: 0;
    }

    .mv__maincopy h3 span.mv__name {
        height: fit-content;
        padding: 9px 17px 5px;
        writing-mode: lr;
        max-width: fit-content;
    }

    .mv__maincopy {
        display: block;
        margin: 4.29rem auto 1.43rem;
        max-width: fit-content;
    }

    .mv {
        background-size: 50%;
    }

    .mv__maincopybox .en {
        display: none;
    }

    .mv__maincopy2-sp.sp {
        font-size: 24px;
        text-align: center;
        padding-bottom: 3.63rem;
        text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
    }

    .mv-circle {
        width: 450px;
        height: 450px;
        top: 357px;
        right: auto;
        left: 9%;
    }

    ul.onayami__list li.onayami__li2 {
        padding-top: 0;
    }

    ul.onayami__list li {
        width: auto;
        height: auto;
        text-align: left;
        color: #5f4d33;
        border: none;
        border-radius: 10px;
        margin-bottom: 0.77rem;
        position: relative;
        line-height: 1.5;
        font-size: 20px;
        padding-top: 0;
        font-weight: bold;
        background: none;
    }

    ul.onayami__list:first-of-type li {
        margin-left: 0;
    }

    ul.onayami__list li br {
        display: none;
    }

    .onayami__list-wrap {
        /* display: block; */
        max-width: 460px;
        margin: auto;
        border-radius: 30px;
        background: #fff;
        padding: 1.87rem 1.87rem 1.1rem;
        border: 3px dotted var(--main-color3);
        margin-bottom: 13.75rem;
    }

    .bk.onayami-wrap .inner {
        padding: 3.685rem 0 4.95rem;
        background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/08/onayami2.png);
        background-repeat: no-repeat;
        background-position: bottom 50px center;
        background-size: 321px;
    }

    .bk2.point .inner {
        display: block;
        padding: 3.135rem 0 3.19rem;
        position: relative;
    }

    .bk2.point h2 {
        writing-mode: lr;
        text-align: center;
        margin-bottom: 3.025rem;
    }

    .bk2.point h2 span.underline {
        background: linear-gradient(transparent 78%, #e8edc8 78%);
    }

    .bk2.point p.en-heading-b.en {
        position: absolute;
        writing-mode: lr;
        right: 33px;
        bottom: 11px;
    }

    .point__box {
        width: 48%;
    }

    .top-about__text {
        width: 100%;
    }

    .top-about.inner {
        padding: 4.73rem 0 4.345rem;
    }

    .top-about__image {
        width: 100%;
        position: relative;
        max-width: 500px;
        margin: 0 auto 2.09rem;
    }

    .top-about__text h2 {
        text-align: center;
    }

    figure.top-about__img2 {
        max-width: 120px;
        position: absolute;
        bottom: -6px;
        left: -32px;
    }

    .top-about__text a.btn {
        margin: 2.475rem auto 0;
    }

    .top-type {
        padding: 4.675rem 0 18.59rem;
        background-position: right top 382px, top 760px right;
        background-size: 58%, 350px;
    }

    .bk.top-voice {
        padding: 2.035rem 0 0.825rem;
    }

    a.btn.btn-2lines {
        padding-top: 0.6rem;
    }

    .qa-column.inner {
        display: block;
    }

    .qa-column.inner {
        display: block;
        padding-bottom: 7.975rem;
        padding-left: 2.2rem !important;
        padding-right: 2.2rem !important;
    }

    .top-qa,
    .top-column {
        border-radius: 35px;
        padding: 2.035rem 2.2rem 2.805rem;
        width: 100%;
        position: relative;
        margin-bottom: 2.53rem;
    }

    .qa-column.inner a.btn.btn-center {
        position: relative;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 2.365rem auto 0;
    }

    .qa-column.inner {
        padding-bottom: 2.695rem;
    }

    .top-news .inner {
        display: block;
    }

    .top-news__list {
        width: 100%;
    }

    .top-news__title {
        width: 100%;
        margin-bottom: 1.87rem;
    }

    .top-news__list .news-li__meta {
        margin-bottom: 0.44rem;
        display: flex;
    }

    .top-news__list article.top-news__li a {
        display: block;
        width: 100%;
        margin-bottom: 0.99rem;
    }

    footer#site-footer {
        margin-top: 4.73rem;
    }

    .footer-contact__inner {
        display: block;
    }

    .footer-contact__textbox {
        width: 100%;
        text-align: center;
        margin-bottom: 2.695rem;
    }

    .footer-contact__inner {
        width: 95%;
        margin: auto;
        display: block;
        align-items: center;
        background-size: 186px;
        background-position: top 62px right;
    }

    .footer-contact__formbox {
        width: 100%;
        margin: auto;
    }

    .inner.footer-contact a.app-btn {
        padding-left: 4.455rem;
    }

    .footerbox__flex {
        display: block;
        margin-bottom: 2.915rem;
    }

    .footerbox__right {
        margin: 0 auto;
    }

    a.foot-logo.img-hover {
        display: block;
        margin: 0 auto 1.65rem;
    }

    p.footerbox__adress {
        font-size: 16px;
        max-width: fit-content;
        margin: 0 auto 1.65rem;
    }

    .footerbox__contactbtn {
        justify-content: center;
    }

    .footerbox__line {
        display: block;
        max-width: fit-content;
        margin: 1.595rem auto;
    }

    .footerbox {
        padding: 6.05rem 0 3.685rem;
    }

    header a.app-btn {
        height: 59px;
    }

    .footerbox__left {
        width: 100%;
    }

    .news-main-layout {
        display: block;
    }

    .news-page-body {
        width: 100%;
    }

    aside.news-category {
        width: 100%;
        margin: 3rem 0 0;
    }

    ol.breadcrumb__list {
        gap: 4%;
        margin: 1.595rem 0 3.4rem;
        flex-wrap: wrap;
    }

    .types-box-flex__text {
        width: 100%;
    }

    .types-box-flex__text h2 {
        text-align: center;
    }

    .types-box-flex__image.sp {
        max-width: 500px;
        margin: 0 auto 3rem;
    }

    p.types-about-text {
        text-align: left;
    }

    .types-image2 {
        max-width: 183px;
        position: absolute;
        bottom: -84px;
        left: -40px;
    }

    .types-image {
        max-width: 125px;
        position: absolute;
        bottom: -97px;
        right: -23px;
    }

    .types-box-flex-wrap {
        margin-top: 8rem;
    }

    .about-types ul li {
        width: 49%;
        margin-top: 1rem;
    }

    .about-types {
        padding: 5.5rem 0 7rem;
        background-position: top 59px right 0;
        background-size: 42%;
    }

    .features__img {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 2rem !important;
    }

    .features__text h3 {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .features__text {
        width: 100%;
    }

    .features__img:after {
        height: 50px;
        width: 96px;
        background-position: center;
        top: -27px;
        left: 0;
        right: 0;
        margin: auto;
    }

    .features h2 {
        margin-bottom: 5rem;
    }

    .service__icons {
        margin-top: 3.5rem;
    }

    .service {
        padding: 6.5rem 0 10rem;
        background-position: bottom 5rem left;
    }

    .free__img-wrap.swipe-wrap {
        overflow-x: auto;
    }

    figure.free__img {
        max-width: 500px;
        width: 100%;
        /* margin: 0 auto; */
        /* overflow-x: auto; */
    }

    p.free__text {
        margin-bottom: 2.5rem;
    }

    .free__img-wrap.swipe-wrap .swipe-hint {
        display: block;
    }

    p.merit__text {
        padding: 3rem 0 4rem;
        text-align: left;
    }

    .merit ul {
        margin-bottom: 3rem;
    }

    ul.checklist {
        width: 100%;
        margin: 0 auto;
        max-width: fit-content;
    }

    .help .inner {
        padding: 6.5rem 0 14rem;
        background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/who-sp.png);
        background-position: center bottom;
        background-size: 281px;
    }

    .bk.help p.en-heading-b.en {
        display: none;
    }

    .advisers__box {
        width: 100%;
        gap: 23px !important;
        max-width: 580px;
        margin: 0 auto 1rem;
    }

    .advisers h2 {
        margin-bottom: 3rem;
    }

    .advisers .inner {
        padding: 5rem 0 4rem;
    }

    .taichokai__txt {
        width: 100%;
        margin: 0 auto;
    }

    figure.taichokai__image {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        max-width: 500px;
        margin: 0 auto 3rem;
    }

    .taichokai__txt .btn {
        margin: 2.5rem auto 0;
    }

    .taichokai {
        margin-bottom: 5rem;
    }

    .merit {
        padding: 6rem 0 6.5rem;
    }

    .features__box {
        display: block;
        margin-bottom: 5rem;
    }

    .company__flex {
        display: block;
        width: 100%;
        padding: 11px 4px;
    }

    p.company__title {
        width: 100%;
    }

    .company__box {
        margin-bottom: 3rem;
    }

    .company.inner {
        background-position: top 603px right;
    }

    .bk2.philosophy .inner {
        position: relative;
        display: block;
        padding: 5rem 0 18rem;
    }

    .bk2.philosophy:before {
        background-position: bottom 17px left;
        background-size: 360px;
    }

    .bk2.philosophy h2 {
        width: 100%;
        text-align: center;
        margin: 0 auto 2rem;
        z-index: 10;
        position: relative;
    }

    .bk2.philosophy p.en-heading-b.en {
        line-height: 1;
        writing-mode: lr;
        top: 57px;
        left: 0;
        right: 0;
        max-width: fit-content;
        margin: auto;
        z-index: 0;
    }

    .philosophy__box-wrap {
        width: 100%;
    }

    figure.flow__image {
        margin: 3.5rem auto 4rem;
        max-width: 500px;
    }

    .flow__boxtext-wrap {
        width: 51%;
    }

    .flow__btnflex {
        display: block;
    }

    .flow__box figure {
        width: 100px;
        position: absolute;
        top: 33px;
        left: 0;
        right: 203px;
        margin: auto;
    }

    .flow__boxtext-wrap h3 {
        padding-left: 162px;
        position: relative;
        padding-top: 1.5rem;
        max-width: 400px;
        margin: 2rem auto 1rem;
        left: 0;
        right: 0;
    }

    .flow__boxtext-wrap h3:before {
        height: 42px;
        width: 52px;
        background-repeat: no-repeat;
        background-position: left;
        position: absolute;
        left: 170px;
        top: -23px;
    }

    .flow__btnflex {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .flow__box {
        padding: 22px 22px;
        display: block;
    }

    .flow__boxtext-wrap {
        width: 100%;
    }

    .flow__btnflex {
        max-width: 450px;
        margin: 1rem auto 0;
    }

    figure.flow__illust {
        right: 23px;
        max-width: 166px;
        bottom: -93px;
    }

    .flow__boxtext .btn {
        margin-left: auto;
        margin-right: auto;
    }

    .flow__boxtext {
        max-width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .mv h4 img {
        opacity: 0;
    }
}

/* ==============================

    タブレット縦のみ

============================== */

@media (max-width: 1024px) and (min-width: 767px) {}


/* ==============================

    スマホ以下 

============================== */

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

    :root {
        --base-font-size: 16px;
        --heading-size-l: 21px;
        --heading-size-m: 18px;
        --base-line-height: 1.65;
        --heading-line-height: 1.5;
        --section-padding: 2.2rem 0 3.3rem;
        --section-padding-m: 3.3rem 0;
        --section-padding-l: 4.95rem 0;
    }

    /* ==============================
    
        特定商取引に基づく表記・テーブル

    ============================== */

    .wp-block-table tr td {
        display: block;
        width: 100%;
    }

    .wp-block-table td:first-of-type {
        width: 100%;
    }

    figure.wp-block-table td,
    figure.wp-block-table th {
        border: none;
        padding: 0.55rem 0.715rem;
    }


    /* ==============================
    
    個人情報保護方針
    
 ============================== */

    .wp-block-group.policy-wrap p {
        margin-bottom: 1.265rem;
    }

    .wp-block-group.policy-wrap li {
        margin-bottom: 1.1rem;
    }


    /* ==============================
    
        以下テーマ専用CSS
    
    ============================== */
    .header__hamburger {
        width: 75px;
        height: 75px;
    }

    .header__hamburger-text span {
        font-size: 13px;
        bottom: 9px;
    }

    .header__hamburger-icon {
        width: 40px;
        height: 2px;
    }

    .header__hamburger-icon span:nth-of-type(3) {
        top: 43px;
    }

    .header__hamburger-icon span:nth-of-type(2) {
        top: 30px;
    }

    .header__hamburger-icon span {
        height: 2px;
        top: 18px;
        left: 0;
        right: 0;
        margin: auto;
    }

    .header__hamburger.is-open .header__hamburger-icon span:nth-of-type(1) {
        top: 31px;
    }

    .header__hamburger.is-open .header__hamburger-icon span:nth-of-type(3) {
        top: 31px;
    }

    .header__sp-nav a {
        padding: 0.605rem 2.145rem 0.605rem 0.55rem;
        font-size: 14px;
    }

    .header__sp-menu {
        width: 80%;
        height: 466px;
        background-position: bottom 26px right 33px;
        background-size: 136px;
    }

    .header__sp-nav a:after {
        width: 20px;
        height: 20px;
        line-height: 2;
        right: 6px;
        font-size: 10px;
    }
    .header__logo-btn figure {
        max-width: 173px;
        margin: 4px 0 0rem;
    }

    .mv__image {
        height: 230px;
        border-radius: 0 20px 20px 0;
        margin-top: 4.895rem;
        position: relative;
        background-position: right 34% center;
        max-width: 320px;
        width: 90%;
    }

    .mv h4 img {
        opacity: 0;
    }

    .mv__maincopy {
        display: block;
        margin: 1.98rem auto 1.5rem;
        max-width: fit-content;
        width: 90%;
    }

    .mv__maincopy h2 {
        color: #5f4d33;
        font-size: 20px;
        margin-bottom: 0.495rem;
    }

    /*    .mv__maincopy h1 {
        padding: 0.33rem 0.55rem 0.165rem;
        writing-mode: lr;
        max-width: fit-content;
        font-size: 30px;
    }*/
    .mv__maincopy h3 {
        margin: 21px 0 0;
    }

    .mv__maincopy h3 span.mv__name {
        height: fit-content;
        writing-mode: lr;
        max-width: fit-content;
    }

    .mv__maincopy h3 span.mv__name {
        display: block;
        font-size: 36px;
        padding: 4px 15px 7px;
    }

    .mv__maincopy2-sp.sp {
        font-size: 18px;
        text-align: center;
        padding-bottom: 4.5rem;
    }

    .bk.onayami-wrap {
        margin-top: 0;
    }

    .mv-circle {
        width: 260px;
        height: 260px;
        top: 262px;
        right: auto;
        left: 17px;
    }

    .mv {
        background-size: 222px;
        background-position: bottom 29px right;
    }

    .inner {
        max-width: 100%;
        padding-left: 4vw !important;
        padding-right: 4vw !important;
    }

    p.en.en-heading {
        font-size: 16px;
        margin-bottom: 0.605rem;
    }

    .bk.onayami-wrap h2:before {
        width: 34px;
        height: 39px;
        left: -13px;
        top: -47px;
    }

    ul.onayami__list li {
        line-height: 1.5;
        font-size: 16px;
    }

    .onayami__list-wrap {
        max-width: 350px;
        border-radius: 20px;
        padding: 1.5rem 1rem 0.5rem;
        margin-bottom: 7.75rem;
    }

    .bk.onayami-wrap .inner {
        padding: 3.685rem 0 4.95rem;
        background-position: bottom 41px center;
        background-size: 182px;
    }

    .omakase__dot {
        max-width: 8px;
        margin: -1.1rem auto 0;
    }

    .omakase__txt {
        padding: 3.4rem 0 3rem;
        max-width: 525px;
        margin: 0 auto;
        background-position: center top 17px;
        background-repeat: no-repeat;
        background-size: 90%;
    }

    figure.omakase__family {
        max-width: 121px;
        position: absolute;
        right: 21px;
        bottom: 20px;
    }

    .pc2 {
        display: none;
    }

    .omakase__txt p {
        margin-top: 1.475rem;
        text-align: left !important;
    }

    h2 span.heading-small {
        font-size: 21px;
    }

    span.underline {
        font-size: 21px;
    }

    .bk2.point .inner {
        display: block;
        padding: 2.8rem 0 3rem;
    }

    .bk2.point h2 {
        margin-bottom: 2.1rem;
    }

    .point__box:before {
        height: 30px;
        width: 35px;
        top: 11px;
        left: 10px;
    }

    figure.point__img {
        max-width: 54px;
        margin: 0 auto 0.1rem;
    }

    .point__box h3 {
        font-size: 15px;
        line-height: 1;
        padding: 0.3rem 0 0.3rem;
        margin-bottom: 0.4rem;
    }

    .point__box p br {
        display: none;
    }

    .point__box p {
        font-size: 14px;
        line-height: 1.5;
        text-align: left;
    }

    .point__box {
        margin-bottom: 0.7rem;
        padding: 0.8rem 0.6rem 0.5rem;
    }

    p.en-heading-b.en {
        font-size: 32px;
    }

    .bk2.point p.en-heading-b.en {
        right: 25px;
        bottom: 14px;
    }

    .top-about.inner {
        padding: 3.9rem 0;
    }

    .top-about__image {
        max-width: 300px;
        margin: 0 auto 2.09rem;
    }

    figure.top-about__img2 {
        max-width: 98px;
        bottom: -19px;
        left: -25px;
    }

    a.btn {
        max-width: 275px;
        width: 100%;
        padding: 1.4rem 2rem 1.4rem 0rem;
        line-height: 1.4;
        height: 66px;
        text-align: center;
    }

    a.btn:after,
    input.wpcf7-form-control.wpcf7-submit.has-spinner:after {
        content: '→';
        width: 32px;
        height: 32px;
    }

    .swipe-hint {
        left: 50%;
    }

    /*    a.btn.btn-2lines {
        padding-top: 0.7rem;
    }*/

    .bk3.difference .inner {
        padding: 3.84rem 0 3.885rem;
        text-align: left;
    }

    .bk3 {
        background-size: 196px;
    }

    .comparison-table-wrap {
        width: 100%;
        /*        overflow-x: auto;
        overflow-y: hidden;*/
    }

    /*    .comparison-table {
        width: 865px;
        min-width: 865px;
        border-collapse: collapse;
        table-layout: fixed;
    }*/

    .swipe-hint {
        display: block;
    }



    .comparison-table tr:first-child td:nth-child(2) {
        width: 45%;
    }

    .comparison-table tr:first-child td:nth-child(3) {
        width: 45%;
    }

    table {
        font-size: 15px;
    }

    .comparison-table__head {
        position: absolute;
        top: 0;
        left: 22%;
        width: 78.6%;
        height: 50px;
        display: flex;
    }

    .comparison-table tr th:first-child {
        text-align: left;
    }

    p.difference__text {
        margin: 2.255rem 0 1.2rem;
    }

    .comparison-table {
        width: 100% !important;
        max-width: 400px !important;
        padding: 0;
        min-width: 100%;
    }

    .top-type p.en-heading-b.en {
        left: 0;
    }

    .top-type h2 {
        margin: 0.85rem 0 1.64rem;
    }

    p.top-type__text {
        margin-bottom: 387px;
    }

    .top-type {
        padding: 3.675rem 0 4rem;
        background-position: right top 295px, top 572px right;
        background-size: 312px, 253px;
    }

    .top-type a.btn {
        margin-left: auto;
        margin-right: auto;
    }

    .bk.top-voice {
        padding: 0.8rem 0 0.825rem;
    }

    .voice-list {
        display: block;
        gap: 3%;
        flex-wrap: wrap;
        margin-top: 2.19rem;
    }

    .voice-list a.voice {
        max-width: 335px;
        display: block;
        width: 100%;
        margin: 0 auto 1.2rem;
        padding: 0.77rem 0.77rem 1.43rem;
    }

    span.voice__label {
        width: 87px;
        font-size: 14px;
        padding: 3px 0 4px;
        line-height: 1;
        height: auto;
    }

    .top-flow .inner .btn,
    .bk.top-voice .btn {
        margin-top: 2.575rem;
    }

    .top-flow {
        background-size: 60%;
    }

    .top-flow .inner {
        padding: 3.72rem 0 5.15rem;
    }

    .top-flow__icon {
        width: fit-content;
        height: fit-content;
        position: absolute;
        top: 0;
        right: 5px;
        bottom: 0;
        margin: auto;
    }

    .top-flow__number {
        max-width: fit-content;
        position: absolute;
        left: 20px;
        width: fit-content;
        height: fit-content;
        top: 0;
        bottom: 4px;
        margin: auto;
    }

    .top-flow__number img,
    .top-flow__number figure {
        height: 31px;
    }

    .top-flow__icon img {
        object-position: right;
        object-fit: contain;
        width: 74px;
        height: 48px;
    }

    .top-flow__text {
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto;
        height: fit-content;
        max-width: fit-content;
        left: 0;
        right: 0;
    }

    .top-flow__box {
        width: 279px;
        border-radius: 10px;
        padding: 0;
        position: relative;
        height: 89px;
        margin: 0 auto;
        margin-bottom: 1.4rem;
    }

    .top-flow__box:after {
        content: '';
        width: 0;
        height: 0;
        border-left: none;
        border-top: none;
        border-bottom: none;
        position: absolute;
        right: -20px;
        top: auto;
        bottom: -18px;
        margin: auto;
        border-left: none;
        border-right: none;
        border-top: none;
        width: 0;
        height: 0;
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-top: 12px solid var(--main-color1);
        left: 0;
        right: 0;
        margin: auto;
    }

    .top-flow__box-flex {
        display: block;
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .top-flow h2 {
        margin-bottom: 2rem;
    }

    .top-flow .inner .btn {
        margin-top: 1.9rem;
    }

    .top-qa a.btn.btn-center {
        margin-top: 2rem !important;
    }

    header a.app-btn {
        height: 51px;
    }

    header a.app-btn {
        padding: 0.7rem 0 0.275rem 1.925rem;
        font-size: 16px !important;
    }

    header a.tel-btn.app-btn {
        font-size: 16px !important;
        padding-top: 0.8rem;
    }

    .header__sp-nav ul {
        margin: 2rem auto 0;
    }

    .bk.onayami-wrap h2 {
        margin-bottom: 1.7rem;
    }

    .omakase__txt h2 {
        line-height: 1;
    }

    .omakase__txt figure {
        margin: 0.6rem auto 0.3rem;
        max-width: 350px;
    }

    .qa-column.inner {
        padding-bottom: 0;
        padding-left: 0rem !important;
        padding-right: 0rem !important;
    }

    .qa-column.inner p.en-heading-b.en {
        top: -12px;
    }

    .qa-column.inner h2 {
        margin-bottom: 2rem;
    }

    .top-qa,
    .top-column {
        border-radius: 35px;
        padding: 2.035rem 4vw 2rem;
        width: 100%;
        position: relative;
        margin-bottom: 2.53rem;
    }

    .accordion__button {
        padding: 1.1rem 1.4rem 1.1rem 1.95rem;
        border: 0;
        color: inherit;
        cursor: pointer;
        font-family: inherit;
        line-height: 1.3;
    }

    .accordion__question::before {
        left: -30px;
        font-size: 15px;
        line-height: 1.5;
        width: 22px;
        height: 22px;
        top: 1px;
    }

    .accordion__button::before,
    .accordion__button::after {
        top: 50%;
        right: 7px;
        width: 10px;
        height: 1px;
    }

    .accordion__body {
        padding: 1.1rem 1.4rem 1.1rem 1.95rem;
    }

    .accordion__body:after {
        left: 2px;
        font-size: 15px;
        line-height: 1.5;
        width: 22px;
        height: 22px;
        top: 21px;
    }

    .qa-column.inner a.btn.btn-center {
        margin: 1.8rem auto 0;
    }

    .top-column time.news-li__date {
        font-size: 14px;
    }

    .top-column h2.news-li__title {
        margin-bottom: 0.2rem;
        font-size: 16px;
    }

    p.news-li__excerpt {
        line-height: 1.3;
        font-size: 13px;
    }

    .top-column .news-li__image {
        max-width: 165px;
        height: 113px;
        width: 100%;
        border-radius: 10px;
    }

    .top-column a.news-li.column-li {
        display: flex;
        align-items: center;
        gap: 15px;
        flex-direction: row;
        margin-bottom: 0.8rem;
    }

    .qa-column.inner a.btn.btn-center {
        margin: 0rem auto 0;
    }

    .top-news {
        padding-top: 1rem;
    }

    span.news-li__label {
        width: 87px;
        padding: 3px 0 4px;
        font-size: 14px;
        height: auto;
    }

    span.news-li__label.news-li__label-single {
        padding: 3px 14px 4px;
    }

    footer#site-footer {
        margin-top: 5rem;
    }

    .inner.footer-contact {
        background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/comtact-bk-so.png);
        padding: 1.75rem 0;
        border-radius: 10px;
    }

    .footer-contact__textbox h2 {
        margin: 0.5rem 0 1.1rem;
        font-size: 21px;
    }

    .footer-contact__textbox {
        margin-bottom: 2rem;
    }

    .footer-contact__tel h3 {
        font-size: 21px;
    }

    .footer-contact__tel h3:after {
        width: 20px;
        height: 20px;
        left: 0;
        top: 0;
    }

    p.footer-contact__tel-txt {
        font-size: 12px;
        margin-top: 0.2rem;
    }

    .flow__btnflex {
        max-width: 350px;
    }

    .footer-contact__tel {
        padding-bottom: 0.4rem;
        margin-bottom: 0.6rem;
    }

    .inner.footer-contact a.app-btn {
        height: 56px;
        padding-top: 1.2rem;
        max-width: 254px;
        margin-left: auto;
        margin-right: auto;
    }

    .inner.footer-contact a.app-btn {
        padding-left: 1rem;
    }

    .inner.footer-contact a.app-btn:before {
        width: 17px;
        height: 17px;
    }

    .inner.footer-contact a.app-btn:before,
    .inner.footer-contact a.line-btn.app-btn i.fa-brands.fa-line {
        left: 11px;
    }

    .inner.footer-contact a.line-btn.app-btn i.fa-brands.fa-line {
        left: 11px;
        top: 19px;
        font-size: 16px;
        z-index: 1;
    }

    .footer-contact__formbox {
        border-radius: 6px;
        max-width: 443px;
        margin: 0 auto;
        padding: 0.8rem 4vw 0.8rem;
    }

    .inner.footer-contact a.app-btn {
        border-radius: 6px;
    }

    .inner.footer-contact a.line-btn.app-btn span.yellow {
        font-size: 12px;
    }

    .inner.footer-contact a.line-btn.app-btn {
        padding-top: 0.3rem;
    }

    .inner.footer-contact a.app-btn.line-btn:before {
        width: 38px;
        height: 38px;
        left: auto;
        right: 8px;
    }

    .footer-contact__inner {
        background-size: 139px;
        background-position: top 28px right;
    }

    .footerbox {
        padding: 6.05rem 0 4.685rem;
    }

    a.foot-logo.img-hover {
        margin: 0 auto 1.4rem;
        max-width: 304px;
    }

    p.footerbox__adress {
        font-size: 14px;
        max-width: fit-content;
        margin: 0 auto 2rem;
    }

    a.app-btn:before {
        width: 19px;
        height: 19px;
        position: absolute;
        left: 16px;
        bottom: 0;
        top: 0;
        margin: auto;
        z-index: 10;
        /* right: 0; */
    }


    a.app-btn {
        width: 174px;
        padding: 0.35rem 0 0.495rem 2.6rem;
        height: 45px;
    }

    a.tel-btn.app-btn {
        line-height: 0.8;
        padding-top: 0.7rem;
    }

    .footerbox__line {
        display: block;
        max-width: fit-content;
        margin: 1.5rem auto 2.3rem;
    }

    .footerbox__right {
        margin: 0 auto;
        display: block;
    }

    .footerbox__right li>ul li:before {
        left: 15px;
        width: 11px;
        height: 2px;
        top: 0;
        bottom: 0;
        margin: auto;
    }

    /*        .footerbox__right {
        margin: 0 auto;
        display: block;
        background-color: #fff;
        border: 2px dotted var(--main-color3);
        border-radius: 30px;
        padding: 30px 15px 12px;
        max-width: 297px;
    }*/

    a.taichoukai-banner.img-hover.sp {
        display: block;
        max-width: 445px;
    }

    a.taichoukai-banner.img-hover.sp {
        max-width: 345px;
    }

    .footerbox__flex {
        margin-bottom: 2.2rem;
    }

    a.taichoukai-banner figure:after {
        width: 27px;
        height: 27px;
        bottom: 9px;
        right: 0;
        background-repeat: no-repeat;
    }

    p.copylight {
        font-size: 12px;
        margin-top: 0.3rem;
    }

    .point__box-flex {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .top-type h2,
    p.top-type__text {
        max-width: 400px;
    }

    .top-flow__flex {
        display: block;
    }

    header a.app-btn:before {
        left: -119px;
    }

    .under-v h1:before {
        font-size: 50px;
        top: -4px;
    }

    .under-v h1 {
        padding: 2rem 0;
        font-size: 24px;
    }

    body#types .under-v h1 {
        max-width: 274px;
    }

    .under-v {
        margin-top: 75px;
        height: 198px;
        background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/news-v-sp.png);
    }

    article.news-li {
        display: flex;
        justify-content: flex-start;
        gap: 4%;
        align-items: center;
        margin-bottom: 2.2rem;
        width: 100%;
        max-width: 100%;
    }

    a.news-li__image,
    a.news-li__image img {
        display: block;
        width: 150px;
        height: 102px;
    }

    ol.breadcrumb__list {
        gap: 5%;
        margin: 1.595rem 0 3rem;
        flex-wrap: wrap;
        font-size: 14px;
    }

    li.breadcrumb__item:after {
        content: '';
        width: 6px;
        height: 6px;
        right: -11px;
    }

    .news-li__meta {
        display: block;
        margin-bottom: 0.1rem;
    }

    h2.news-li__title {
        font-size: 16px;
    }

    a.news-li__link {
        display: none;
    }

    a.news-li__image,
    a.news-li__image img {
        position: relative;
    }

    a.news-li__image:before {
        content: '→';
        display: block;
        color: var(--main-color1);
        width: 26px;
        height: 26px;
        border-radius: 5px 0 0 0;
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: 10;
        background-color: #fff;
        text-align: center;
        line-height: 2;
    }

    .news-li__text {
        width: 53%;
    }

    article.news-li {
        margin-bottom: 1rem;
    }

    nav.pagination {
        gap: 28px;
        align-items: baseline;
        margin-top: 2.5rem;
    }

    aside.news-category {
        width: 100%;
        margin: 4rem 0 0;
    }

    aside.news-category h3 {
        padding: 0.715rem 0 0.55rem;
        margin-bottom: 0.7rem;
        font-size: 16px;
    }

    .news-page-body .news-li__meta {
        display: flex;
        margin-bottom: 0.4rem;
    }

    h2.news-detail__title {
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }

    .news-detail__content h3 {
        margin-top: 2rem;
        font-size: 19px;
        background: linear-gradient(transparent 79%, #e8edc8 79%);
    }

    .news-detail__content h4 {
        font-size: 18px;
        margin-top: 2rem;
    }

    .news-detail__content h5 {
        font-size: 16px;
        margin-top: 2rem;
    }

    .news-page-body a.btn {
        margin-left: auto;
        margin-right: auto;
    }

    .voice__icon,
    .voice__icon img {
        width: 90px;
        height: 90px;
    }

    article.news-li.column-li a.news-li__image:before {
        display: none;
    }

    article.news-li.column-li {
        width: 47%;
    }

    article.news-li.column-li a.news-li__image,
    article.news-li.column-li a.news-li__image img {
        width: 100%;
        height: 115px;
    }

    article.news-li.column-li h2.news-li__title {
        height: 67px;
    }

    .table-contents h4 {
        margin-bottom: 0.5rem;
        font-size: 16px;
    }

    .table-contents>ol>li>ol {
        padding: 0px 0 0 0.8em;
    }

    .table-contents>ol>li>ol li {
        font-size: 14px;
    }

    .table-contents {
        margin-bottom: 2rem;
    }

    .wrap.column-wrap .news-detail__content h3 {
        font-size: 19px;
        margin-bottom: 0.88rem;
        padding-bottom: 0.66rem;
        margin-top: 2.5rem;
    }

    .news-detail__content h4 {
        font-size: 18px;
        margin-top: 1rem;
    }

    .inner.policy-wrap ul li {
        margin-top: 2rem;
    }

    .inner.policy-wrap ul li h3:before {
        font-size: 16px;
        margin-right: -1px;
        line-height: 1;
        top: 1px;
    }

    .inner.policy-wrap {
        overflow: auto;
        width: 100%;
    }

    .inner.policy-wrap ul li h3 {
        font-size: 16px;
    }

    .inner.policy-wrap ul li,
    .inner.policy-wrap p {
        font-size: 14px;
    }

    .policy-company {
        font-size: 14px;
    }

    body#privacypolicy .under-v h1:before {
        line-height: 0.9;
        top: 6px;
    }

    .\34 04page .inner h2 {
        margin-bottom: 1.8rem;
    }

    .\34 04page a.top-btn {
        margin-top: 2.3rem;
    }

    a.top-btn {
        width: 188px;
        padding: 0.91rem 0 0.8rem;
    }

    .inner.\34 04page-text {
        font-size: 16px;
        margin-bottom: 1rem;
    }

    .\34 04page {
        margin-top: 7rem;
        margin-bottom: 4rem;
    }

    .form-row {
        display: block;
    }

    .form-label {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .form-field {
        max-width: 100%;
    }

    .form-field input,
    .form-field input[type="radio"],
    .form-field textarea#your-message {
        max-width: 100%;
    }

    .form-field textarea#your-message {
        height: 300px;
    }

    body#contact p.contact-text {
        text-align: left;
        margin-top: 3rem;
        margin-bottom: 3.2rem;
    }

    .inner.contact-wrap h4 {
        font-size: 16px;
        margin: 0 auto 0.5rem;
    }

    .inner.contact-wrap h4:before {
        width: 18px;
        height: 1px;
        left: -22px;
        top: 11px;
    }

    .inner.contact-wrap h4:after {
        width: 18px;
        height: 1px;
        right: -22px;
        top: 11px;
    }

    .inner.contact-wrap a.app-btn span.app-small {
        font-size: 14px;
    }

    .inner.contact-wrap a.app-btn {
        width: 277px;
        margin: 0 auto;
        padding: 1.1rem 0 0.5rem 1rem;
        height: 66px;
        font-size: 18px;
        text-align: center;
        line-height: 0.9;
        border-radius: 5px !important;
    }

    .inner.contact-wrap a.app-btn:before {
        width: 20px;
        height: 20px;
        left: 46px;
    }

    .inner.contact-wrap a.app-btn:after {
        width: 85px;
        height: 85px;
        top: 26px;
        right: -4px;
    }

    .inner.contact-wrap a.top-btn {
        margin: 1.5rem auto 0;
    }

    .contact-btn {
        max-width: 265px;
    }

    input.wpcf7-form-control.wpcf7-submit.has-spinner {
        width: 265px;
        height: 61px !important;
    }

    .form-submit {
        max-width: 265px;
    }

    .contact-btn:after {
        width: 31px;
        height: 31px;
        top: 14px;
        right: 12px;
    }

    input.wpcf7-form-control.wpcf7-submit.has-spinner,
    input.wpcf7-form-control.wpcf7-previous {
        width: 265px;
        height: 60px !important;
    }

    .confirm-buttons {
        margin: 4rem auto 0;
        max-width: fit-content;
        display: block;
    }

    .contact-confirm h2 {
        font-size: 18px;
        margin-bottom: 3rem;
    }

    .confirm-row {
        display: block;
        margin-bottom: 1.5rem;
    }

    .confirm-row dd {
        width: 100%;
        margin-top: 0.3rem;
    }

    .confirm-row dt {
        width: 100%;
    }

    .contact-btn.contact-btn2 {
        margin-right: 0;
        margin-bottom: 0.8rem;
    }

    input.wpcf7-form-control.wpcf7-submit.has-spinner,
    input.wpcf7-form-control.wpcf7-previous {
        border-radius: 5px !important;
    }

    body#contact .under-v,
    body#contact-thanks .under-v,
    body#contact-confirm .under-v {
        background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/contact-v-sp.png);
    }

    .types-box-flex__image.sp {
        max-width: 300px;
        margin: 0 auto 2rem;
    }

    .types-box-flex-wrap {
        margin-top: 7rem;
        background-size: 259px;
        padding-bottom: 4rem;
    }

    .types-box-flex__text h2 {
        margin-bottom: 2rem;
    }

    .types-image2 {
        max-width: 131px;
        position: absolute;
        bottom: -78px;
        left: -3px;
    }

    .types-box {
        padding: 21px 18px 8px;
        background-color: #fffcee;
        margin-bottom: 1.7rem;
    }

    .types-box h3 {
        padding-bottom: 12px;
        margin-bottom: 26px;
    }

    p.types-title {
        width: 73px;
        margin-right: 16px;
        padding: 0.2rem 0 0;
        font-size: 14px;
    }

    .types-flex:first-of-type {
        width: 100%;
        margin-bottom: 0.8rem;
    }

    .types-flex {
        display: block;
        margin-bottom: 1.4rem;
    }

    .types-flex-wrap .types-flex {
        display: flex;
    }

    p.types-title {
        width: 87px;
        margin-right: 15px;
        padding: 3px 0 4px;
        font-size: 14px;
        margin-bottom: 0.8rem;
    }

    .types-flex-wrap p.types-title {
        margin-bottom: 0;
    }

    .types-flex-wrap .types-flex {
        margin-bottom: 0.8rem !important;
    }

    .types-box-wrap {
        margin-bottom: 4rem;
    }

    h2.types-heading:before {
        width: 6px;
        height: 32px;
    }

    h2.types-heading {
        padding-left: 20px;
        margin-bottom: 2rem;
        font-size: 19px;
    }

    .types-image {
        max-width: 85px;
        position: absolute;
        bottom: -82px;
        right: -9px;
    }

    .types-image2 {
        max-width: 112px;
        position: absolute;
        bottom: -73px;
        left: -6px;
    }

    p.types-text {
        width: 100%;
    }

    body#types .under-v {
        background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/types-v-sp.png);
    }

    p.faq-about-text {
        margin-bottom: 2rem;
        text-align: left;
    }

    .pagelink ul li {
        width: 100%;
    }

    .pagelink {
        padding: 1.8rem 0 0.7rem;
    }

    .pagelink ul li a:before {
        left: 5px;
        width: 13px;
        height: 2px;
        top: -1px;
    }

    .pagelink ul li a {
        padding-left: 28px;
    }

    .faq-box {
        margin-top: 3.8rem;
    }

    .faq-box h2.types-heading {
        margin-bottom: 1rem;
        padding-top: 3px;
    }

    body#faq .types-box-flex-wrap {
        margin-top: 5rem;
    }

    body#faq .under-v {
        background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/faq-v-sp.png);
    }

    body#about .under-v h1 {
        max-width: 300px;
    }

    body#about .under-v {
        background-image: url(https://magokoro-soudan.info/wp-content/uploads/2026/09/about-v-sp.png);
    }

    .about-types {
        padding: 4.5rem 0 4rem;
        background-position: top 34px right 0;
        background-size: 198px;
    }

    .about-types h2 {
        margin-bottom: 2rem;
    }

    .green-heading {
        margin-bottom: 0.3rem;
    }

    .about-types ul li {
        width: 48%;
        margin-top: 1rem;
        font-size: 16px;
        border: 2px dotted var(--main-color3);
        border-radius: 5px;
        padding: 7px 0 6px;
    }

    .about-types ul {
        gap: 4%;
    }

    .features__img {
        max-width: 300px;
        margin: 0 auto 1rem !important;
    }

    .features__text h3 {
        text-align: center;
        margin-bottom: 1.5rem;
        font-size: 18px;
    }

    .features__img:after {
        height: 31px;
        width: 96px;
        top: -17px;
    }

    .features__box {
        margin-bottom: 3rem;
    }

    .features h2 {
        margin-bottom: 4rem;
    }

    .features .inner {
        padding: 4rem 0 3rem;
        background-position: bottom -8px right 15px;
        background-size: 103px;
    }

    .service {
        padding: 3.5rem 0 6rem;
        background-position: bottom 34px left;
        background-size: 230px;
    }

    .service__icons ul {
        display: block;
        margin-top: 1rem;
    }

    .service__icons ul li figure {
        max-width: 65px;
        height: 65px;
    }

    .service__icons ul li p br {
        display: none;
    }

    .service__icons ul li p {
        font-size: 16px;
    }

    .service__icons ul li {
        width: 100%;
        background: none;
        height: auto;
        padding: 0;
        max-width: 290px;
        margin: 0 auto;
        border-bottom: 1px solid var(--main-color1);
        border-radius: 0;
        padding: 10px;
        gap: 12px;
    }

    .service__icons ul {
        display: block;
        background-color: #fffcee;
        border-radius: 10px;
        max-width: 308px;
        margin: 1rem auto 0;
        padding: 10px 15px 0px;
    }

    .service__icons ul li:last-of-type {
        border-bottom: none;
    }

    .service__icons {
        margin-top: 2rem;
    }

    p.free__text {
        margin-bottom: 1rem;
        text-align: left;
    }

    .free h2 {
        margin: -0.7rem 0 2.1rem;
    }

    figure.free__img {
        max-width: 400px;
    }

    .free .inner {
        padding: 3.5rem 0 3.5rem;
    }

    .merit {
        padding: 4rem 0 4.5rem;
        background-size: 70%;
    }

    p.merit__text {
        padding: 2rem 0 3rem;
        text-align: left;
    }

    .merit ul {
        margin-bottom: 3rem;
        display: block;
    }

    .merit ul li {
        width: 100%;
        max-width: 350px;
        margin: 0 auto 1.3rem;
        padding: 60px 23px 18px;
    }

    .merit ul li h3 {
        padding-bottom: 12px;
        margin-bottom: 12px;
        text-align: center;
    }

    .merit li:after {
        height: 32px;
        width: 53px;
        top: 20px;
        background-position: center;
        left: 0;
        right: 0;
        margin: auto;
    }

    .hukidashi {
        max-width: 260px;
        top: -16px;
        left: 0;
        right: 0;
        padding: 17px 0;
        font-size: 18px;
    }

    .hukidashi:after {
        border-left: 11px solid transparent;
        border-right: 11px solid transparent;
        border-top: 17px solid #a2cd5e;
        bottom: -16px;
    }

    ul.checklist li:before {
        width: 16px;
        height: 14px;
        left: 2px;
        top: 5px;
        bottom: auto;
        margin: auto;
    }

    ul.checklist li {
        margin-bottom: 0.5rem;
        padding-left: 23px;
        position: relative;
    }

    .help .inner {
        padding: 5.3rem 0 13rem;
        background-size: 240px;
    }

    .advisers .inner {
        padding: 3.5rem 0 3rem;
    }

    .advisers__box {
        width: 100%;
        gap: 20px !important;
        max-width: 400px;
        margin: 0 auto 1rem;
        padding: 11px 10px 1px;
    }

    .advisers__img {
        max-width: 110px;
    }

    .advisers__txt-wrap {
        width: calc(100% - 146px);
    }

    .advisers__txt-wrap h3 {
        font-size: 16px;
        margin-bottom: 0.5rem;
    }

    .advisers__txt h4 {
        max-width: 81px;
        font-size: 14px;
        padding: 2px 0 3px;
        margin-bottom: 0.3rem;
    }

    .advisers__txt {
        margin-bottom: 0.6rem;
    }

    .advisers h2 {
        margin-bottom: 2rem;
    }

    .taichokai {
        margin-bottom: 0;
        background-size: 80%;
    }

    .taichokai h2 {
        margin-bottom: 3rem;
    }

    figure.taichokai__image {
        max-width: 400px;
        margin: 0 auto 2rem;
    }

    .company.inner iframe {
        height: 240px;
    }

    .company__box {
        margin-bottom: 3rem;
        margin-top: -12px;
    }

    .company.inner {
        background-position: top 628px right;
        background-size: 221px;
    }

    .bk2.philosophy {
        margin: 4rem auto 1rem;
    }

    .bk2.philosophy p.en-heading-b.en {
        top: 38px;
        left: 0;
        right: 0;
        max-width: fit-content;
        margin: auto;
        z-index: 0;
        height: fit-content;
        bottom: auto;
    }

    .bk2.philosophy .inner {
        position: relative;
        display: block;
        padding: 3.5rem 0 14rem;
    }

    .bk2.philosophy:before {
        background-position: bottom 17px left;
        background-size: 245px;
    }

    .philosophy__box h3 {
        width: 100%;
        text-align: center;
        margin-bottom: 0.6rem;
    }

    .philosophy__text {
        width: 100%;
    }

    .philosophy__box {
        padding: 20px 20px 20px;
        margin-bottom: 1.3rem;
        display: block;
    }

    .manegement .inner {
        padding: 3.5rem 0 0;
        background-size: 160px;
        background-position: top 0px right;
    }

    .manegement h2 {
        margin-bottom: 2.2rem;
    }

    .manegement__flex {
        display: block;
    }

    .manegement__box {
        width: 100%;
        margin: 0 auto 1rem;
        display: flex;
        padding-top: 59px;
        max-width: 350px;
        align-items: center;
        padding-bottom: 18px;
        border-radius: 5px;
    }

    .manegement__box figure img {
        height: 45px;
        object-fit: contain;
        object-position: center;
    }

    .manegement__box figure {
        width: 72px;
        margin: 0 auto 0.5rem;
        height: 72px;
        background-color: #fff;
        border-radius: 50%;
        padding: 16px 0 0;
    }

    .manegement__box h3 {
        padding: 2px 0 2px;
        position: absolute;
        top: 13px;
        left: 0;
        right: 0;
        margin: auto;
        width: 96%;
    }

    .manegement__txt p {
        text-align: left;
    }

    .manegement__txt {
        width: 66%;
    }

    .philosophy__box-wrap {
        width: 100%;
    }

    p.flow__text {
        text-align: left;
    }

    figure.flow__image {
        margin: 2.5rem auto 3rem;
        max-width: 400px;
    }

    .flow__box figure {
        width: 85px;
        position: absolute;
        top: 19px;
        left: 15px;
        right: auto;
        margin: 0;
    }

    .flow__boxtext-wrap h3 {
        padding-left: 108px;
        position: relative;
        padding-top: 1.1rem;
        max-width: fit-content;
        margin: 2rem 0 1rem;
        left: 0;
        right: auto;
    }

    .flow__boxtext-wrap h3:before {
        height: 30px;
        width: 52px;
        background-repeat: no-repeat;
        background-position: left;
        position: absolute;
        left: 109px;
        top: -23px;
    }

    .flow__box {
        padding: 19px 13px;
        display: block;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .flow__boxtext a.line-btn.app-btn i.fa-brands.fa-line {
        font-size: 22px;
        left: 17px;
        right: auto;
        top: 11px;
    }

    a.line-btn.app-btn {
        text-align: left;
        padding-left: 1.4rem;
        padding-top: 0.8rem;
    }

    .flow__btnflex .app-btn {
        width: 48%;
    }

    .flow__btnflex .app-btn {
        width: 48%;
        padding-left: 1rem;
    }

    a.line-btn.app-btn i.fa-brands.fa-line {
        text-align: left !important;
    }

    .flow__btnflex .app-btn:before {
        left: 7px;
    }

    figure.flow__illust {
        right: 15px;
        max-width: 115px;
        bottom: -65px;
    }

    body#flow .types-box-flex-wrap {
        margin-top: 6rem;
    }

    .taichokai .inner {
        padding: 4.5rem 0 3rem;
    }

    .mv__inner {
        margin-bottom: 1rem;
    }

    .step-label {
        font-size: 10px;
    }

    .step-number {
        font-size: 24px;
    }

    .point__box .step {
        top: 13px;
        left: 11px;
    }

    .merit .step {
        top: 23px;
        left: 0;
        right: 0;
        margin: auto;
    }

    .features__img .step span.step-number {
        font-size: 49px;
    }

    .features__img .step {
        position: absolute;
        top: -20px;
        left: 0;
        right: 0;
        margin: auto;
    }

    .features__img .step span.step-number {
        font-size: 38px;
    }

    /* ==============================
   スマホ版比較表
============================== */
    .swipe-hint.is-active {
        max-width: 100px;
    }

    .comparison-table tr:first-child td:nth-child(2) {
        border-top: none;
    }


    /* SP版 */
    .comparison-table__sp {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    /* SPテーブル全体 */
    .comparison-table__sp table {
        width: 580px !important;
        min-width: 580px !important;
        max-width: none !important;
        table-layout: fixed !important;
        border-collapse: collapse;
    }

    /* 1列目：ロゴ・ポータル */
    .comparison-table__sp .comparison-table__sp-col-company {
        width: 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
    }

    /* 2〜5列 */
    .comparison-table__sp .comparison-table__sp-col-item {
        width: 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
    }

    /* 1列目のth */
    .comparison-table__sp .comparison-table__sp-company {
        width: 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
        box-sizing: border-box;
    }

    /* SP表のセル */
    .comparison-table__sp th,
    .comparison-table__sp td {
        box-sizing: border-box;
    }

    .comparison-table thead tr th {
        height: 31px;
        padding: 0;
        font-size: 14px !important;
    }

    .comparison-table__sp tbody tr td {
        height: 66px !important;
    }

    /* ==============================
       PC版非表示
    ============================== */

    .pc-table {
        display: none !important;
    }

    /* ==============================
       横スクロール
    ============================== */
    .comparison-table td:nth-child(3) {
        color: inherit;
    }

    .comparison-table-wrap {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table {
        width: 100%;
    }

    /* ==============================
       SP版表示
    ============================== */

    .comparison-table__sp {
        display: block;
        width: 680px;
        max-width: none;
        margin: 0;
    }

    .comparison-table__sp table {
        display: table;
        width: 680px;
        max-width: none;
        margin: 0;
        padding: 0;
        border-collapse: collapse;
        border-spacing: 0;
        table-layout: fixed;
    }


    /* ==============================
       列幅
    ============================== */

    .comparison-table__sp .comparison-table__sp-col-company {
        width: 174px;
    }

    .comparison-table__sp .comparison-table__sp-col-item {
        width: 126.5px;
    }


    /* ==============================
       PC版のth / td指定をリセット
    ============================== */

    .comparison-table__sp th,
    .comparison-table__sp td {
        height: auto;
        min-height: 0;
        padding: 6px 8px;
        margin: 0;
        box-sizing: border-box;
        color: #333;
        background: #fff;
        /* border: 2px solid #222; */
        border-radius: 0;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.25;
        text-align: center;
        vertical-align: middle;
    }


    /* ==============================
       PC版 nth-child 指定をリセット
    ============================== */
    .comparison-table__sp td:nth-child(2),
    .comparison-table__sp td:nth-child(3),
    .comparison-table__sp td:nth-child(4),
    .comparison-table__sp td:nth-child(5) {
        /* color: #333; */
        background: #fff;
        /* border-top: 2px solid #222; */
        /* border-right: 2px solid #222; */
        /* border-bottom: 2px solid #222; */
        border-left: 0;
        border-radius: 0;
    }


    /* ==============================
       上部見出し
    ============================== */

    .comparison-table__sp thead th {
        height: 48px;
        min-height: 48px;
        padding: 6px 5px;
        background: #5eae4f;
        color: #fff;
        /* border-top: 2px solid #222; */
        border-right: 2px solid #fff;
        /* border-bottom: 2px solid #222; */
        border-left: 0;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        vertical-align: middle;
    }

    .comparison-table__sp thead th:first-child {
        background: none;
        color: #333;
        /* border-left: 2px solid #222; */
    }


    /* ==============================
       1行目：時ののぞみ
    ============================== */
    .comparison-table__sp tbody tr:first-child th {
        height: 50px;
        min-height: 50px;
        padding: 3px 5px;
        background: #e8edac;
        border-left: 2px solid #e8edac;
        border-right: 2px solid #e8edac;
        border-bottom: 2px solid #e8edac;
        border-top: 0;
        border-radius: 0;
        text-align: center;
        vertical-align: middle;
    }

    .comparison-table__sp tbody tr:first-child td {
        height: 50px;
        min-height: 50px;
        padding: 6px 8px;
        background: #fff;
        /* color: #333; */
        border-top: 0;
        border-right: 1px solid #5eae4f;
        border-bottom: 1px solid #5eae4f;
        border-left: 0;
        border-radius: 0;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.25;
        text-align: center;
        vertical-align: middle;
    }


    /* ==============================
       2行目：大手ポータル
    ============================== */
    .comparison-table__sp tbody tr:last-child th {
        height: 50px;
        min-height: 50px;
        padding: 3px 5px;
        background: #999d93;
        color: #fff;
        border-left: 2px solid #999d93;
        border-right: 2px solid #999d93;
        border-bottom: 2px solid #999d93;
        border-top: 0;
        border-radius: 0;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        vertical-align: middle;
    }

    .comparison-table__sp tbody tr:first-child td:last-of-type,
    .comparison-table__sp tbody tr:last-child td:last-of-type {
        border-right: none;
    }

    .comparison-table tr:last-child th:nth-of-type(2) {
        border-left: 2px solid #5eae4f;
    }

    .comparison-table tr:last-child th {
        border-radius: 0;
        border-bottom: none;
    }

    .comparison-table tr:last-child td:nth-child(2) {
        border-bottom: none;
        border-radius: 0 0 3px 0;
    }

    .comparison-table__sp tbody tr:last-child td {
        height: 50px;
        min-height: 50px;
        padding: 6px 8px;
        background: #fff;
        color: #333;
        border-top: 0;
        border-right: 1px solid #5eae4f;
        /* border-bottom: 1px solid #5eae4f; */
        border-left: 0;
        border-radius: 0;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.25;
        text-align: center;
        vertical-align: middle;
    }

    .comparison-table tr:last-child td {
        color: #999d93 !important;
    }

    /* ==============================
       ロゴ
    ============================== */

    .comparison-table__sp-company img {
        display: block;
        width: auto;
        max-width: 115px;
        height: 38px;
        margin: 0 auto;
        object-fit: contain;
    }

    .sp2 {
        display: block;
    }

    .pc2 {
        display: none;
    }

    body {
        font-family: "Noto Sans JP", sans-serif;
    }

    p.types-text.star {
        color: #b8ccb3;
        font-family: "Kosugi", sans-serif;
        font-weight: bold;
        font-style: normal;
    }

    p.types-text.star span {
        line-height: 1.4;
    }

    a.app-btn {
        text-align: center !important;
    }

    span.optional {
        font-size: 12px;
        line-height: 1;
        padding: 0px 6px 1px;
        margin-right: 10px;
    }

    .flow__boxtext-wrap .step {
        position: absolute;
        left: 109px;
        right: 0;
        margin: 0;
        top: -17px;
        max-width: fit-content;
    }

    .kado img {
        border-radius: 10px;
    }

    .omakase.inner h2 .omakase-pink {
        font-size: 24px;
    }

    .omakase.inner h2 .omakase-small {
        font-size: 26px;
        display: block;
        line-height: 0.5;
        margin-bottom: -41px;
    }

    .omakase.inner h2 span {
        font-size: 34px;
        line-height: 2;
        letter-spacing: 4px;
    }

}

/* ==============================

  その他適宜追加する場合は下記に記述

============================== */