@charset "utf-8";
/* レイアウトのためのCSS */

body {
  font-family: 'Sawarabi Gothic', sans-serif;
  color: #000;
  font-size: 1rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  word-wrap: break-word;
}

/* IE11用ハック */
_:-ms-lang(x)::-ms-backdrop,
body {
  overflow-x: hidden;
}

@media screen and (max-width: 768px) {
  body {
    font-size: 0.8rem;
  }
}

* {
  box-sizing: border-box;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #000;
  text-decoration: none;
  outline: none;
}

img {
  width: 100%;
  height: auto;
}

/* splash ローディング */
.loader {
  color: #000;
  font-size: 40px;
  overflow: hidden;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: relative;
  transform: translateZ(0);
  animation: load6 1.7s infinite ease, round 1.7s infinite ease;
}

@keyframes load6 {
  0%,
  5%,
  95%,
  100% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
  }
}

@keyframes round {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* フォント指定 */
h2,
#header .scrolldown3,
#footer,
nav,
#splash-logo {
  font-family: 'Teko', sans-serif;
}

#splash-logo {
  color: #000;
}

/* header */
#header .fixed {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

#header h1 {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 2vw;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1;
  width: 100%;
}

#header h1 img {
  margin-top: 25px !important;
  max-width: 80px;
  z-index: 99;
}

@media screen and (max-width: 768px) {
  #header h1 {
    /* top: 0;
    left: 25px; */
    background-color: #fff;
    width: 100%;
    padding-bottom: 5px !important;
  }
  #header h1 img {
    margin-top: 15px !important;
  }
}

#header .scrolldown3 span {
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.top-content {
  display: none;
  position: absolute;
  text-align: center;
  font-weight: bold;
  color: #000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  height: 100vh;
  align-items: center;
  align-content: center;
}

@media screen and (max-width: 992px) {
  .top-content {
    padding: 0 25px !important;
  }
}

.top-content::before {
  content: '';
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  background-image: url('../img/logo.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: -1;
}

@media screen and (max-width: 576px) {
  .top-content::before {
    top: 5%;
    left: 5%;
    width: 90%;
    height: 70%;
  }
}

/* メインキャッチ */
.title {
  display: block;
  font-size: clamp(3rem, 2.818rem + 0.91vw, 2rem);
  font-weight: bold;
  color: #000;
  margin-bottom: clamp(0px, calc((100vw - 320px) * 0.0321), 15px) !important;
  padding: max(2.18vw, 20px) 0 max(0.7vw, 10px);
  line-height: 1.35;
  text-align: center;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  margin-top: -40px !important;
}

.title > span {
  font-size: 0.95em !important;
}

@media screen and (max-width: 992px) {
  .title {
    font-size: min(5.75vw, 40px) !important;
  }
}

@media screen and (max-width: 576px) {
  .title {
    font-size: clamp(1.625rem, 1.307rem + 1.59vw, 2.5rem) !important;
  }
  .title > br:first-child {
    display: block;
  }
}

.sub-title {
  font-size: clamp(1.063rem, 0.722rem + 1.7vw, 1.5rem);
  font-weight: bold;
  color: #000;
  margin: 0 0 35px;
  padding: 0;
  line-height: 1.25;
}

.sub-title > span {
  display: inline-block;
}

.logo-title {
  width: 50%;
  margin: 0 auto clamp(0px, 5vw, 45px);
  padding: 0;
  line-height: 1 !important;
  text-align: center;
}

/* 下部情報 */
.sk-bottom-info {
  display: inline-flex;
  align-items: center;
  gap: clamp(15px, 4vw, 25px);
  margin-top: clamp(10px, 4vw, 20px);
  padding: clamp(5px, 1vw, 10px) clamp(25px, 4vw, 50px);
  border-radius: 999px;
  border: 1px solid #ddd;
  background-color: #ffffff;
  font-size: clamp(1.063rem, 0.722rem + 1.7vw, 1.5rem);
  font-weight: 600;
  color: #222;
}

.sk-label {
  white-space: nowrap;
}

.sk-separator {
  width: 1px;
  height: 14px;
  background-color: #ccc;
}

/* グローバルナビ */
.circle-bg {
  border: 2px solid #000;
}

#g-nav ul {
  font-size: 1.7rem;
  letter-spacing: 0.2em;
}

@media screen and (max-width: 768px) {
  #g-nav ul {
    font-size: 1rem;
  }
}

/* 見出し */
h2 {
  font-size: 3rem;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 5vh 0;
}

@media screen and (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }
}

/* 共通レイアウト */
.fixed {
  z-index: 1;
  height: 100vh;
  width: 100%;
  max-width: 100%;
  padding: 0 7vw;
  animation: bgchange 40s ease infinite;
}

@media screen and (max-width: 768px) {
  #service.fixed,
  #outline.fixed {
    height: auto;
  }
}

@media screen and (max-width: 992px) {
  .fixed {
    padding: 0 25px;
  }
}

/* guidance */
#Service {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fcfcfc;
}

#Service h3 {
  font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
  line-height: 1.35;
  margin: 0 0 25px 0;
  padding: 0 25px;
}

#Service h3 div span > br {
  display: none !important;
}

@media screen and (max-width: 433px) {
  #Service h3 div span > br {
    display: block !important;
  }
}

/* サービス紹介エリア（チラシ風） */
.flyer {
  margin: 0 auto;
  padding: 0 25px;
  box-sizing: border-box;
}

.service-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
}

