@charset "UTF-8";

htmk{
  overflow-x: hidden;
}
::selection {
  background: #0090aa;
  color: white;
}

::-moz-selection {
  background: #0090aa;
  color: white;
}

p, ul, ol, li, hr {
  margin: 0;
  /* list-style-type: none; */
  margin-block-start: 0;
  margin-block-end: 0;
  padding-inline-start: 0;
  border-top: none;
}

html {
  font-size: 100%;
}

body {
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
  line-height: 1.7;
  color: #fff;
}

.contitle {
  color: #000;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4%;
  width: 90%;
}

/* 大きな背景画像 */
/* 見出し */
.page-title {
  font-size: 5rem;
  /* font-family: 'Philosopher', serif; */
  font-family: 'Kiwi Maru', serif;
  text-transform: uppercase;
  font-weight: normal;
}

.sub-title {
  font-size: 1.375rem;
  padding: 0 8px 8px;
  border-bottom: 2px #0bd solid;
  font-weight: normal;
}

.page-title2 {
  font-size: 2rem;
  /* font-family: 'Philosopher', serif; */
  font-family: "Lobster", cursive;
  text-transform: uppercase;
  font-weight: normal;
}

/*LOADING
================================================ */
/*VARIABLES色
================================================ */
:root {
  --light-green:#d5edeb;
  --green:#63dbd0;
  --light-grey:#eee;
  --oswald-font:"Oswald", sans-serif;
}

/*================================================ */
#loading {
  background-color: var(--light-grey);
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
}

#loading-screen {
  background-color: var(--light-green);
  position: fixed;
  inset: 0;
  z-index: 9998;
  translate: 0 100vh;
}

#loading p {
  font-size: 5rem;
  font-family: var(--oswald-font);
}

.loadp {
  font-size: 5em;
  text-align: center;
  line-height: 0.95em;
  font-weight: bold;
  color: #FDF5E6;
  text-shadow: 1px -1px 1px #BDBDBD, -1px 2px 1px #737272, -2px 4px 1px #767474, -3px 6px 1px #787777, -4px 8px 1px #424242, -5px 10px 1px #616161, -6px 12px 1px #757575, -7px 14px 1px #9E9E9E, -8px 16px 1px #BDBDBD, -9px 18px 1px #E0E0E0;
}

/* ボタン */
.button {
  font-size: 1.375rem;
  background: rgba(136, 133, 237, 0.821);
  position: block;
  cursor: pointer;
  /* padding: 2rem 3rem; */
  width: 15rem; /* ボタンの幅を設定 */
  height: 15rem; /* ボタンの高さを設定（幅と同じ値に設定） */
  border-radius: 50%;
  background-image: linear-gradient(135deg, #5ea8dd 5%, rgba(136, 133, 237, 0.893));
  background-size: 200%;
  transition: .3s;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 0 0 0 #369BEC;
  transition: .8s;
  margin-bottom: 10px; /* ボタン間の垂直方向のスペースを設定 */
}

.button:hover {
  background: rgba(136, 133, 237, 0.781);
  /* padding: 3rem 4rem; */
  width: 15rem; /* ボタンの幅を設定 */
  height: 15rem; /* ボタンの高さを設定（幅と同じ値に設定） */
  animation: fluidshape 10s ease .1s infinite;
}

.hoge{
  line-height: 240px;
  text-align: center;
  font-family: 'Kiwi Maru', serif;
}

@keyframes fluidshape {
  0% {
      border-radius: 61% 35% 52% 44%/53% 46% 50% 43%;
      background-position: -180%;
  }

  25% {
      border-radius: 38% 58% 52% 44%/47% 58% 38% 49%;
      background-position: -150%;
  }

  50% {
      border-radius: 59% 37% 53% 43%/59% 36% 60% 37%;
      background-position: -100%;
  }


  75% {
      border-radius: 48% 48% 32% 64%/54% 66% 30% 42%;
      background-position: -150%;
  }

  100% {
      border-radius: 61% 35% 52% 44%/53% 46% 50% 43%;
      background-position: -180%;
  }
}

/* iframe */
iframe {
  width: 100%;
}

/* HEADER
------------------------------- */
.page-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-height: 520px;
  flex-direction: column;
  
}

