/*--------------------
common
--------------------*/
html {
    font-size: 17px;
    font-family: "Meiryo", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", sans-serif;
    line-height: 1.4;
}
* {
    box-sizing: border-box;
  }
body {
    color: #000000;
    margin: 0;
    /*
    background-color: #f0dead69;*/
    background-color: #fff;
}
a {
    text-decoration: none;
    color: black;
}
li {
    list-style: none;
}
ul {
    padding-left: 0;
}
img {
    max-width: 100%;
}
/*font-aw*/
.font-aw-margin {
    margin-right: 5px;
}
.wrapper {
    max-width: 1250px;
    margin: 0 auto;
}
.font-awesome-fit {
    margin-left: 5px;
}
/*--------------------
title
--------------------*/
/*--------各ページH1タイトル------*/

.ttl {
    position: relative;
    padding: 1rem .5rem;
    text-align: center;
}
.mainvisual-ttl {
    color: black;
    margin-top: 0;
}
.ttl .en {
    display: block;
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 5px;
}
.ttl:after {
    position: absolute;
    bottom: 0;
    left: calc(50% - 50px);
    width: 100px;
    height: 5px;
    content: '';
    /*
    background-image: -webkit-gradient(linear, left top, right top, from(#000000), to(#ffffff));*/
    background-image: -webkit-linear-gradient(left, #000000 0%, #ffffff 100%);
    background-image: linear-gradient(to right, #000000 0%, #fffffc 100%);
  }

.page-title {
    width: 100%;
    height: 15vh;
    background-image: url(../img/common/dealer.jpg);
    background-position: center;
    object-position: 50% 50%;
    color: white;
}
.page-box {
    text-align: center;
    position: relative;
}
.page-ttl {
    line-height: 15vh;
    margin-top: 0;
    font-size: 2rem;
}
.deco {
    position: absolute;
    bottom: 10px;
    right: 50px;
    width: 4vw;
}
/*-------manualの個別ページのタイトル------*/
.page-ttl-2 {
    margin-top: 0;
    padding-top: 40px;
    font-size: 2rem;
    text-align: center;
}

/*--------施行事例タイトル------*/
.case-result-box {
    text-align: center;
}
.case-ttl {
    position: relative;
    display: inline-block;
    padding: 0 65px;
  }
  .case-ttl:before,
  .case-ttl:after {
    position: absolute;
    top: calc(50% - 3px);
    width: 50px;
    height: 6px;
    content: '';
    border-top: solid 2px #000;
    border-bottom: solid 2px #000;
  }
  .case-ttl:before {
    left: 0;
  }
  .case-ttl:after {
    right: 0;
  }
/*--------------------
パンくずリスト
--------------------*/
.breadcrumb {
    margin: 0;
    padding: 0;
    list-style: none;
  }
.breadcrumb ol {
    margin-bottom: 0;
    padding-left: 5px;
}
  .breadcrumb li {
    display: inline-block;/*横に並ぶように*/
    list-style: none;
    font-weight: bold;/*太字*/
  }
  .breadcrumb li:after {
    /* ▶を表示*/
    content: '>';
    padding: 0 0.2em;
    color: #272727;
  }
  .breadcrumb li:last-child:after {
    content: '';
  }
  .breadcrumb li a {
    display: inline-block;
    padding: 0.2em .8em;
    border-radius: 15px;
    text-decoration: none;
    color: #5e6064;
    background: #dedede;
    font-size: 0.9em;
  }
  .breadcrumb li a:hover {
    background: #648c9b;
    color: white;
  }
/*--------------------
link-btn
--------------------*/
.btnlinestretches-list {
    margin-top: 20px;
}

.btnlinestretches{
    /*線の基点とするためrelativeを指定*/
    position:relative;
    /*ボタンの形状*/
    color:#333;
    border:2px solid #333;
    padding: 10px 20px; 
    display:inline-block;
    text-decoration: none;
    outline: none;
    /*アニメーションの指定*/
    background-color: white;
    transition:all 0.3s ease-in-out;
    font-weight: bold;
}

/*hoverした際の背景の形状*/
.btnlinestretches:hover{
  background:#333;
  color: #fff;
  border-color:transparent;
}

/*線の設定*/
.btnlinestretches::before,
.btnlinestretches::after {
  content:'';
    /*絶対配置で線の位置を決める*/   
  position:absolute;
  border:solid #000000;
  width:10px;
  height:10px;
    /*アニメーションの指定*/
  transition:all 0.3s ease-in-out;
}

/*線の位置と形状*/
.btnlinestretches::before{
  top:-6px;
  left:-6px;
  border-width:1px 0 0 1px;
}

/*線の位置と形状*/
.btnlinestretches::after{
  bottom:-6px;
  right:-6px;
  border-width:0 1px 1px 0;
}

/*hoverした際の線の形状*/
.btnlinestretches:hover::before,
.btnlinestretches:hover::after{
  width:calc(100% + 11px);
  height:calc(100% + 11px);
  border-color:#666;
}
.top-case .link-box, .product-pmap .link-box , .main-company-content .link-box, .dealer .link-box, .construction .link-box {
    margin-top: 20px;
    text-align: center;
  }

.link-box .link-box-2 {
    text-align: center;
}
/*--------------------
header
--------------------*/
.header-design {
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.header-logo {
    width: 200px;
    margin-left: 20px;
}
.g-navi ul {
    display: flex;
    gap: 15px;
}
.g-navi a {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    position: relative;
}
.g-navi li {
    transition: all .3s;
    position: relative;
    height: fit-content;
}
.g-navi li:first-child {
    display: none;
}
.header-design ::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #ffffff;
    bottom: -5px; /*アンダーラインが現れ始める位置（aタグの下辺からの高さ）*/
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    }
.header-design a:hover::after {
    visibility: visible;
    bottom: 1px; /*アニメーションが止まる位置*/
    opacity: 1;
    }
.g-navi li:last-child {
    margin-right: 20px;
}
/*========= 
開閉式によるボタン設置
===============*/
/*ボタン全体の形状*/
.openbtn{
    /*はじめは非表示に*/
	display: none;
    /*ボタンの位置*/
	position:fixed;
	top:15px;
	right: 20px;
	z-index: 999;
    /*ボタンの形状*/
	background:#777;
	cursor: pointer;
    width: 50px;
    height:50px;
	border-radius: 5px;
}
/*ボタンのアイコン設定*/
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #ffffff;
  	width: 45%;
  }
.openbtn span:nth-of-type(1) {
	top:15px;	
}
.openbtn span:nth-of-type(2) {
	top:23px;
}
.openbtn span:nth-of-type(3) {
	top:31px;
}
/*activeクラスが付与された後のボタンのアイコン設定*/
.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
/*fadeDownクラスが付与された後のボタンの出現アニメーション設定*/
.fadeDown {
    animation-name: fadeDownAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
    display: block;
}
@keyframes fadeDownAnime{
  from {
    opacity: 0;
	transform: translateY(-100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}
/*.doneクラスがついたヘッダー*/
#header.dnone {
	opacity: 0;/*透過0にして非表示に*/
}
/*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたら*/
#header.dnone.panelactive {
	opacity: 1;/*不透明にして出現*/
}
#header.panelactive .g-navi{
    /*固定位置にして最背面に*/
    position:fixed;
	top: 0;
    left: 0;
	z-index: -1;
    /*高さと幅*/  
	width:100%;
	height: 100vh;
    /*天地中央＆テキスト中央揃え*/  
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
    /*はじめは透過0に*/  
    opacity: 0;
	transition: all 0.4s;
}

