/*
    Template: swell
    Theme Name: NiraiKanai
*/

@charset "UTF-8";

body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* === Splash 基本レイアウト ============================== */
#splash-fv {
  position: fixed;
  inset: 0;
  z-index: 9999;                   /* すべての要素より前面 */
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #ffffff;             /* 読み込み中の背景色 */
  transition: opacity .4s ease;
}

/* 3 層スライド用レイヤー */
.splash-layer {
  position: absolute;
  inset: 0;
  transform: translateY(100%);
  animation: slideUp 1.0s cubic-bezier(.55,.08,.18,.99) forwards;
}

.layer1 { background: #00A8D8; animation-delay: .0s; }  /* メインカラー */
.layer2 { background: #66CBE7; animation-delay: .1s; }  /* 明るめ */
.layer3 { background: #E0F5FC; animation-delay: .2s; }  /* ごく淡い */

/* ロゴフェード */
.splash-logo {
  position: relative;
  z-index: 10;
  opacity: 0;
  animation: logoFade 1.0s ease-out 1.0s forwards;
}

.splash-logo img {
  width: min(40vw, 260px);
  height: auto;
}

/* --- アニメーション定義 ------------------------------ */
@keyframes slideUp {
  0%   { transform: translateY(100%); }
  60%  { transform: translateY(-10%); }
  100% { transform: translateY(-100%); }
}

@keyframes logoFade {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* スプラッシュ終了時のフェードアウト */
#splash-fv.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* --- contact form 7 ------------------------------ */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea{
  display: block;
  width: 100%;
  height: 45px;
  margin-bottom: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 3px;
  background-color: #eff1f5;
  box-shadow: none;
  color: #5c6b80;
  font-size: 1em;
  vertical-align: middle;
  line-height: 45px;
}
textarea {
  max-width: 100%;
  min-height: 120px;
  line-height: 1.5em;
  padding: 0.8em;
  overflow: auto;
}
@media(max-width:599px) {
  .inquiry td,
  .inquiry th {
    display: block !important;
    width: 100% !important;
    border-top: none !important;
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
  }
  .inquiry tr:first-child th {
    border-top: 1px solid #ddd !important;
  }
}
.inquiry th {
  text-align: left;
  font-size: 14px;
  color: #444;
  padding-right: 5px;
  width: 30%;
  background: #f8f8f8;
  border: solid 1px #ddd;
}
.inquiry td {
  font-size: 14px;
  border: solid 1px #ddd;
}
.req { /* 必須 */
  font-size: 12px;
  padding: 5px;
  background: #e44141;
  color: #fff;
  border-radius: 2px;
  margin-right: 5px;
  position: relative;
  bottom: 1px;
}
.any { /* 任意 */
  font-size: 12px;
  padding: 5px;
  background: #f09f4d;
  color: #fff;
  border-radius: 2px;
  margin-right: 5px;
  position: relative;
  bottom: 1px;
}
.verticallist .wpcf7-list-item {
  display: block;
}
th {
  font-weight: 700;
  text-transform: uppercase;
  padding: 13px;
}
td {
  border-top: 1px solid #ededed;
  padding: 12px;
}
input,
select,
textarea {
  letter-spacing: 1px;
  margin: 0;
  max-width: 100%;
  resize: none;
}
.text-center{
  text-align:center;
}
.wpcf7-submit {
  display: block;
  border: none;
  width: 350px;
  margin: 25px auto 0;
  padding: 15px;
  cursor: pointer;
  font-size: 18px;
  background-color: #333;
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: var(--swl-btn_shadow);
  transition: box-shadow .25s;
}
.wpcf7-submit:hover {
  box-shadow: 0 4px 12px rgb(0 0 0 / 10%), 0 12px 24px -12px rgb(0 0 0 / 20%);
  opacity: 1;
}