@charset "utf-8";

/* Settings
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
}

body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
section,
article,
aside,
hgroup,
header,
footer,
nav,
dialog,
figure,
menu,
video,
audio,
mark,
time,
canvas,
details {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    background: transparent;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    /* 1rem = 100pxと同義 */
    font-size: 100px;
}

body {
    min-width: 1025px;
    font-size: .16rem;
    font-family: "Noto Sans JP", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", Myriad Pro, Myriad, Arial, sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: normal;
    color: #000;
    overflow-x: scroll;
    text-size-adjust: 100%;
    background: #f9faf3;
}

img {
    max-width: 100%;
    margin: auto;
    vertical-align: bottom;
}

a {
    color: #000;
    text-decoration: none;
    display: inline-block;
}

a img {
    text-decoration: none;
}

section,
article,
aside,
hgroup,
header,
footer,
nav,
dialog,
figure,
figcaption {
    display: block;
}

input,
select {
    vertical-align: middle;
}

ul,
li,
dl,
dt,
dd,
form {
    margin: 0px;
    padding: 0px;
    border: 0px;
    list-style: none;
}

li::marker {
    margin: 0;
    padding: 0;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

ins {
    /* remember to highlight inserts somehow! */
    text-decoration: none;
}

del {
    text-decoration: line-through;
}

table {
    /* markup tables with 'cellspacing="0"' */
    border-collapse: collapse;
    border-spacing: 0;
}

button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    vertical-align: middle;
    border: 0;
    background: transparent;
    border-radius: 0;
    text-align: inherit;
}

button:hover {
    cursor: pointer;
}

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

/* Style parts
   ========================================================================== */
.alc {
    text-align: center !important;
}

.all {
    text-align: left !important;
}

.alr {
    text-align: right !important;
}

.floatL {
    float: left;
}

.floatR {
    float: right;
}

.clr {
    zoom: 1;
}

.clr:after {
    content: ' ';
    display: block;
    clear: both;
    height: 0;
}

