@charset "utf-8";

/* 共通設定のcss設定です。 */

/*-------------------------------------------------
基本設定
-------------------------------------------------*/
body {
  font-family: "Noto Sans JP", "Roboto", sans-serif;
  color: #1a1a1a;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  min-width: 375px;
  background-color: #ffffff;
}

main {
  overflow: hidden;
}

img {
  width: 100%;
}

section {
  padding: 60px 0;
}

.section-color {
  background-color: #fafafa;
}

.en {
  font-family: "Roboto";
}

.inner {
  max-width: 100%;
  width: 1280px;
  padding: 0 40px;
  margin: 0 auto;
}

.active {
  color: #ffa500;
}

/*-------------------------------------------------
フェードイン、アウト　アニメーション
-------------------------------------------------*/

.show {
  opacity: 0;
  visibility: hidden;
  transform: translateY(150px);
  transition: 1s all ease-in-out;
  z-index: 1;
  position: relative;
}

.show.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  animation: flickering 1s;
}

.fade {
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease-in-out;
  transform: translateY(100px);
}

.fade.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hide-view {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hide-view.is-active {
  opacity: 1;
}

.loading {
  position:absolute;
  top:50%;
  left: 50%;
  font-weight: bold;
  font-size: 40px;
  transform: translate(-50%,-50%);
  transition: opacity 1s ease-in-out;
  animation: flickering 0.3s ease 5;
  color: #1a1a1a;
  z-index: 1;
}

.loading span {
  position: absolute;
  width: 100px;
  height: 100px;
  top: -25%;
  left:15%;
  border-radius: 50%;
  border: solid 4px;
  border-color: #ffa500 #5bc0de;
  animation: spin 0.8s linear infinite;
  z-index: -1;
}

.loading.is-active {
  opacity:0
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/*-------------------------------------------------
スクロール
-------------------------------------------------*/
/* スクロールダウンの位置 */
.scroll {
  padding-top: 60px;
  position: absolute;
  text-align: right;
  color: #ffa500;
  bottom:50px;
  right: 20px;
  font-size: 18px;
  font-weight: bold;
}
/* 矢印のアニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  border-bottom: 3px solid #ffa500;
  border-left: 3px solid #ffa500;
  content: "";
  height: 20px;
  left: 0;
  margin-left: auto;
  position: absolute;
  right: 15px;
  bottom: 0;
  width: 20px;
}
/* 矢印のアニメーション */
@keyframes scroll {
  0% {
    opacity: 0;
    transform: rotate(-45deg) translate(0, 0);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: rotate(-45deg) translate(-20px, 20px);
  }
  100% {
    opacity: 0;
  }
}
/* ---------------------
  section 見出し設定
  ----------------------*/

/* 選ぶ↓ */
.section-heading-right {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;
  align-items: flex-start;
  margin-bottom: 40px;
}

.section-heading-left {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
  margin-bottom: 40px;
}

.section-heading-front {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}
/* ↑ */

/* heading共通 */

.heading-text {
  color: #0068fa;
  text-align: center;
  font-size: 96px;
  font-weight: bold;
  letter-spacing: 9.6px;
  margin-top: 0;
  line-height: 1;
}

.heading-text-sub {
  position: relative;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2.8px;
}

.heading-text-sub::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 5px;
  background-color: #ffa500;
}

/* ----------------------------
  　パンクズ
  ----------------------------*/
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 60px;
  padding: 20px 60px;
  position: relative;
  z-index: 0;
}

.breadcrumbs-home-link {
  text-decoration: underline;
}

.breadcrumbs-active-link {
  color: #0068fa;
  font-weight: bold;
}

/* ----------------------------
  ホバー設定
  ----------------------------*/
.text-hover:hover {
  color: #ffa500;
  opacity: 0.8;
  transition: all ease 0.3s;
}

.btn-hover:hover {
  color: #ffa500;
  border: #ffa500 solid 1px;
  background-color: #fafafa;
  transition: ease 0.3s;
  box-shadow: none;
  transform: translate(4px, 4px);
}

.content-hover:hover {
  transform: scale(1.1);
  transition: all ease 0.5s;
  opacity: 0.8;
  cursor: alias;
}

