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

    base

=========================================================*/
html {
    scroll-behavior: smooth;
}

body:not(.wp-admin) {
    font-family: var(--en), "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    font-feature-settings: 'palt' 1, 'lnum' 1;
    letter-spacing: .025em;
    background-color: var(--main_bgcolor);
    color: var(--main_color);
}

@media (max-width: 980px) {
    body:not(.wp-admin) {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    body:not(.wp-admin) {
        font-size: 16px;
    }
}

/* code */
pre,
code {
    font-size: 0.875em;
    letter-spacing: 0;
}

pre {
    -ms-overflow-style: scrollbar;
    overflow: auto;
}

pre,
code {
    background: var(--code-background-color);
    color: var(--code-color);
    line-height: initial;
}

code {
    display: inline-block;
    padding: 1em;
}

pre {
    display: block;
    overflow-x: auto;
}

pre>code {
    display: block;
    background: none;
    font-size: 14px;
}

code b {
    color: var(--code-tag-color);
}

code i {
    color: var(--code-property-color);
    font-style: normal;
}

code u {
    color: var(--code-value-color);
    text-decoration: none;
}

em {
    color: var(--code-comment-color);
    font-style: normal;
}

/* input */
input[type="text"],
input[type="tel"],
input[type="password"],
input[type="email"] {
    /* padding: .5em; */
    font-size: 16px;
    border: 1px solid var(--line_color);
}

/* form[role="search"] input[type="text"] {
    max-width: calc(100% - 5em);
} */

/* input[type="text"]:focus {
    outline: 0;
    border: solid 1px var(--sub_blue);
    box-shadow: 0 0 0 1px var(--sub_blue);
} */

input[type="submit"] {
    margin: 0 .5em;
    padding: .6em .75em;
    font-size: .9em;
    /* background-color: var(--main_blue); */
    /* color: #fff; */
    letter-spacing: .1em;
    transition: all .2s ease;
}

input[type="submit"]:hover {
    /* background-color: var(--main_subcolor-bg); */
}

/* form select */
select {
    display: block;
    width: 100%;
    cursor: pointer;
    text-indent: 0;
    text-overflow: ellipsis;
    border: none;
    outline: none;
    background: transparent;
    background-image: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;

    border: 1px solid var(--line_color);
    border-radius: 2em;
    background: #fff;
    font-size: min(.9em, 16px);
    padding: .75em 2em;
}

/* display */
@media (min-width: 768px) {

    .sp,
    .forSP,
    .forSPi {
        display: none !important;
    }

    .pc .forPC {
        display: block !important;
    }

    .forPCi {
        display: inline-block !important;
    }
}

@media print {

    .sp,
    .forSP,
    .forSPi {
        display: none !important;
    }
}

@media (max-width: 767.9px) {

    .pc,
    .forPC,
    .forPCi {
        display: none !important;
    }

    .sp,
    .forSP {
        display: block !important;
    }

    .forSPi {
        display: inline-block !important;
    }
}

.hide {
    display: none;
}

.iblock {
    display: inline-block;
}

.psfix {
    display: inline-block;
    transform: translateY(12%);
}

/* letter spacing */
.letter-space0 {
    letter-spacing: 0;
}

.letter-space01 {
    letter-spacing: 0.01em;
}

.letter-space02 {
    letter-spacing: 0.02em;
}

.letter-space05 {
    letter-spacing: 0.05em;
}

.letter-space1 {
    letter-spacing: 0.1em;
}

.letter-space2 {
    letter-spacing: 0.2em;
}

/* font size */
.size8,
.sml {
    display: inline-block;
    font-size: .8em !important;
    line-height: 1.6 !important;
}

.size7,
.sml7,
.sml2 {
    display: inline-block;
    font-size: .7em !important;
    line-height: 1.5 !important;
}

.size9,
.sml9 {
    display: inline-block;
    font-size: .9em !important;
    line-height: 1.6 !important;
}

.large {
    display: inline-block;
    font-size: 1.2em !important;
}

.large2 {
    display: inline-block;
    font-size: 1.5em !important;
}

.inlineblock {
    display: inline-block;
}

/* line-height */
.line-height14 {
    line-height: 1.4 !important;
}

.line-height15 {
    line-height: 1.5 !important;
}

.line-height16 {
    line-height: 1.6 !important;
}

.line-height17 {
    line-height: 1.7 !important;
}

.line-height18 {
    line-height: 1.8 !important;
}

.line-height19 {
    line-height: 1.9 !important;
}

.line-height20 {
    line-height: 2 !important;
}

/* margin */
.mtop--1 {
    margin-top: -1em !important;
}

.mtop-0 {
    margin-top: 0 !important;
}

.mtop-05 {
    margin-top: .5em !important;
}

.mtop-1 {
    margin-top: 1em !important;
}

.mtop-2 {
    margin-top: 2em !important;
}

.mtop-3 {
    margin-top: 3em !important;
}

.mtop-4 {
    margin-top: 4em !important;
}

.mtop-5 {
    margin-top: 5em !important;
}

.mtop-6 {
    margin-top: 6em !important;
}

.mbtm-0 {
    margin-bottom: 0em !important;
}

.mbtm-05 {
    margin-bottom: .5em !important;
}

.mbtm-1 {
    margin-bottom: 1em !important;
}

.mbtm-2 {
    margin-bottom: 2em !important;
}

.mbtm-3 {
    margin-bottom: 3em !important;
}

.mbtm-4 {
    margin-bottom: 4em !important;
}

.mbtm-5 {
    margin-bottom: 5em !important;
}

.mbtm-6 {
    margin-bottom: 6em !important;
}

.m0auto {
    margin: 0 auto;
}

.m1auto {
    margin: 1em auto;
}

.m2auto {
    margin: 2em auto;
}

.m3auto {
    margin: 3em auto;
}

.m4auto {
    margin: 4em auto;
}

.m5auto {
    margin: 5em auto;
}

/* padding */
.ptop-0 {
    padding-top: 0 !important;
}

.ptop-05 {
    padding-top: .5em !important;
}

.ptop-1 {
    padding-top: 1em !important;
}

.ptop-2 {
    padding-top: 2em !important;
}

.ptop-3 {
    padding-top: 3em !important;
}

.ptop-4 {
    padding-top: 4em !important;
}

.ptop-5 {
    padding-top: 5em !important;
}

.ptop-6 {
    padding-top: 6em !important;
}

.pbtm-0 {
    padding-bottom: 0em !important;
}

.pbtm-05 {
    padding-bottom: .5em !important;
}

.pbtm-1 {
    padding-bottom: 1em !important;
}

.pbtm-2 {
    padding-bottom: 2em !important;
}

.pbtm-3 {
    padding-bottom: 3em !important;
}

.pbtm-4 {
    padding-bottom: 4em !important;
}

.pbtm-5 {
    padding-bottom: 5em !important;
}

.pbtm-6 {
    padding-bottom: 6em !important;
}

.p0 {
    padding: 0;
}

.p1 {
    padding: 1em;
}

.p2 {
    padding: 2em;
}

.p3 {
    padding: 3em;
}

.p4 {
    padding: 4em;
}

.p1-0 {
    padding: 1em 0;
}

.p2-0 {
    padding: 2em 0;
}

.p3-0 {
    padding: 3em 0;
}

.p4-0 {
    padding: 4em 0;
}

.p0-1 {
    padding: 0 1em;
}

.p0-2 {
    padding: 0 2em;
}

.p0-3 {
    padding: 0 3em;
}

.p0-4 {
    padding: 0 4em;
}

/* border */
.border0 {
    border: none !important;
}

.border1 {
    border: 1px solid;
}

.border2 {
    border: 2px solid;
}

.border3 {
    border: 3px solid;
}

.bordergray {
    border-color: #ccc;
}

.underline {
    text-decoration: underline;
}

.dash {
    margin: 0 .2em;
    letter-spacing: -.2em;
}

/* width */
.w800,
.w800-inner .wp-block-group__inner-container {
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.w900,
.w900-inner .wp-block-group__inner-container {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.w980,
.w980-inner .wp-block-group__inner-container {
    width: 100%;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.w1100,
.w1100-inner .wp-block-group__inner-container {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.w1200,
.w1200-inner .wp-block-group__inner-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.w1280,
.w1280-inner .wp-block-group__inner-container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.w1400,
.w1400-inner .wp-block-group__inner-container {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.w1440,
.w1440-inner .wp-block-group__inner-container {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

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

    inner width

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

/* inner width */
.wrapper,
.wrp {
    width: 100%;
    margin: 0 auto;
}

.inner {
    width: 100%;
    max-width: var(--main_w);
    margin: 0 auto;
    padding: 15px;
}

.inner1200 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.inner980 {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.inner800 {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.index-body .wrp {
    max-width: 100%;
}



.w20 {
    width: 20%;
}

.w25 {
    width: 25%;
}

.w30 {
    width: 30%;
}

.w35 {
    width: 35%;
}

.w40 {
    width: 40%;
}

.w45 {
    width: 45%;
}

.w50 {
    width: 50%;
}

.w55 {
    width: 55%;
}

.w60 {
    width: 60%;
}

.w65 {
    width: 65%;
}

.w70 {
    width: 70%;
}

.w75 {
    width: 75%;
}

.w80 {
    width: 80%;
}

.w90 {
    width: 90%;
}

.w100 {
    width: 100%;
}

/* no list style */
ol:not(.default-ol),
ul:not(.default-ul) {
    list-style: none;
}

/* text align */
.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.center,
.text-center {
    text-align: center;
}

.block-center {
    margin-left: auto;
    margin-right: auto;
}

.place-mid {
    display: grid;
    place-items: center;
}

/* table */
.td-p05 td {
    padding: .5em !important;
}

.td-p1 td {
    padding: 1em !important;
}

.td-p2 td {
    padding: 2em !important;
}

.border1 th,
.border1 td {
    border: 1px solid;
}

.border2 th,
.border2 td {
    border: 2px solid;
}

.borderbray th,
.borderbray td {
    border-color: #ccc;
}

/* flex */
.flex-around,
.flex-around>.wp-block-group__inner-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.flex-between,
.flex-between>.wp-block-group__inner-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex-start,
.flex-start>.wp-block-group__inner-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.flex-end,
.flex-end>.wp-block-group__inner-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.flex-center,
.flex-center>.wp-block-group__inner-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

:where( :not(.entry-list).columns-2 :not(.wp-block-gallery).columns-2)>* {
    width: 48%;
}

:where( :not(.entry-list).columns-2 :not(.wp-block-gallery).columns-2)>.wp-block-group__inner-container {
    width: 100%;
}

:where( :not(.entry-list).columns-2 :not(.wp-block-gallery).columns-2)>.wp-block-group__inner-container>* {
    width: 48%;
}

:where( :not(.entry-list)tween.columns-3 :not(.wp-block-gallery)).flex-btween.columns-3e>*,
.flex-between.columns-3::after {
    width: 32%;
    margin-bottom: 2%;
}

:where( :not(.entry-list).columns-4 :not(.wp-block-gallery).columns-4)>*,
.flex-between.columns-4::before,
.flex-between.columns-4::after {
    width: 24%;
    margin-bottom: 1.5%;
}

:where( :not(.entry-list).columns-4 :not(.wp-block-gallery).columns-4)>.wp-block-group__inner-container {
    width: 100%;
}

:where( :not(.entry-list).columns-4 :not(.wp-block-gallery).columns-4)>.wp-block-group__inner-container>*,
.flex-between.columns-4>.wp-block-group__inner-container::before,
.flex-between.columns-4>.wp-block-group__inner-container::after {
    width: 24%;
    margin-bottom: 1.5%;
}

.flex-between.columns-3::after,
.flex-between.columns-3>.wp-block-group__inner-container::after,
.flex-between.columns-4::before,
.flex-between.columns-4>.wp-block-group__inner-container::before,
.flex-between.columns-4::after,
.flex-between.columns-4>.wp-block-group__inner-container::after {
    content: '';
    display: block;
    height: 0;
    order: 1;
}

@media (max-width: 767.9px) {
    :where( :not(.entry-list).columns-2 :not(.wp-block-gallery).columns-2)>* {
        width: 100%;
    }

    :where( :not(.entry-list).columns-3 :not(.wp-block-gallery).columns-3)>*,
    :where( :not(.entry-list).columns-4 :not(.wp-block-gallery).columns-4)>* {
        width: 48%;
        margin-bottom: 4%;
    }

    :where( :not(.entry-list) :not(.wp-block-gallery)).columns-3::after,
    :where( :not(.entry-list) :not(.wp-block-gallery)).columns-4::before,
    :where( :not(.entry-list) :not(.wp-block-gallery)).columns-4::after {
        content: none;
    }
}

/* grid */
.grid>.wp-block-group__inner-container {
    --repeat-length: 5;
    display: grid;
    grid-template-columns: repeat(var(--repeat-length), 1fr);
}

.grid.grid3>.wp-block-group__inner-container {
    --repeat-length: 3;
}

.grid.grid4>.wp-block-group__inner-container {
    --repeat-length: 4;
}

.grid.grid5>.wp-block-group__inner-container {
    --repeat-length: 5;
}

.sticky-content {
    position: sticky;
}

/* note style */
ul.note {
    margin: 0;
    padding: 0;
    font-size: min(.8em, 3vw);
    line-height: 1.6;
    list-style-type: none !important;
}

ul.note li {
    list-style-type: none !important;
    padding-left: 1.1em !important;
    position: relative;
    margin-bottom: .5em;
    padding-top: 0;
    padding-bottom: 0;
}

ul.note li:not(:last-child) {
    margin-bottom: .3em;
}

ul.note li::before {
    content: '※';
    display: inline-block;
    position: absolute;
    left: 0;
}

ul.numnote {
    counter-reset: numnote;
}

ul.numnote li {
    padding-left: 2em;
}

ul.numnote li::before {
    content: "※" counter(numnote);
    counter-increment: numnote;
}

ul.numnote.countreset-2 {
    counter-reset: numnote 1;
}

ul.numnote.countreset-3 {
    counter-reset: numnote 2;
}

ul.numnote.countreset-4 {
    counter-reset: numnote 3;
}

ul.numnote.countreset-5 {
    counter-reset: numnote 4;
}

ul.numnote.countreset-6 {
    counter-reset: numnote 5;
}

ul.numlist {
    counter-reset: numlist;
}

ul.numlist li::before {
    content: counter(numlist) ".";
    counter-increment: numlist;
}

ul.numlist-circle {
    counter-reset: numlist-circle;
}

ul.numlist-circle li {
    padding-left: 1.8em;
}

ul.numlist-circle li::before {
    content: counter(numlist-circle);
    counter-increment: numlist-circle;
    width: 1.5em;
    height: 1.5em;
    padding-bottom: .1em;
    color: #333;
    background-color: #fff;
    border: solid 1px #333;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    top: calc(var(--note-line-hieght) * .5);
    transform: translateY(-50%) scale(0.9);
}

ul.numlist-circle-fill {
    counter-reset: numlist-circle;
}

ul.numlist-circle-fill li {
    padding-left: 1.8em;
}

ul.numlist-circle-fill li::before {
    content: counter(numlist-circle);
    counter-increment: numlist-circle;
    width: 1.5em;
    height: 1.5em;
    padding-bottom: .1em;
    color: #fff;
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    top: calc(var(--note-line-hieght) * .5);
    transform: translateY(-50%) scale(0.9);
}

ul.discnote li::before {
    content: '';
    width: 1em;
    height: 1em;
    top: calc(var(--note-line-hieght) * .45);
    transform: translateY(-50%) scale(0.6);
    border-radius: 100%;
    background-color: var(--main_subcolor);
}

/* thumbnail */
.thumb {
    width: 100%;
    /* padding-bottom: 56.5%; */
    padding-bottom: 66%;
    position: relative;
    overflow: hidden;
}

.thumb.thumb1-1 {
    padding-bottom: 100%;
}

.thumb.thumb16-9 {
    padding-bottom: 56.5%;
}

.thumb.thumb2-1 {
    padding-bottom: 50%;
}

.thumb.thumb3-2 {
    padding-bottom: 66%;
}

.thumb.thumb4-3 {
    padding-bottom: 70%;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* object-fit */
img.cover {
    object-fit: cover !important;
}

img.contain {
    object-fit: contain !important;
}

/* img width */
img.w100 {
    width: 100% !important;
    height: 100%;
}

img.w80 {
    width: 80% !important;
    height: 80% !important;
    top: 10% !important;
    left: 10% !important;
}

img.w70 {
    width: 70% !important;
    height: 70% !important;
    top: 15% !important;
    left: 15% !important;
}

img.w60 {
    width: 60% !important;
    height: 60% !important;
    top: 20% !important;
    left: 20% !important;
}


/* link */
:not(.link-btn) a,
:not(.more-btn) a,
:not(.wp-admin) a {
    text-decoration: none;
    /* color: var(--text-color); */
    color: currentColor;
}

/* btn arrow */
.btn.text-center {
    display: block;
    width: 100%;
    text-align: center;
}

.btn a,
.arrow-right {
    --arrow-size: .35em;
    --arrow-border-width: 1px;
}

.btn a {
    border: 1px solid var(--line_color);
    padding: 1em 3em;
    font-size: min(1em, 3.5vw);
    display: inline-block;
    position: relative;
    color: var(--main_color);
    transition: all .3s ease;
}

.btn a:hover {
    border-color: var(--text-color);
    background-color: var(--text-color);
    color: #fff;
}

/* .btn a::before, */
.arrow-right::before {
    content: '';
    width: var(--arrow-size);
    height: var(--arrow-size);
    border-top: var(--arrow-border-width) solid;
    border-right: var(--arrow-border-width) solid;
    position: absolute;
    top: calc(50% - var(--arrow-size) /2);
    right: 1em;
    transform: rotate(45deg);
}

.backtohome {
    display: inline-block;
    position: relative;
    text-align: center;
    padding: 1em 2em;
}

.arrow-fill-right {
    --arrow-size: .4em;
}

.arrow-fill-right::before {
    content: '';
    width: 0;
    height: 0;
    border: solid transparent;
    border-width: var(--arrow-size) 0 var(--arrow-size) calc(var(--arrow-size) * 1.3);
    border-color: transparent transparent transparent currentColor;
    position: absolute;
    top: calc(50% - var(--arrow-size));
    right: 0.75em;
}

.arrow-link {
    display: inline-block;
    position: relative;
    padding-left: 1.5em;
    border: 1px solid;
}

.arrow-left {
    --arrow-size: .5em;
    --arrow-border-width: 1px;
}

.arrow-left::before {
    content: '';
    width: var(--arrow-size);
    height: var(--arrow-size);
    border-top: var(--arrow-border-width) solid;
    border-left: var(--arrow-border-width) solid;
    position: absolute;
    top: calc(50% - var(--arrow-size) /2);
    left: 1em;
    transform: rotate(-45deg);
}

.arrow-fill-left {
    --arrow-size: .4em;
}

.arrow-fill-left::before {
    content: '';
    width: 0;
    height: 0;
    border: solid transparent;
    border-width: var(--arrow-size) calc(var(--arrow-size) * 1.3) var(--arrow-size) 0;
    border-color: transparent currentColor transparent transparent;
    position: absolute;
    top: calc(50% - var(--arrow-size));
    left: 0.75em;
}

.arrow-top {
    padding-top: 1em;
    --arrow-size: .5em;
    --arrow-border-width: 1px;
}

.arrow-top::after {
    content: '';
    display: block;
    width: var(--arrow-size);
    height: var(--arrow-size);
    border-top: var(--arrow-border-width) solid;
    border-left: var(--arrow-border-width) solid;
    transform: rotate(45deg);
    position: absolute;
    left: calc(50% - var(--arrow-size) /2);
    top: .75em;
}

.arrow-bottom {
    --arrow-size: .5em;
    --arrow-border-width: 1px;
}

.arrow-bottom::after {
    content: '';
    display: block;
    width: var(--arrow-size);
    height: var(--arrow-size);
    border-top: var(--arrow-border-width) solid;
    border-right: var(--arrow-border-width) solid;
    transform: rotate(135deg);
    position: absolute;
    left: calc(50% - var(--arrow-size) /2);
    bottom: .75em;
}

.link-btn a {
    display: block;
    font-size: min(.9em, 3.5vw);
    width: min(15em, 90%);
    margin: 0 auto;
    padding: .75em .5em;
    border: solid 1px;
    text-align: center;
    background-color: var(--main_light-bgcolor);
    color: var(--main_dark-text-color);
    border-radius: 2px;
    position: relative;
    transition: all .3s;
}

.link-btn a:hover {
    background-color: var(--main_dark-bgcolor);
    color: var(--main_light-text-color);
}

/* a.more-btn, */
.more-btn a {
    display: block;
    width: min(15em, 90%);
    font-size: min(.9em, 3.5vw);
    margin: 0 auto;
    padding: .5em 1.5em;
    border: solid 1px;
    text-align: center;
    color: currentColor;
    border-radius: 3em;
    transition: all .3s;
}

/* a.more-btn:hover, */
.more-btn a:hover {
    background-color: var(--main_light-bgcolor);
    color: var(--main_dark-text-color);
}

.link-btn a::before,
.link-btn a::after {
    content: '';
    display: block;
    width: 1.5em;
    height: 0;
    border-top: solid 1px;
    position: absolute;
    top: 50%;
    right: 1em;
}

.link-btn a::after {
    width: .75em;
    position: absolute;
    top: 50%;
    right: 1em;
    transform: rotate(30deg);
    transform-origin: right bottom;
}

a.brandcolor {
    color: var(--main_color) !important;
}

a.tlink {
    text-decoration: underline;
}

/* close button */
.open-window .close-btn {
    position: absolute;
    top: 1em;
    right: 1em;
    display: block;
    width: 1.5em;
    height: 1.5em;
    z-index: 3;
    transform: rotate(45deg);
    transition: all .3s .3s;
    cursor: pointer;
}

.open-window .close-btn::before,
.open-window .close-btn::after {
    content: '';
    display: block;
    position: absolute;
}

.open-window .close-btn::before {
    width: 100%;
    height: 0;
    border-top: 2px solid;
    top: calc(50% - 1px);
    left: 0;
}

.open-window .close-btn::after {
    width: 0;
    height: 100%;
    border-left: 2px solid;
    transform: translateX(50%);
    top: 0;
    left: calc(50% - 2px);
}