.clearboth {
    clear: both !important;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

/* font size */
.fs-12 {
    font-size: .12rem;
}

.fs-14 {
    font-size: .14rem;
}

.fs-16 {
    font-size: .16rem;
}

.fs-18 {
    font-size: .18rem;
}

.fs-20 {
    font-size: .2rem;
}

.fs-22 {
    font-size: .22rem;
}

.fs-24 {
    font-size: .24rem;
}

.fs-26 {
    font-size: .26rem;
}

.fs-28 {
    font-size: .28rem;
}

.fs-32 {
    font-size: .32rem;
}

.fs-36 {
    font-size: .36rem;
}

.fs-40 {
    font-size: .40rem;
}

.fs-46 {
    font-size: .46rem;
}

.fs-48 {
    font-size: .48rem;
}

.fs-60 {
    font-size: .60rem;
}

.fs-75 {
    font-size: .75rem;
}

.fs-85 {
    font-size: .85rem;
}

.fs-125 {
    font-size: 1.25rem;
}

/* font family */
.f-en {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: .1em;
}

.f-en-italic {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: italic;
}

/* font weight*/
.fw-3 {
    font-weight: 300;
}

.fw-4 {
    font-weight: 400;
}

.fw-5 {
    font-weight: 500;
}

.fw-6 {
    font-weight: 600;
}

.fw-7 {
    font-weight: 700;
}

/* line hight */
.lh-14 {
    line-height: 1.4;
}

.lh-16 {
    line-height: 1.6;
}

.lh-18 {
    line-height: 1.8;
}

.lh-2 {
    line-height: 2;
}

.lh-23 {
    line-height: 2.3;
}

.lh-25 {
    line-height: 2.5;
}

/* text color */
.red {
    color: #ff0000;
}

/* Common parts
   ========================================================================== */
.c-inner {
    width: min(100% - 1rem, 12rem);
    margin: auto;
}

/* 共通設定と変数の定義 MとLで共通する部分はここにまとめます
*/
.c-btnM,
.c-btnL {
    --btn-border-width: 4px;
    --btn-radius: 9999px;
    --btn-bg-inner: #fff;
    --btn-grad-main: linear-gradient(to bottom, #e6de50, #cde7ab, #8acbcd);
    --btn-grad-hover: linear-gradient(45deg, #e6de50, #cde7ab, #8acbcd);

    /* ▼ レイアウトの共通設定 */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0;
    gap: .1rem;
    background: var(--btn-grad-main);
    border-radius: var(--btn-radius);

    /* ボタンのテキストなどのための余白（必要に応じて調整） */
    padding: .1rem;
}

/* サイズ個別の設定 幅や高さ、固有のpaddingだけをここで定義します
*/
.c-btnM {
    width: min(100%, 200px);
    height: 60px;
}

.c-btnL {
    width: min(100%, 430px);
    height: 80px;
    margin: 0 auto;
    padding: .2rem;
    color: #000;
}

/* 疑似要素（::before / ::after）の共通化
*/
.c-btnM::before,
.c-btnL::before {
    content: '';
    display: block;
    position: absolute;
    z-index: -1;

    /* 変数を適用 */
    background: var(--btn-bg-inner);
    border-radius: var(--btn-radius);

    /* 枠線幅(4px)を変数から計算して位置合わせ */
    top: var(--btn-border-width);
    left: var(--btn-border-width);
    width: calc(100% - (var(--btn-border-width) * 2));
    height: calc(100% - (var(--btn-border-width) * 2));
}

.c-btnM::after,
.c-btnL::after {
    content: '';
    display: block;
    position: absolute;
    z-index: -2;
    transition: .5s;

    /* 変数を適用 */
    background: var(--btn-grad-hover);
    border-radius: var(--btn-radius);

    /* 全体を覆う設定 */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.c-circle-btn {
    /* 1. 背景アイコンの設定（::before用） */
    --icon-size: 48px;
    --icon-img: url(../img/common/bg_ico.png);
    /* 2. 矢印の設定（::after用） */
    --arrow-size: 7px;
    --arrow-color: #000;
    --arrow-width: 2px;
    --arrow-right: 20px;
    position: relative;
}

/* --- 背景アイコン（::before） --- */
.c-circle-btn::before {
    content: '';
    width: var(--icon-size);
    height: var(--icon-size);
    background: var(--icon-img) no-repeat top center / cover;
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
}

.c-circle-btn:hover::before {
    right: -10px;
    transition: all .2s;
}

a:hover .c-circle-btn::before {
    right: -10px;
    transition: all .2s;
}

/* --- 矢印（::after） --- */
.c-circle-btn::after {
    content: '';
    width: var(--arrow-size);
    height: var(--arrow-size);
    border-top: var(--arrow-width) solid var(--arrow-color);
    border-right: var(--arrow-width) solid var(--arrow-color);
    transform: rotate(45deg);
    position: absolute;
    right: var(--arrow-right);
    bottom: 0;
    top: 0;
    margin: auto;
}

.c-circle-btn:hover::after {
    --arrow-right: 10px;
    transition: all .2s;
}

a:hover .c-circle-btn::after {
    --arrow-right: 10px;
    transition: all .2s;
}

/* contact area */
.c-contact {
    margin-top: 1rem;
    padding: .5rem;
    min-height: 300px;
    background: url(../img/common/contact_pic.jpg) no-repeat top center / cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .2rem;
    color: #fff;
    border-radius: .3rem;
}

.c-contact__list {
    display: flex;
    justify-content: center;
    gap: .2rem;
    width: 100%;
}

.c-contact__list li {
    width: min(100%, 360px);
}

/* icon */
.c-icoDL {
    width: 20px;
    height: 20px;
}

.c-icoARW {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 30px;
    bottom: 0;
    margin: auto;
    width: 10px;
    height: 100%;
    transition: all .2s;
}

/* text link */
.c-hover {
    transition: all .2s;
}

.c-hover:hover {
    opacity: .5;
}

/* Common JS parts
   ========================================================================== */
html.is-open {
    height: 100%;
    overflow: hidden;
}

.js-fadein {
    transform: translate3d(0, 50px, 0);
    transition: all 1s;
    opacity: 0;
}

.js-fadein.is-animated {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.js-sec_btn.is-hover::after {
    opacity: 0;
}

.js-sec_btn.is-hover .c-icoARW {
    right: 25px;
}

/* Header
   ========================================================================== */
.l-header {
    position: fixed;
    z-index: 9997;
    width: 100%;
    background: #fff;
}

.l-hedaer__cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .2rem;
    padding: 0 .5rem;
    height: 1rem;
}

.l-header__cont-logo {
    flex: 0 0 135px;
}

.l-header__cont-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: .3rem;
    height: 100%;
}

.l-header__cont-nav-mainList {
    display: flex;
    gap: .3rem;
    height: 100%;
}

.l-header__cont-nav-mainList li {
    display: grid;
    place-items: center;
}

.l-header__cont-nav-mainList a {
    display: grid;
    place-items: center;
    gap: .05rem;
}

.l-header__cont-nav-subList {
    display: flex;
    justify-content: flex-end;
    gap: .1rem;
    height: 100%;
}

.l-header__cont-nav-subList li {
    display: flex;
    justify-content: center;
    align-items: center;
}

.l-header__cont-nav-search {
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
    padding: .05rem .2rem .1rem;
    min-height: 55px;
}

.l-header__cont-nav-search img{
    width: 25px;
    height: 25px;

}
.l-header__cont-nav-subList a {
    display: grid;
    place-items: center;
    gap: .05rem;
}

.l-header__cont-nav-subList .contact {
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
    padding: .05rem .2rem .1rem;
    min-height: 55px;
}

.l-header__spMenuBtn,
.l-header__spMenu {
    display: none;
}

.l-header__pcMenuSub {
    position: fixed;
    z-index: 9998;
    top: 1rem;
    left: 0;
    width: 100%;
    height: auto;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    transition: all .2s;
    box-shadow: 0 10px 10px 0px rgba(0, 0, 0, .1);
    padding: .4rem 0;
}

.l-header__pcMenuSub.is-hover {
    visibility: visible;
    opacity: 1;
}

.l-header__pcMenuSub--listWrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: .2rem;
}

.l-header__pcMenuSub--list:nth-child(1) {
    grid-area: 1 / 1 / 2 / 2;
}

.l-header__pcMenuSub--list:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
}

.l-header__pcMenuSub--list:nth-child(3) {
    grid-area: 1 / 3 / 4 / 4;
}

.l-header__pcMenuSub--list:nth-child(4) {
    grid-area: 2 / 1 / 3 / 2;
}

.l-header__pcMenuSub--list:nth-child(5) {
    grid-area: 2 / 2 / 3 / 3;
}

.l-header__pcMenuSub--list:nth-child(6) {
    grid-area: 1 / 4 / 4 / 5;
}

.l-header__pcMenuSub--list:nth-child(7) {
    grid-area: 3 / 1 / 4 / 2;
}

.l-header__pcMenuSub--list:nth-child(8) {
    grid-area: 3 / 2 / 4 / 3;
}

.l-header__pcMenuSub--list {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.l-header__pcMenuSub--list ul {
    padding-left: .1rem;
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

.l-header__pcMenuSub--list ul li {
    place-items: start;
}

.l-header__cont-nav-searchCont {
    position: fixed;
    z-index: 9997;
    top: 1rem;
    left: 0;
    width: 100%;
    height: min(100%, 3rem);
    visibility: hidden;
    opacity: 0;
    background: #fff;
    transition: all .2s;
    box-shadow: 0 10px 10px 0px rgba(0, 0, 0, .1);
}

/* お問い合わせメガメニュー専用スタイル */
.l-header__pcMenuSub--contactWrap {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.2rem 0;
}

.l-header__pcMenuSub--contactWrap .c-btnL {
    margin: 0; /* 中央寄せマージンをリセットし、flexレイアウトに従わせる */
    min-width: 320px; /* メガメニュー内でのバランスを保つための最小幅 */
}

.l-header__cont-nav-searchCont.is-open {
    visibility: visible;
    opacity: 1;
}

.l-header__cont-nav-searchCont>* {
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(100%, 500px);
    height: 100%;
}

.searchForm {
    position: relative;
    width: 100%;
}

.searchField {
    box-sizing: border-box;
    width: 100%;
    height: 60px;
    padding: 0 .2rem;
    border: 1px solid #bbb;
    background: #efefef;
}

.searchSubmit {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all .2s;
    width: 25px;
    height: 100%;
}

.searchClose {
    position: absolute;
    bottom: .2rem;
    right: .5rem;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.searchClose-line {
    width: 40px;
    height: 2px;
    position: relative;
}

.searchClose-line::before,
.searchClose-line::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: #000;
}

.searchClose-line::before {
    transform: rotate(25deg);
}

.searchClose-line::after {
    transform: rotate(-25deg);
}

/* Footer
   ========================================================================== */
.l-footer {
    background: #f7f7f7;
    position: relative;
    z-index: 2;
}

.l-footer__cont {
    width: min(100% - 1rem, 12rem);
    margin: auto;
    padding: .5rem 0;
}

.l-footer__cont-logo {
    padding-bottom: .5rem;
    display: flex;
    gap: .2rem;
    align-items: center;
}

.l-footer__cont-logo img {
    width: 100px;
    margin: 0;
}

.l-footer__cont-nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
    row-gap: .5rem;
    column-gap: .1rem;
}

.l-footer__cont-nav--wrap {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

.l-footer__cont-nav--listWrap {
    display: grid;
    grid-template-rows: 100px auto;
    grid-template-columns: repeat(3, 1fr);
    gap: .1rem;
}

.l-footer__cont-nav--listWrap02 {
    display: grid;
    gap: .2rem;
}

.l-footer__cont-nav--listWrap03 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .1rem;
}

.l-footer__cont-nav-list {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.l-footer__cont-nav-list ul {
    padding-left: .1rem;
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

.l-footer__sns {
    padding: .2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .1rem;
}

.l-footer__sns img {
    width: 42px;
}

.l-footer__copy {
    padding: .1rem;
    background: linear-gradient(to right, #004ea2, #cde7ab);
    color: #fff;
    text-align: center;
}

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

    /* Settings
   ========================================================================== */
    html {
        /* 1rem = 50pxと同義 */
        font-size: 50px;
    }

    body {
        min-width: 100%;
        font-size: calc((.16rem * 100 / 50) * 0.9);
    }

    /* Style parts
   ========================================================================== */
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .fs-12 {
        font-size: calc((.12rem * 100 / 50) * 1);
    }

    .fs-14 {
        font-size: calc((.14rem * 100 / 50) * 0.9);
    }

    .fs-16 {
        font-size: calc((.16rem * 100 / 50) * 0.9);
    }

    .fs-18 {
        font-size: calc((.18rem * 100 / 50) * 0.9);
    }

    .fs-20 {
        font-size: calc((.2rem * 100 / 50) * 0.9);
    }

    .fs-22 {
        font-size: calc((.22rem * 100 / 50) * 0.9);
    }

    .fs-24 {
        font-size: calc((.24rem * 100 / 50) * 0.8);
    }

    .fs-26 {
        font-size: calc((.26rem * 100 / 50) * 0.8);
    }

    .fs-28 {
        font-size: calc((.28rem * 100 / 50) * 0.7);
    }

    .fs-32 {
        font-size: calc((.32rem * 100 / 50) * 0.7);
    }

    .fs-36 {
        font-size: calc((.36rem * 100 / 50) * 0.6);
    }

    .fs-40 {
        font-size: calc((.4rem * 100 / 50) * 0.6);
    }

    .fs-46 {
        font-size: calc((.46rem * 100 / 50) * 0.6);
    }

    .fs-48 {
        font-size: calc((.48rem * 100 / 50) * 0.6);
    }

    .fs-60 {
        font-size: calc((.60rem * 100 / 50) * 0.6);
    }

    .fs-75 {
        font-size: calc((.75rem * 100 / 50) * 0.6);
    }

    .fs-85 {
        font-size: calc((.85rem * 100 / 50) * 0.6);
    }

    .fs-125 {
        font-size: calc((1.25rem * 100 / 50) * 0.6);
    }

    .lh-2 {
        line-height: 1.8;
    }

    .lh-23 {
        line-height: 2.1;
    }

    .lh-25 {
        line-height: 2.1;
    }

    /* Common parts
   ========================================================================== */
    .c-contact__list {
        flex-direction: column;
    }

    .c-contact__list li {
        margin: auto;
    }

    /* Header
   ========================================================================== */
    .l-hedaer__cont {
        padding: 0 60px 0 .2rem;
        height: 1.2rem;
    }

    .l-header__cont-logo {
        flex: 0 0 120px;
    }

    .l-header__cont-nav {
        display: none;
    }

    .l-header__spMenuBtn,
    .l-header__spMenu {
        display: block;
    }

    .l-header__spMenuBtn {
        position: fixed;
        z-index: 9999;
        top: .3rem;
        right: .2rem;
        width: 40px;
        height: 23px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .l-header__spMenuBtn-line {
        width: 40px;
        height: 2px;
        background-color: #000;
        position: relative;
        transition: all .2s;
    }

    .l-header__spMenuBtn-line::before,
    .l-header__spMenuBtn-line::after {
        content: "";
        position: absolute;
        width: 40px;
        height: 100%;
        background-color: #000;
        transition: all .2s;
    }

    .l-header__spMenuBtn-line::before {
        transform: translateY(-10px);
    }

    .l-header__spMenuBtn-line::after {
        transform: translateY(10px);
    }

    .l-header__spMenuBtn-line.is-open {
        background-color: transparent;
    }

    .l-header__spMenuBtn-line.is-open::before,
    .l-header__spMenuBtn-line.is-open::after {
        content: "";
        transition: all .2s;
    }

    .l-header__spMenuBtn-line.is-open::before {
        width: 40px;
        transform: rotate(25deg);
    }

    .l-header__spMenuBtn-line.is-open::after {
        width: 40px;
        transform: rotate(-25deg);
    }

    .l-header__spMenu {
        position: fixed;
        z-index: 9998;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        visibility: hidden;
        opacity: 0;
        background: #fff;
        transition: all .2s;
        overflow-y: scroll;
    }

    .l-header__spMenu.is-open {
        visibility: visible;
        opacity: 1;
        transition: all .2s;
    }

    .l-header__spMenu-head {
        width: 100%;
        display: flex;
        align-items: center;
        padding: 0 60px 0 .2rem;
        height: 1.2rem;
        position: relative;
        z-index: 1;
    }

    .l-header__spMenu-logo {
        display: block;
        width: 120px;
    }

    .l-header__spMenu-body {
        padding: .5rem .2rem;
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        gap: .4rem;
    }

    .l-header__spMenu-list>li {
        border-bottom: 1px solid #000;
    }

    .l-header__spMenu-list>li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: .1rem;
        padding: .4rem .2rem;
        position: relative;
    }

    .l-header__spMenu-list>li .ico_plus {
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        width: 20px;
        height: 100%;
    }

    .l-header__spMenu-list>li .ico_plus::before {
        content: '';
        width: 2px;
        height: 20px;
        background: #000;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .l-header__spMenu-list>li .ico_plus::after {
        content: '';
        width: 20px;
        height: 2px;
        background: #000;
        position: absolute;
    }

    .l-header__spMenu-list>li .ico_plus.is-open::before {
        transform: rotate(90deg);
        opacity: 0;
    }

    .l-header__spMenu-subList {
        display: none;
        border-top: 1px dotted #000;
    }

    .l-header__spMenu-subList--ttl {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .1rem;
        padding: .4rem .2rem;
    }

    .l-header__spMenu-subList--ttl.is-open {
        background: #F2F2F2;
        font-weight: bold;
        border-bottom: 1px dotted #000;
    }

    .l-header__spMenu-subList--ttl .ico_arw {
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        width: 10px;
        height: 10px;
        border-right: 2px solid #000;
        border-bottom: 2px solid #000;
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        margin: 0 .1rem;
    }

    .l-header__spMenu-subList--ttl.is-open .ico_arw {
        transform: rotate(-135deg);
    }

    .l-header__spMenu-subList--item {
        display: none;
        background: #F2F2F2;
    }

    .l-header__spMenu-subList--item li:not(:last-child) {
        border-bottom: 1px dotted #000;
    }

    /* Footer
   ========================================================================== */
    .l-footer__cont-logo {
        flex-direction: column;
        padding-bottom: 0;
    }

    .l-footer__cont-nav {
        display: none;
    }
}