input[type="submit"] {
    -webkit-appearance: none;
}
html{
    scroll-behavior: smooth;
}
body {
    margin: 0 auto;
    text-align: center;
    font-family: Verdana, "游ゴシック", YuGothic, "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", sans-serif;
    background-color:#ffffff;
    max-width: 768px;
    width: 100%;
    font-size: 15px;
}
a{
    display: block;
}
#wrapper {
    overflow: hidden;
    background: #fff;
    width: 100%;
    max-width: 640px;
    margin: auto;
    padding: 0;
}
img {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    display: block;
}
.fixed{
    /*position: fixed;
    z-index: 10000;*/
}

.btn{
    position: relative;
}
.btn_inner{
display: block;
    justify-content: center;
    position: absolute;
    top: 58%;
    left: 8%;
    width: 91%;
    height: auto;
}
.btn_inner_2{
    display: block;
    justify-content: center;
        position: absolute;
        top: 40%;
        left: 8%;

        width: 91%;
        height: auto;
    }

.btn_inner a{
    flex: auto;
    width: 50%;
    height: auto;
margin-right: 10px;
}
.btn_inner_2 a{
    flex: auto;
    width: 59%;
    height: auto;
    padding: 1%;
margin-right: 10px;
}
.btn_inner a:hover{
    opacity: 0.7;
}
.bottom_btn{
    position: relative;
}
.btn_inner_wrapper{
    position: fixed;
    z-index: 999999;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    max-width: 640px;
    height: 100px;
}
.btn_inner_wrapper .btn_inner{
    display: flex;
    justify-content: center;
    position: absolute;
    top: auto;
    left: auto;
    bottom: -50%;
    right: 0;
    z-index: 999;
    width: 100%;
    height: auto;
}
.relative{
    position: relative;
}
.relative {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}
.absolute{
    position: absolute;
}
.flex{
    display: flex;
}
.f_a_end{
    align-items: end;
}
.header_column{
    flex-direction: column;
}
.white_back{
    background: #fff;
}
.header_logo a{
    max-width: 300px;
    width: 70%;
}
.header_column{
    width: calc(55% - 5px);
}
.header_tel_btn{
    width: calc(45% - 5px);
}
.header_access_btn a{
    max-width: 250px;
    width: 50%;
    margin-right: 5px;
    margin-top: 2px;
}
.header_inner{
    max-width: 768px;
}
main{
    /*padding-top: 19%;*/
}
.header_inner_inner{
    padding: 5px 0px;
    justify-content: center;
}
.contact_wrapper a{
    margin: 3px 5px;
}
.t_left{
    text-align: left;
}
.question_wrapper{
    padding:1px 10px 30px;
    background-color: #fbffc9;
}
.question_wrapper h2{
    display: block;
    margin: 30px auto 10px;
    padding: 10px 0;
    border-top: 5px rgb(32, 118, 248) solid;
    border-bottom: 5px rgb(32, 118, 248) solid;
}
.question_wrapper h2 img{
    height: 55px;
    width: auto;
    margin: 0 auto;
}
.question_title,.question_text .flex{
    font-weight: bold;
}
.question_title {
    font-size: 1.3em;
    border: 1px solid;
    border-radius: 8px;
    padding: 0 30px;
    background-color: #fff;
}
.question_detail {
    width: 86%;
    margin: 30px 7%;
}
.question_icon {
    background: rgb(69, 149, 240);
    color: #ffffff;
    display: block;
    border-radius: 50%;
    padding: 5px 12.5px 10px;
    text-align: center;
    margin-right: 1em;
    margin-top: auto;
    margin-bottom: auto;
}
.question_arrow {
    display: block;
    text-align: center;
    font-weight: bold;
    transform: rotate(90deg);
    margin-left: auto;
    width: 3em;
    height: 1.5em;
    margin-top: auto;
    margin-bottom: auto;
}
.question_text .question_icon{
    background: rgb(255, 0, 0);
}
.question_text .t_left{
    font-size: 1.2em;
}
.question_text {
    padding: 15px 30px;
    transform: scaleY(0);
    transform-origin: top;
    display: none;
}
.active .question_text{
    animation:question .3s forwards;
    display: block;
}
@keyframes question{
    0%{
        transform: scaleY(0);
    }
    100%{
        transform: scaleY(1);
    }
}

