@charset "utf-8";

/*全体のスタイル調整 */
*{
    box-sizing: border-box;
}

/* bodyの初期スタイル調整 */
body{
    font-size: 16px;
    line-height: 1.5;
    font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",YuGothic,"ヒラギノ角ゴ ProN W3","HiraginoKaku Gothic ProN",Arial,"メイリオ",Meiryo,system-ui,sans-serif;
    color: #333;
    background-color: #fff;
}

/* 初期スタイル調整 */

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.5;
    text-align: center;
    }

h3{
    color: #333;
    font-size: 14px;
    margin-bottom: 20px;
}

p {
    margin-top: 0;
    margin-bottom: 1.5em;
    text-align: justify;
}

address {
    font-size: normal;
}

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

a:hover,
a:focus {
    color: #000;
    text-decoration: none;
}

ul {
    margin: 1em 0;
    padding: 0;
    list-style: none;
}

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

section {
    padding:  10px 0;
}

@media screen and (min-width: 768px){
    section {
        padding: 30px 0 30px;
    }
}

/* 見出し関連のスタイル調整 */

h2{
    margin-bottom: 16px;
    text-align: center;
}

h2 img{
    height: 3rem;
}

h3{
    margin-bottom: 16px;
    text-align: center;
    font-size: 1rem;
}

@media screen and (min-width: 768px){
    h2{
        margin-bottom: 32px;
    }
    
    h2 img{
        height: 4rem;
    }
    
    h3{
        margin-bottom: 24px;
        font-size: 1.15rem;
    }
}

/* モバイルとPCでの表示に関するスタイル */
.sp-only {
    display: block;
}
.pc-only {
    display: none;
}

/* PC用のスタイル */
@media screen and (min-width:768px) {
    .sp-only {
        display: none;
    }
    .pc-only {
        display: block;
    }
}

/* headerのスタイル */
.header {
    
    top: 0px;
    width: 100%;
    padding: 10px;
    background: #fff;
    z-index: 200;
}

/* サイトロゴとナビゲーションの並び */
.header-logo-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
 
/* サイトロゴの表示 */
.logo-area {
    width: 200px;
    margin: 0;
    text-align: left;
}

/*ハンバーガーメニュー*/
.gnav-toggle {
    position: relative;
    margin-top: 12px;
  }
  
  
  /*チェックボックス等は非表示に*/
  .gnav-hidden {
    display: none;
  }
  
  /*アイコンのスペース*/
  #gnav-open {
    display: inline-block;
    width: 30px;
    height: 22px;
    vertical-align: middle;
  }
  
  /*ハンバーガーの形をCSSで表現*/
  #gnav-open span,
  #gnav-open span::before,
  #gnav-open span::after {
    content: '';
    position: absolute;
    height: 3px;
    /*線の太さ*/
    width: 25px;
    /*長さ*/
    border-radius: 3px;
    background: #555;
    display: block;
    cursor: pointer;
  }
  
  #gnav-open span::before {
    bottom: -8px;
  }
  
  #gnav-open span::after {
    bottom: -16px;
  }
  
  /*閉じる用の薄黒箇所*/
  #gnav-close {
    display: none;
    position: fixed;
    z-index: 90;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0;
    transition: 0.3s ease-in-out;
  }
  
  /*チェックがついたら表示させる*/
  #gnav-input:checked ~ #gnav-close {
    display: block;
    opacity: 0.5;
  }
  
  #gnav-input:checked ~ #gnav-content {
    transform: translateX(0%);
    box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15);
  }
  
  /*メニューの中身*/
  #gnav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 300;
    width: 70%;
    max-width: 300px;
    height: 100%;
    background: rgba(110, 110, 110, 0.9);
    transition: 0.3s ease-in-out;
    transform: translateX(-105%);
  }
  
  .gnav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    text-transform: uppercase;
  }
  
  
  .gnav-item {
    border-bottom: 2px dotted #eee;
    margin: 10px;
    padding-bottom: 20px;
  }
  
  .gnav-item a {
    color: #fff;
    font-size: 12px;
    display: block;
    width: 200px;
    text-align: center;
  }
  
  .gnav-item a::first-line {
    font-size: 16px;
    font-weight: bold;
}

@media screen and (min-width:768px) {
    .logo-area {
        width: 300px;
    }
}

@media screen and (min-width:768px) {
    .gnav-menu {
        flex-direction: row;
        padding-top: 15px;
        margin: 0;
    }
    .gnav-item {
        border-bottom: none;
        margin: 0;
        padding-bottom: 0;
    }
    .gnav-item a {
        color: #333;
        width: 120px;
    }
    .gnav-item a:hover {
        color: #85a7cc
    }
}