/* ホバー時浮き上がらせる↓ */
.zoom-box {
  display: block;
  position: relative;
  z-index: 0;
}

.zoom-box:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
  background: #000;
  opacity: 0;
  transition: 0.3s;
}

.zoom-box:after {
  content: "View More!";
  display: block;
  color: #fff;
  line-height: 48px;
  width: 180px;
  border: solid 3px #fff;
  background-color: #ffa500;
  border-radius: 25px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -1em;
  margin-left: -90px;
  opacity: 0;
  z-index: 3;
  transition: 0.3s;
  font-weight: bold;
  letter-spacing: 0.2em;
}

.zoom-box:hover:before {
  opacity: 0.5;
}

.zoom-box:hover:after {
  opacity: 1;
  margin-top: -0.5em;
}
/* ↑ */

/*-----------------------------
  ボタン
---------------------------*/
/* リンクボタン共通 */
.btn {
  display: block;
  font-weight: bold;
  color: #fafafa;
  text-align: center;
  background-color: #ffa500;
  border-radius: 25px;
  padding: 10px 8px;
  box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

/* お問い合わせリンクボタン */
.contact-btn {
  display: flex;
  max-width: 1200px;
  max-height: 235px;
  flex-direction: column;
  align-items: center;
  border: 6px solid #0068fa;
  padding: 18px 0;
  background: url(../img/contact-btn-pc.png) no-repeat center center/cover;
  margin-top: 30px;
}

.contact-btn-head {
  color: #ffa500;
  text-align: center;
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: #fafafa;
  font-size: 96px;
  font-weight: bold;
  line-height: 1;
}

.contact-btn-text {
  color: #ffa500;
  text-align: center;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: #fafafa;
  font-family: "Noto Sans";
  font-size: 48px;
  font-weight: bold;
}

/* トップへ戻るボタン */

#page-top {
  width: 80px;
  height: 80px;
  background-color: #ffa500;
  border-radius: 50%;
  position: fixed;
  right: 40px;
  bottom: 40px;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.arrow {
  position: relative;
  display: inline-block;
  width: 62px;
  height: 33px;
}

.arrow::before,
.arrow::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 2px);
  width: 4px;
  height: 35px;
  border-radius: 9999px;
  background-color: #000000;
  transform-origin: 50% 2px;
}

.arrow::before {
  transform: rotate(45deg);
}

.arrow::after {
  transform: rotate(-45deg);
}

#page-top.visible {
  opacity: 1;
}

#page-top:hover {
  opacity: 0.8;
}


/*-------------------------------------------------
header
-------------------------------------------------*/
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.header-logo {
  width: 380px;
  height: 100px;
  margin-right: 30px;
  display: grid;
  place-items: center;
  transition: opacity 0.3s ease;
}

.header-logo:hover {
  opacity: 0.8;
}

.header-inner {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #0068fa;
  font-size: 20px;
}

.header-nav-links {
  display: flex;
  gap: 28px;
}

.header-nav-link a {
  padding: 10px 5px;
}

.header-nav-link:hover {
  transform: scale(1.2);
  transition: transform ease 0.3s;
}

.header-contact-link {
  position: relative;
  width: 100px;
  height: 70px;
  background: url("../img/mail-pc.png") no-repeat center center/100% 100%;
  box-shadow: 6px 6px 4px 0px rgba(0, 0, 0, 0.25);
}

.header-contact-link:hover {
  transition: transform 0.3s;
  animation: swing 1s ease infinite;
}