/*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたナビゲーションの形状*/
#header.dnone.panelactive .g-navi{
	opacity: 1;/*不透明に*/
	z-index:3;/*最前面に*/
	background:#000000;
}
#header.dnone.panelactive .g-navi li:first-child {
    display: block;
    width: 170px;
}
#header.dnone.panelactive .g-navi ul{
	display: block;/*flexの横並びをblockにして縦並びに*/
    text-align: left;
}
/*リストの形状*/
#header.dnone.panelactive .g-navi li a{
	color: #ffffff;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
	transition:all 0.3s;
}
section{
    position: relative;
    z-index: 1;
}
/*---------------------------------
お問い合わせ
---------------------------------*/
.contact {
    background-image: url(../img/about/backimage.jpg);
    background-position: center;
    color: white;
    text-align: center;
    font-weight: bold;
}
.contact-box {
  display: flex;
  justify-content: space-evenly;
  padding-bottom: 50px;
}
.contact-tel , .contact-mail {
  color: black;
  border: solid 2px rgb(0, 0, 0);
  background-color: rgb(255, 255, 255);
  width: 40%;
  transition: all 0.3s ease-in-out 0s;
  overflow-wrap: break-word;
}
.contact-tel:hover , .contact-mail:hover {
  color: rgb(255, 255, 255);
  background-color: rgb(0, 0, 0);
}
.contact-tel a:hover {
  color: white;
}
.contact-explain {
  font-size: 0.9rem;
  margin-bottom: 0;
}
.tel , .mail {
  margin-top: 3px;
}

