@charset "utf-8";

html { overflow: auto; }
body { overflow: hidden; }

html {
  overflow-y: scroll;
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  line-height: 1.618;

  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h1,h2,h3,h4,h5,h6,p,ul,ol {
  margin: 0;
}

h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  line-height: 1.41;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

p:not(:last-child),ul,ol {
  margin-bottom: 1em;
}

@media(max-width: 599px) {
  p br {
    display: none;
  }
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
  shape-margin: 0.75rem;
}


/* 文字色
======================================================================= */

body {
  color: #333;
}

/* リンク */

a,
a:hover {
  color: #1a0dab;
  text-decoration: underline;
}

a:hover, 
a:focus {
  text-decoration: none;
}

a:active {
  color: #1a0dab;
  text-decoration: none;
}

a:hover > img {
  opacity: .9;
}

/* =======================================================================
  メディアクエリによる表示／非表示
======================================================================= */

.pc { display: block; }
.sp { display: none; }

@media(max-width: 599px) {
  .pc { display: none; }
  .sp { display: block; }
}

/* =======================================================================
  レイアウト
======================================================================= */

/* 幅 */

.l-width {
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  max-width: 808px;
}

/* バック横幅いっぱい */

body .l-wide {
  margin-right: -100%;
  margin-left: -100%;
  padding-right: 100%;
  padding-left: 100%;
}

@media(max-width: 599px) {
  body .l-wide {
    margin-right: -20px;
    margin-left: -20px;
    padding-right: 20px;
    padding-left: 20px;
  }
}

/* 間隔 */

.l-margin {
  margin: 40px auto;
}

.l-padding {
  padding: 40px;
}

.l-padding-s {
  padding: 1.5em;
}

.l-padding > .l-margin:first-child {
  margin-top: 0;
}
.l-padding > .l-margin:last-child {
  margin-bottom: 0;
}

.l-inner {
  padding: 0 20px;
  margin: 0 auto;
}

@media screen and (min-width:768px) {
  .l-inner {
    max-width: 808px;
  }
}

@media(max-width: 599px) {
  .l-margin {
    margin: 20px auto;
  }
  .l-padding {
    padding: 20px;
  }
}

/* 画像の大きさ */

.l-max-width-90 { max-width: 90%; }
.l-max-width-80 { max-width: 80%; }
.l-max-width-70 { max-width: 70%; }
.l-max-width-60 { max-width: 60%; }
.l-max-width-50 { max-width: 50%; }
.l-max-width-40 { max-width: 40%; }
.l-max-width-30 { max-width: 30%; }
.l-max-width-20 { max-width: 20%; }
.l-max-width-10 { max-width: 10%; }

@media(max-width: 599px) {
  .l-sp-max-width-90 { max-width: 90%; }
  .l-sp-max-width-80 { max-width: 80%; }
  .l-sp-max-width-70 { max-width: 70%; }
  .l-sp-max-width-60 { max-width: 60%; }
  .l-sp-max-width-50 { max-width: 50%; }
  .l-sp-max-width-40 { max-width: 40%; }
  .l-sp-max-width-30 { max-width: 30%; }
  .l-sp-max-width-20 { max-width: 20%; }
  .l-sp-max-width-10 { max-width: 10%; }
}

/* ◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢  ▲ ここまでは基本触らない ▲  ◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢ */

/* =======================================================================
  画面100%の高さを確保
======================================================================= */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =======================================================================
  全体レイアウト（100vh対応）
======================================================================= */

main {
  /* 余った空間を埋める */
  flex: 1;
  
  /* 子要素の絶対配置の基準点にする */
  position: relative;
}

/* =======================================================================
  ローディング表示
======================================================================= */
/* ローディング画面 */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  /* フェードアウトのアニメーション */
  transition: opacity 1s ease, visibility 1s ease;
}

/* ローディング完了後に非表示 */
#loading.loaded {
  opacity: 0;
  visibility: hidden;
}

/* ローディング完了後にロゴが上に消える */
#loading.loaded .logo {
  animation: slideUpOut 1s ease-in-out forwards;
}

