@charset "UTF-8";
@import url("grid.css");

* {
  box-sizing: border-box;
}

body {
  overflow: hidden;
}

/* 381から */

/* オープニングアニメーション */
.shutter {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background-color: #fff;
  z-index: 99;
  -webkit-animation: byeShutter 2.4s forwards;
  animation: byeShutter 2.4s forwards;
}

.sh-logo {
  position: absolute;
  width: 500px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  -webkit-animation: logo 0.8s forwards;
  animation: logo 0.8s forwards;
  animation-delay: 0.2s;
}

@keyframes byeShutter {
  70% {
    opacity: 1;
  }

  100% {
    display: none;
    opacity: 0;
    z-index: -1;
  }
}

@keyframes logo {
  0% {
    opacity: 1;
  }

  50% {
    transform: rotate(0deg);
  }

  100% {
    transform: scale(0.8);
  }
}


img {
  max-width: 100%;
  height: auto;
  /*高さ自動*/
}

a {
  display: block;
  color: #000;
  text-decoration-line: none;
}

a:hover {
  color: #999;
}

body {
  line-height: 2.5;
}


/*ヘッダー
-------------------------------------*/
#hd {
  animation: fadein 2s ease forwards;
  -webkit-animation: fadein 2s ease forwards;
  animation-delay: 4.5s;
  transform: translateY(-50px);
  opacity: 0;
}

@keyframes fadein {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-logo {
  width: 15%;

}

.header-box {
  margin-left: auto;
  margin-top: 8px;
}

.contact-button {
  padding: 1rem;
  border: 2px solid #000;
}

nav ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  list-style: none;
  margin: 1rem 0 0 0;
}

nav li {
  flex: 1 0 auto;
}

nav li a {
  text-decoration: none;
  text-align: center;
  width: 100%;
}

/*nav a:hover {
    background-color: #f7f7f7;
}
*/
nav a {
  padding: 0.5rem;
}

/* ------ハンバーガメニューいじる所----- */

/*-- PC版表示CSS  --*/
.pc_area {
  display: block;
}

.phone_area {
  display: none;
}


/*-- スマホ版表示CSS  --*/
@media screen and (max-width: 768px) {
  .pc_area {
    display: none;
  }

  .phone_area {
    display: block;
  }
}

.header-logo-img {
  display: flex;

}

.header-title-logo {
  height: 60%;
}

.header-menu-open {
  width: 10%;
}



.header {
  width: 100%;
  height: 100px;
  display: flex;
  position: fixed;
  background-color: transparent;
  /* ヘッダの背景色 */
  z-index: 10;
}

.header-title {
  width: 400px;
  padding-left: 70px;
  padding-top: 10px;

}

.header-title-img {
  width: 100%;
  height: auto;
  margin: 20px 0 30px 0px;
}

/*ハンバーガーボタン*/
.hamburger {
  display: block;
  position: fixed;
  z-index: 3;
  right: 70px;
  top: 25px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  text-align: center;
}

.hamburger span {
  display: block;
  position: absolute;
  width: 50px;
  height: 6px;
  left: 6px;
  background: #231916;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 20px;
}

.hamburger span:nth-child(2) {
  top: 35px;
}

.hamburger span:nth-child(3) {
  top: 50px;
}

/* ナビ開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top: 30px;
  left: 6px;
  background: #fff;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 30px;
  background: #fff;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}

nav.globalMenuSp {
  position: fixed;
  display: none;
  z-index: 2;
  top: 0;
  left: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
  width: 100%;
  opacity: 0;
  transition: opacity .6s ease, visibility .6s ease;
}

nav.globalMenuSp ul {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  flex-direction: column;
  padding-top: 70px;
}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  transition: .4s all;
  margin-bottom: 0;
}

nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
}

nav.globalMenuSp ul li:hover {
  background: rgba(150, 150, 150, 0.5);
}

nav.globalMenuSp ul li a {
  display: block;
  color: #fff;
  padding: 1em 0;
  text-decoration: none;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  opacity: 100;
  display: block;
}

/* いじるメニュー */

/* いじり終わり */

/* ------ハンバーガメニューいじる所 終わり----- */






/*メイン画像
-------------------------------------*/
.mainimg {
  width: 100%;
  height: 100vh;
  position: relative;
}

.mainimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.maintxt {
  position: absolute;
  font-size: 26px;
  right: 10%;
  font-weight: 500;
  letter-spacing: 0.3rem;
  background-color: #fff;
  line-height: 2;
  padding: 0 17px;
  animation: slidein 2s ease forwards;
  -webkit-animation: slidein 2s ease forwards;
  transform: translateX(50px);
  opacity: 0;
}

