﻿/* 1536 , 1530 × 735 ,1366 *//* 上記画面幅でも崩れていないか確認 */
/* 修正した場合→各項目の一番下に日付をコメントアウトして追記 */
@charset "utf-8";
/*■■　ALL　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.font_14 {
    font-size: 15px;
}
body {
    font-size: 15px;
}
footer {
    background: var(--color2);
}
h2, h2 div,h3 div, #main_menu ul li a {
    font-weight: bold;
    transform: skewX(-10deg);
}
#main_menu ul li a {
    color: var(--black);
    font-size: 16px;
}
.button:hover::after {
    box-shadow: inset 0 0 0 15em var(--color1);
}
footer .logo img {
    max-width: 300px;
    transform: skewX(10deg);
}
#copyright {
    font-size: 14px;
}
/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
.fat-nav li {
    font-size: 18px;
}
.fat-nav li:last-child a {
    font-size: 25px;
}
header #logo {
    max-width: 280px;
}
header .head_banner a {
    padding-top: 17px;
    font-size: 20px;
}
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
header #logo {
    max-width: 200px;
}
header .head_banner {
    width: 100%;
}
header .head_banner a {
    padding-top: 15px;
    font-size: 18px;
}
.fat-nav li {
    font-size: 16px;
    padding: 10px;
}
.fat-nav li:last-child a {
    font-size: 20px;
}
}



/*■■　FV　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#main_img:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url(../img/catch.png), url(../img/fv_img.png);
    background-repeat: no-repeat;
    background-position: 80%, 5%;
    background-size: 40%, auto 100%;
    z-index: 1;
    pointer-events: none;
}
#main_img {
    background: linear-gradient(162deg, var(--color2), #f3f3f3);
}
/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
#main_img:before {
    background-position: 85%, 2%;
}
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
#main_img {
    min-height: 80vh;
}
#main_img:before {
    background-image: url(../img/catch_sp.png), url(../img/fv_img_sp.png);
    background-position: 55% 16%, 50% 90%;
    background-size: 75%, 100%;
}


}



/*■■　TOP　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.con_no {
    letter-spacing: 1px;
    font-size: 2em;
    margin-bottom: 10px;
}
#contents1 .title {
    font-size: clamp(34px, 3.2vw, 60px);
}
#contents2 {
    background: linear-gradient(313deg, var(--color2), #f3f3f3);
}
#contents2 .title, #contents3 .title {
    font-size: clamp(22px, 2.6vw, 46px);
}
#contents3 {
    position: relative;
}
#contents3:before {
    content: "";
    background-image: url(../img/a1.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: -2px;
    right: 0px;
    width: 12%;
    aspect-ratio: 3 / 2;
    z-index: 1;
    pointer-events: none;
}
.con_no::after {
    content: "";
    width: 5px;
    height: 5px;
    background-color: currentColor;
    top: 50%;
    right: 0;
    position: absolute;
    transform: translate(0%, -50%);
}
.top_cms_box:nth-of-type(2n) {
    background: linear-gradient(313deg, var(--color2), #f3f3f3);
}
.cms_6-b .cate_box .box_txt2 {
    background: #fff;
}
.cms_5-f .cate_box:last-child {
    margin-bottom: 0;
}
/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
#contents3:before {
    width: 24%;
}
#contents3 .d_flex {
    position: relative;
    z-index: 1;
}
.con_no {
    font-size: 1.8em;
}
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
.more a {
    width: auto;
}
#contents1 {
    padding: 50px 6%;
}
#contents2 {
    padding: 80px 5% 150px;
}
#top_cms > .box {
    padding: 50px 5%;
}
.con_no::after {
    transform: translate(0%, -54%);
}
.con_no {
    font-size: 20px;
    margin-bottom: 5px;
}
#contents3:before {
    width: 45%;
}
}



/*■■　下層ページ　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/


/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
.cate_list {
    margin-bottom: 50px;
}
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
.cate_list {
    margin-bottom: 50px;
}
}


