@charset "UTF-8";

/*テンプレートcssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("aos.css");
@import url("drawer.css");
@import url("../webfonts/css/all.css");
@import url("../slick/slick.css");
@import url("../slick/slick-theme.css");


/*共通
---------------------------------------------------------------------------*/
:root {
--themecolor: #552e00;
--maincolor: #333333;
}

/*全体の設定
---------------------------------------------------------------------------*/
html, body {
height: 100%;
scroll-behavior: smooth;
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: none;
}
html {
overflow-x: hidden;
overflow-y: auto;
}
body {
background-color: white;color: var(--maincolor);
font-size: clamp(16px, 1vw + 8px, 20px);
font-family: "Meiryo", "メイリオ", "ＭＳ　Ｐゴシック", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;font-style:normal;
line-height: 2.2;text-align: center;-webkit-font-smoothing: antialiased;
word-wrap: break-word;
}
/* 全体ボックスサイズ */
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}


/*リセット*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
margin:0;
padding:0;
border:0;
outline:0;
font-size:100%;
vertical-align:baseline;
background:transparent;
}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
ul {list-style: none;}
input {font-size: 1rem;}
/* clearfix */
.clearfix::after {
content: "";
display: block;
clear: both;
}
.clearfix {
overflow: hidden;
}

/*タップ時の青枠削除
---------------------------------------------------------------------------*/
/* タップ時の青ハイライトを消す（Safari / iOS用） */
a, button, input, textarea {
-webkit-tap-highlight-color: transparent;
outline: none;
}


/*img*/
img {
vertical-align: middle;
border-style:none;
border: none;
max-width: 100%;
height: auto;
-webkit-backface-visibility: hidden; backface-visibility: hidden;
}
a:hover img{opacity:0.8;filter:alpha(opacity=80);-ms-filter:"alpha( opacity=80 )";}
/*img Chromeのみ*/
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {
img {image-rendering: -webkit-optimize-contrast;}
}

/*p*/
p {text-align: justify;}

/*回りこみ解除*/
.clear {
clear:both;
}
a img,
ol li img,
li img,
ul li img {/*上揃え*/
vertical-align: top;
text-align:center;
border-style:none;
}

/*フロート設定*/
.tex img.centered,.tex img.aligncenter {
display:block;
margin-left:auto;
margin-right:auto;
clear:none;
}
.tex img.alignright,
.tex .alignright img{
margin-left:20px;
margin-right:0;
margin-bottom:20px;
display:inline;
clear:none;
}
.tex img.alignleft,
.tex .alignleft img {
margin-left:0;
margin-right:20px;
margin-bottom:20px;
display:inline;
clear:none;
}
.tex img.alignnone,
.tex .alignnone img {
margin-left:0;
margin-right:0;
margin-bottom:10px;
clear:none;
display:block;
}
.tex .alignright,.right {
float:right;
}
.tex .alignleft {
float:left;
}
@media only screen and (max-width:60em) {
.tex img.alignright,.tex img.alignleft,.tex img.alignnone,.tex img.aligncenter {clear:both;display:block;margin-left:auto;margin-right:auto;}
.tex .alignright {float:none;}
.tex .alignleft {float:none;}
.tex .aligncenter {clear:both;display:block;margin-left:auto;margin-right:auto;}
}


/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
color:var(--maincolor);
text-decoration:none;
transition: 0.5s;
}
a:hover {
color:#848484;
text-decoration:none;
transition: 0.5s;
}
/* a TEL */
a[href^="tel:"] {text-decoration:none;color:var(--maincolor);}
@media screen and (min-width: 1024px) {
a[href^="tel:"] {pointer-events: none;}
}

/*PC･スマホ 表示・非表示
---------------------------------------------------------------------------*/
@media screen and (min-width: 1024px) {.sp{display: none !important;}}
@media screen and (max-width: 1023px) {.pc{display: none !important;}}