.active_none .question_text{
    animation:question_end .3s forwards;
}
@keyframes question_end{
    0%{
        transform: scaleY(1);
    }
    80%{
        transform: scaleY(0);
    }
    100%{
        transform: scaleY(0);
    }
}

.access_wrapper{
    background: #ffecb6;
}
.map{
    height: 30vh;
    margin-top: 20px;
}
.access_inner img{
    width: 300px;
}
.font_bold{
    font-weight: bold;
}
.font_14{
    font-size: 1.3em;
}
.access_inner{
    width: 85%;
    margin: 0 auto;
}
.footer{
    background: rgb(56 89 139);
    padding: 5px 0;
}
.more_none1,.more1,.more_none2,.more2{
    margin: 0;
    color: #ffa500;
    display: block;
}
.t_right{
    text-align: right;
}

.more_text1,.more_text2{
    transform: scaleY(0);
    transform-origin: top;
    display: none;
    border-top: 1px #a85200 dashed;
    margin-top: 10px;
}
.more.more_text1,.more.more_text2{
    animation:question .3s forwards;
    display: block;
}
.more_none.more_text1,.more_none.more_text2{
    animation:question_end .3s forwards;
}
.more_dis{
    display: none;
}
.cursor{
    cursor: pointer;
}
.iranaimono{
    width: 80%;
    margin: 20px auto 0px;
}

.footer_text{
    font-size: 1.1em;
}
.footer p{
    color: #ffffff;
}

.line_title{
    font-size: 23px;
    width: 80%;
    margin: 50px auto 30px;
    background: #2cb214;
    padding: 10px;
    color: white;
    font-weight: bold;
    border-radius: 7px;
    border: white solid 4px;
}
.line_text_link{
    color: #2cb214;
    font-size: 25px;
    font-weight: bold;
    margin: 20px auto 10px;

}
.line_arrow{
    color: #2cb214;
    font-size: 18px;
    font-weight: bold;
    margin: 10px auto 10px;
}
.line_qr{
    max-width: 300px;
    min-width: 200px;
    width: 50%;
    margin: 0 auto;
}
.floating {
    position: fixed; /* バナーを追従させる */
    z-index: 99999; /* 他の要素の下に隠れないように */
    bottom: 0; /* バナーの上下の位置 */
    max-width: 768px;
}

@media (max-width:600px) {
    .line_arrow {
        margin: 5px auto 5px;
    }
    .line_title {
        width: 95%;
        font-size: 15px;
        margin: 35px auto 15px;
        padding: 4px;
    }
    .line_text_link {
        margin: 20px auto 5px;
    }
    .line_text_link {
        font-size: 19px;
    }
    .footer_text {
        font-size: 1em;
    }
    .question_wrapper h2 {
        margin: 20px auto 10px;
    }
    .access_inner {
        width: 95%;
    }
    .font_14 {
        font-size: 1.1em;
    }
    .access_inner img {
        width: 200px;
    }
    .question_wrapper h2 img {
        height: 35px;
    }
    .question_title {
        font-size: 1em;
        padding: 0px 5px 0 5px;
    }
    .question_detail {
        width: 100%;
        margin: 15px 0%;
    }
    .question_text .t_left.flex {
        font-size: 1em;
    }
    .question_text {
        padding: 10px 10px;
    }
    p{
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .question_text .t_left {
        font-size: 1em;
    }
    .more_text.font_14{
        font-size: 1em;
    }
    .more_text.font_14 p {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .question_icon {
        padding: 3px 7.5px 7px;
    }

}
/* ===== スプラッシュ画面（トラック演出） ===== */
#splash {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: linear-gradient(160deg, #0e1e3a 0%, #1a3464 55%, #0e1e3a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: splashFadeOut 0.7s ease-in 1.9s forwards;
}
#splash.hidden { display: none; }

#splash::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 60% at 50% 42%,
    rgba(120,88,24,0.22) 0%, transparent 70%);
  pointer-events: none;
}

