@charset "UTF-8";

/* ============================
* リセット
* ========================= */

*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

ul,
li {
    list-style: none;
}

/* ============================
* 共通・本体
* ========================= */

:root {
    --main-color: #2f6fcc;
    --text-color: #141313;
    --white-color: #f4f7f9;
    --sub1-color: #66bcd3;
    --sub2-color: #a1dd9e;
    --accent-color: #ffff80;
    --cta-color: #e54f2c;
    --cta2-color: #631101;
}

html {
    width: 100%;
    height: 100%;
    scroll-padding-top: 3rem;
}

body {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    color: var(--text-color);
    font-family: "Arial", "ヒラギノ角ゴシック", "Hiragino Sans", sans-serif;
    background: var(--white-color);
}

img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

a {
    transition: 0.3s;
}

a:hover {
    cursor: pointer;
}

a:active {
    opacity: 0.8;
    transform: scale(0.95);
}

/* ============================
* ヘッダー
* ========================= */

.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 768px;
    height: 3rem;
    margin: 0 auto;
    background: var(--main-color);
    box-shadow: 0px 5px 15px -2px rgba(0, 0, 0, 0.35);
    z-index: 30;
}

.header__inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: inherit;
    padding: 1rem 1.5rem;
}

.logo {
    display: inline;
}

.logo__link {
    display: inline;
}
.logo__image {
    display: block;
    width: 70%;
    height: 100%;
}

.menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100vh;
    background: var(--white-color);
    opacity: 0;
    transform: translateX(100%);
    transition: ease 0.2s;
    z-index: 40;
}

.menu__list {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 7rem;
}

.menu__link {
    display: block;
    padding: 1rem;
    color: var(--text-color);
    font-weight: 600;
    text-align: center;
}

.hamburger {
    width: 3.5rem;
    cursor: pointer;
    background-color: transparent;
    border-color: transparent;
    z-index: 50;
}

.hamburger__line {
    display: block;
    position: relative;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: ease 0.3s;
    z-index: 10;
}

.hamburger__line:nth-of-type(1) {
    top: 0;
}

.hamburger__line:nth-of-type(2) {
    margin: 0.5rem 0;
}

.hamburger__line:nth-of-type(3) {
    top: 0;
}

.menu.active {
    opacity: 0.9;
    transform: translateX(0);
}

.hamburger.active .hamburger__line:nth-child(1) {
    top: 10px;
    background: var(--main-color);
    transform: rotate(45deg);
}

.hamburger.active .hamburger__line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
    top: -10px;
    background: var(--main-color);
    transform: rotate(-45deg);
}

.overlay.active {
    opacity: 0.8;
    visibility: visible;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--text-color);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 30;
}

/* ============================
* めいん
* ========================= */

.main {
    padding-bottom: 1rem;
}
.haikei {
    width: 100%;
    background: var(--main-color);
}

.haikei__wrapper {
    padding: 0 1rem;
}

/* トップ */
.top {
    margin: 0.5rem -1rem;
}

.hero {
    margin-top: 3rem;
}

/* ランキング */
.rank__table {
    padding: 0.5rem 0;
}

.rank__title {
    padding-bottom: 0.1rem;
    font-size: clamp(1rem, 5vw, 2rem);
    color: var(--accent-color);
    text-align: center;
    border-top: solid 2px var(--accent-color);
    border-bottom: solid 2px var(--accent-color);
    white-space: nowrap;
    overflow: hidden;
}

.rank__container {
    display: flex;
    margin: 1rem 0;
    padding: 0.5rem;
    gap: 0.5rem;
    border-radius: 10px;
    background: var(--white-color);
}

.rank__item {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.rank__item-header {
    text-align: center;
}

.rank__item-icon {
    width: 30%;
    max-width: 4rem;
    margin: 0 auto;
    padding-top: 0.2rem;
}

.rank__item-name {
    padding-top: 0.3rem;
    color: var(--text-color);
    font-size: clamp(0.8rem, 3.8vw, 1.7rem);
}

.img__store {
    width: 100%;
    margin-top: 0.5rem;
}

.rank__item-list {
    margin-top: 0.5rem;
    text-align: center;
}

.rank__item-feature {
    color: var(--main-color);
    font-size: clamp(0.5rem, 3.4vw, 1.2rem);
    font-weight: 500;
}

.rank__item-feature span {
    color: var(--cta-color);
    font-weight: 700;
}

.cta__copy {
    padding-top: 0.5rem;
    font-size: clamp(0.4rem, 1.9vw, 0.8rem);
    font-weight: 500;
    text-align: center;
}

.cta__button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 98%;
    margin: 0.2rem auto;
    padding: 0.5rem 0;
    color: #fff;
    font-weight: 600;
    font-size: 0.7rem;
    text-align: center;
    border-bottom: solid 4px #7a0000;
    border-radius: 10px;
    background-color: #e22d2d;
    transition: 0.5s ease;
    animation: dokidoki 2s infinite;
}

@keyframes dokidoki {
    0% {
        transform: scale(1);
    }
    5% {
        transform: scale(1);
    }
    95% {
        transform: scale(1);
    }
    100% {
        -webkit-transform: scale(1.05);
    }
}

.cta__break {
    display: none;
}

