@import url(https://fonts.googleapis.com/css?family=Pacifico);
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Josefin+Sans);

/* reset */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
}
ul {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption,
th {
  text-align: left;
}
q:before,
q:after {
  content: '';
}
object,
embed {
  vertical-align: top;
}
legend {
  display: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
}
img,
abbr,
acronym,
fieldset {
  border: 0;
}

body {
  font: 14px/1.9 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,
    'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,
    sans-serif;
  font-weight: 300;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  color: #000;
  background: #fff;
}

a {
  color: #0066ff;
  text-decoration: none;
}

a:hover,
.active {
  text-decoration: underline;
}

a:active,
a:focus,
input:active,
input:focus {
  outline: 0;
}

/* ヘッダー
------------------------------------------------------------*/
#header {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 568px;
  /* text-align: center; */
}

#header img {
  position: absolute;
  /* top: -30px; */
  left: 50%;
  width: 1096px;
  height: 616px;
  margin-left: -540px;
}

#slogan {
  position: absolute;
  top: 40%;
  width: 100%;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  color: #fff;
  line-height: 1.2;
  text-align: center;
}

#slogan h1 {
  font-size: 100px;
  font-family: 'Pacifico', cursive;
  margin-bottom: 20px;
  font-weight: normal;
}

#slogan h2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}

/* フッター
------------------------------------------------------------*/
#footer {
  clear: both;
  padding: 50px 10px 50px 0;
  text-align: center;
  font-size: 12px;
}

/* 共通
------------------------------------------------------------*/
h1,
h2 {
  font-family: 'Josefin Sans', 'Noto Sans JP', serif;
}

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

section {
  clear: both;
}

section h2 {
  font-size: 22px;
  font-weight: normal;
  text-align: center;
}

.inner {
  width: 94%;
  margin: 0 auto;
  padding-bottom: 50px;
}

.col2 li {
  display: inline-block;
  width: 100%;
  margin: 20px 0 20px 0;
}

/* SEC01 VISION
------------------------------------------------------------*/

/* TODO: widthをレスポンシブで変更する必要あり */
.vision {
  /* width: 28%; */
  /* width: 50em; */
  width: 50%;
  margin: 0 auto;
  padding-bottom: 80px;
}

/* SEC02 MESSAGE
------------------------------------------------------------*/
.wrap {
  clear: both;
  width: 100%;
  background: #f6f6f6;
  overflow: hidden;
}

.bg {
  line-height: 0;
}

.txt h2 {
  padding: 0 0 20px !important;
}

/* SEC03 SERVICE MESSAGE STORY
------------------------------------------------------------*/
.col3 li {
  margin-bottom: 50px;
}

.col3 img {
  max-width: 288px;
  display: block;
  margin: -5px auto 20px;
}


/* SEC04 STORY & SUCCESS
------------------------------------------------------------*/
.col4 li {
  margin-bottom: 50px;
}

#sec04 {
  background: url(../images/bgSec04.png) no-repeat 100% 100% fixed;
  background-size: cover;
  -webkit-background-size: cover;
  color: #fff;
}

#sec04 dl {
  text-align: center;
  display: block;
  padding-bottom: 50px;
}

#sec04 dt {
  clear: left;
  float: left;
  display: block;
  width: 25%;
  margin-right: 5%;
  margin-bottom: 20px;
  text-align: right;
  line-height: 160%;
}
#sec04 dd {
  width: 70%;
  float: left;
  text-align: left;
  margin-bottom: 15px;
  line-height: 160%;
  overflow-wrap: break-word;
}


/* SEC05 PROFILE
------------------------------------------------------------*/
#sec05 {
  padding-top: 50px;
}

#sec05 dl {
  line-height: 1.2;
}

#sec05 dt {
  clear: left;
  float: left;
  display: block;
  width: 30%;
  margin-right: 10%;
  margin-bottom: 20px;
  text-align: right;
  line-height: 1.6em;
}

