@charset "utf-8";

/* マージンは下指定 */
/* フォントサイズはrem指定　基本14px相当とする */
/* ヘッダー幅最大1200px、セクション幅最大1030px */

/* 基本 */
html {
  font-size: 62.5%;
}

body {
  width: 100%;
  font-size: 1.4rem;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
}

img {
  width: 100%;
}

/* ヘッダー */
.header {
  width: 100%;
  height: 74px;
  background-color: black;
  color: #fff;
}

.site_name {
  display: inline-block;
  line-height: 74px;
  font-size: 2.6rem;
}

.header_menu {
  width: 100%;
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
  display: flex;
}

#g-nav {
  margin: 0 0 0 auto;
}

.menu {
  display: flex;
}

.menu li a {
  margin-left: 55px;
  line-height: 74px;
  font-size: 1.6rem;
}

/* ヒーローエリア */
.hero_area {
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-image: url(../img/fv-bgi@2x.jpg);
  margin-bottom: 100px;
}

.text_box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90vh;
}

.title {
  display: inline-block;
  font-family: Roboto;
  font-size: 6vmin;
  line-height: 1.2;
  padding: 35px 42px;
  text-align: center;
  color: #fff;
  border: 2px solid #fff;
}

/* メイン基本 */
section h1 {
  font-size: 3.6rem;
  text-align: center;
}

section h2 {
  font-size: 2.4rem;
  line-height: 1.8;
}

span {
  display: block;
}

/* セクション＿アバウト */
.about {
  width: 100%;
  max-width: 1030px;
  padding: 0 15px;
  margin: 0 auto 150px;
}

.about_title {
  margin-bottom: 72px;
}

.about_subtitle {
  margin-bottom: 42px;
}

/* セクション＿サービス */
.service {
  width: 100%;
  max-width: 1030px;
  padding: 0 15px;
  margin: 0 auto 150px;
}

.service_textbox {
  width: 100%;
}

.service_box:nth-of-type(odd) .service_textbox {
  margin-left: 15px;
}

.service_box:nth-of-type(even) .service_textbox {
  margin-right: 15px;
}

.service_title {
  margin-bottom: 70px;
}

.service_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.service_textbox,
.service_img {
  max-width: 480px;
  flex: 1;
}

.service_box:nth-of-type(odd) {
  flex-direction: row-reverse;
}

.service_subtitle {
  margin-bottom: 42px;
}

/* セクション＿ニュース */
.news {
  width: 100%;
  max-width: 1030px;
  padding: 0 15px;
  margin: 0 auto 152px;
}

.news_title {
  margin-bottom: 70px;
}

.news_box {
  width: 100%;
  max-width: 1030px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.news_tile {
  width: calc(96% / 3);
  max-width: 320px;
  box-shadow: 0 2px 10px 0 rgba(27, 19, 16, .4);
}

.news_textbox {
  font-size: 1.3rem;
  padding: 26px 32px 25px 34px;
}

/* セクション＿コンタクト */
.contact {
  width: 100%;
  max-width: 700px;
  padding: 0 15px;
  margin: 0 auto 50px;
}

.contact_title {
  font-size: 2.4rem;
  margin-bottom: 69px;
}

.contact label {
  font-size: 1.6rem;
  line-height: 1.8;
}

.contact div {
  margin-bottom: 22px;
}

.contact div:last-child {
  margin-bottom: 50px;
}

input,
textarea {
  display: block;
  width: 100%;
  max-width: 700px;
  border: 1px solid #000;
}

input {
  height: 30px;
}

textarea {
  height: 171px;
}

.contact button {
  display: block;
  width: 235px;
  height: 59px;
  margin: 0 auto;
  background-color: #000;
  border-radius: 50px;
  box-shadow: 0 2px 10px 0 rgba(27, 19, 16, .4);
  color: #fff;
  font-size: 2.0rem;
  text-align: center;
  line-height: 59px;
}

/* フッター */
footer {
  height: 79px;
  background-color: black;
}

footer p {
  color: #fff;
  text-align: center;
  line-height: 79px;
}