@charset "utf-8";

/*
common.css
reset & common
*/

/* reset */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}:where([hidden]:not([hidden='until-found'])){display:none!important}:where(html){-webkit-text-size-adjust:none;}@supports not (min-block-size:100dvb){:where(html){block-size:100%}}@media (prefers-reduced-motion:no-preference){:where(html:focus-within){scroll-behavior:smooth}}:where(body){block-size:100%;block-size:100dvb;line-height:1.5;font-family:system-ui,sans-serif;-webkit-font-smoothing:antialiased}:where(input,button,textarea,select){font:inherit;color:inherit}:where(textarea){resize:vertical;resize:block}:where(button,label,select,summary,[role='button'],[role='option']){cursor:pointer}:where(:disabled){cursor:not-allowed}:where(label:has(>input:disabled),label:has(+input:disabled)){cursor:not-allowed}:where(button){border-style:solid}:where(a){text-underline-offset:.2ex}:where(ul,ol){list-style:none}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,picture,svg){max-inline-size:100%;block-size:auto}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(h1,h2,h3){line-height:calc(1em + 0.5rem)}:where(hr){border:none;border-block-start:1px solid;color:inherit;block-size:0;overflow:visible}:where(:focus-visible){outline:2px solid var(--focus-color,Highlight);outline-offset:2px}:where(.visually-hidden:not(:focus,:active,:focus-within,.not-visually-hidden)){clip-path:inset(50%)!important;height:1px!important;width:1px!important;overflow:hidden!important;position:absolute!important;white-space:nowrap!important;border:0!important}

input::-webkit-calendar-picker-indicator {
    display: block;
    opacity: 1;
}

/* html
-----------------------------*/
html {
	scroll-behavior: smooth;
    height: 100%;
}

/* body
-----------------------------*/
body {
    height: 100%;

    position: relative;
    background: #fff;
    font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "hiragino kaku gothic pro";
    color: #222;
    word-wrap: break-word;
    word-break: break-all;
    -webkit-text-size-adjust: 100%;
    -moz-transition: all 0.4s linear;
    -webkit-transition: all 0.4s linear;
    transition: all 0.4s linear;
}

/* a
-----------------------------*/
a:link {
    color: #222;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
}

a:visited {
    color: #222;
    text-decoration: none;
}

a:active {
    color: #222;
    text-decoration: none;
}

a[href^="tel"] {
    color: #222;
}

/* p
-----------------------------*/
p {
    line-height: 2;
}

/* .btn
-----------------------------*/

.btn_wrap {
    margin: 3em 0;
    text-align: center;
}

.btn_wrap a {
    text-decoration: none;
}

.btn {
    position: relative;
    display: block;

    width: 100%;
    border: 2px solid #222;
    border-radius: 6px;
    padding: 10px;

    text-align: center;
    text-decoration: none;
    color: #222;

    transition: ease .2s;

    max-width: 400px;
    margin: 20px auto;
}

.btn::after {
    content: '';
    display: inline-block;

    border: 5px solid;
    border-color: #fff #fff transparent transparent;
    transform: rotate(135deg);

    display: inline-block;
    width: 0;
    height: 0;
    position: absolute;
    top: 40%;
    right: 30px;
    z-index: 10;
}

.btn:hover {
    box-shadow: none;
    transform: translateY(5px);
}

._virtual_office {
    background: transparent linear-gradient(180deg, #5186D0 0%, #3568AF 100%) 0% 0% no-repeat padding-box;
    padding: 15px 15px 15px 40px;
    border: none;

    box-shadow: 0 5px 0 rgb(9,54,116,1);
}

._virtual_office:after {
    content: none;
}

#merit .virtual_office:hover {
    box-shadow: none;
}

@media screen and (max-width: 768px), screen and (max-width: 820px) {
    .btn {
        width: 100%;
        font-size: .9em;
    }

    .btn::after {   
        border: 4px solid;
        border-color: #fff #fff transparent transparent;
        transform: rotate(135deg);
        right: 20px;
    }

    ._virtual_office {
        margin: 10px 0;
        padding: 15px 10px 15px 25px;
    }

}

/* color
-----------------------------*/
.red {
    color: #C92F37;
}

/* layput
-----------------------------*/
._ctr {
    text-align: center;
}

._left {
    text-align: left;
}

._right {
    text-align: right;
}

.parallel {
    display: flex;

    margin: 0 auto;
}

@media screen and (max-width: 768px), screen and (max-width: 820px) {
    .parallel {
        display: inherit;
    }   
}

/* br
-----------------------------*/
.br_none {
	display: none;
}

.sp_br_none {
    display: none;
}

._pc {
    display: inherit;
}

._sp {
    display: none;
}

@media screen and (max-width: 768px), screen and (max-width: 820px) {
    .sp_br_none {
        display: block;
    }

    ._sp {
        display: inherit;
    }

    ._pc {
        display: none;
    }

}

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

/* .btn_animation
-----------------------------*/

.l_to_r._blk:hover:after {
    border-color: transparent transparent transparent #fff;
}

.l_to_r:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
    transform: scale(0, 1);
    transform-origin: right top;
    background:#C92F37;
}

.l_to_r._blk:before {
    background:#222;
}

.l_to_r._blk:hover {
    color: #fff;
}

.l_to_r:hover:before {
    transform-origin: left top;
    transform: scale(1, 1);
}

.u_line_anim::before {
    transform-origin: 100% 50%;
    transform: scale3d(0, 1, 1);
    transition: transform 0.3s;
}

.u_line_anim:hover::before {
    transform-origin: 0% 50%;
    transform: scale3d(1, 1, 1);
}

.link {
    position: relative;
    white-space: nowrap;
    color: var(--color-text);
}

