﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400&display=swap');
/* -----------------------------　body------------------------------------- */

/* ----------　font　---------- */
body{
    font-family: 'Noto Sans JP',"游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

/*.top_nav,.menu .nav,.all_page .menu,#page_title .page_title_box,.pc_nav,.CONTENT1,.CONTENT2,.CONTENT3,.en_font, h1, h2, h3, h4, h5, h6,.cms_title,.pager a, .cate_list li a, .sns_title, .con_no, .tel, #copyright{*/
/*    font-family: 'Kiwi Maru',"游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;*/
/*}*/

/* color -----------------------------------------------------------------------------*/
:root {
    --color1: #2c384b;
    --color2: #516c8d;
    --color3: #e96254;
    --color4: #fcf5eb;
    --color5: #173269;
    --color6: #7ac8db;
    --white: #fffbf8;
    --black: #052c37;
    --gray: #ccc;
}

body,.txt_color_nomal,.hvr_txt_color_nomal:hover{color: var(--black);}
.txt_white,.hvr_txt_white:hover{color: var(--white);}
.txt_color1,.hvr_txt_color1:hover{color: var(--color1);} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: var(--color2);} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: var(--color3);} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: var(--color4);} /* アクセントカラー2 */
.txt_color5,.hvr_txt_color5:hover{color: var(--color5);} /* アクセントカラー2 */
/* background-color */
.bg_white,.hvr_bg_white:hover{background-color: var(--white)} /* 白背景 */
.bg_black,.hvr_bg_black:hover{background-color: var(--black);} /* 黒背景 */
.bg_color1,.hvr_bg_color1:hover{background-color: var(--color1);} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: var(--color2);} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: var(--color3);} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: var(--color4);} /* アクセントカラー2 */
.bg_color5,.hvr_bg_color5:hover{background-color: var(--color5);} /* アクセントカラー2 */
.bg_color_clear,.hvr_bg_color_clear:hover{background-color: transparent!important;}
/* border-color ※!important */
.border_white,.hvr_border_white:hover{border-color: var(--white);}
.hvr_border_black:hover{border-color: var(--black);}
.border_black{border-color: var(--gray);}
.border_color1,.hvr_border_color1:hover{border-color: var(--color1);}
.border_color2,.hvr_border_color2:hover{border-color: var(--color2);}
.border_color3,.hvr_border_color3:hover{border-color: var(--color3);}
.border_color4,.hvr_border_color4:hover{border-color: var(--color4);}
.border_color5,.hvr_border_color5:hover{border-color: var(--color5);}

.linkStyle{
    color: var(--color1);
    border-bottom:solid 1px;
}

.linkStyle:hover{
	color: var(--color3);
	opacity: 0.7;
	transition: all 0.5s;
}

body#body {
    background: var(--white);
}

#loading_line .line{
    background-color: var(--color4)!important;
}

/* ----------　custom_box　---------- */


/* ----------　custom　---------- */




/* ---------------------------------------------　TOP　---------------------------------------- */
body{
    overflow:hidden;
    font-size:18px;
}
/*header{*/
/*    z-index:10;*/
/*}*/

#nav_menu{
    z-index:997;
}

.svg_box {
    display: none;
}

/* ----------　main_img_wrap　---------- */
.main_img_wrap .navi{
    display: none;
}

#main_b {
    z-index: 10;
    position: absolute;
    right: 2vw;
    bottom: 0vw;
}


/* ----------　menu　---------- */
.main_wrap{
    margin-top: calc(100vh + 20px);
}

.menu{
    padding: 10px 0;
}

.menu .nav {
    position: relative;
    z-index: 1;
    padding-left: 60px;
}

.menu .nav::before{
    position: absolute;
    content: "";
    width: 220px;
    height: 220px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg) skew(-20deg, -20deg);
    background-color:var(--white);
    z-index: -1;
    pointer-events: none;
}

.menu .nav ul li:first-child {
    margin-left: -30px;
}

.menu .nav ul li, .menu .nav ul li a{
    transform: none;
    margin: 0;
    border: none;
}

.menu .nav ul li a{
    padding: 0 -1%!important;
}

.menu .nav ul li a .nav1{
    font-size: 16px;
}

.menu .nav ul li a .nav2{
    letter-spacing: 3px;
    font-size: 12px;
    opacity: 0.6;
}

.menu .nav .logo {
    margin-left: 14px;
    width: 150px!important;
}

.menu .nav .logo img{
    width: 50%!important;
}