.service-box {
  width: 50%;
  border: 2px solid #b00000;
  padding: 25px 10px 32px;
  box-sizing: border-box;
}

@media screen and (max-width: 474px) {
  .service-wrapper {
    flex-direction: column;
    gap: 15px;
  }
  .service-box {
    width: 100%;
  }
}

.service-title {
  text-align: center;
  font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
  font-weight: bold;
  color: #b00000;
  margin-bottom: 15px;
}

.service-list {
  font-size: clamp(0.938rem, 0.869rem + 0.34vw, 1.125rem);
  line-height: 1.8;
  color: #006400;
  font-weight: 500;
  text-align: center;
}

.service-list p {
  width: 100%;
}

.service-note {
  font-size: 11px;
  margin-top: 6px;
}

.center-message {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 15px;
  padding: 0 25px;
  color: #b00000;
  font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
  font-weight: bold;
  line-height: 1.45;
}

.center-message > span {
  display: inline-block;
}

.bottom-note {
  padding: 0 25px;
  text-align: center;
  font-size: clamp(0.938rem, 0.869rem + 0.34vw, 1.125rem);
  color: #006400;
  line-height: 1.45;
}

.bottom-note > span {
  display: inline-block;
}

/* Company */
#Company {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
}

#Company .company-list {
  width: 50vw;
  max-width: 1000px;
  margin: 0 auto;
  font-size: clamp(0.938rem, 0.925rem + 0.06vw, 1rem);
}

#Company .company-list li {
  border-bottom: 1px solid #00000034;
  margin: 0 0 15px 0;
  padding: 0 0 15px 0;
}

#Company .company-list dl {
  display: flex;
  align-items: center;
}

#Company .company-list dt {
  flex: 0 0 11em;
  text-align: justify;
  text-justify: inter-character;
  text-align-last: justify;
  padding: 0 2.5em;
  white-space: nowrap;
  font-weight: bold;
  line-height: 1.65;
}

#Company .company-list dd {
  flex: 1;
}

#Company .company-list dd div {
  display: block !important;
}

#Company .company-list dd > span {
  display: inline-block;
  padding-right: 1em;
}

#Company .company-list dd > span.link {
  padding-right: 0;
  color: #ff0000;
}

#Company .company-list dd > span.link a {
  color: #0077ff;
  text-decoration: underline;
}

#Company .company-list dd > span.link a:hover {
  color: #0044ff;
  text-decoration: underline;
}

#Company .company-list dd.kigyou > span {
  padding-right: 0;
}

@media screen and (max-width: 768px) {
  #Company .company-list {
    width: calc(100vw - 50px);
  }
  #Company .company-list dl {
    display: block;
    align-items: flex-start;
  }
  #Company .company-list dt {
    flex: 0 0 10em;
    text-align: initial;
    text-justify: inherit;
    text-align-last: initial;
    padding: 0;
  }
}

/* Contact */
#Contact {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fcfcfc;
}

.contact {
  width: 100%;
  border: solid 1px #000;
  background-color: #fff;
  margin-bottom: 45px;
  padding: 45px;
}

.contact h3 {
  margin-bottom: 25px;
  font-weight: 600;
}

.contact p,
.contact div {
  text-align: left;
}

.contact p {
  margin-bottom: 15px;
}

/* footer */
#footer small {
  position: fixed;
  display: block;
  top: 50%;
  transform: rotate(-90deg);
  text-transform: uppercase;
  z-index: 2;
  line-height: 1;
  letter-spacing: 0.1em;
}

#footer p {
  position: fixed;
  display: block;
  right: 0;
  top: 50%;
  transform: rotate(90deg);
  text-transform: uppercase;
  z-index: 2;
  line-height: 1;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 992px) {
  #footer {
    display: none;
  }
}

/* 共通パディング */
.p7vw {
  width: 100%;
  max-width: 100%;
  padding: 7vw 0 !important;
  animation: bgchange 40s ease infinite;
}

/* ポップアップ */
.popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  font-size: 14px;
  z-index: 1000;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

@media screen and (max-width: 576px) {
  .popup {
    bottom: 10px;
    left: 50%;
    right: initial;
    transform: translate(-50%, 20px);
    justify-content: center;
  }
}

.popup.show {
  opacity: 1;
}

.popup-inner {
  position: relative;
  width: auto;
  display: inline-block;
  padding: 15px 45px 15px 35px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.popup-inner > p {
  font-weight: bold;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.2rem);
  text-align: center;
}

.popup-inner > ul {
  font-weight: bold;
  font-size: clamp(0.85rem, 0.82rem + 0.15vw, 1rem);
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 576px) {
  .popup-inner {
    width: calc(100% - 4px);
    padding: 5px 0 15px !important;
    margin-bottom: 10px !important;
  }
  .popup-inner > p,
  .popup-inner > ul {
    text-align: center;
  }
  .popup-inner > p {
    line-height: 1.6;
  }
  .popup-inner > ul > li {
    line-height: 1.35;
  }
  .popup-inner > ul > li > a > img {
    max-width: 90% !important;
    margin-top: 4px !important;
    margin-bottom: 4px !important;
  }
  .popup-inner > ul > li:nth-child(2) > span {
    display: inline-block !important;
  }
}

.popup-inner button {
  position: absolute;
  top: 0;
  right: 10px;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

/* 汎用リンク装飾（company内で使用） */
.link a {
  color: #0077ff;
  text-decoration: underline;
}

.link a:hover {
  color: #0044ff;
  text-decoration: underline;
}

/* インラインブロック強制 */
.d-inline-block {
  display: inline-block !important;
}