/*--------------------
footer
--------------------*/
.footer-design {
    background-color: #000000;
}
.footer-nav,.footer-nav2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 30px;
    gap: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    padding-top: 20px;
}
.footer-nav a,.copy-light,.footer-nav2 a{
    color: white;
}
.footer-nav li:hover,.footer-nav2 li:hover {
    opacity: 0.5;
}
.footer-nav2 {
    padding-top: 0;
    font-size: 0.8rem;
}
.footer-logo {
    width: auto;
    text-align: center;
    margin-top: 20px;
}
.footer-logo img {
    width: 200px;
}
.footer-sns {
    display: flex;
    justify-content: center;
    gap:10px
}
.footer-sns li {
    width: 50px;
    margin-top: 0;
}
.footer-sns li:hover {
    opacity: 0.5;
}
.copy-light {
    text-align: center;
    margin: 0 auto 2px;
}
/*--------------------
page-top bottom
--------------------*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#b8b8b8;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	color: #3b3939;
	text-align: center;
	text-transform: uppercase; 
	transition:all 0.3s;
    font-weight: bold;
}

#page-top a:hover{
	background: #777;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}
/*　上に上がる動き　*/
#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}
/*　下に下がる動き　*/
#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}

/*== ボタン共通設定 */
.btn02 {
    /*背景の基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
    display: inline-block;
    width:100%;
    max-width: 250px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    outline: none;
}
/*ボタン内側の設定*/

.btn02 span {
    display: block;
    position: absolute;
    width: 50%;
    height: 100%;
    border: 2px solid #181818;
    /* 重なりを3Dで表示 */
    transform-style: preserve-3d;
    /* アニメーションの設定 数字が少なくなるほど早く回転 */
    transition: 0.5s;
}
/*== くるっと回転（奥に） */
/* 回転前 */
.rotateback span:nth-child(1) {
    background: #fff;
    color: #000;
    transform: rotateX(0deg);/*はじめは回転なし*/
    transform-origin: 0 50%  -25px;/* 回転する起点 */
}
/*hoverをした後の形状*/
.rotateback:hover span:nth-child(1) {
    transform: rotateX(90deg);/* X軸に90度回転 */
}
/* 回転後 */
.rotateback span:nth-child(2) {
    background: #000;
    color: #fff;
    transform: rotateX(-90deg);/*はじめはX軸に-90度回転*/
    transform-origin: 0 50%  -25px;/* 回転する起点 */
}
/*hoverをした後の形状*/
.rotateback:hover span:nth-child(2) {
    transform: rotateX(0deg);/* X軸に0度回転 */
}

/*---------------------------------------
タブレット対応
-------------------------------------*/
@media screen and (max-width: 930px) {

    /*全体*/
      html {
        font-size: 16px;
    }
    .g-navi li:last-child {
        margin-right: 5px;
    }
    /*ヘッダー*/
    .g-navi ul {
        gap: 10px;
    }
    .g-navi a {
        font-size: 1.1rem;
    }
    /*フッター*/
    .footer-nav {
        gap: 25px;
        border-bottom: solid 1px white;
        padding-bottom: 20px;
        font-size: 1.1rem;
    }
}
    
/*---------------------------------------
    スマホ対応
 -------------------------------------*/
 @media screen and (max-width: 610px) {
    /*全体*/
    .deco {
        display: none;
    }
    .ttl {
        font-size: 1.4rem;
    }
    /*グローバルメニュー*/
    .g-navi {
        display: none;
    }
    .header-logo {
        width: 200px;
    }
    .openbtn {
        display: block;
    }
    #header.panelactive .g-navi{
        opacity: 1;/*不透明に*/
        z-index:3;/*最前面に*/
        background:#000000;
    }
    #header.panelactive .g-navi ul{
        display: block;
        text-align: left;
    }
    #header.panelactive .g-navi ul li{
        width: 170px;
    }
    #header.panelactive .g-navi li:first-child {
        display: block;
    }
    #header.panelactive .g-navi li a {
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
        transition: all 0.3s;
    }
    /*お問い合わせ*/
    .contact-box {
        flex-wrap: wrap;
    }
    .contact-tel , .contact-mail {
        width: 90%;
    }
    .contact-tel {
        margin-bottom: 10px;
    }

    /*フッター*/
    .footer-sns li {
        width: 40px;
    }
    .copy-light {
        font-size: 0.7rem;
    }
    /*パンくずリスト*/
    .breadcrumb li a {
        font-size: 0.75rem;
      }
}