html,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,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,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;transition:all 0.5s ease}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important}

body {
    font-family: "M PLUS 1", sans-serif!important;
    font-size: 16px;
	color: #333333;
	line-height: 1.8; 
	letter-spacing: 1px;
	font-weight: 500;
	-webkit-text-size-adjust: 100%;
}
body a {
	text-decoration: none;
	color: #333333;
}
body img {
	vertical-align: bottom;
}
div#wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* ========= FLEX ========== */
.flex {
    display: flex;
    flex-wrap: wrap;
}
.al_center {
    align-items: center;
}
/* ========= 2カラムレイアウト ========== */
.flex_2col {
    width: 48%;
    margin-right: 4%;
    padding: 0;
}
.flex_2col:nth-child(2n) {
    margin-right: 0%;
}
/* ========= 2カラム - 比率指定版 ========== */
.flex_2col_65 {
	width: 61%;
}
.flex_2col_65:nth-child(2) {
	margin-left: 4%;
}
.flex_2col_65 img {
	width: 100%;
}
.flex_2col_35 {
	width: 35%;
}
.flex_2col_35:nth-child(2) {
	margin-left: 4%;
}
.flex_2col_35 img {
	width: 100%;
}
.flex_2col_70 {
	width: 66%;
}
.flex_2col_70:nth-child(2) {
	margin-left: 4%;
}
.flex_2col_70 img {
	width: 100%;
}
.flex_2col_30 {
	width: 30%;
}
.flex_2col_30:nth-child(2) {
	margin-left: 4%;
}
.flex_2col_30 img {
	width: 100%;
}
/* ========= 3カラムレイアウト ========== */
.flex_3col {
    width: 32%;
    margin-right: 2%;
    padding: 0;
}
.flex_3col_sp4:nth-child(4) {
    display: none;
}
.flex_3col:nth-child(3n) {
    margin-right: 0%;
}
.flex_3col_nopadding {
    margin: 0;
    width: 33.333%;
}
/* ========= 4カラムレイアウト ========== */
.flex_4col {
    width: 23.5%;
    margin-right: 2%;
    padding: 0;
}
.flex_4col:nth-child(4n) {
    margin-right: 0%;
}

/* ========= WRAP ========== */
.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}
.wrap_1500 { max-width: 1540px; margin: 0 auto; padding: 0 20px; }
.wrap_1000 { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.wrap_800 { max-width: 840px; margin: 0 auto; padding: 0 20px; }
.wrap .wrap_1500 { padding: 0 0px; }
.wrap .wrap_1000 { padding: 0 0px; }
.wrap .wrap_800 { padding: 0 0px; }

/* ========= IMAGE ========== */
.img_res img {
    width: 100%;
    height: auto;
}
.img_wide {
    width: 100%;
    position: relative;
    overflow: hidden;
	height: fit-content;
}
.img_wide:before {
	content: "";
    display: block;
    padding-top: 65%;
}
.img_wide img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
	max-width: none;
	min-height: 100%;
    object-fit: cover;
}
a:hover .img_wide img {
    transform: translate(-50%, -50%) scale(1.1);
}
.img_sq {
    width: 100%;
    position: relative;
    overflow: hidden;
	height: fit-content;
}
.img_sq:before {
	content: "";
    display: block;
    padding-top: 100%;
}
.img_sq img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
	max-width: none;
	min-height: 100%;
    object-fit: cover;
}
a:hover .img_sq img {
    transform: translate(-50%, -50%) scale(1.1);
}

/* ========= TEXT SIZE ========== */
.text_xl {
    font-size: 1.25em; /* 20px → 1.25em */
}
.text_lg {
    font-size: 1.125em; /* 18px → 1.125em */
}
.text_md {
    font-size: 1em; /* 16px → 1em */
}
.text_sm {
    font-size: 0.875em; /* 14px → 0.875em */
}
.text_xs {
    font-size: 0.75em; /* 12px → 0.75em */
}