/*pagetop
---------------------------------------------------------------------------*/
.pagetop {
display: none;
position: fixed;
bottom: 0;
right: 0;
z-index: 10000;
}
.pagetop a {
display: block;
background-color: var(--themecolor);
text-align: center;
color: #FFF;
font-size: 20px;
padding: 15px 25px;
}
.pagetop a:hover {
display: block;
opacity: 0.5;
transition: 0.5s;
color: #fff;
}
@media screen and (max-width: 1023px) {
.pagetop a {
font-size: 14px;
padding: 9px 18px;
}
}

/*header（ロゴが入ったサイト上部のブロック）
---------------------------------------------------------------------------*/
/*グラデ*/
header{
position:relative;
padding:0 0 2% 0;
}
/* 背景グラデ専用レイヤー */
header::before{
content:"";
position:absolute;
inset:0;
z-index:0;
pointer-events:none;
background:linear-gradient(
to bottom,
rgba(0,0,0,0.7) 0%,
rgba(0,0,0,0) 100%
);
mix-blend-mode:multiply;
}
/* header内の要素を前面へ */
header > *{
position:relative;
z-index:1;
}

/*上からふわっと表示（ロード時）*/
.logo,
.drawer-nav{
opacity: 0;
transform: translateY(-20px);
animation: fadeTop 0.8s ease forwards;
}
@keyframes fadeTop {
0% {
opacity: 0;
transform: translateY(-20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
/*ロゴ画像*/
.logo{
margin: 25px 0 10px 4%;
text-align: left;
}
h1 a {
background: url(../img/logo.svg) no-repeat;
background-size: 150px 26px;
display: block;
width: 150px;
height: 26px;
float: left;
}
h1 a span {
display: none;
}
/*グローバルメニュー　ボタン*/
.otoiawase-button a{
display: flex;
justify-content: center;
align-items: center;
width: auto;
margin:0 auto;
padding: .2em 1.3em;
border: 1px solid #fff;
border-radius: 25px;
color: #fff;
}
.otoiawase-button a:hover {
background-color: #fff;
color: var(--themecolor);
border: 1px solid #fff;
}
@media screen and (max-width: 1023px){
.otoiawase-button {
padding: 0 2rem;
margin:20px 0 0 0;
}
}
@media screen and (min-width: 768px) {
.logo{
margin: 25px 0 10px 20px;
}
h1 a {
background-size: 175px 30px;
width: 175px;
height: 30px;
}}
@media screen and (min-width: 1024px) {
.logo{
margin: 25px 0 13px 20px;
}
h1 a {
width: 230px;
height: 40px;
background-size: 230px 40px;
}
}


/*フッター
---------------------------------------------------------------------------*/
#footer {
width: 100%;
padding: 90px 0;
}
/* 全体レイアウト */
#footer .flexbox {
display: flex;
justify-content: space-between;
align-items: flex-start;
}
@media screen and (max-width: 767px) {
#footer {
padding: 50px 0 90px 0;
}
}

/* ----------------------
 左：ロゴ・住所
---------------------- */
.f_box {
width: 45%;
text-align: left;
}
.f_box h5 img {
width: 200px;
height: auto;
margin-bottom: 30px;
}
.f_box address {
font-style: normal;
font-size: 90%;
}
a.f_box_link {
text-decoration: underline;
}
a:hover .f_box_link {
text-decoration: underline;
}

/* ----------------------
 右：メニュー＋コピー
---------------------- */
#foot-box {
display: flex;
flex-direction: column;
margin-left: auto;
}
/* メニュー横並び */
.flex_foot-box {
}
.flex_foot-item ul {
list-style: none;
margin: 0;
padding: 0;
column-count: 3;
column-gap: 10px;
}
.flex_foot-item {
text-align: left;
}
.flex_foot-item ul li a {
font-size: 90%;
color: var(--maincolor);
text-decoration: none;
}
.flex_foot-item ul li a:hover {
opacity: 0.6;
transition: 0.5s;
}
/* コピー */
.copy {
font-family: Verdana, "Droid Sans";
font-size: 80%;
padding-top: 30px;
text-align: left;
}
@media only screen and (max-width: 1023px) {
#footer .flexbox {
flex-direction: column;
}
.f_box,
#foot-box {
width: 100%;
}
.flex_foot-box {
display: none;
}
}



