@charset "utf-8";

html {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: calc(100vw / 37.5);
}
body {
    margin: 0;
    padding: 0;
    height: 100%;
    color: #000;
    overflow: hidden;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
:root {
    --content-width: 420px;
}
.side-bg {
    position: fixed;
    top: 0;
    bottom: 0;
    width: calc((100vw - var(--content-width)) / 2);
}
.side-bg.left {
    left: 0;
    position: relative;
}
.side-bg.left img {
    position: absolute;
    right: 40px;
    top: 0;
    z-index: 10;
    margin-top: 130px;
}
.side-bg.right {
    right: 0;
}
.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: calc((100vw - var(--content-width)) / 2);
    height: 100vh;
    padding: 14rem 3rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: start;
    z-index: 10;
    pointer-events: none;
}
.side-menu a {
    color: #2e98cd;
    text-decoration: none;
    font-weight: bold;
    pointer-events: auto;
    font-size: 13px;
}
.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: min(1.6vw, 18px);
    font-weight: 800;
    margin-bottom: 6rem;
}
.side-menu div.block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 200px;
}
.side-menu div.block .title {
    width: 100%;
}
.side-menu div.block .title img {
    width: 180px;
    margin: 0 auto;
    margin-bottom: 18px;
    display: block;
}
.side-menu div.side-qr {
    display: flex;
    margin-bottom: 12px;
}
.side-menu div.side-qr div {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.6rem;
}
.side-menu div.side-qr p {
    font-weight: 600;
    font-size: 14px;
    margin-right: 12px;
    width: 94px;
}
.side-menu div.sns-icon {
    display: flex;
}
.side-menu div.sns-icon div {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.6rem;
}
.side-menu div.sns-icon p {
    font-weight: 600;
    font-size: 14px;
    margin-right: 12px;
    width: 94px;
}
.side-menu div.sns-icon div img {
    margin-bottom: .5rem;
}
.side-menu div p.title {
    font-size: min(2.2vw, 20px);
    font-weight: 700;
}
.side-menu li + li {
    margin-top: 1.6rem;
}
.content-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: auto;
    background: #e8e3df;
    background-image: url(../images/bg.png);
    background-repeat: repeat;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    z-index: 1;
}
.content-wrap::-webkit-scrollbar {
    display: none;
}
.content-inner {
    width: var(--content-width);
    margin: 0 auto;
    background: #bb0f20;
    box-shadow: 0 0 12px rgba(0,0,0,0.2);
    padding-bottom: 70px;
}
.main-visual img {
    display: block;
    width: 100%;
    height: auto;
}
.mainvisual-button-wrap {
    background: #f1f1f1;
    padding: 8% 10%;
    border-top: 1px solid #D5D5D5;
}


/* ======================================================
    common
====================================================== */
.img {
    width: 100%;
    height: auto;
}
.img-pc {
    display: none;
}
.pdl_0 {
    padding-left: 0 !important;
}

.pdr_0 {
    padding-right: 0 !important;
}
#footer{
    margin-top: 0!important;
    border: none!important;
}
.sp-none {
    display: none;
}
.pc-none {
    display: block;
}
a {
    text-decoration: none;
    color: #0096d6;
    transition: .6s;
}
a:hover {
    opacity: .6;
    transition: .6s;
}

section h2 img {
    margin: 0 auto;
    display: block;
    width: 80%;
}

section h3 {
    margin-top: 50px;
    margin-bottom: 24px;
}

section.lead-txt {
    padding: min(10vw, 48px) min(4vw, 16px);
    font-size: 16px;
    line-height: 1.8;
    padding-bottom: 0;
}

/* ======================================================
    FV
====================================================== */

.side-menu {
    display: none;
}

/* ======================================================
    サービス・アプリ紹介
====================================================== */

.main-visual .matomete {
    padding: 40px 16px 0;
}

.main-visual .app-intro {
    padding: 40px 0;
}

.app-dl {
    width: 90%;
    margin: 0 auto;
    display: flex;
    background: #fff;
    border-radius: 32px;
    padding: 20px 0;
    margin-top: -40px;
    position: relative;
}

.app-dl div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
}

.app-dl div:first-child {
    border-right: 1px solid #bb0f20;
}

.app-dl div p {
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 16px;
}

