@charset "utf-8";

/* ==========================================================================
   1. 基本設定
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a { text-decoration: none; }

img {
    vertical-align: bottom;
    border: none;
    width: 100%;
    z-index: 2;
}

html { scroll-behavior: smooth; }

body {
    margin: 0 auto;
    text-align: center;
    font-family: Verdana, "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
}

/* ==========================================================================
   2. レイアウト
   ========================================================================== */
#wrapper, .main {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    background-color: #eddc92;
}

#wrapper { overflow: hidden; }

.rela {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.other_page {
    background: url(bg.jpg) repeat-y;
    background-size: 100% auto;
    padding: 20px 0;
}

.text_area {
    width: 90%;
    margin: 10px auto;
    background: rgba(255,255,255,0.7);
    padding: 15px;
    font-size: 0.9rem;
}

.text_area h4 {
    font-size: 1.4rem;
    text-align: center;
}

/* ==========================================================================
   3. ヘッダー・固定要素
   ========================================================================== */
.fixed-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 900px;
    z-index: 9999;
}

.btn-header {
    position: absolute;
    width: 48%;
    left: 51%;
    top: 9.5%;
    z-index: 99;
}

.bottom_link {
    width: 30%;
    text-align: center;
    background: #9D5500;
    border: solid 1px #fff;
    color: #ffffff;
    padding: 10px;
    font-weight: bold;
    margin: 20px auto 10px;
}

/* ==========================================================================
   4. フォーム設定
   ========================================================================== */
#form_body {
    background: url(bg.jpg) repeat-y;
    background-size: 100% auto;
    padding-bottom: 30px;
}

#form_top {
    max-width: 400px;
    width: 60%;
    margin: 0 auto;
    padding: 10px 0;
}

#form_area {
    width: 95%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
    background: #FFF;
}

.form_contents {
    text-align: center;
    padding: 15px 0;
    font-size: 4.5vw;
}

.form_contents p {
    font-size: 4.5vw;
    font-weight: bold;
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.form_contents select { font-size: 5.5vw; }

.form_contents input[type=radio] { display: none; }

.form_contents .label {
    border: 1px solid #aaa;
    padding: 5px 15px;
    line-height: 180%;
    border-radius: 10px;
    font-weight: bold;
}

.form_contents input[type="radio"]:checked + label.menlabel { background: #006DD9; color: #ffffff; }
.form_contents input[type="radio"]:checked + label.womenlabel { background: #DB377F; color: #ffffff; }

.form_contents input[type="text"] {
    width: 80%;
    font-size: 5.5vw;
    padding: 5px;
}

.form_contents input[type="image"] {
    max-width: 900px;
    width: 82.8%;
    margin: 0 auto;
}

p.answer { font-size: 1.6rem; }

/* PC用フォームサイズ */
@media screen and (min-width: 900px) {
    .form_contents, .form_contents p { font-size: 34.2px; }
    .form_contents select, .form_contents input[type="text"] { font-size: 41.8px; }
}

/* ==========================================================================
   5. フッター設定
   ========================================================================== */
footer {
    color: #fff;
    background-color: #e269ae;
    padding: 10px;
    font-size: 14px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

@media screen and (max-width: 550px) {
    footer { font-size: 3vw; }
}

/* フッター内メニュー画像上のリンク */
.footer-menu {
    position: absolute;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    list-style: none;
    z-index: 20;
}

.footer-menu li { margin-bottom: 3%; }

.footer-menu li a {
    display: block;
    background-color: #fff;
    color: #cb8157;
    opacity: 0.7;
    font-size: 4vw;
    padding: 3% 0;
    font-weight: bold;
    border: 0.5vw solid #cb8157;
    text-align: center;
}

@media screen and (min-width: 900px) {
    .footer-menu li a {
        font-size: 32px;
        border-width: 3px;
        padding: 20px 0;
    }
}

.supports{
    max-width: 830px;
    width: 100%;
    margin: 0 auto;
	
}

.supports img{
	padding:5px 10px;
	opacity:0.9;
}

/* ==========================================================================
   6. アニメーション・パーツ配置
   ========================================================================== */
.scroll-in { animation-play-state: paused !important; }
.scroll-in.go { animation-play-state: running !important; }

/* パーツ固定配置 */
.title1 { position: absolute; top: 0; left: 0; width: 100%; z-index: 10; }
.title1-2 { position: absolute; top: 23%; left: 6%; width: 95%; z-index: 10; }
.title2 { position: absolute; top: 43%; left: 3%; width: 98%; z-index: 9; }
.kanteishi { position: absolute; top: 1.5%; left: 0; width: 100%; z-index: 11; }
.review { position: absolute; top: 25%; left: 8%; width: 85%; z-index: 9; }
.btn1 { position: absolute; width: 86%; left: 7.5%; bottom: 0; z-index: 99; }
.btn2 { position: absolute; width: 60%; left: 20.2%; bottom: 40%; z-index: 99; opacity: 0.9; }

/* スクロール出現アニメーション */
.back02, .step1, .step2, .step3 {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
}

.back02 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 100%;
    z-index: 10;
}

.flow { z-index: 99; }
.step1 { top: 21.5%; left: 3.5%; width: 90%; z-index: 99; }
.step2 { top: 45.5%; left: 3.5%; width: 90%; z-index: 99; transition-delay: 0.2s; }
.step3 { top: 70%; left: 3.5%; width: 90%; z-index: 99; transition-delay: 0.4s; }

body.is-scrolled .back02 { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
body.is-scrolled .step1,
body.is-scrolled .step2,
body.is-scrolled .step3 { opacity: 1; visibility: visible; transform: translateY(0); }

/* 金の粉 */
.gold-dust {
    position: fixed;
    top: -10px;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #fffbe3, #ffd700);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    z-index: 9;
    animation: fall linear infinite;
}

@keyframes fall {
    0% { opacity: 0; transform: translateY(0) translateX(0) rotate(0deg); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(100vh) translateX(20px) rotate(360deg); }
}

/* 各種エフェクト */
.anim-fade-in { animation: fadeIn 1.5s forwards; opacity: 0; }
@keyframes fadeIn { to { opacity: 1; } }

.anim-contrast-in { animation: contrastIn 1.5s forwards; filter: contrast(2) brightness(0.5); opacity: 0; }
@keyframes contrastIn { to { filter: contrast(1) brightness(1); opacity: 1; } }

.anim-pulse { animation: pulse 1.5s infinite; }
@keyframes pulse {
    0% { transform: scale(1); }
    70% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.anim-ken-burns { animation: kenBurns 1.5s ease-out alternate; }
@keyframes kenBurns {
    0% { transform: scale(0.9); }
    100% { transform: scale(1); }
}