/* ========= TEXT ALIGN ========== */
.text_center {
    text-align: center;
}
.text_right {
    text-align: right;
}
.text_left {
    text-align: left;
}

/* ========= FONT WEIGHT ========== */
.text_bold {
    font-weight: 600;
}
.text_normal {
    font-weight: 400;
}
.text_light {
    font-weight: 300;
}

/* ========= PAGE_TOP ========== */
.page_top {
    position: fixed; 
    bottom: 70px;
    right: 20px;
    z-index: 1000; 
    cursor: pointer; 
    transition: opacity 0.3s ease; 
}
.page_top img {
    width: 50px;
    height: auto;
    display: block;
}
.page_top:hover {
    opacity: 0.7; 
}

/* ========= Breadcrumbs ========== */
.breadcrumbs {
    font-size: 10px;
    z-index: 1;
    position: relative;
    /* margin-bottom: 80px; */
    max-width: 1240px;
    margin: 0 auto;
    padding: 5px 20px;
}
.breadcrumbs a {
    color: #000;
}

/* ========= PAGE_NAVI ========== */
.wp-pagenavi {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0em;
    font-size: 13px;
    font-weight: 600;
}
span.current {
    padding: 0em 0em 0!important;
    margin-right: 1em!important;
    color: #fff;
    background: #003A8F;
    border: solid 1px #003A8F !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
a.first {
    padding: 0em 0em 0 !important;
    margin-right: 1em !important;
    color: #003A8F;
    background: unset;
    border: solid 1px #003A8F !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
a.first:hover {
    color: #fff;
    background: #003A8F;
}
a.last {
    padding: 0em 0em 0 !important;
    margin-right: 1em !important;
    color: #003A8F;
    background: unset;
    border: solid 1px #003A8F !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
a.last:hover {
    color: #fff;
    background: #003A8F;
}
a.page.larger {
    padding: 0em 0em 0!important;
    margin-right: 1em!important;
    color: #003A8F;
    background: unset;
    border: solid 1px #003A8F !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
a.page.smaller {
    padding: 0em 0em 0!important;
    margin-right: 1em!important;
    color: #003A8F;
    background: unset;
    border: solid 1px #003A8F !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
a.page.larger:hover {
    border: solid 1px #003A8F!important;
    background: #003A8F;
    color: #fff;
}
a.page.smaller:hover {
    border: solid 1px #003A8F!important;
    background: #003A8F;
    color: #fff;
}
span.extend {
    border: none!important;
    margin-right: 1em!important;
	font-size: 10px;
}

/* ========= HAMBURGER ========== */
.hamburger, #menu-toggle {
    display: none;
}
.sp_only {
    display: none;
}
/* ========= RESPONSIVE ========== */
@media only screen and (max-width: 780px) {
    /* ========= HAMBURGER ========== */
    .hamburger {
        display: block;
        width: 25px;
        height: 18px;
        position: absolute;
        top: 18px;
        right: 17px;
        cursor: pointer;
        z-index: 1001;
    }
    .hamburger::before,
    .hamburger::after,
    .hamburger span {
        content: "";
        display: block;
        width: 100%;
        height: 2px;
        background: #333;
        transition: 0.3s;
        position: absolute;
        left: 0;
        transform-origin: center; /* ★ 回転の基準を中央に */
    }

    .hamburger span {
        top: 50%;
        transform: translateY(-50%);
    }

    .hamburger::before {
        top: 0;
    }

    .hamburger::after {
        bottom: 0;
    }
    .header__nav--list {
        position: absolute;
        top: 0;
        right: 0;
        height: 100vh;
        background: #fff;
        width: 60%;
        flex-direction: column;
        display: none;
        padding: 60px 1em;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 1000;
        gap: 0!important;
    }
    .header__nav--list li {
        display: block;
        width: 100%;
    }
    .header__nav--list li a {
        display: block;
        width: 100%;
        padding: 1em 0.5em;
        border-top: solid 1px #e0e0e0;
    }
    .header__nav--list li:last-child a {
        border-bottom: solid 1px #e0e0e0;
    }
    #menu-toggle {
        display: none;
    }
    #menu-toggle:checked ~ .header__nav--list {
        display: flex;
    }
    /* ハンバーガー → × に変形 */
    #menu-toggle:checked + .hamburger::before {
        transform: rotate(45deg);
        top: 50%;
    } 
    #menu-toggle:checked + .hamburger::after {
        transform: rotate(-45deg);
        bottom: auto;
        top: 50%;
    }
    #menu-toggle:checked + .hamburger span {
        opacity: 0;
    }

    /* ========= PAGE_TOP ========== */
    .page_top {
        bottom: 20px;
        right: 20px;
    }
    .page_top img {
        width: 40px;
    }
    
    .sp_only {
        display: block;
    }
    .pc_only {
        display: none;
    }
    /* FLEX レスポンシブ */
    /* 2カラム系は案件によって調整するためコメントアウト */
    /*
    .flex_2col,
    .flex_2col_65,
    .flex_2col_35,
    .flex_2col_70,
    .flex_2col_30 {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 20px;
    }
    .flex_2col:last-child,
    .flex_2col_65:last-child,
    .flex_2col_35:last-child,
    .flex_2col_70:last-child,
    .flex_2col_30:last-child {
        margin-bottom: 0;
    }
    */
    
    .flex_3col,
    .flex_3col_sp4:nth-child(4) {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
        display: block;
    }
    .flex_3col:last-child {
        margin-bottom: 0;
    }
    
    .flex_4col {
        width: 48%;
        margin-right: 4%;
        margin-bottom: 20px;
    }
    .flex_4col:nth-child(2n) {
        margin-right: 0;
    }
    .flex_4col:nth-child(3),
    .flex_4col:nth-child(4) {
        margin-bottom: 0;
    }
    
    /* WRAP レスポンシブ */
    .wrap,
    .wrap_1500,
    .wrap_1000,
    .wrap_800 {
        padding: 0 20px;
    }
    
    /* TEXT SIZE レスポンシブ */
    .text_xl {
        font-size: 1.125em; /* 18px → 1.125em */
    }
    .text_lg {
        font-size: 1em; /* 16px → 1em */
    }
    .text_md {
        font-size: 0.875em; /* 14px → 0.875em */
    }
    .text_sm {
        font-size: 0.8125em; /* 13px → 0.8125em */
    }
    .text_xs {
        font-size: 0.6875em; /* 11px → 0.6875em */
    }
    
    /* IMAGE レスポンシブ */
    .img_wide:before {
        padding-top: 75%; /* スマホでは少し縦長に */
    }
    
    /* UTILITY レスポンシブ */
    .sp_text_center {
        text-align: center;
    }
    .sp_text_left {
        text-align: left;
    }
    .sp_flex_col {
        flex-direction: column;
    }
    .sp_w_full {
        width: 100%;
    }
    .sp_mb_10 {
        margin-bottom: 10px;
    }
    .sp_mb_20 {
        margin-bottom: 20px;
    }
    .sp_mt_10 {
        margin-top: 10px;
    }
    .sp_mt_20 {
        margin-top: 20px;
    }
}