@keyframes swing {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(10deg);
  }
  75% {
    transform: rotate(-10deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.header-contact-link a {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  font-weight: bold;
}

.header-toggle-nav {
  background-color: #0068fa;
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 1000;
  opacity: 0;
  transition: opacity linear 0.3s;
  pointer-events: none;
}

.header-toggle-nav.is-active {
  opacity: 1;
  pointer-events: auto;
  display: block;
}

body.no-scroll {
  overflow: hidden;
}

/*-------------------------------------------------
footer
-------------------------------------------------*/
.footer {
  width: 100%;
  height: 600px;
  background-color: #0068fa;
  color: #fafafa;
  font-size: 14px;
  position: relative;
  z-index: 0;
}

.footer-inner {
  width: 1280px;
  height: 100%;
  max-width: 100%;
  padding: 60px 40px 0 40px;
  margin: 0 auto;
  position: relative;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  margin-left: 20px;
  text-decoration: underline;
}

.footer-nav ul {
  display: flex;
  gap: 28px;
}

.footer-nav .en a {
  font-weight: bold;
}

.footer-company {
  position: absolute;
  right: 60px;
  bottom: 100px;
  text-align: end;
}

.footer-company-name {
  font-size: 32px;
  margin-bottom: 10px;
}

.footer-address {
  font-size: 12px;
}

.copyright {
  position: absolute;
  bottom: 35px;
  right: 50%;
  transform: translateX(50%);
}

/*--------------------------------
FAQ
---------------------------------*/
.faq-inner {
  position: relative;
  z-index: 0;
}

.faq-inner::before {
  position: absolute;
  z-index: -1;
  content: "";
  width: 350px;
  height: 350px;
  transform: rotate(25deg);
  border: 10px solid #5bc0de;
  top: 20%;
  right: 0%;
}

.faq-box {
  margin-top: 30px;
  width: 100%;
  padding: 60px 30px 40px 0;
  background-color: #fafafa;
}

details {
  cursor: help;
}

details + details {
  margin-top: 30px;
}

summary {
  position: relative;
  display: flex;
  list-style: none;
  padding-right: 60px;
  align-items: center;
  padding-bottom: 20px;
}

summary::marker {
  display: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  position: absolute;
  content: "";
  width: 40px;
  height: 5px;
  background-color: #1a1a1a;
  right: 0;
  top: calc(50% - 10px);
}

summary::after {
  position: absolute;
  content: "";
  width: 40px;
  height: 5px;
  background-color: #1a1a1a;
  right: 0;
  top: calc(50% - 10px);
  transform: rotate(90deg);
}

details:hover summary {
  animation: flickering linear 1s infinite;
}

summary:hover details {
  animation: flickering linear 1s infinite;
}

@keyframes flickering {
  0% {
    opacity: 0.8;
  }
  25% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.4;
  }

  75% {
    opacity: 0.6;
  }

  100% {
    opacity: 0.8;
  }
}

.qa {
  font-size: 20px;
  font-weight: bold;
  padding-left: 20px;
}

.qa span {
  font-size: 40px;
  margin-right: 20px;
}

.faq-q p {
  margin-top: 1rem;
}

.faq-a {
  display: flex;
  background-color: #cccccc;
  padding: 20px;
}

.faq-a strong {
  margin-top: 1rem;
}

details[open] {
  cursor: pointer;
}

details .faq-a {
  animation: fadeOut 0.3s ease;
}

details[open] .faq-a {
  animation: fadeIn 0.3s ease;
}

details[open] summary::after {
  transform: rotate(0deg);
  transition: ease 0.5s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
    transform: none;
  }
  50% {
    opacity: 0.5;
    transform: translateY(-5px);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* --------------------
レスポンシブ
-----------------------*/

/* PCのみ */
@media (min-width: 1025px) {
  .hidden-pc {
    display: none;
  }

  .header-toggle-nav {
    display: none;
  }

  .header-toggle-nav.is-active {
    display: none;
  }

  body.no-scroll {
    overflow: auto;
  }
}

/* タブレット、スマホ共通 */
@media (max-width: 1024px) {
  .hidden {
    display: none;
  }

  .header {
    background-color: #ffffff;
    justify-content: space-around;
  }
  .header-nav {
    display: none;
  }

  .header-toggle-box {
    position: relative;
    width: 80px;
    height: 80px;
    background-color: #fafafa;
    padding: 20px;
    display: flex;
    cursor: pointer;
    border-radius: 10px;
  }

  .header-toggle-box:hover .header-toggle-box-bar {
    opacity: 0.8;
    background-color: #ffa500;
    transition: ease 0.3s;
  }

  .header-toggle-box-bar {
    position: absolute;
    content: "";
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 10px * 2);
    height: 3px;
    background-color: #1a1a1a;
  }

  .header-toggle-box-bar:nth-of-type(1) {
    top: calc(0% + 10px);
  }

  .header-toggle-box-bar:nth-of-type(2) {
    top: 50%;
  }

  .header-toggle-box-bar:nth-of-type(3) {
    top: calc(100% - 10px);
  }

  .header-toggle-box.is-active .header-toggle-box-bar:nth-of-type(1) {
    transform: translateX(-50%) rotate(45deg);
    top: 50%;
    transition: ease 0.5s;
  }

  .header-toggle-box.is-active .header-toggle-box-bar:nth-of-type(2) {
    display: none;
  }

  .header-toggle-box.is-active .header-toggle-box-bar:nth-of-type(3) {
    transform: translateX(-50%) rotate(-45deg);
    top: 50%;
    transition: ease 0.5s;
  }

  .toggle-nav-box {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 100px;
  }

  .toggle-menu {
    font-size: 20px;
    font-weight: bold;
    color: #fafafa;
  }

  .toggle-contact-link {
    position: relative;
    width: 200px;
    height: 140px;
    background: url("../img/mail-pc.png") no-repeat center center/100% 100%;
    box-shadow: 6px 6px 4px 0px rgba(0, 0, 0, 0.25);
  }

  .toggle-contact-link:hover {
    transform: scale(1.2);
    transition: transform 0.3s;
    animation: swing 1s ease-in-out;
  }

  .toggle-contact-link a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    font-weight: bold;
    color: #0068fa;
    font-size: 30px;
  }

  .footer-company {
    right: 30px;
  }
}