.h-inner {
  display: flex;
  justify-content:center;
  margin: 0 auto;
  padding: 0 4%;
  width: 90%;
  max-width: 1100px;
  flex-direction: column;
}

.titlewra {
  max-width: 560px;
  margin: 10% auto 13%;
  padding: 0 4%;
  width: 90%;
}

.logo {
  width: 210px;
  margin-top: 14px;
  padding: 0 auto;
}

.main-nav {
  display: flex;
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-top: 34px;
  list-style: none;
}

.main-nav li {
  margin-left: 36px;
}

.main-nav a {
  color: #fff;
}

.main-nav a:hover {
  color: #0bd;
}


/* ------------------- */
header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background: #030a3a;
  display: flex;
  justify-content: space-between;
  width: 90%;
  /* height: 75px; */
  padding: 0;
  z-index: 100;
  border-radius: 5px;
  align-items: center;
}

.header-logo {
  padding-top: 1%;
  width: 35%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-logo img {
  width: 80%;
}

nav {
  width: 70%;
}

.menu {
  list-style: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 75px;
  /* ヘッダーと同じ高さ */
  text-align: center;
}

.menu li {
  width: 25%;
  font-family: 'Zen Old Mincho', serif;
  color: #fff;
  font-size: 1em;
  line-height: 1.0;
  text-align: center;
  text-decoration: none;
  border-left: 1px dashed #fff;
  border-right: 1px dashed #fff;
}

.menu li:last-child {
  border-right: none;
}

.menu li a {
  text-decoration: none;
  display: inline-block;
  width: 100%;
  position: relative;
  color: #fff;
}

.menu li a:hover {
  text-shadow: 0 0 10px #fff, 0 0 15px #fff;
  font-size: 1.05em;
}

.menu li a:before {
  content: "";
  position: absolute;
  left: 15%;
  bottom: -2px;
  width: 70%;
  height: 1px;
  background: #ffffff;
  box-shadow: 0 0 10px #fff, 0 0 15px #fff;
  transform: scale(0, 1);
  transform-origin: left;
  transition: 0.4s;
}

.menu li a:hover:before {
  transform: scale(1);
}


.menu span {
  font-size: 0.5em;
}

.menu li+li {
  border-left: 0;
  border-right: 1px dashed #fff;
}

.contact {
  width: 15%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}


/* ファーストビュー(TOPページ)------------------------------------------- */

.first-view {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  background: url(../images/bg-cosmos.jpeg);
  background-size: cover;
  object-fit: cover;
  position: fixed;
  width: 100%; /* ヘッダーの幅を100%に設定 */
  background-color: black; 
  background-position: center;
  background-repeat: repeat;
  overflow-x: hidden;
    
}


/* TOP
------------------------------- */

.home-content {
  text-align: center;
  margin-top: 10%;
}

.home-content p {
  font-size: 1.3rem;
  margin: 10px 0 42px;
  font-family: "Lobster", cursive;
  font-family: "Zen Maru Gothic", sans-serif;
}

/*フッター*/
footer {
  background: dimgray;
  text-align: center;
  padding: 2.5px 0;
}

footer p {
  color: #FFF;
  font-size: 0.875rem;
}

.tel {
  text-align: left;
  color: #FFF;
  font-size: 100%;
}

.tel li {
  color: #fff;
}

/* 遷移先-会社概要
------------------------------- */
#gaiyou {
  background-image: url(../images/codebg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 600px;
  background-position: center top;
  margin-bottom: 40px;
}

/* タイトル（概要・業務共通） */
.menu-content {
  max-width: 560px;
  margin-top: 10%;
}

/*  */
.timeline {
  width: 80%;
  margin: 0 auto 5em;
  text-align: left;
}

.number {
  display: flex;
  flex-direction: column; /* 要素を縦に配置 */
  margin: 20px 0;
}

.hidari {
  flex-shrink: 0;
  width: 188px;
  height: 55px;
  line-height: 55px;
  background-color: #7c7cca;
  border-radius: 5%;
  font-weight: bold;
  font-size: 1.3em;
  color: #fff;
  text-align: center;
  margin-bottom: 10px; /* 下マージンを追加 */
}

.migi {
  flex-grow: 1;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.3em;
  color: #000;
}


/* 地図 */
#location {
  padding: 4% 0;
  padding-bottom: 10%;
}