.link::before,
.link::after {
    position: absolute;
    width: 100%;
    height: 1px;
    background: currentColor;
    top: 100%;
    left: 0;
    pointer-events: none;
}

.link::before {
    content: '';
    /* show by default */
}

/* form
-----------------------------*/

.req {
    background: #C92F37;
    margin: 0 10px 0 0;
    padding: 5px;
    border-radius: 6px;

    font-size: .8em;
    color: #fff;
}

.any {
    background: #222;
    margin: 0 10px 0 0;
    padding: 5px;
    border-radius: 6px;

    font-size: .8em;
    color: #fff;
}

.page-id-270 .kiyaku {
    display: none;
}

.kiyaku {
    background: #f5f5f5;
    margin: 0 0 10px 0;
    padding: 10px 10px 10px 0;
    border-radius: 10px;
}

.kiyaku .inner {
    overflow: overlay;
    height: 150px;
    padding: 15px;

    width: inherit;
    font-size: .8em;
}

.kiyaku h3 {
    text-align: center;
    margin: 0 0 20px 0;
}

.kiyaku h4 {
    margin: 20px 0 10px 0;
}

.kiyaku dt {
    margin: 0 0 10px 0;
}

.kiyaku dd {
    margin: 0 0 10px 0;
}

.kiyaku p {
    line-height: 1.6;
}

.kiyaku .caution {
    margin: 10px 10px 20px 10px;
    padding: 10px;
}

.kiyaku .caution::before {
    content: none;
}

.kiyaku._pt02 {
    height: 180px;
}

.kiyaku._pt02 li {
    border-bottom: 1px dotted #ccc;
    margin: 0 0 10px 0;
    padding: 0 0 10px 0;
}

.kiyaku._pt02 li:last-child {
    border: none;
}

@media screen and (max-width: 768px), screen and (max-width: 820px) {
    .kiyaku {
        margin: 0 0 10px 0;
    }
}


/* h1-h3
-----------------------------*/

.ttl {
    padding: 60px 0;

    line-height: 1.4;
    text-align: center;
    font-size: 2em;
}

.ttl._info {
    width: 100%;
    margin: 2em 0;
    padding: 0;

    text-align: left;
    font-size: 1.3em;
}

.ttl._new {
    position: relative;
}

.ttl._new .txt {
    position: absolute;
    top: -2.8em;
    left: -1.5em;
}

@media screen and (max-width: 768px), screen and (max-width: 820px) {
    .ttl {
        padding: 30px 0;

        text-align: center;
        font-size: 1.2em;
    }
    .ttl._info {
        margin: 40px 0 30px 0;
    }
    .ttl._new .txt {
        position: absolute;
        top: -2.5em;
        left: -1.8em;
    }
    .sub .ttl._new .txt {
        left: -1em;
    }
    .sub_ttl {
        padding: 0 0 0 15px;
        font-size: 1em;
    }
}

/* marker
-----------------------------*/
.marker01 {
    background: linear-gradient(transparent 50%, rgb(255, 222, 38) 100%);
    display: inline;
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size 1.5s;

    color: #A30000;
}

.marker01.on {
  background-size: 100% 100%;
}

.point {
    position: relative;
    display: inline-block;

    background-image: linear-gradient(90deg, #FFDE26, #FFDE26);
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 0 30%;
    margin: 0 5px;

    transition: all 1s ease-in-out;
    font-weight: bold;

    color: #C92F37;
}

.point.inview {
    background-size: 100% 30%;
}

@media screen and (max-width: 768px), screen and (max-width: 820px) {
    .point {
        margin: 0;
    }
}

/* table
-----------------------------*/
.tbl {
    width: 100%;
    margin: 40px auto 0 auto;

    border-collapse: collapse; 
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.tbl tr {
    border-top: 1px solid #fff;
}

.tbl th {
    background: #EDE5DE;
    width: 20%;
    padding: 20px;

    text-align: left;
    font-size: 1em;
}

.tbl td {
    width: 70%;
    padding: 20px;
    font-size: 1em;
}

.tbl td a:hover {
    text-decoration: underline;
}

.tbl .hasDatepicker,
.tbl .type01 {
    width: 100%;
    padding: 10px;

    border: 1px solid #D3D3D3;
    border-radius: 6px;
}

.tbl .type02 {
    width: fit-content;
    background: #fff;
    padding: 10px;

    border: 1px solid #D3D3D3;
    border-radius: 6px;
    cursor: pointer;
}

::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

::-webkit-input-placeholder {
    color: #999;
}

.inner {
    width: 1200px;
    margin: 0 auto;
}

@media screen and (max-width: 768px), screen and (max-width: 820px) {
    .inner {
        width: 100%;
        padding: 0 20px;
    }
    .tbl {
        width: 100%;
    }
    .tbl th {
        width: 35%;
    }
    .tbl td {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .inner {
        width: 100%;
        padding: 0 20px;
    }

    .tbl {
        width: 100%;
    }
}


/* other
-----------------------------*/
.point_num {
    font-family: Helvetica, Arial;
    font-size: 1.8em;
}

.caution_wrap {
    line-height: 1.4;
}

.caution {
    position: relative;
    width: fit-content;
    padding: 0 0 0 15px;
}

.caution::before {
    position: absolute;
    display: inline-block;
    content: '※';

    top: -2px;
    left: 0;
}

.small_caution {
    font-size: .9em;
}

.wpcf7-response-output {
    text-align: center;
}

@media screen and (max-width: 768px), screen and (max-width: 820px) {
    .caution::before {
        top: 0;
        line-height: 1.4;
    }
}

.annotation {
    display: block;
    font-size: .8em;
}