#sec05 dd {
  width: 60%;
  float: left;
  text-align: left;
  margin-bottom: 15px;
  line-height: 1.6em;
  overflow-wrap: break-word;
}

#sec05 header {
  display: none;
}

#sec05 img {
  width: 14px;
}

#map {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
}

#map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

/* SEC06 INQUIRY
------------------------------------------------------------*/
.btn--green,
a.btn--green {
  color: #fff;
  background-color: #84d1c9;
  font-size: 1.5em;
  padding: 5px 25px;
  border-radius: 100vh;
}
.btn--green:hover,
a.btn--green:hover {
  color: #fff;
  background: #84d1c9;
}

.inquiry {
  text-align: center;
  margin: 0 auto;
  padding: 30px 0;
}

.date {
  padding-bottom: 30px;
  text-align: center;
}

#sec06 img {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  height: auto;
}

#sec06 .explain {
  width: 25em;
  margin: 0 auto;
}

/* RESPONSIVE 設定
------------------------------------------------------------*/

@media only screen and (min-width: 1200px) {
  .inner {
    width: 1024px;
    padding-bottom: 80px;
  }
  section h2 {
    padding: 70px 0 20px;
  }
  .txt h2 {
    padding: 0 0 20px !important;
  }
}

@media only screen and (min-width: 800px) {
  body {
    font-size: 14px;
  }

  a#menu {
    display: none;
  }

  .panel {
    display: block !important;
  }

  #mainnav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 500;
  }

  #mainnav ul {
    text-align: right;
    padding-right: 30px;
  }

  #mainnav li {
    display: inline-block;
    padding: 45px 10px 20px;
    font-size: 14px;
    font-weight: 300;
  }

  #mainnav a {
    color: #000;
  }

  #mainnav.changeNav {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid #d1d1d1;
  }

  #mainnav.changeNav li {
    padding: 20px 10px;
  }

  /* SEC02 MESSAGE
	-----------------*/
  .txt,
  .bg {
    width: 50%;
    float: left;
    display: table;
    background: #f6f6f6;
    margin: 0 auto;
  }

  .bg img {
    /* width: 50%; */
    height: 400px;
    object-fit: cover;
    object-position: 10% 10%;
    background: #84d1c9;
  }

  #sec02_02 .txt,
  #sec02_02 .bg {
    float: right;
  }

  /* TODO: 1199pxを下回った時に、画像が見切れ始めるので要調整 */
  /* @media only screen and (max-width: 1199px) { */
  /* #sec02_02 img {
    width: 50%;
  } */

  .vMid {
    display: table-cell;
    padding: 0 120px;
    vertical-align: middle;
  }

  /* SEC03 SERVICE MESSAGE STORY
	-----------------*/
  .col3 {
    text-align: center;
  }

  .col3 li {
    display: inline-block;
    width: 30%;
    padding: 0 1.5%;
    margin-bottom: 0;
    vertical-align: top;
    text-align: left;
  }

  /* SEC04 STORY & SUCCESS
	-----------------*/
  .col4 {
    text-align: center;
  }

  .col4 li {
    display: inline-block;
    width: 30%;
    padding: 0 1.5%;
    margin-bottom: 0;
    vertical-align: top;
    text-align: left;
  }

  /* #sec04: .col4は複数列想定だが現状1アイテムのみなので全幅ブロックに戻す */
  #sec04 .col4 li {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
  }

  /* SEC05 PROFILE
	-----------------*/
  #sec05 {
    padding-top: 120px;
  }

  /* プロフィール + 地図を Flexbox で横並び。dt/dd の % が狭い li 内で詰まる問題を解消 */
  #sec05 .col2 {
    display: flex;
    align-items: flex-start;
    gap: 40px;
  }

  #sec05 .col2 li {
    flex: 1;
    min-width: 0;
    width: auto;
    padding: 0;
  }

  #footer {
    padding: 30px 10px 70px 0;
  }
}

