/*
Theme Name: Topone
Version: 1.0
*/

/* 
  Common
------------------------------ */

/* Reset and Base Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  background-color: white;
  color: #000;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.1em;
}
br.sp {
    display: none;
}
@media (max-width: 767px) {
    br.sp {
        display: inline;
    }
} */

/* 全体の設定 */
body, html {
    height: 100%;
    margin: 0;
    font-family: 'Montserrat', sans-serif; /* クールでモダンなフォント */
    background-color: #F4F7F6; /* ごく淡いグレーの背景色 */
    color: #1A1A1A; /* 真っ黒に近いダークグレーのテキスト */
    display: flex;
    justify-content: center; /* 左右中央揃え */
    align-items: center; /* 上下中央揃え */
    letter-spacing: 0.1em;
}

/* メインコンテナ */
.main-container {
    text-align: center;
    max-width: 100%; /* スマホ表示時に端が詰まりすぎないように */
    margin: 0 32px;
}

/* ロゴ */
.logo {
    width: 320px;
    height: auto;
    margin-bottom: 2rem; /* 会社名との間隔 */
}

.comingsoon {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 2rem; /* 会社名との間隔 */
    color: #909099;
    padding-left: 1em;
}

/* 会社名 */
.company-name {
    font-size: 1rem; /* フォントサイズ */
    font-weight: 700; /* 太字 */
    letter-spacing: 0.1em; /* 文字間を少し広げて洗練された印象に */
    margin: 0 0 0.2rem 0; /* 下に広めの間隔を空ける */
    text-transform: uppercase; /* 大文字に変換（任意） */
}

/* 連絡先情報エリア */
.contact-info {
    font-size: 0.95rem;
    color: #4A4A4A; /* 会社名より少しトーンを落とした色 */
}

/* 住所とメールの各行 */
.contact-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.2rem; /* 各行の間隔 */
}

.contact-item p {
    margin: 0;
}

.contact-item .mail {
    height: 22px;
}

/* アイコン (SVG) */
.icon {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 4px; /* テキストとの間隔 */
    fill: currentColor; /* 親要素の文字色を引き継ぐ */
    opacity: 0.8; /* 少しだけ薄くして落ち着いた印象に */
}

/* メールリンク */
.contact-item a {
    color: inherit; /* 親要素の色を引き継ぐ */
    text-decoration: none; /* 下線を消す */
    transition: opacity 0.3s ease; /* ホバー時の動きを滑らかに */
}

.contact-item a:hover {
    opacity: 0.6; /* カーソルを乗せた時に少し薄くする */
}

br.sp {
    display: none;
}
@media (max-width: 559px) {
    .contact-item {
        flex-direction: column;
    }
    .company-name{
        font-size: 0.9rem; /* 会社名を少し小さく */
        margin: 0 0 1rem 0;
    }
    .contact-info {
        font-size: 0.85rem; /* 連絡先を少し小さく */
    }
    .logo {
        width: 70%;
    }
    br.sp {
        display: inline;
    }
}

/* Shutter */

.shutter{
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background-color:#1e1e1e;
  z-index:9999;
}
/* before pseudo: no animation by default */
.shutter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  background-color: #fff;
  width: 0;
  height: 1px;
}

/* Animation only when .animate クラスが付いている場合に実行する */
.shutter.animate {
  -webkit-animation: byeShutter 2.6s forwards;
          animation: byeShutter 2.6s forwards;
}
.shutter.animate::before {
  -webkit-animation: shutterOpen 2.6s forwards;
          animation: shutterOpen 2.6s forwards;
}

/* コンテンツのアニメーションもクラスで制御 */
.content.animate {
  -webkit-animation: contentScale 2.6s forwards;
          animation: contentScale 2.6s forwards;
}
@keyframes byeShutter {
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
    z-index: -1;
  }
}
@keyframes shutterOpen {
  0% {
    width: 0;
    height: 1px;
  }
  50% {
    width: 100%;
    height: 1px;
  }
  90% {
    width: 100%;
    height: 100%;
  }
  100% {
    width: 100%;
    height: 100%;
  }
}
@keyframes contentScale {
  70% {
    -webkit-transform: perspective(800px) scale(0.9) rotateX(15deg);
            transform: perspective(800px) scale(0.9) rotateX(15deg);
  }
  100% {
    -webkit-transform: perspective(800px) scale(1) rotateX(0);
            transform: perspective(800px) scale(1) rotateX(0);
  }
}

/* Password */

.pwd-gate{
  position: fixed;
  inset: 0;
  background: rgba(30,30,30,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.pwd-box{
  background: #fff;
  padding: 28px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  max-width: 360px;
  width: calc(100% - 48px);
  text-align: center;
}
.pwd-box h2{ margin-bottom: 12px; font-size: 18px; color: #222; }
.pwd-box input[type="password"]{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 16px;
}
.pwd-actions button{
  background: #111;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}
.pwd-error{ color: #e44; margin-top: 8px; font-size: 14px; }