.app-dl div img.dl-icon {
    width: 50%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.clear {
    max-width: 420px;
}

.clear img {
    display: block;
    width: 100%;
    height: auto;
}

/* ======================================================
    キャンペーン参加方法
====================================================== */

section.htj {
    padding: 40px 32px 0;
}

section.htj .title img {
    width: 173px;
    display: block;
    margin: 0 auto;
}

section.htj .title p {
    color: #fff;
    text-align: center;
    margin-top: 24px;
    font-size: 16px;
    margin-bottom: 60px;
}

section.htj .step {
    background: #fff;
    border-radius: 36px;
    margin-bottom: 80px;
    padding: 90px 40px 40px;
    position: relative;
}

section.htj .last {
    margin-bottom: 40px;
}

section.htj .step p {
    font-size: 17px;
    font-weight: 600;
}

section.htj .step small {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    display: block;
    margin-bottom: 24px;
}

section.htj .step img.screen {
    width: min(60vw, 260px);
    display: block;
    margin: 20px auto 12px;
}

section.htj .step img.button {
    width: min(50vw, 210px);
    display: block;
    margin: 0 auto;
}

section.htj .step img.button2 {
    width: min(54vw, 240px);
    display: block;
    margin: 0 auto;
}

section.htj .step img.label {
    width: 117px;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

section.htj .step img.post {
    width: min(60vw, 260px);
    display: block;
    margin: 20px auto;
}

section.htj .complete img {
    width: 280px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* ======================================================
おみくじ
====================================================== */

section.omikuji {
    background: #fae776;
    background-image: url(../images/bg.png);
    background-repeat: repeat;
    padding: 70px 32px 40px;
    position: relative;
}

section.omikuji img.triangle-down {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height:auto;
}

section.omikuji .title img {
    width: 100%;
    display: block;
    margin: 0 auto;
    margin-bottom: 30px;
}

section.omikuji .omikuji-area {
    height: min(162vw, 690px);
    background: url(../images/omikuji-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: min(20.6vw, 90px) min(8vw, 40px) 16px;
    display: flex;
    flex-direction: column;
    border-radius: 50px;
}

section.omikuji .omikuji-area p {
    font-size: min(3.8vw, 16px);
    font-weight: 600;
    line-height: 1.6;
}

section.omikuji .omikuji-area p.main {
    font-size: min(4vw, 17px);
    font-weight: 900;
    color: #bb0f20;
    text-align: center;
    margin-bottom: 20px;
}

section.omikuji .omikuji-area img.icon-1 {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: min(28vw, 117px);
}

section.omikuji .omikuji-area img.icon-2 {
    position: absolute;
    top: -16px;
    left: 16px;
    width: min(10vw, 48px);
}

section.omikuji .omikuji-area img.icon-3 {
    position: absolute;
    top: 274px;
    right: 0px;
    width: min(10vw, 52px);
}

section.omikuji .omikuji-area a {
    margin-top: auto;
}

section.omikuji .omikuji-area a:hover {
    opacity: .8;
}

section.omikuji .omikuji-area img.button {
    width: min(61vw, 260px);
    display: block;
    margin: 0 auto;
    height: auto;
}

.benefit img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    width: 280px;
    margin-top: 40px;
}

#omikuji-overlay {
  position: fixed; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.4);
  z-index: 9999;
}

#omikuji-overlay.is-active { display: flex; animation: overlayFade .18s ease-out; }

.omikuji-dialog {
  background: #fff; padding: 24px 28px; border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,.2);
  text-align: center; width: min(88vw, 420px);
}

.omikuji-illust {
  width: 120px; height: auto; display: block; margin: 4px auto 12px;
  animation: omikujiShake 0.9s ease-in-out infinite;
  transform-origin: 50% 90%;
}

.omikuji-msg { margin: 0; font-weight: 600; }

@keyframes overlayFade { from { opacity: 0 } to { opacity: 1 } }

@keyframes omikujiShake {
  0%   { transform: rotate(0deg) translateY(0) }
  20%  { transform: rotate(-6deg) translateY(-2px) }
  40%  { transform: rotate(6deg) translateY(0) }
  60%  { transform: rotate(-4deg) translateY(-1px) }
  80%  { transform: rotate(4deg) translateY(0) }
  100% { transform: rotate(0deg) translateY(0) }
}

@media (prefers-reduced-motion: reduce) {
  .omikuji-illust { animation: none }
  #omikuji-overlay.is-active { animation: none }
}

small.note {
    margin-top: 10px;
    color: #fff;
}

/* ======================================================
応募要項
====================================================== */

section.overview {
    padding-top: 40px;
    background: #fff;
}

section.overview .title {
    width: 52%;
    margin: 0 auto;
    display: block;
    height: auto;
}

.texts {
    line-height: 1.6;
    margin: 0 auto;
    padding: 14px 14px 40px 14px;
    max-width: 500px;
}

.texts ol,
.texts ul {
    margin: 0;
    padding: 0
}

.texts p,
.texts ul,
.texts ol,
.texts dl,
.texts table,
.texts pre,
.texts blockquote,
.texts img {
    margin-top: 6px;
    font-size: min(1.4rem, 14px);
}

.texts h2,
.texts h3,
.texts h4,
.texts h5,
.texts h6 {
    margin: 1.6rem 0 0;
    font-weight: 700
}

.texts h2 {
    font-size: 16px;
    line-height: 1.5;
    background: #F2EFEE;
    border-radius: .7rem;
    border-left: 6px solid #1c5571;
    padding: 1.2rem 1rem;
}

.texts h3 {
    font-size: 15px;
    line-height: 1.5;
    color: #000;
}

.texts h4::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 1rem;
    border-radius: 3px;
    background: #1c5571;
    margin-right: 0.4rem;
    vertical-align: -2px
}