@media only screen and (min-width: 641px) {
  .col2 li {
    width: 40%;
    padding: 0 3%;
    vertical-align: top;
  }
}

@media only screen and (max-width: 640px) {
  #map iframe {
    width: 96% !important;
    left: 2%;
  }
}

@media only screen and (max-width: 799px) {
  #slogan h1 {
    font-size: 31px;
  }

  #slogan h2 {
    font-size: 16px;
  }

  a#menu {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
    margin: 10px;
  }

  #menuBtn {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    margin: -1px 0 0 -7px;
    background: #fff;
    transition: 0.2s;
  }

  #menuBtn:before,
  #menuBtn:after {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 18px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
  }

  #menuBtn:before {
    margin-top: -7px;
  }

  #menuBtn:after {
    margin-top: 5px;
  }

  a#menu .close {
    background: transparent;
  }

  a#menu .close:before,
  a#menu .close:after {
    margin-top: 0;
  }

  a#menu .close:before {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }

  a#menu .close:after {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }

  .panel {
    width: 100%;
    display: none;
    overflow: hidden;
    position: relative;
    left: 0;
    top: 0;
    z-index: 100;
  }

  #mainnav {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    text-align: right;
    z-index: 500;
  }

  #mainnav ul {
    border-bottom: 1px solid #ccc;
    background: #fff;
    text-align: left;
  }

  #mainnav li a {
    position: relative;
    display: block;
    padding: 15px 25px;
    border-bottom: 1px solid #ccc;
    color: #000;
    font-weight: 400;
  }

  #mainnav li a:before {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    left: 5px;
    width: 6px;
    height: 6px;
    margin: -4px 0 0 0;
    border-top: solid 2px #000;
    border-right: solid 2px #000;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .vision {
    width: 90%;
  }

  .col3 li {
    margin: 0 auto;
    display: block;
    max-width: 288px;
  }

  .col4 li {
    margin: 0 auto;
    display: block;
    max-width: 600px;
  }

  .bg img {
    height: 400px;
    object-fit: cover;
    object-position: 10% 10%;
    background: #84d1c9;
  }
}

@media only screen and (max-width: 1199px) {
  section h2 {
    padding: 50px 0 20px 0;
  }
  #sec01 h2 {
    padding: 70px 0 20px;
  }
  #sec04 h2 {
    padding: 70px 0 20px;
  }
  #sec06 h2 {
    padding: 70px 0 20px;
  }
  .vMid {
    padding: 0 20px;
  }
  #sec01 {
    padding: 0 20px;
  }
}

a.btn_ao_b {
  display: flex;
  align-items: center;
  max-width: 300px;
  margin: 0 auto;
  padding: 1.3rem 2rem;
  border: 1px solid #000000;
  background: #fff;
  text-decoration: none;
  transition: 0.3s;
}
a.btn_ao_b:hover {
  background-color: #84d1c9;
}
a.btn_ao_b .b__text {
  display: block;
  flex-grow: 1;
  color: #000000;
  font-weight: bold;
  text-align: center;
  position: relative;
  padding-right: 15px;
  font-size: 17px;
}
a.btn_ao_b .b__text::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  transform: rotate(45deg);
  border-top: 3px solid #000000;
  border-right: 3px solid #000000;
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  transition: 0.3s;
}
@media (max-width: 1200px) {
  a.btn_ao_b .b__text {
    font-size: 18px;
    padding-right: 20px;
  }
  a.btn_ao_b .b__text::after {
    width: 12px;
    height: 12px;
  }
}
@media (max-width: 736px) {
  a.btn_ao_b .b__text {
    font-size: 14px;
    padding-right: 20px;
  }
  a.btn_ao_b .b__text::after {
    width: 10px;
    height: 10px;
  }
}
p.logo_it img {
  max-width: 350px;
  width: 100%;
}