/* アイコン型SNS
/* ------------------------------------- */
#copy-icon {
margin-top: 20px;
}
#social-icon a {
display: block;
float: left;
padding: 0;
color: var(--maincolor);
font-size: 160%;
}
#social-icon i {
margin: 0;
text-align: center;
}
#social-icon a:hover i { opacity: 0.5;transition: 0.5s; }

@media screen and (min-width: 769px) {
#social-icon a {
margin-right: 30px;
}
}
@media screen and (max-width: 768px) {
#copy-icon {
width: 120px;
}
#social-icon {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
#social-icon a {
font-size: 200%;
}
}


/*footer お問い合わせ
---------------------------------------------------------------------------*/
.back_inquiry{
width: 100%;
padding: 90px 0;
background: var(--themecolor);
}
.section-inquiry-h3 {
text-align:center;
font-size: 20px;
font-weight: normal;
letter-spacing:.05em;
margin: 0 0 20px 0;
color: #fff;
line-height: 1.5;
}
.section-inquiry-h3 span{
font-size: .5em;
display: block;
letter-spacing:.05em;
color: #ffffff;
padding-bottom: 10px
}

/*お問い合わせ　バナー
------------------*/
.two-inquiry-pc {
width: 100%;
display: flex;
gap: 20px;
}
/* 3等分 */
.two-inquiry {
flex: 1 1 0;
display: flex;
}
.btn_01 {
width: 100%;
}
.btn_01 a i {
margin-right: 10px;
}
.btn_01 a {
display: flex;
justify-content: center;
align-items: center;
width: 100%;/* ← 横いっぱい */
height: 75px;
background-color: #fff;
color: var(--themecolor);
text-decoration: none;
}
.two-inquiry a {
transition: opacity 0.3s ease; /* ゆっくり変化 */
}
.two-inquiry a:hover {
opacity: 0.6; /* 半透明 */
}
@media screen and (max-width: 767px) {
.back_inquiry{
padding: 60px 0;
}
.two-inquiry-pc {
flex-direction: column;
margin: 0 auto;
gap: 10px;
}
.btn_01 a {
height: 65px;
}
}


/*floatingmenu
---------------------------------------------------------------------------*/
#floatingmenu {
display: block;
position: fixed;
z-index: 1000;
text-align: center;
}
#fl_nav {
list-style: none;
display: flex;
text-align: center;
}
#fl_nav li a {
text-decoration: none;
color: #fff;
font-weight: normal;
padding: 0;
font-size: 100%;
display: block;
}
#fl_nav li:hover,
.sns_instagram a:hover {
opacity: 0.6;
transition: 0.6s
}

/*色*/
#fl_nav li:first-child{
background: #f2994a;
}
#fl_nav li:last-child{
background: #27ae60;
}
/*サイドinstagram */
.sns_instagram a{
display: inline-block;
background: linear-gradient(to right,
rgba(247, 207, 0, 1),
rgba(246, 37, 2, 1) 45%,
rgba(182, 47, 82, 1) 75%,
rgba(113, 58, 166, 1));
color: #fff;
text-decoration: none;
width: 55px;
height: 55px;
line-height: 55px
}
@media screen and (min-width: 1024px) {
#floatingmenu {
bottom: 50%;
transform: translate(0,50%);
right: 0;
}
#fl_nav {
flex-flow: column;
}
#fl_nav li {
width: 55px;
text-align: center;
height: 150px;
line-height: 55px;
writing-mode: vertical-rl;
}
#fl_nav li:first-of-type::before {
padding: 0
}
}

@media screen and (max-width: 1023px) {
#floatingmenu {
width: 90%;
bottom: 0;
left: 0;
padding: 0 auto;
margin: 0
}
#fl_nav {
justify-content:space-between;
}
#fl_nav li {
text-align: center;
width: calc(100% / 2);
height: 49px;
line-height: 50px;
}
}

