@charset "utf-8";

/* ヘッダー ------------------------------*/
.header {
  position: fixed;
  height: 100px;
  width: 100%;
  background: #061d31;
  z-index: 7777; /* スライダーに潜り込んでるのでヘッダーを上に持ってこないとhoverが効かない */
}

.header__container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: auto;
  padding-right: 60px;
  padding-left: 60px;
  height: inherit;
  align-items: center;
}

/* ロゴ */
.header__logo {
  line-height: 60px;
  margin-top: 10px;
  max-width: 100%;
  z-index: 4;
}
.header__logo img {
  width: 100px;
  height: auto;
  vertical-align: middle;
}
.header__logo img:hover {
  opacity: 0.7;
  transition: 0.2s ease-in-out;
}

/* ナビゲーション */
.header__navi {
  line-height: 60px;
  height: inherit;
  z-index: 1500;
}

.header__items {
  text-transform: uppercase;
  align-items: center; /*これを使うと要素が中央に来る  */
  height: inherit;
  display: flex;
  list-style: none;
  font-family: "Noto Serif", serif;
  z-index: 1500;
}
.header__item:not(:last-child) {
  margin-right: 40px;
}
.header__item a {
  display: inline-block;
  transition: 0.2s ease-in-out;
  margin: -10px;
  padding: 10px;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  height: inherit;
  cursor: pointer;
}
.header__item a:hover {
  opacity: 0.7;
  padding: 15px;
  color: red;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  font-size: 21px;
}

.p-header__drawer {
  background-color: #061d31;
  color: #061d31;
}

.c-hamburger span:nth-child(1) {
  top: 0;
}

.c-hamburger span:nth-child(2) {
  margin: 4px 0;
}

.c-hamburger span:nth-child(3) {
  top: 0;
}
/*is-OPEN時の動き*/
.c-hamburger.is-open span:nth-child(1) {
  top: 5px;
  transform: rotate(-225deg);
}

.c-hamburger.is-open span:nth-child(2) {
  transform: translateY(-50%);
  opacity: 0;
}

.c-hamburger.is-open span:nth-child(3) {
  top: -7px;
  transform: rotate(225deg);
}

.p-sp-nav__items {
  padding-top: 250px;
  padding-bottom: 200px;
  height: 100vh;
  overflow: scroll;
}

.p-sp-nav__item a {
  display: block;
  width: 100%;
  padding-top: 16px;
  padding-bottom: 16px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
}

.p-sp-nav__item a:hover {
  color: red;
  font-size: 20px;
}

.p-sp-nav {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background-color: #292929;
  width: 100%;
  height: 100vh;
  z-index: 8888;
}
/* レスポンシブ */

@media (max-width: 1024px) {
  .header__navi {
    display: none;
  }
  /* ハンバーガーメニュー */
  .c-hamburger {
    z-index: 9999;
  }
  /* ハンバーガーの位置調整 */
  .c-hamburger span {
    position: relative;
    display: block;
    height: 2px;
    width: 24px;
    /* right: 60px; 左右位置はここで調整 */
    background-color: #fff;
    transition: ease 0.3s;
  }
}

@media screen and (max-width: 768px) {
  .header__container {
    padding: 0 30px;
    height: inherit;
  }

  .c-hamburger span {
    right: 0px;
  }
}

@media (max-width: 375px) {
  h1 {
    display: none;
  }
}

h1 {
  position: absolute;
  z-index: 2;
  top: 40%;
  left: 20%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 4vw;
  letter-spacing: 0.1em;
  color: #061d31;
  font-weight: bold;
}

/* トップ--------------------------------------------------- */
.wrapper {
  height: 80vh;
  position: relative;
}

.top__view-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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

.eachTaxtAnime span {
  opacity: 0;
}

.eachTextAnime.appeartext span {
  animation: text_anime_on 1s ease-out forwards;
}