.bottom_menu{
    margin-left:10px;
}

.bottom_menu li a{
    font-size:17px;
}

.sns_links li {
    max-width: 35px;
}

.box.d_flex {
    margin-bottom: 150px;
}

.CONTENT1,.CONTENT2,.CONTENT3 {
    font-size: 2.5rem;
}

.img-container:before {
    background: var(--color2);
}

.t_cms_img2 .img-container:before {
    background: var(--color5);
}

#top_cms:before{
    width: 100%;
}

#top_cms .line{
    display: none;
}

span.s1 {
    color: var(--color2);
    text-shadow: var(--white) 1px 1px 0, var(--white) -1px -1px 0,/*右下、左上*/ var(--white) -1px 1px 0, var(--white) 1px -1px 0,/*右上、左下*/ var(--white) 0px 1px 0, var(--white) 0-1px 0,/*右、左*/ var(--white) -1px 0 0, var(--white) 1px 0 0;
}

/* -------------------　top_cms_box .more_box　----------------- */
.top_cms_box .more_box .more:hover{
    background-color: var(--color2);
}

.top_cms_box .more_box .more {
    border-width: 2px;
    box-shadow: 5px 5px 0 var(--color3);
    transition: 0.4s;
}

.top_cms_box .more_box .more:hover {
    transform: translate(5px, 5px);
    box-shadow: none;
    border-color: #222;
    background-color: transparent;
}

.cms_title {
    text-align: center;
}

.t_cms_img1 img, .t_cms_img2 img, .t_cms_img3 img {
    border-radius: 5px;
}

#contents .box figure:after{
    border-radius: 5px;
}

#contents {
    background-color: var(--color4);
    background-image: url(./Dup/img/bg_img4.png);
    background-size: 101% 100px, auto;
    background-repeat: no-repeat, repeat;
    background-position: bottom, top left;
}

#top_cms{position:relative;}

#top_cms::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 200px;
    background-image: url(./Dup/img/img7.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(-50%,0%);
    left: 50%;
    top: -200px;
    margin: auto;
    z-index: 2;
    pointer-events: none;
}

span.letter_3.txt_color_nomal span:last-of-type:after {
    content: "";
    width: 70px;
    height: 70px;
    position: absolute;
    background: url(Dup/img/nikunyu.png) no-repeat;
    background-size: 90%;
    background-position: center;
    top: -20px;
    right: -81px;
}

/*footer {*/
/*    background-color: var(--color6)*/
/*}*/

footer #logo .logo {
    width: 80%!important;
}

footer::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    left: 0;
    top: -1px;
    background-image: url(./Dup/img/bg_img3.png);
    background-size: 103% 100%;
    background-repeat: no-repeat;
    z-index: 1;
}

#page-top{
    z-index: 9;
}

#fix_banner {
    position: fixed;
    right: 80px;
    bottom: 10px;
    z-index: 9;
    max-width: 300px;
    transition: all 0.3s;
}


img.catch {
    object-fit: contain;
    transform: translate(-50%,-50%);
    top: 50%;
    width: 22%;
    z-index: 1;
    left: 50%;
    bottom: auto;
    position: absolute;
    max-width: 600px;
}


.box_title1 {
    color: var(--color3)!important;
}

/* -------------------　BLOG　----------------- */
.cate {
    display: block;
    padding-top: 50px;
    margin-top: -50px;
}

.cate_list li a {
    letter-spacing: 0;
    font-size: 15px;
    font-weight: bold;
}

.cate_list{
    border: none;
}


/* -------------------　ビフォーアフター　----------------- */
.BA_type1 .box_item, .BA_type1 .box_img1, .BA_type1 .box_img2 {position: relative;}
.BA_type1 .box_item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50.3%;
    transform: translate(-50%,-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 17px 0 17px 40px;
    border-color: transparent transparent transparent var(--color1);
}
.BA_type1 .box_img1 {margin-right: 40px;}
.BA_type1 .box_img2 {margin-left: 40px;}
.BA_type1 .box_img1::after, .BA_type1 .box_img2::after {
    position: absolute;
    height: 33px;
    width: 87px;
    background-color: #fff;
    color: #434343;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    left: 0;    
}
.BA_type1 .box_img1::after {content: "before";}
.BA_type1 .box_img2::after {content: "after";}