/*youtube
---------------------------------------------------------------------------*/
.wp-block-embed-youtube {
position: relative;
padding-bottom: 56.25%; /* 16:9のアスペクト比 */
height: 0;
overflow: hidden;
}

.wp-block-embed-youtube iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}


/*施工事例
---------------------------------------------------------------------------*/
.info_box_list{
text-align:left;
margin:2% 0;
}
.info_box_list ul {
display: flex;
flex-wrap: wrap;
gap: 20px;
}

.info_box_list li {
width: calc((100% - 40px) / 3);
}
.info_box_list li {
height: auto !important;
overflow: visible !important;
}
.info_box_list a{
display:block;
text-decoration:none;
transition:.4s ease;
height: auto !important;
}
.info_box_list a:hover{
opacity:.6;
}
/* ======================
 画像トリミング
====================== */
.c_trim{
width:100%;
aspect-ratio:1 / 1;
overflow:hidden;
position:relative;
}
.c_trim img{
width:100%;
height:100%;
object-fit:cover;
display:block;
transition:.4s ease;
}
.info_box_list a:hover .c_trim img{
transform:scale(1.05);
}
/* テキスト */
.info_box_tex{
margin-top:25px;
text-align:left;
}
.info_box_tex h5{
font-weight:normal;
font-size:1em;
line-height:1.7;
margin-top:10px;
}
.cate_box{
display:flex;
align-items:center;
font-size:12px;
line-height:1.5;
}
.cate_box span{
padding:20px 0 0 0;
}
/* ======================
 スマホ用はtop横スライド・page2列
====================== */
@media (max-width: 980px) {
.info_box_list ul {
display: flex;
flex-wrap: wrap;
gap: 20px;
}
.info_box_list li {
width: calc((100% - 20px) / 2);
}
}

/* =========================
 記事一覧
========================= */
.info_box a{
display:flex;
align-items:flex-start;
text-decoration:none;
width:100%;
padding:30px 0 25px;
border-bottom:1px solid #b5b5b5;
transition:background .3s ease;
}
.info_box a:hover{
background:rgba(255,255,255,0.5);
}
/* 日付 */
.info_box a p,
.info_box span {
flex-shrink: 0;
font-size:80%;
}
.info_box a p {
white-space: nowrap;
padding:0;
margin: 0;
}
/* 区切り線 */
.info_box a p::after {
content: "";
display: inline-block;
width: 1px;
height: 10px;
background: #b5b5b5;
margin: 0 20px;
vertical-align: middle;
}
.info_box span{
height: auto;
margin:0 50px 0 0;
padding:3px 0;
text-align:center;
}
.info_box a h5 {
text-decoration: none;
font-weight: normal;
font-size: 100%;
line-height: 1.8;
padding:0;
margin: 0;
width: 100%;
}
.info_box a:hover {
 background-color: rgba(255,255,255,0.5);
 cursor: pointer;
}
@media screen and (min-width: 768px) {
.info_box:first-child a {
border-top: 1px solid #b5b5b5;
}}
@media screen and (min-width: 1024px) {
.info_box a {
flex-wrap: nowrap;
}
}
@media screen and (max-width: 1023px) {
.info_box a h5 {
display: block;
padding:15px 0 5px 0;
}
.info_box::after {
content: '';
width: 100%;
}
.info_box:nth-child(n+2) {
order: 1;
}
}
@media screen and (max-width:767px){
.info_box_0{
flex-direction:column; /* ← 縦並び */
gap:20px;
}
.info_box_l{
width:100%;
}
.info_box a{
flex-wrap:wrap;
}
.info_box a h5{
width:100%;
padding:5px 0 0 0;
}
.info_box span{
margin:0;
padding:1px 0;
}
/* 区切り線 */
.info_box a p::after {
margin: 0 15px;
}
 /*.info_box a p {
width:100px;
}*/
}