@keyframes text_anime_on {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*=== 9-1-4 矢印が動いてスクロールを促す  ====*/

/*========= スクロールダウンのためのCSS ===============*/

/*=== 9-1-2 丸が動いてスクロールを促す ====*/

/*スクロールダウン全体の場所*/
.scrolldown2 {
  /*描画位置※位置は適宜調整してください*/
  position: absolute;
  bottom: 10px;
  left: 50%;
}

/*Scrollテキストの描写*/
.scrolldown2 span {
  /*描画位置*/
  position: absolute;
  left: 10px;
  bottom: 100px;
  /*テキストの形状*/
  color: #eee;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* company------------------------------------------------- */

.company__inner {
  margin-top: 150px;
}
/* 画像 */
img {
  vertical-align: bottom;
}

/* テキスト */
.company__text {
  font-size: 18px;
  line-height: 1.5;
  color: #000;
}
* + .company__text {
  margin: 16px 0 0 0;
}

.company__text {
  text-align: center;
  margin: 0 auto;
}

/* 画像 + 見出し + テキスト ------------------------------*/
/* アイテム */
.p-company__item {
  display: flex;
  align-items: center;
}
.p-company__item:not(:last-child) {
  margin-bottom: 40px;
}
.p-company__item:nth-child(2n) {
  flex-direction: row-reverse;
}
.p-company__item:nth-child(2n-1) .p-company__info {
  margin-left: 35px;
}
.p-company__item:nth-child(2n) .p-company__info {
  margin-right: 40px;
}
.p-company__info {
  width: calc(100% - 80px);
}

/* 画像 */
.p-company__image {
  width: 100%;
  height: 100%;
}
.p-company__image img {
  width: 900px;
  height: 400px;
}

/* 見出し */
.p-company__title {
  margin-bottom: 24px;
  font-size: 30px;
  line-height: 1.2;
  color: #061d31;
  text-align: center;
  font-weight: bold;
}

@media (max-width: 375px) {
  .p-company__item {
    flex-direction: column;
  }
  .p-company__image {
    position: relative;
  }
  .p-company__info {
    position: absolute;
    top: 25%;
  }
  .p-company__title,
  .company__text {
    color: #fff;
  }
}

@media (max-width: 1024px) {
  span {
    display: inline-block;
  }
}
/* Business-content----------------------- */

.Business__content__title h2 {
  margin: 150px 0 100px 0;
  font-size: 30px;
  text-align: center;
  color: #061d31;
  text-transform: uppercase;
}

.p-blog-card__title {
  color: #061d31;
}

.p-blog-card__text,
.p-blog-card__date {
  color: #000;
}

.p-blog-card__category {
  color: #fff;
}

.p-blog-card__title {
  font-size: 18px;
  line-height: 1.94;
}

.p-blog-card__text,
.p-blog-card__category,
.p-blog-card__date {
  font-size: 14px;
  line-height: 1.85714;
}

.p-blog-card__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p-blog-card__category {
  background-color: #fff;
  padding: 6px 5px;
  line-height: 1;
  z-index: -10;
}

.p-blog-card__body {
  padding: 4px 24px 15px;
  border: 1px solid #ccc;
  height: 300px;
}
/* コンテンツの余白の取り方はmarginまたはpaddingどちらでも良い*/

.p-blog-card__info,
.p-blog-card__text {
  padding-top: 4px;
}

.p-blog-card {
  background-color: #fff;
  display: block;
}

.p-blog__inner {
  padding: 0 25px;
  max-width: 1100px;
  width: 100%;
  margin: auto;
}

.p-card-list {
  display: flex;
  flex-wrap: wrap;
}

.p-card-list__item {
  max-width: calc(25% - 25px * 3 / 4);
  width: 100%;
}

.p-card-list__item:nth-child(3n + 1) {
  margin-left: 0;
}

/* .p-card-list__item:nth-child(n + 4) {
  margin-top: 25px;
} */
/* 比率の管理方法 */
.p-blog-card__img {
  padding-top: 66.571429%;
  /* 233/350*100=高さ/幅*100 */
  position: relative;
}

.p-card-list__item + .p-card-list__item {
  margin-left: 25px;
}

.p-blog-card__img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .Business__content__title h2 {
    font-size: 30px;
  }
  .p-card-list__item {
    max-width: calc(50% - 25px * 2 / 4);
    width: 100%;
    margin-bottom: 25px;
  }
  .p-card-list__item:nth-child(3) {
    margin-left: 0;
  }
}

@media (max-width: 414px) {
  .p-blog-card__body {
    height: 424px;
  }
  .p-blog-card__title {
    font-size: 16px;
  }
}

@media screen and (max-width: 375px) {
  .Business__content__title span {
    display: inline-block;
  }

  .p-card-list {
    flex-direction: column;
  }

  .p-card-list__item {
    max-width: 100%;
  }

  .p-card-list__item + .p-card-list__item {
    margin-left: 0;
    margin-top: 30px;
  }
  .p-blog-card__body {
    height: 200px;
  }
}

.about h2 {
  text-align: center;
  color: #061d31;
  margin: 150px 0 100px 0;
  font-size: 30px;
  text-transform: uppercase;
}

.about__img-text-btn-right {
  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
  .about h2 {
    font-size: 30px;
  }
}

.about .about-list {
  width: 96%;
  max-width: 900px;
  margin: 0 auto;
}

.about .about-list li {
  border-bottom: 1px solid #ccc;
  margin: 0 0 15px 0;
  padding: 0 0 15px 0;
  color: #000;
}

.about .about-list dl {
  display: flex;
  justify-content: space-between;
  color: #000;
}

.about .about-list dt {
  width: 30%;
  padding: 0 0 0 40px;
}

@media screen and (max-width: 590px) {
  .about .about-list dt {
    padding: 0 0 0 10px;
  }
}

.about .about-list dd {
  width: 65%;
  text-transform: capitalize;
}

@media screen and (max-width: 375px) {
  dt,
  dd {
    font-size: 14px;
  }
}

/* aboutここまで */

/*faq-------------------------------------- */

/*============================================
アコーディオンのためのcss
===================================*/
.faq h2 {
  text-align: center;
  color: #061d31;
  margin: 0 0 50px 0;
  font-size: 30px;
  text-transform: uppercase;
}

.faq__inner {
  margin-top: 150px;
}
/*アコーディオン全体*/
.accordion-area {
  list-style: none;
  width: 96%;
  max-width: 900px;
  margin: 0 auto;
}

.accordion-area li {
  margin: 10px 0;
}

.accordion-area section {
  border: 1px solid #ccc;
}

/*アコーディオンタイトル*/
.title {
  position: relative; /*+マークの位置基準とするためrelative指定*/
  cursor: pointer;
  font-size: 1rem;
  font-weight: normal;
  padding: 3% 3% 3% 50px;
  transition: all 0.5s ease;
  color: #000;
}

/*アイコンの＋と×*/
.title::before,
.title::after {
  position: absolute;
  content: "";
  width: 15px;
  height: 2px;
  background-color: #061d31;
}
.title::before {
  top: 48%;
  left: 15px;
  transform: rotate(0deg);
}
.title::after {
  top: 48%;
  left: 15px;
  transform: rotate(90deg);
}

/*　closeというクラスがついたら形状変化　*/

.title.close::before {
  transform: rotate(45deg);
  background-color: red;
}

.title.close::after {
  transform: rotate(-45deg);
  background-color: red;
}

/*アコーディオンで現れるエリア*/
.box {
  display: none; /*はじめは非表示*/
  background: #061d31;
  margin: 0 3% 3% 3%;
  padding: 3%;
}

.box p {
  color: #fff;
}
/* faq------------------------------------- */
@media (max-width: 768px) {
  .accordion-area h2 {
    font-size: 30px;
  }
}

@media (max-width: 375px) {
  .box {
    margin-left: 10%;
  }
}
/*contact-------------------------  */

.contact {
  margin: 150px 0 100px 0;
}

.contact h2 {
  text-align: center;
  color: #061d31;
  margin: 0 0 100px 0;
  font-size: 30px;
  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
  .contact h2 {
    margin: 0 0 50px 0;
    font-size: 30px;
  }
  .contact__inner {
    padding: 0 60px;
  }
}

.contact .form-list {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.contact input,
button,
textarea,
select {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  background: none;
  font-size: 16px;
}

.contact .form-list input[type="text"],
.contact .form-list input[type="email"],
.contact .form-list textarea {
  width: 100%;
  border: 1px solid #666;
  background: #fff;
  padding: 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.contact .form-list input[type="text"],
input[type="email"] {
  height: 50px;
}

.contact .submit-btn {
  width: 152px;
  margin: 0 auto;
}

.contact input[type="submit"] {
  border: 2px solid #000;
  color: #000;
  text-align: center;
  padding: 5px 20px;
  width: 152px;
  margin: 0 auto;
  transition: all 0.3s;
  margin-bottom: 50px;
}

.contact input[type="submit"]:hover {
  background: #fff;
  color: red;
  font-size: 20px;
}

.contact .form-list dl {
  display: flex;
  justify-content: space-between;
  padding: 0 0 20px 0;
}

.contact .form-list dt {
  width: 30%;
}

.contact .form-list dd {
  width: 66%;
}

.contact .form-list textarea {
  height: 200px;
}

.contact__mail {
  text-align: center;
}

@media screen and (max-width: 768px) {
  .contact .form-list dt {
    margin: 0 0 10px 0;
  }

  .contact .form-list dt,
  .contact .form-list dd {
    width: 100%;
  }
}

@media (max-width: 375px) {
  .contact .form-list dl {
    display: flex;
    flex-direction: column;
  }
  .contact__mail {
    font-size: 15px;
  }
}
/*footer-------------------------  */

.footer {
  padding: 50px 0;
  border-top: 1px solid #000;
  text-align: center;
  background: #fff;
  position: relative;
  text-transform: capitalize;
}

.footer .footer-logo {
  font-weight: bold;
  letter-spacing: 0.3em;
  margin: 0 0 50px 0;
  color: #061d31;
}

.footer small {
  color: #888;
}

@media (max-width: 375px) {
  .footer-logo {
    font-size: 14px;
  }
}
.p-scroll01 {
  text-align: center;
  position: fixed;
  right: 24px;
  bottom: 40px;
}
.p-scroll01 a {
  display: inline-block;
  padding: 8px;
  font-size: 12px;
  border-radius: 8px;
  color: #fff;
  background: #061d31;
  text-decoration: none;
}
.p-scroll01 i {
  font-size: 28px;
}

@media screen and (max-width: 599px) {
  .p-scroll01 {
    right: 15px;
    bottom: 15px;
  }
  .p-scroll01 a {
    padding: 6px;
    font-size: 10px;
  }
  .p-scroll01 i {
    font-size: 20px;
  }
}