@media screen and (max-width: 667px){
.BA_type1 .box_img1 {margin-right: 5%;margin-bottom: 50px;}
.BA_type1 .box_img2 {margin-left: 5%;}
.BA_type1 .box_img1::after, .BA_type1 .box_img2::after {height: 30px;font-size: 15px;}
.BA_type1 .box_item::after {transform: translate(-50%,-60%) rotate( 90deg);border-width: 20px 0 20px 23px;}
}


/* ---------------------------------　下層ページ　--------------------------------- */
#title_img span::after {
    background: #f7f0dc;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 1;
    opacity: 0.4;
}

#page_title p span {
    text-shadow: var(--white) 1px 1px 0, var(--white) -1px -1px 0,/*右下、左上*/ var(--white) -1px 1px 0, var(--white) 1px -1px 0,/*右上、左下*/ var(--white) 0px 1px 0, var(--white) 0-1px 0,/*右、左*/ var(--white) -1px 0 0, var(--white) 1px 0 0;
}

#page_title{
    padding: 0px;
}

.cate {
    display: block;
    padding-top: 50px;
    margin-top: -50px;
}

.all_page:before{
    width: 100%;
    background-color: var(--white);
}

#cms_1-d .box_wrap {
    background-color: var(--color4);
}

/* ----------　会社情報　---------- */
#page7 .box {
    margin: 15px!important;
}
/* ----------　お問い合わせ　---------- */


/* ----------　プライバシーポリシー ---------- */


/* ----------　サイトマップ　---------- */
.page10 .more_box .more:hover{
    background-color:var(--color4);
}

.page10 .more span {
    width: 10%;
}

.page10 .more span {
    right: 7px;
}

@media all and (-ms-high-contrast: none){
  .sample{

  }
}

/*-------------------------------------------------------タブレット-------------------------------------------------------*/
@media screen and (max-width: 768px){

.main_wrap {
    padding-top: 15px;
    margin-top: 45.5vh!important;
}

.main_img_wrap {
    height: 47vh!important;
}

.main_wrap:before {
    height: 32vw;
    top: -31vw;
}

img.catch {
    width: 52vw!important;
}

.cms_title{
    font-size: 15px;
}

#contents .box .txt_wrap {
    width: 90%!important;
}

#contents .box figure {
    width: 60%!important;
    position: relative;
    z-index: 1;
    padding-top: 10px;
    padding-bottom: 10px;
}

#top_cms::after{
    width: 90%;
    transform: translate(-50%,21%);
}

#fix_banner {
    width: 265px;
    left: 26px;
}

}

/*-------------------------------------------------------スマホ-------------------------------------------------------*/
@media screen and (max-width: 667px){
.other h2.box_title{
    white-space:nowrap;
}

#page_title p {
    letter-spacing: 0px;
    font-size: 20px;
    padding-right: 0px;
}

img.catch {
    width: 54vw!important;
}

ul.pager{
    position: relative;
    left: -10px;
}

.main_img_wrap {
    height: 28vh !important;
}

.main_wrap {
    padding-top: 15px;
    margin-top: 27.5vh !important;
}

#recruit {
    max-width: 250px;
    margin: auto;
}

#contents .box figure {
    width: 90%!important;
}

#contents_img {
    max-width: 250px;
    margin: auto;
    margin-bottom: 50px;
}

#contents .box {
    background: url(Dup/img/con_bg.png) no-repeat;
    padding:10px 0;
}

#contents .box h3 {
    letter-spacing: 0;
    font-size: 18px;
}

#fix_banner {
    position: fixed;
    left: 55px;
    bottom: 10px;
    z-index: 99;
    max-width: 250px;
    transition: all 0.3s;
}

#footer {
    height: 57vh;
    margin-bottom: 100px;
}

.all_header #header {
    padding-top: 10px!important;
}

#page_title #title_img {
    filter: blur(1px);
}

#page_title p span {
    text-shadow: none;
}

/*【スマホ】ページタイトル背景色*/
#page_title .img-container::after {
    background-color: rgb(122 200 219 / 40%);}
}

/*2023/08/18 P修正*/
.top_nav {
    display: none;
}

.top_cms_box:before {
    width: 1330px;
}

#page-top a {
    background-color: var(--color1);
}

#top_cms::after{
    display: none;
}

.other .box_title:before{
    display: none;
}

footer {
    background-color: var(--color1);
}

#title_img {
    width: 100%;
}

.img-container.active:before {
    transform: translateX(101%);
}

#title_img span {
    background-image: url(Dup/img/title_img.jpg)!important;
    height: 300px;
    width: 100%;
}

/*2023/08/24 P修正*/
#contents .box h3:before{
    border: none;
}