.mtxt01 {
  bottom: 20%;
  animation-delay: 2.9s;
}

.mtxt02 {
  bottom: 10%;
  animation-delay: 3.4s;
}

@keyframes slidein {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/*メインコンテンツ
-------------------------------------*/
main {
  margin: 5rem 0 0 0;
}

section {
  margin: 5rem 0;
  padding: 3rem 0;
}

.gray-back {
  background-color: #EDEDED;
}

/* プロダクトの画像 */
.p-img {
  width: 350px;
}

.p-btn {
  width: 210px;
}

/* offices */
.offices-title {
  font-size: 35px;
}

.offices-sub-title {
  font-size: 25px;
  margin-bottom: 30px;
}

.offices-text {
  font-size: 25px;
  line-height: 2;
}

.gmap {
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
}

.gmap iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}

/*タイトル キャッチコピー
-------------------------------------*/
.catch {
  text-align: center;
}

.catch h2 {
  padding-bottom: 1rem;
}

.under {
  border-bottom: 0.4rem solid #000;
  padding: 0 0rem 1rem 0rem;
}

.center {
  text-align: center;
  margin-bottom: 4rem;
}

/*申し込みの流れ
-------------------------------------*/
.flow.row {
  margin-bottom: 3rem;
}

/*フッター
footer {

    padding: 5rem 0;
}
footer h4 {
    border-bottom: 3px solid #ccc;
}

*/

/*お問い合わせ
-------------------------------------*/
.contact-box {
  border: 1px solid #ccc;
  text-align: center;
  padding: 2rem 0;
}

.table {
  margin: 4rem 0;
}

.table th {
  width: 250px;
}

.contact-tel-text {
  font-size: 14px;
  font-family: Noto Sans CJK JP;
  color: #fff;
  line-height: 1.5;
}

/*コピーライト
-------------------------------------*/
.copyright {
  text-align: center;
  padding: 1rem 0;

}

.copyright a {
  color: #000;
  text-decoration: none;
  display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
  position: fixed;
  bottom: 15px;
  right: 15px;
}

#pagetop a {
  display: block;
  background: #000;
  color: #fff;
  width: 50px;
  padding: 10px 5px;
  text-align: center;
}

#pagetop a:hover {
  background: #666;
}



/* ここから書き込み */

/* 共通 */
/* タイトルh2 */
.h2 {
  font-family: Oswald;
  font-size: 75px;
  font-weight: 400;
}

.h3 {
  font-family: Noto Sans CJK JP;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 2px;
}

.h4 {
  font-family: Noto Sans CJK JP;
  font-size: 30px;
  font-weight: bold;
}

.text {
  font-size: 18px;
  /*line-height: 2.5;*/
}

.text-lg {
  font-size: 25px;
  font-family: Noto Sans CJK JP;
  font-weight: bold;
}


/* about us */

/* special contents */

.btn_link {
  border: 1px solid #333;
  display: inline-block;
  padding: 0.5rem 1.4rem;
  margin-bottom: 1rem;
  min-width: 50%;
  text-align: center;
}

.short_link {
  display: inline-block;
  border-bottom: 1px solid;
  line-height: 2;
}

/* パララックス */


.area {
  overflow: hidden;
}

.parara-section {
  height: 350px;
  width: 100%;
}

.cd-fixed-bg {
  position: relative;
  min-height: 100%;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 2;
}

/*--固定背景01--*/
.cd-fixed-bg.cd-bg-1 {
  background-image: url('../imgs/parara.png');
}

/* カンパニー */
table {
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}