/* ロゴ */
#loading .logo {
  max-width: 300px;
  /* ふわっと表示 */
  animation: fadeIn 1.5s ease-in-out;
}

/* ロゴのアニメーション */
#loading .logo {
  max-width: 300px;
  /* ふわっと表示 */
  animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* 上にスライドしながらフェードアウト */
@keyframes slideUpOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-100px);
  }
}

/* 上にスライドしながらフェードアウト */
@keyframes slideUpOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-100px);
  }
}

/* メインコンテンツは最初非表示 */
body {
  margin: 0;
  font-family: sans-serif;
}

.content {
  padding: 50px;
  text-align: center;
  /* 最初は透明 */
  opacity: 0;
  transition: opacity 1s ease;
}

/* ローディング完了後にコンテンツを表示 */
body.loaded .content {
  opacity: 1;
}

@media (max-width: 599px) {
  #loading .logo {
    max-width: 200px;
  }
}
    
/* =======================================================================

  ヘッダー

======================================================================= */
.header {
  position: fixed;
  top: 0px;
  width: 100%;
}   

/* ロゴ */

.header__logo {
  width: 200px;
  margin: 0 auto;
  line-height: 0;
  text-align: center;
}

@media(max-width: 599px) {
  .header__logo {
    width: 190px;
  }
}

/* =======================================================================

  メイン

======================================================================= */

.main {
  padding-bottom: 40px;
}

.main > *:first-child {
  margin-top: 0;
}
.main > *:last-child {
  margin-bottom: 0;
}

@media(max-width: 599px) {
  .main {
    padding-bottom: 20px;
  }
}

/* =======================================================================

  コピー

======================================================================= */

.main h1 {
  font-family: "Noto Serif JP", serif;
  position: absolute;
  top: calc(50% - 55px);
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 808px;
  padding: 0 20px;
  text-align: center;
  font-size: 1.1em;
  font-weight: 500;
  line-height: 1.333;
}

@media(max-width: 599px) {
  .main h1 {
    top: calc(50% - 70px);
    font-size: .9em;
  }
}

/* =======================================================================

  会社ロゴ

======================================================================= */

.company-logos {
  position: absolute;
  top: calc(50% + 80px);
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 808px;
  padding: 0 20px;

  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.company-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: auto;
  text-decoration: none;
  transition: transform 0.3s;
}
.company-logos a:hover {
  transform: scale(1.05);
}

.company-logos a img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media(max-width: 599px) {
  .company-logos {
    top: calc(50% + 40px);
    gap: 10px;
  }
  .company-logos a img {
    max-height: 40px;
  }
}

/* =======================================================================
  SNSリンク
======================================================================= */

.social-links {
  /* フッター直前に配置 */
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.social-links img {
  width: 30px;
  height: 30px;
}

.social-links a:hover {
  background-color: #ccc;
  border-radius: 50%;
}

/* =======================================================================
  フッター
======================================================================= */

.footer {
  margin: 0;
  padding: 20px 0;
  font-size: .8em;
  text-align: center;
  background-color: #333;
  color: #fff;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: 1em;
}

@media(max-width: 599px) {
  .footer {
    padding: 10px 0;
  }
}

/* 

vwの値 = (目標のサイズ(px) / ビューポート幅(px)) × 100
（例）5.6vw = (21px ÷ 375px) × 100

ビューポート375pxの場合

18px = 4.80vw
19px = 5.07vw
24px = 5.33vw
21px = 5.60vw
22px = 5.87vw
23px = 6.13vw
24px = 6.40vw
25px = 6.67vw
26px = 6.93vw
27px = 7.20vw
28px = 7.47vw
29px = 7.73vw
30px = 8.00vw
31px = 8.27vw
32px = 8.53vw
33px = 8.80vw
34px = 9.07vw
35px = 9.33vw
36px = 9.60vw
37px = 9.87vw
38px = 10.13vw
39px = 10.40vw
40px = 10.67vw

*/

/* 
 * LP Template
 * © Motokazu Yoshida Design
 */