.texts h4 {
    font-size: 1.06em;
    line-height: 1.6;
}

.texts h5 {
    font-size: 1rem;
}

.texts h6 {
    font-size: .9rem;
}

.texts li,
.texts dt {
    margin: 4px 0 1px 18px;
    list-style: none;
    position: relative;
}

.texts ul>li:not(.is-indent)::before,
.texts dt::before {
    content: "";
    display: block;
    position: absolute;
    left: -1.1em;
    top: .5em;
    width: .5em;
    height: .5em;
    box-sizing: border-box;
    background: #000000;
    border-radius: 50%;
}

.texts li.is-indent {
    text-indent: -0.9rem;
}

.texts li.is-indent::before {
    content: attr(data-mark);
    display: inline-block;
    min-width: 1em;
    text-align: center;
}

.texts li>ul,
.texts li>ol {
    margin-top: 0
}

.texts li ul>li::before {
    background: #FFF;
    border: 1px solid #000000;
}

.texts ol {
    counter-reset: list;
}

.texts ol>li:before {
    counter-increment: list;
    content: counter(list);
    position: absolute;
    top: .2em;
    left: -1.9em;
    width: 1.5em;
    height: 1.5em;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: #FFF;
    line-height: 1.5em;
    background: #000000;
    border-radius: 50%;
}

.texts dt {
    margin-bottom: 0;
    font-weight: 700;
}

.texts dd {
    margin: 0 0 .1em 2.6em;
}

.texts table {
    width: 100%;
    border-collapse: collapse;
}

.texts th,
.texts td {
    line-height: 1.3;
    padding: 0.8em;
    border: 1px solid #e7e1e0;
    text-align: left;
}

.texts th {
    font-weight: 700
}

.texts blockquote {
    background: #F2EFEE;
    border-radius: .7rem;
    border-left: 6px solid #e7e1e0;
    padding: 1em;
}

.texts em,
.texts b {
    font-weight: 700;
    font-style: normal;
}

.texts strong {
    background: linear-gradient(rgba(255, 255, 0, 0) 40%, rgba(255, 255, 0, 0.7) 40%);
    font-weight: 700;
    padding: 2px 0;
}

.texts small {
    font-size: .86em;
}

.texts img {
    display: block;
}

.texts hr {
    margin-top: 2rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

/* ======================================================
Footer
====================================================== */
footer {
    background: #fff;
    color: #000;
    padding: 28px 16px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
li {
    list-style: none;
}
.list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    margin-left: -24px;
    margin-bottom: -24px;
    padding: 0;
    list-style: none;
}
.column {
    margin: 0;
    padding: 0;
    padding-left: 24px;
    padding-bottom: 24px;
}
.footer-link {
    background-color: transparent;
    color: inherit;
    text-decoration: none;
}

.myhome-logo {
    display: block;
    margin: 0 auto 28px;
    width: 200px;
}

.copyright {
    margin-top: 40px;
}

/* ======================================================
Float
====================================================== */

.float {
    position: fixed;
    bottom: 0;
    height: 77px;
    background-color: rgb(232, 227, 223, 0.9);
    background-image: url(../images/bg-2.png);
    background-repeat: repeat;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 420px;
    box-sizing: border-box;
    display: flex;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    pointer-events: none;
}

.float.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.float .inner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 24px;
}

.float .inner img {
    margin-left: 16px;
}

.float .inner p {
    color: #3c3c3c;
    font-size: 13px;
    font-weight: 600;
    align-items: center;
}

.float .icon a {
    margin: 8px;
}

.float .inner a img {
    height: 50px;
    filter: drop-shadow(2px 2px #6b6b6b);
    display: block;
    margin: 0 auto;
    margin-left: 16px;
}

/* ======================================================
======================================================
    419px以下
======================================================
====================================================== */


@media only screen and (max-width: 419px){
    .content-wrap {
        width: 100%;
        left: 0;
        right: 0;
        background: none;
        overflow-x: hidden;
    }

    .content-inner {
        width: 100%;
    }

    .float {
        width: 100%;
    }

    .float p {
        font-size: 3.2vw;
    }
}

/* ======================================================
======================================================
    PC
======================================================
====================================================== */
@media only screen and (min-width: 769px){
    /* ========== common ========== */
    html {
        font-size: 62.5%;
    }
    body {
        padding-bottom: 0;
    }
    .sp-none {
        display: block;
    }
    .pc-none {
        display: none;
    }

    /* ======================================================
    main
    ====================================================== */

    .side-menu {
        display: block;
    }

    .content-wrap {
        padding-bottom: 0;
    }

    .content-inner {
        padding-bottom: 0;
    }

    .float {
        display: none;
    }
    
    /* ======================================================
    応募要項
    ====================================================== */

    section.overview {
        padding: 4rem 0;
    }

    section.overview .inner {
        margin: 0 auto
    }

    .texts {
        padding: 1.6rem;
        max-width: none;
        padding-top: 30px;
    }

    
}