/* タブレット */
@media (min-width: 481px) and (max-width: 1024px) {
  .inner {
    padding: 0 20px;
  }

  .hidden-tb {
    display: none;
  }

  .header-toggle-box {
    width: 70px;
    height: 70px;
  }

  .section-heading-right {
    flex-wrap: wrap;
  }

  .section-heading-left {
    flex-wrap: wrap;
  }

  .heading-text {
    font-size: 68px;
  }

  .heading-text-sub {
    font-size: 16px;
    margin-top: 8px;
  }

  .contact-btn {
    padding: 8px 0;
    background: url(../img/contact-btn-pc.png) no-repeat center center/cover;
  }

  .contact-btn-head {
    font-size: 72px;
  }

  .contact-btn-text {
    font-size: 32px;
  }

  .footer {
    height: 750px;
  }

  .footer-inner {
    padding: 40px 10px 0 10px;
  }

  .footer-nav ul {
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-nav-link:first-of-type {
    flex: 1 1 100%;
  }

  .footer-nav-link:nth-of-type(n + 2) {
    flex: 1 1 auto;
  }
}

/* スマートフォン */
@media (max-width: 480px) {
  section {
    padding: 40px 0;
  }

  .inner {
    padding: 0 10px;
  }

  .hidden-sp {
    display: none;
  }

  .header-toggle-box {
    width: 60px;
    height: 60px;
    margin-right: 10px;
  }

  .section-heading-right {
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }

  .section-heading-left {
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }

  .heading-text {
    font-size: 40px;
  }

  .heading-text-sub {
    font-size: 18px;
    margin-top: 8px;
  }

  .contact-btn {
    padding: 8px;
    margin-top: 20px;
  }

  .contact-btn-head {
    -webkit-text-stroke-width: 2px;
    font-size: 64px;
  }

  .contact-btn-text {
    -webkit-text-stroke-width: 1px;
    font-size: 24px;
  }

  #page-top {
    bottom: 20px;
    right: 20px;
  }

  .footer {
    height: 700px;
    font-size: 12px;
  }

  .footer-inner {
    padding: 30px 10px 0 10px;
  }

  .footer-nav {
    gap: 32px;
    margin-left: 10px;
  }

  .footer-nav ul {
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-nav-link:first-of-type {
    flex: 1 1 100%;
  }

  .footer-nav-link:nth-of-type(n + 2) {
    flex: 1 1 auto;
  }

  .footer-company {
    position: absolute;
    right: 10px;
    bottom: 60px;
    text-align: end;
  }

  .footer-company-name {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .footer-address {
    font-size: 12px;
  }

  .copyright {
    position: absolute;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
  }
}
