@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);
@import url(https://use.fontawesome.com/releases/v5.6.1/css/all.css);

/* 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;
}
i {
  padding: 0 20px;
}
/* ヘッダー
------------------------------------------------------------*/
#header::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}
@media screen and (orientation: portrait) {
  #header,
  #header::before {
    width: 100%;
    height: 50vh;
  }
}
@media screen and (orientation: landscape) {
  #header,
  #header::before {
    width: 100%;
    height: 50vw;
  }
}
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: #000;
  transition: 0.2s;
}

#menuBtn:before,
#menuBtn:after {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 18px;
  height: 2px;
  background: #000;
  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: fixed;
  top: 0;
  right: 0;
  width: 100%;
  text-align: right;
  z-index: 500;
  transition: all 0.5s ease;
}

#mainnav ul {
  border-bottom: 1px solid #ccc;
  text-align: left;
}
#mainnav:not(.changeNav) ul {
  background: rgba(255, 255, 255, 0.9);
}

#mainnav li a,
#mainnav li h1 {
  position: relative;
  display: block;
  color: #000;
}

#mainnav li a {
  padding: 15px 25px;
  border-bottom: 1px solid #ccc;
}
#mainnav li h1 {
  padding: 15px 10px;
  font-size: 1rem;
}
#mainnav li a:before {
  display: block;
  font-family: "Font Awesome 5 Free";
  content: "\f101";
  font-weight: 900;
  position: absolute;
  left: 5px;
}
#mainnav li:nth-child(1) {
  position: relative;
  left: 5px;
  display: flex;
  align-items: center;
  justify-content: left;
}
#mainnav li:nth-child(1) > img {
  width: 75px;
}

#mainnav.changeNav {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #d1d1d1;
}
/* フッター
------------------------------------------------------------*/
#footer {
  clear: both;
  padding: 50px 10px 50px 0;
  text-align: center;
  font-size: 12px;
}
p.breadcrumb {
  padding-bottom: 30px;
}
/* 共通
------------------------------------------------------------*/
h1,
h2 {
  font-family: "Josefin Sans", "Noto Sans JP", serif;
}

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

section,
footer {
  clear: both;
  background: #fff;
}

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

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

.col2 li {
  display: inline-block;
  width: 100%;
  margin: 20px 0 20px 0;
}
.page .col2 li {
  display: inline-block;
  padding: 0;
  margin: 60px 0 !important;
}

/* SEC01 VISION
------------------------------------------------------------*/
.vision {
  width: 60%;
  margin: 0 auto;
  padding-bottom: 80px;
}
.mailto {
  position: relative;
  clear: both;
  width: 100%;
}
/* SEC02 MESSAGE
------------------------------------------------------------*/
.wrap,
.mailto {
  position: relative;
  clear: both;
  width: 100%;
}
.wrap {
  background: #f6f6f6;
}
.txt h2 {
  padding: 0 0 20px !important;
}
.mailto > .vMid {
  position: absolute;
  height: 100%;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.vMid > p {
  padding: 20px;
}
/* SEC03 SERVICE MESSAGE STORY
------------------------------------------------------------*/
.col3 li {
  margin: 0 auto;
  display: block;
  max-width: 90%;
}

.col3 img {
  max-width: 100%;
  display: block;
  margin: -5px auto 20px;
  height: 25vh;
  width: 25vh;
  object-fit: cover;
  border-radius: 50%;
}

/* SEC04 STORY & SUCCESS
------------------------------------------------------------*/
#sec04 {
  background: no-repeat 100% 100%;
  background-image: url(../../assets/images/T1-photo7@1x.jpg);
  background-size: cover;
  -webkit-background-size: cover;
  color: #fff;
}
html:not(.iOS) #sec04 {
  background-attachment: fixed;
}
@media screen and (min-width: 800px),
  screen and (-webkit-device-pixel-ratio: 2) {
  #sec04 {
    background-image: url(../../assets/images/T1-photo7@2x.jpg);
  }
}
@media screen and (min-width: 1600px) and (-webkit-device-pixel-ratio: 2),
  screen and (min-width: 2400px) {
  #sec04 {
    background-image: url(../../assets/images/T1-photo7@3x.jpg);
  }
}
*/
/* 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;
}

#sec05 header {
  display: none;
}

#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;
}

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

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

@media only screen and (min-width: 992px) {
  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: 20px 2px;
    font-size: 14px;
    font-weight: 300;
    border-bottom: none;
  }
  #mainnav ul,
  #mainnav li a {
    border-bottom: none;
  }
  #mainnav li:nth-child(1) {
    left: 30px;
    position: absolute;
    justify-content: center;
  }
  #mainnav a {
    color: #000;
  }

  #mainnav:not(.changeNav) ul {
    background: rgba(255, 255, 255, 0);
  }

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

  /* SEC02 MESSAGE
  -----------------*/
  #sec02 > div.wrap {
    height: 50vh;
  }
  #sec02 > div.wrap .txt {
    position: absolute;
    width: 50%;
    height: 100%;
  }

  #sec02 > div.wrap .bg {
    position: absolute;
    width: 50%;
    height: 100%;
  }

  #sec02 > div.wrap .bg > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #sec02 > div.wrap:nth-child(2n) .txt {
    top: 0;
    left: 0;
  }
  #sec02 > div.wrap:nth-child(2n + 1) .txt {
    top: 0;
    right: 0;
  }
  #sec02 > div.wrap:nth-child(2n) .bg {
    top: 0;
    right: 0;
  }
  #sec02 > div.wrap:nth-child(2n + 1) .bg {
    top: 0;
    left: 0;
  }

  .vMid {
    position: absolute;
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .vMid > p {
    padding: 0 20px;
  }

  /* 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;
  }

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

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

  .col2 li {
    width: 40%;
    padding: 0 3%;
    vertical-align: top;
  }
  #sec04 .col2 li {
    display: inline-block;
    width: 96%;
    margin: 20px 0 20px 0;
  }
}
