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: "Noto Sans JP", 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; 
}

/* ========= 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 15px;
    }
    
    /* 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%;
    }
}