/* コンタクト */
.wrapper {
  height: 1200px;
  background: linear-gradient(180deg, #2067A1 0%, #2067A1 40%, #fff 40%, #fff 100%);
}

.contact-title {
  font-size: 80px;
  color: #fff;
  font-family: Oswald;
  font-weight: 400;
  margin-top: 50px;
  margin-bottom: 0;
}

.contact-text {
  font-size: 30px;
  color: #fff;
  font-family: Noto Sans CJK JP;
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}

.m-rl {
  margin-right: auto;
  margin-left: auto;
}

.inline-block {
  display: inline-block;
}

.block {
  display: block;
}

.p-number {
  line-height: 1.2;
  font-weight: 500;
}


/* コンタクトメールカード */
.mail-card {
  width: 80%;
  height: 140px;
  background: #fff;
  margin-bottom: 30px;
}

.mail-card a p:hover {
  background: #0066A0;
  color: #fff;
  transition: 0.5s;
}

.mail-text {
  font-size: 30px;
  line-height: 140px;
  color: #0066A0;
  font-weight: bold;
  letter-spacing: 3px;
}

.contact-img {
  width: auto;
  height: 100%;
}

/* カードここまで */

/* フッター */
footer ul {
  line-height: 1.6;
}

.text-line-left {
  display: flex;
  align-items: center;
}

.text-line-left:before {
  content: "";
  width: 29px;
  /* flex-grow: 1; */
  height: 5px;
  display: block;
  background: #0066A0;
  /* margin-left: .4em; */
}

.span-m-l {
  margin-left: 15px;
  font-family: 'Oswald';
  font-weight: 400;
}

.footer-text {
  line-height: 2;
}

.sp-bt {
  justify-content: space-between;
}

footer .row {
  align-items: flex-start;
}

/* インスタグラムのレスポンシブ---------------- */
.iframe-wrapper {
  position: relative;
  /* padding-bottom: 56.25%; */
  padding-bottom: 70%;
  height: 0;
  overflow: hidden;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


@media screen and (min-width: 768px) {

  /* PC時はMENUボタンを非表示 */
  #open, #close {
    display: none !important;
  }

  #navi {
    display: block !important;
  }
}


/* ここからレスポンシブ */
@media screen and (max-width: 768px) {
  .header {
    flex-direction: column;
    margin-bottom: 10px;
  }

  .header #open, #close {
    position: absolute;
    top: 20px;
    right: 12px;
  }

  .hamburger span {
    width: 40px;
  }

  .hamburger {
    top: 0px;
    right: 20px;
  }

  .header-box {
    display: none;
  }

  .header-title {
    padding-left: 10px;
    padding-top: 5px;
    width: 140px;
  }

  nav ul {
    flex-direction: column;
  }

  .header li {
    padding-top: 0;
  }

  /* スマホ時はMENUボタンを表示 */
  #open, #close {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
  }

  /* スマホ時はメニューを非表示 */
  #navi {
    display: none;
  }

  .sh-logo {
    width: 300px;
  }

  body {
    line-height: 2;
  }

  .text {
    font-size: 16px;
  }

  .h2 {
    font-size: 55px;
  }

  /* ヘッダー */
  /*お問い合わせ
 -------------------------------------*/
  .contact-title {
    font-size: 60px;
  }

  .contact-text {
    font-size: 20px;
  }

  .gray-back {
    padding: 2rem;
    margin: 0.5rem;
  }

  .contact-card {
    align-items: center;
    margin: 1rem 0 2rem 0;
  }

  .contact-card img {
    width: 40px;
  }

  .contact-card .h4 {
    font-size: 18px;
    line-height: 1.5;
  }

  .mail-card {
    width: 100%;
    margin-bottom: 10px;
  }

  .mail-text {
    font-size: 16px;
    letter-spacing: 0;
  }

  table {
    width: 100%;
  }

  .table th {
    width: 100%;
    display: block;
  }

  .table td {
    display: block;
  }

  .offices-title {
    font-size: 30px;
    background-break: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .under {
    padding: 0rem;
  }

  .offices-sub-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .offices-text {
    font-size: 16px;
  }

  .sp-logo-img {
    margin-top: 15px;
  }

  .maintxt {
    font-size: 16px;
    letter-spacing: 0;
    right: 5%;
  }

  th {
    white-space: nowrap;
  }

  /* 表のマージンを消す */
  .p-r {
    padding-right: 0;
  }

  .sp-p-r {
    padding-right: 30px;
  }

  /* .sp-m-t {
     margin-top: 20px;
 } */

  .sp-mtb {
    margin: 30px 0;
  }

  .m-tb {
    margin: 30px 0;
  }

  .m-t {
    margin-top: 40px;
  }

  .sp-mb {
    margin-bottom: 50px;
  }

  .sp-smb {
    margin-bottom: 30px;
  }

  .mail-card {
    height: 80px;
  }

  .mail-text {
    line-height: 80px;
  }

  .sp-h2 {
    font-size: 40px;
  }

  .sp-h3 {
    font-size: 25px;
  }

  /* .mainimg {
     margin-top: 90px;
 } */

  .m-lb {
    margin-bottom: 40px;
    margin-bottom: 20px;
  }

  .sp-none {
    display: none;
  }
}