/* 道路ライン */
.splash-road {
  position: absolute;
  bottom: 7%;
  left: 0; right: 0;
  height: 4px;
  background: rgba(255,255,255,0.1);
}
.splash-road::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg,
    transparent 0, transparent 30px,
    rgba(255,255,255,0.3) 30px, rgba(255,255,255,0.3) 55px);
  animation: roadScroll 0.55s linear infinite;
}

/* トラック — 画面下部を走る */
.splash-truck-wrap {
  position: absolute;
  bottom: 9%;
  left: 50%;
  width: min(400px, 88vw);
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.7));
  animation: truckDrive 2.8s ease 0.1s both;
}
.splash-truck-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* スピードライン（トラック後方） */
.splash-truck-wrap::before {
  content: '';
  position: absolute;
  top: 20%; right: 100%;
  width: 90vw; height: 65%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.03) 50%,
    rgba(255,255,255,0.10) 80%,
    rgba(255,255,255,0.05) 100%);
  clip-path: polygon(0 25%, 100% 5%, 100% 95%, 0 75%);
}

/* ホイールスポーク回転 */
.splash-wheel-spoke {
  animation: wheelSpin 0.45s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

/* テキストエリア */
.splash-inner {
  position: relative;
  text-align: center;
  padding: 0 2rem;
  width: 100%;
  margin-bottom: 8vh;
}

.splash-tv {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.1rem, 4.8vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  color: #c9a84c;
  margin: 0 0 0.65rem;
  opacity: 1;
}

.splash-rule {
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9a84c 40%, #c9a84c 60%, transparent);
  margin: 0 auto 1rem;
}

.splash-main {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2rem, 9vw, 3.2rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: #fff;
  margin: 0 0 0.5rem;
  opacity: 1;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}

.splash-brand {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.3rem, 5.5vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #c9a84c;
  margin: 0 0 1.3rem;
  opacity: 1;
}

.splash-cta {
  display: inline-block;
  font-size: clamp(1.05rem, 4.8vw, 1.4rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
  border-radius: 5px;
  padding: 0.65em 1.8em;
  box-shadow: 0 3px 18px rgba(192,57,43,0.55), 0 0 0 2px rgba(255,255,255,0.12);
  opacity: 1;
}

/* 左外から入る → 中央停車 → 走り去る */
@keyframes truckDrive {
  0%   { transform: translateX(calc(-50% - 120vw)); animation-timing-function: cubic-bezier(0.25,0,0.4,1); }
  30%  { transform: translateX(-50%); animation-timing-function: ease-out; }
  32%  { transform: translateX(-50%); animation-timing-function: linear; }
  68%  { transform: translateX(-50%); animation-timing-function: cubic-bezier(0.6,0,0.75,1); }
  100% { transform: translateX(calc(-50% + 130vw)); }
}
@keyframes wheelSpin {
  to { transform: rotate(360deg); }
}
@keyframes roadScroll {
  to { transform: translateX(-85px); }
}
@keyframes ruleExpand {
  to { width: 70px; }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes splashFadeOut {
  to { opacity: 0; visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  #splash { animation: none; }
  .splash-truck-wrap { display: none; }
  .splash-road { display: none; }
  .splash-tv, .splash-main, .splash-brand, .splash-cta { animation: none; opacity: 1; transform: none; }
  .splash-rule { animation: none; width: 70px; }
}
