@charset "utf-8";

ul,a{
    list-style: none;
    text-decoration: none;
}

.container{
  max-width: 390px;
  margin: 0 auto;
}


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

header{
    padding: 0px 10px;
}

.logo{
    display: flex;
justify-content: space-between;
align-items: center;
}

.logo img{
    width: 100px;
    height: auto;
    
}

@media screen and (min-width:768px) {
  .logo img{
    width: 240px;
    padding: 0px;
  }

  header{
    height: 120px;
  }
}

/* ==================
   ヘッダー全体
================== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  background: #fff;
}

.logo {
  font-size: 24px;
}

/* ==================
   ハンバーガーメニュー
================== */

/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}

/* ハンバーガーアイコンのボックス */
.drawer_open {
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;
  cursor: pointer;
}

/* 三本線を作る */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #333;
  transition: 0.5s;
  position: absolute;
}

/* 上下の線の位置調整 */
.drawer_open span:before {
  bottom: 8px;
}
.drawer_open span:after {
  top: 8px;
}

/* チェックされたら三本線をバツ印に変える */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* メニュー本体 */
.nav_content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%; /* 画面外に隠す */
  z-index: 99;
  background: #fff;
  transition: .5s;
}

/* メニューリスト */
.nav_list {
  list-style: none;
  padding: 100px 0 0;
  text-align: center;
}

.nav_item {
  margin: 20px 0;
}

/* チェックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
  left: 0; /* スライドイン */
}

/* ==================
   PC表示用スタイル
================== */
@media screen and (min-width: 768px) {
  /* ハンバーガー非表示 */
  .drawer_open,
  .drawer_hidden {
    display: none;
  }

  /* メニューを常時表示にする */
  .nav_content {
    position: static;
    width: auto;
    height: auto;
    background: none;
    left: auto;
    transition: none;
  }

  /* 横並び */
  .nav_list {
    display: flex;
    gap: 30px;
    padding: 0;
    font-size: 15px;
  }

  /* メニューリンクデザイン */
  .nav_item a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
  }

  .nav_list a {
  position: relative;
}

.nav_list a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #1B85FB;
  bottom: -10px;
  visibility: hidden;
  opacity: 0;
  transition: 0.5s;
}

.nav_list a:hover::after {
  visibility: visible;
  opacity: 1;
  transition: 0.5s;
}

.container{
  max-width: 960px;
}
}

.kv{
    background: url(img/kv.jpg) center center no-repeat;
    width: 100%;
    height: 696px;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 4px 5px 3px -1px rgba(0,0,0,0.4);
}

h1{
    color: #fff;
    margin-left: 10px;
    line-height: 2.5em;
    font-weight: lighter;
    font-family: "Noto Serif JP", serif;
    font-size: 36px;
}

@media screen and (min-width:768px) {
  .kv{
    height: calc(100vh - 120px);
  }
  .kv br{
    display: none;
  }
}

.service-wrap{
    margin: 40px;
}

.service-head{
    text-align: center;
    margin: 30px auto;
}

h2{
    font-size: 32px;
}

.h3{
    font-size: 16px;
}

.title{
    font-size: 20px;
}

.explanation{
    font-size: 16px;
    line-height: 1.4em;
    margin-top: 20px;
    height: 6em;
    vertical-align: top;
}

.s1{
    margin-bottom: 70px;
}

.more{
    font-size: 24px;
    width: 100%;
    background-color: #3fa9f5;
    color: #fff;
    display: block;
    margin: auto;
    margin-top: 70px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 8px;
    box-shadow: 4px 5px 2px 1px rgba(0,0,0,0.4);
}

@media screen and (min-width:768px) {
  .box-flex{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .s1{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }


.s1 p{
  flex-grow: 1;
}


.more:hover{
  box-shadow: none;
  transform: translate(4px,4px);
}

  }









.intro{
    display: flex;
    border: 2px solid black;
    color: black;
    width: 100%;
    font-size: 24px;
    padding-top: 20px;
    padding-bottom: 20px;
    justify-content: center;
    align-items: center;
}

@media screen and (min-width:768px) {
  .intro{
    width: 360px;
    height: 80px;
    margin: 0 auto;
  }

  .intro:hover{
    background-color: #3fa9f5;
  }
}

.map{
    position: relative;
    padding-top: 50%;
}

.map iframe{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.map-detail{
  margin: 20px auto;
  
}

.companyname{
    font-size: 20px;
    margin-top: 20px;
    margin-left: 20px;
    margin-bottom: 10px;
}

.adress1{
    text-align: right;
    
}

@media screen and (min-width:768px) {
  .companyname1{
    position: relative;
    height: 2em;
    text-align: left;
    margin-top: 70px;
    
  }
  .companyname{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }

  .adress1{
  position: relative;
    height: 5em;
    margin-top: 10px;
    text-align: left;
    margin-bottom: 70px;
}

  .adress2{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }

  .map-detail{
    margin: 0 auto;
  }
}






.menu{
    margin: 10px;
}
.menu li{
    border-bottom: 2px solid black;
    padding: 20px 10px;
    
}

.footerlogo{
  display: none;
  margin: 40px;
}
.footerlogo img{
  width: 200px;
  height: auto;
}
.menu a{
    display: block;
    color: black;
}
footer{
    background-color: #d9d9d9;
    padding-bottom: 40px;
}

@media screen and (min-width:768px) {
  .footer-flex{
    display: flex;
    justify-content: space-between;
  }

  .footerlogo{
    display: block;

  }

  .menu li{
    display: inline-block;
    border: none;
    
  }



.menu{
  text-align: right;
}

}

.copyright{
  text-align: center;
}