@charset "UTF-8";

/*///////////////////////////////////////
全体設定
///////////////////////////////////////*/
*,*:before,*:after {
 box-sizing: border-box;
}

html {
 box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
 font-size: 62.5%;
 scroll-behavior: smooth;
 scroll-padding-top: 70px;
}

body {
 color: #000;
 font-family: Lato, "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
 background:#fff;
 font-size: 16px;
 font-weight: 400;
 line-height: 1.5;
}
@media screen and (max-width: 768px){
body {
 font-size: 14px;
}
}

img {
 max-width:100%;
 height: auto;
}

a{
 text-decoration: none;
 color: #333;
}

a:hover{
 opacity: 0.5;
 transition: 0.8s;
}

a:visited{
 color: inherit!important;/*親と同じ色*/
}

/*///////////////////////////////////////
ヘッダー
///////////////////////////////////////*/
.hamburger {
 position: fixed;
 top: 20px;
 right: 20px;
 z-index: 100;
 width: 48px;
 height: 48px;
 border: none;
 /*background: transparent;*/
 background: #fff;
 cursor: pointer;
 border-radius:10px;
}

.hamburger__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background-color: #333;
  transition: all .4s;
}

.hamburger__line:nth-of-type(1) {
  top: 14px;
}
.hamburger__line:nth-of-type(2) {
  top: 23px;
}
.hamburger__line:nth-of-type(3) {
  top: 32px;
}

/* メニューオープン時 */
.hamburger.active .hamburger__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}
.hamburger.active .hamburger__line:nth-of-type(2) {
  opacity: 0;
}
.hamburger.active .hamburger__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

.nav {
 position: fixed;
 top: 0;
 left: 0;
 width: 300px;
 height: 100vh;
 background-color: #fff;
 box-shadow: 2px 0 4px rgba(0,0,0,.1);
 transform: translateX(-100%);
 transition: transform .4s;
 z-index: 90;
 border-radius: 0 50px;
}

.nav.active {
  transform: translateX(0);
}

.nav__list {
  margin: 0;
  padding: 100px 0 0;
  list-style: none;
}

.nav__item {
  padding: 0 20px;
}

.nav__link {
  display: block;
  padding: 15px 0;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}


/*///////////////////////////////////////
簡易表示切り替え用
///////////////////////////////////////*/
.pc { display: block !important; }
.sp { display: none !important; }
@media only screen and (max-width: 750px) {
.pc { display: none !important; }
.sp { display: block !important; }
}
@media only screen and (max-width: 750px) {
img { max-width: 100%; }
}

/*///////////////////////////////////////
アイコン
///////////////////////////////////////*/


.icon-menu:before {
  content: "\e9bd";
}


.logo-head{
 display: block;
 position: absolute;
 top: 3%;
 left: 3%;
 max-width: 200px;
}

/*///////////////////////////////////////
CSSアニメーション
///////////////////////////////////////*/
/*画面内に入ったらフェードイン*/
.fadein_youso{
 opacity: 0;
 transition: all 2s;
}
.fadeIn {
 opacity: 1;
}


/*///////////////////////////////////////
見出し
///////////////////////////////////////*/
h2{
 display: block;
 border-bottom: 1px solid #ddd;
 width: 800px;
 max-width: 100%;
 padding-bottom: 10px;
 font-size: 2em;
 text-align: center;
 margin: 30px auto;

}
h2 span{
 display: block;
 font-size: 0.5em;
 color: #888888;
}

@media screen and (max-width: 768px){
/*箱アイコン付き*/
.icon_hd{
 font-size: 1.2em;
}
}


/*///////////////////////////////////////
メインコンテンツ
///////////////////////////////////////*/

/*メインイメージ*/
.mainimg{
 display: block;
 height: 800px;
 position: relative;
 background: #fff url(../img/mainimg.jpg) 0 0 no-repeat;
 background-size: cover;
 background-attachment: fixed;
 position: sticky;
 top: 0;
 z-index: 1;
}
.mainimg_rayer{
 display: block;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 0, 0, 0.5);
}
.imgcontent{
 display: block;
 position: absolute;
 top: 50%;
 left: 10%;
 transform: translateY(-50%);
 -webkit-transform: translateY(-50%);
 -ms-transform: translateY(-50%);
 color: #fff;
 line-height: 1.2;
 font-size: 3.5em;
}


/*コンテンツ領域*/
.container {
 margin: 0 auto;
 max-width: 1200px;
 padding: 0 2.0rem;
 position: relative;
}

main {
 /*margin: 6rem 0 0 0;*/
}
section {
 /*margin: 5rem 0;*/
 padding: 3rem 0;
}

.center {
 text-align: center;
 margin-bottom: 4rem;
}
.container {
 margin: 0 auto;
 max-width: 1200px;
 padding: 0 2.0rem;
 position: relative;
}
.gray-back .container {
 padding-bottom: 50px;
 padding-top: 50px;
}

.gray-back {
 background: #f5f5f5;
 position: relative;
 z-index: 2;
 margin-top: -80px;
 border-radius: 30px 30px 0 0;
 overflow: hidden;
}

@media screen and (max-width: 768px){
.imgcontent{
 font-size: 1.8em;
}
.center {
 text-align: left;
}
}

/*///////////////////////////////////////
サービス
///////////////////////////////////////*/
.services {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 25px;
margin-top: 20px;
}


.service-box {
background: #fff;
padding: 25px;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.service-box img{
 display: block;
 width: 80px;
 margin: 10px auto;
}

table.company-table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
background: #fff;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}


table.company-table th,
table.company-table td {
padding: 15px;
border-bottom: 1px solid #eee;
text-align: left;
}


table.company-table th {
width: 30%;
background: #f7f7f7;
font-weight: 600;
}


/*///////////////////////////////////////
お問い合わせ
///////////////////////////////////////*/
.telBtn {
 display: block;
 margin: 20px auto;
 padding: 10px;
 border: 1px solid #333;
 width: 300px;
 max-width: 100%;
 text-align: center;
}
.telBtn i{
 margin-right: 5px;
}

/*///////////////////////////////////////
フッター
///////////////////////////////////////*/
footer {
 background-color: #333;
 position: sticky;
 font-size: 10px;
}

/*メニュー*/
#nav ul{
 display: flex;
 justify-content: center;
}
#nav li{
 list-style: none;
}
#nav li a{
 display: block;
 padding: 0 2em;
 font-weight: bold;
 color: #888888;
 text-decoration: none;
}

/*コピーライト*/
.copyright {
 text-align: center;
 padding: 1rem 0;
 background-color: #333;
 color: #fff;
}




/*///////////////////////////////////////
レスポンシブ表示
///////////////////////////////////////*/
@media screen and (max-width: 768px){

/*ヘッダー*/
.header {
 flex-direction: column;
 /*margin-bottom: 10px;*/
}

.header-box {
 display: none;
}

/*メインコンテンツ*/

}