/* タブレット用 */
@media only screen and (max-width: 1024px) and (min-width: 781px) {
    .wrap,
    .wrap_1500,
    .wrap_1000,
    .wrap_800 {
        padding: 0 30px;
    }
    
    .flex_4col {
        width: 48%;
        margin-right: 4%;
    }
    .flex_4col:nth-child(2n) {
        margin-right: 0;
    }
    .flex_4col:nth-child(4n) {
        margin-right: 4%;
    }
}

/* フォーム関連 */
.form-container {
    font-size: 14px;
    line-height: 1.6;
}
.form-description {
    text-align: center;
    margin-bottom: 50px;
    font-size: 14px;
}
.form-row {
    display: flex;
    border-bottom: 1px solid #ddd;
    min-height: 60px;
}
.form-row:first-child {
    border-top: 1px solid #ddd;
}
.form-label {
    width: 250px;
    padding: 30px 15px;
    display: flex;
    align-items: center;
    font-weight: bold;
    position: relative;
}
.form-input {
    flex: 1;
    padding: 30px 15px;
    background: #fff;
}
.required {
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 15px;
    font-weight: normal;
}
.form-control {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    box-sizing: border-box;
}
.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}
.form-example {
    font-size: 12px;
    color: #707070;
    margin-top: 5px;
}
.form-note {
    font-size: 12px;
    color: #707070;
    margin-bottom: 8px;
}
.textarea-large {
    min-height: 120px;
    resize: vertical;
}
.policy-section {
    padding: 20px;
    max-width: 800px;
    margin: 40px auto;
}
.policy-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}
.policy-text {
    margin-bottom: 25px;
    font-size: 13px;
}
.policy-link {
    text-decoration: underline;
    font-size: 13px;
    display: block;
    margin-bottom: 40px;
}
.policy-link:hover {
    text-decoration: underline;
}
.checkbox-wrapper {
    margin-top: 15px;
    display: flex;
    align-items: flex-start;
}
.checkbox-wrapper .required {
    margin-right: 8px;
    margin-left: 0;
}
.checkbox-wrapper input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 2px;
}
.checkbox-wrapper label {
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
    font-weight: unset;
}
.form-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.form-buttons input.btn-primary {
    padding: 0.8em 5em;
    font-size: 13px;
    display: inline-block;
    margin-top: 1em;
    background: #222;
    border: solid 1px #222;
    color: #fff;
    cursor: pointer;
}
.form-buttons input.btn-secondary {
    order: -1;
    padding: 0.8em 5em;
    font-size: 13px;
    display: inline-block;
    margin-top: 1em;
    background: #9e9e9e;
    border: solid 1px #9e9e9e;
    color: #fff;
    cursor: pointer;
}
.btn-primary:hover {
    background: #0056b3;
}
.btn-secondary {
    background: #6c757d;
    color: #fff;
}
.btn-secondary:hover {
    background: #545b62;
}
.form-thanks {
    text-align: center;
    border: solid 1px #000;
    padding: 4em;
    font-size: 14px;
}
.form-thanks h4 {
    font-size: 18px;
    margin-bottom: 1em;
}
.form-thanks p {
    margin-bottom: 1.5em;
}
.form-thanks p:last-child {
    margin-bottom: 0;
}
.form-thanks p a {
    text-decoration: underline;
}
@media (max-width: 768px) {
	.form-description {
		margin-bottom: 35px;
		font-size: 13px;
	}
	.form-container {
		font-size: 13px;
	}
	.form-row {
		flex-direction: column;
		min-height: auto;
	}
	.form-input {
		padding: 15px 0 20px;
	}
	.form-label {
		width: 100%;
		border-right: none;
		padding: 15px 0 0;
	}
	.policy-section {
		padding: 0px 0;
	}
	.checkbox-wrapper .required {
		white-space: nowrap;
	}
	.form-thanks {
		padding: 4em 20px;
		font-size: 13px;
	}
    .btn {
        display: block;
        width: 100%;
        margin: 5px 0;
        padding: 15px;
    }
}

/* 下層ヘッダー */
.low_hd__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.low_hd__inner--bk {
    width: 100%;
    position: relative;
    overflow: hidden;
	height: fit-content;
}
.low_hd__inner--bk:before {
    content: "";
    display: block;
    height: 300px;
}
.low_hd__inner--bk img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
	max-width: none;
	min-height: 100%;
    object-fit: cover;
}
.low_hd__inner--content {
    position: absolute;
}
.low_hd__inner--ttl {
    margin-bottom: 0px;
    text-align: center;
    color: #fff;
    line-height: 2.2;
}
.low_hd__inner--ttl span {
    display: block;
}