/* トップ画像のスタイル調整 */
.mv-area {
    width: 100%;
    height: 290px;
    background-image:  url(../images/topgazo3-3.jpg);
    background-size: cover;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.mv-title {
    color: #2266AF;
    background-color:rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    font-size: 20px;
    text-shadow: 1px 1px 0px #fff;
    margin-top: 0px;
    padding: 15px;
}

@media screen and (min-width:768px) {
    .mv-area{
        width: 100%;
        height: 600px;
    }

    .mv-title{
        margin-top: 90px;
        font-size: 24px;
    }
}

.info-area{
    padding: 0 0px 30px 0px;
    background-color: #fdf8f1;
   
}
.info-area-pho{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px;
}

.pho{
    width: 100%;
}

@media screen and (min-width:768px) {
    .info-area-pho{
        width: 800px;
        margin: 0 auto;
    }
}

.btn {
    display: block;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 0 auto;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    background-color: #2266AF;
}

/* 会社案内のスタイル調整 */

.feature-area{
    background-color:#fff;
}

.midashi{
    padding: 8px 40px;
    border: 2px solid #2266AF;
    border-radius: 8px;
    font-size: 1.25rem;
    color: #2266AF;
    background-color: #fff;
    text-decoration: none;
    width: 250px;
    margin: 20px auto 40px;
    
}

.feature{
    margin-bottom: 24px;
}

.feature_01,
.feature_02{
    width: 296px;
    margin: 0 auto 24px;
}
.feature_img{
    margin-bottom: 16px;
}

.feature_img img{
    max-width: 100%;
}

.feature_text{
    font-size: 1rem;
}





.book-more{
    text-align: center;
}

.book-more a{
    display: inline-block;
    padding: 8px 40px;
    border: 2px solid #333;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    background-color: #fff;
    text-decoration: none;
}

.book-more a::after{
    display: inline-block;
    position: relative;
    content: "";
    width:16px;
    height: 16px;
    top:2px;
    left:8px;
    background: url(../img/arrow.png) no-repeat right center;
}

@media screen and (min-width: 768px){
    .feature{
        margin-bottom: 80px;
    }
    
    .feature-wrap{
        width: 900px;
        margin: 0 auto 0px;
        display: flex;
        justify-content: space-around;
    }
    
    .feature_01,
    .feature_02{
        width: 344px;
        margin: 0;
    }
    
    .feature_img{
        margin-bottom: 24px;
    }
    
    .feature_text{
        font-size: 1rem;
    }
    
    .book-more a{
        padding: 16px 96px;
        font-size: 1rem;
    }
    
    .book-more a:hover{
        background-color: #fff6b4;
    }
}

/* 「金子電設案内」のスタイル調整 */

.contents-list{
    margin-bottom: 0;
    background-color: #f0f0f0;
    background-size: cover;
    padding: 24px 0;
}

.contents-list ul{
    list-style: none;
    width: 296px;
    margin: 0 auto 50px;
    padding: 8px 24px;
    font-size: 0.75rem;

}

.contents-list ul li{
    border-bottom: 1px dotted #000;
    padding: 10px 0;
}

.contents-list ul li:last-child{
    border-bottom: none;
}
 
.contents-list ul li a {
    text-decoration:none;
    color: #333;
}

@media screen and (min-width: 768px){
    .contents-list{
        margin-bottom: 0px;
        padding: 32px 0;
    }
    
    .contents-list ul{
        width: 760px;
        font-size: 1rem;
    }
}

/* 「金子電設のお知らせ」のスタイル調整 */

.author{
    margin-bottom: 0;
    background-color: #fdf8f1;
}

.author dl{
    width: 296px;
    margin: 0 auto 50px;
} 
 
.author dl dt{
    
    font-size: 0.75rem;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #000;
}

.author dl dd{
    margin-bottom: 16px;
    font-size: 1rem;
}
@media screen and (min-width: 768px){
    .author{
        margin-bottom: 0px;
    }
    
    .author dl{
        width: 760px;
    }
    
    .author dl dt{
        margin-bottom: 16px;
        padding-bottom: 8px;
        font-size: 1rem;
    }
    
    .author dl dd{
        margin-bottom: 40px;
        font-size: 1rem;
    }
}

/* フッター部分のスタイル調整 */

.foot-area{
    color: #fff;
    text-align: center;
    padding-top: 40px;
    background-color: #2266AF;
}
.foot-area_text{
    text-align: center;
}

.sp-only {
  display: block;
}



/* 電話番号のスタイル */

.text-phone,
.text-phone a {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    text-decoration:none;
}

/* 著作権表示のスタイル */
.foot-area_copy {
    color: #ccc;
    font-size: 12px;
    display: inline-block;
    width: 100%;
    padding: 10px;
    background-color: #333;
}

@media screen and (min-width: 768px){
    a[href^="tel:"] {
        pointer-events: none;
    }
     .sp-only {
    display: none;
    }    
   
}