@media (max-width: 600px) {
    .cta__break {
        display: block;
    }
}

/* 一覧 */
.shop {
    padding: 0 1rem;
}

.shop__item {
    padding: 0.8rem 0 2rem;
}

.shop__back-img {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
}

.shop__back-img.no1 {
    background-image: url(../images/no1_opa.webp);
}

.shop__back-img.no2 {
    background-image: url(../images/no2_opa.webp);
}

.shop__back-img.no3 {
    background-image: url(../images/no3_opa.webp);
}

.shop__back-img.no4 {
    background-image: url(../images/no4_opa.webp);
}

.shop__back-img.no5 {
    background-image: url(../images/no5_opa.webp);
}

.shop__header {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 15vw;
    max-height: 100px;
}

.shop__name {
    font-size: clamp(1rem, 5vw, 2rem);
    line-height: 1.4rem;
}

.border {
    display: inline-block;
    height: 100%;
    margin: 0 1rem;
    border-left: solid 2px var(--main-color);
}

.shop__info {
    font-size: clamp(0.7rem, 3vw, 1.5rem);
}

.shop__hr {
    margin-top: 0.6rem;
    border: none;
    border-bottom: solid 2px var(--main-color);
}

.shop__hr--top {
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.shop__contents {
    margin-top: 1rem;
}

.shop__top {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.img__store--shop {
    flex: 0 0 60%; /* growせず shrinkせず ちょうど50% */
    max-width: 350px;
    height: auto;
    object-fit: contain;
}

.shop__top-wrapper {
    flex: 0 0 40%;
    width: 100%;
    height: auto;
}

.shop__date {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    font-size: clamp(0.6rem, 3.5vw, 1.3rem);
    text-align: center;
}

.shop__date-item {
    position: relative;
    display: inline-block;
    padding: 0.2rem;
    /* background: linear-gradient(transparent 60%, var(--accent-color) 40%); */
}

.highlight {
    color: var(--cta-color);
    font-weight: 800;
}

.marker {
    padding: 0.2rem;
    background: linear-gradient(transparent 60%, var(--accent-color) 40%);
}

.shop__date-img::before {
    content: "";
    display: inline-block;
    width: 25vw;
    height: 25vw;
    max-width: 200px;
    max-height: 200px;
    margin: 0 auto;
    vertical-align: bottom;
}

.shop__date-img.img1 {
    background: url(../images/mens.png) no-repeat center / contain;
}

.shop__date-img.img2 {
    background: url(../images/mens2.png) no-repeat center / contain;
}

.shop__date-img.img3 {
    background: url(../images/mens3.png) no-repeat center / contain;
}

.shop__date-img.img4 {
    background: url(../images/mens4.png) no-repeat center / contain;
}

.shop__date-img.img5 {
    background: url(../images/mens5.png) no-repeat center / contain;
}

.shop__bottom {
    text-align: center;
}

.shop__wrapper {
    width: 100%;
    margin: 0.5rem auto;
    padding: 0.5rem;
    text-align: center;
    background: var(--accent-color);
    border-radius: 10px;
}

.shop__list {
    display: inline-block;
}

.shop__feature {
    font-size: clamp(0.6rem, 3.3vw, 1.3rem);
    font-weight: 500;
    text-align: left;
}

.shop__point {
    display: inline-block;
    color: var(--main-color);
    font-size: clamp(1rem, 3.5vw, 1.5rem);
    border-bottom: solid 1px var(--main-color);
}

.cta__copy--shop {
    position: relative;
    display: inline-block;
    padding: 0.5rem 0.5rem 0;
    font-size: clamp(0.7rem, 2.5vw, 1.1rem);
    font-weight: 800;
}

.cta__copy--shop:before {
    content: "";
    position: absolute;
    display: inline-block;
    top: 70%;
    left: -20px;
    width: 5%;
    height: 1px;
    background: var(--text-color);
    transform: rotate(60deg);
}

.cta__copy--shop:after {
    content: "";
    position: absolute;
    display: inline-block;
    top: 70%;
    right: -20px;
    width: 5%;
    height: 1px;
    background: var(--text-color);
    transform: rotate(-60deg);
}

.cta__button--shop {
    width: 100%;
    padding: 1.3rem 0;
    font-size: clamp(1rem, 5vw, 2rem);
    border-radius: 10px;
}

.cta__button--shop::after {
    content: "";
    width: 1rem;
    height: 1rem;
    margin-left: 5px;
    border-top: 2px solid var(--white-color);
    border-right: 2px solid var(--white-color);
    transform: rotate(45deg);
}

/* ============================
* フッター
* ========================= */

.footer {
    width: 100%;
    height: 10rem;
    padding: 2rem 0 0;
    background: var(--main-color);
}

.footer__copy {
    color: var(--white-color);
    font-size: clamp(0.6rem, 2.2vw, 1.1rem);
    text-align: center;
}

.bottom__content {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    width: 100%;
    height: 5.5rem;
    max-width: 768px;
    background-color: rgba(68, 68, 68, 0.9);
}

.bottom__cta {
    width: 95%;
    margin: 0 auto;
}

.bottom__cta-img {
    animation: jump 2s linear; /*アニメーションの名前を指定*/
    animation-iteration-count: infinite; /*実行回数を指定*/
}

@keyframes jump {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}