#location .wrapper {
  display: flex;
  justify-content: space-between;
}

.location-info {
  width: 22%;
}

.maptitle {
  font-family: "Lobster", cursive;
  font-size: 1.375rem;
  padding: 0 8px 8px;
  border-bottom: 2px #0bd solid;
  font-weight: normal;
  color: #000;
}

.location-info p {
  padding: 12px 10px;
  color: #000;
}

.location-map {
  width: 74%;
}

/* 遷移先-業務内容
------------------------------- */
#gyomu {
  background-image: url(../images/pcbg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 600px;
  background-position: center top;
  margin-bottom: 40px;
}

/* 業務内容-SERVICE ---------------------------------------------------- */
#service {
  padding-top: 80px;
}

.business-content {
  width: 85%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  text-align: center;
  margin: 80px auto 80px;
  line-height: 2;
}

.content-box {
  width: 100%;
  /* background: linear-gradient(135deg, #0BD, 75%, rgb(0, 133, 221)); */
  background: linear-gradient(90deg, #f27d10, 60%, #be5ca9);
  border-radius: 10px;
  padding: 15px;
  color: #fff;
}

.h4 {
  margin-top: 10px;
  color: #fff;
  font-size: 1.3em;
  text-align: center;
  border-bottom: 1px solid #fff;
}

.content-box p {
  font-size: 1em;
  text-align: left;
}

.content-box img {
  /* width: 13%; */
  width: 40px;
}

.content-pp {
  width: 80%;
  margin: 10px auto 0;
}

/*ページトップへ戻るボタン
-------------------------------------*/
html {
  scroll-behavior: smooth;
}

.return_top {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #fff;
  border: solid 2px dimgray;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  /*普段は隠しておく*/
  opacity: 0;
  visibility: hidden;
}

.pagetop__arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid dimgray;
  border-right: 3px solid dimgray;
  transform: translateY(20%) rotate(-45deg);
}

.return_top.active {
  /*activeが付いたら表示*/
  opacity: 1;
  visibility: visible;
}

/* 概要・業務内容　ふわっと表示　fade in -------------------------------------*/
.business-content, .number, .maptitle {
  opacity: 0;
}

.sanime {
  animation: elm 30s linear infinite;
  overflow: hidden;
}

@keyframes elm {
  0% {
    transform: translatex(0);
  }
  100% {
    transform: translatex(calc(180vh + 1em));
  }
}
@media screen and (max-width: 640px) {
  .sanime {
    display: none;
  }
}
#contact {
  background-image: url(../images/contactbg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 600px;
  background-position: center top;
  margin-bottom: 40px;
}

/* contact-after ------------------------------------------------*/
.contact-coment {
  color: #000;
}

.contact-after {
  color: #000;
}

.con-title span {
  color: #000;
}

.fluid .Link{
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.btn-wrappertop {
  display: flex;
  flex-wrap: wrap; /* 要素を折り返す */
  justify-content: center; 
}

.btn-wrapper {
  flex-wrap: wrap; /* 要素を折り返す */
  justify-content: space-between; /* ボタン間のスペースを均等に配置 */
}

.detail-button {
  display: inline-block;
  background-color: #ccc;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  color: #000;
  text-decoration: none;
  border: 1px solid #999;
  border-radius: 4px;
  margin-top: auto;
}

.sekou {
  list-style-type: disc;
  padding-left: 0;
  text-align: start;
  display: inline-block;
}

.sekou li {
  margin: 0;
  color: black;
  font-size: 1.2rem;
}