@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&family=Noto+Serif+JP:wght@200;300;400;500;600;700;900&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    color: var(--text-color);
    font-family: 'Noto Serif JP', serif;
    font-size: min(16px, 4.1vw);
    font-style: normal;
    font-weight: normal;
    font-feature-settings: 'palt';
    font-display: swap !important;
    letter-spacing: .06em;
    line-height: 2;
    -webkit-text-size-adjust: 100%;
    background: #ffffff;
}

:root {
    --text-color: #444B52;
    --navy-color: #001D4B;
    --red-color: #E6231C;
/*    --gold-color: #C4AD65;*/
    --gold-color: #BAA154;
    --pale-color: #EBEFF5
}

.sans {
    font-family: 'Noto Sans JP', sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

.btn_apply.btn_fixed {
    margin: 0 auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
    animation: btn_animation 1.5s infinite;
    position: fixed;
    right: 0;
    left: 0;
    bottom: min(20px, 2.5vw);
    z-index: 10;
}

.btn_apply.btn_fixed.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* スクロールフェードイン */

.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 1s;
    animation-timing-function: cubic-bezier(.25, 0, .25, 1);
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeUpTrigger {
    opacity: 0;
}


header {
    display: flex;
    margin: 20px calc((100vw - 710px)/2) 0;
    width: min(710px, 95vw);
    height: min(70px, 12.82vw);
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 100;
}

header figure {
    display: flex;
    margin: 0 auto 0 0;
    width: fit-content;
    align-items: center;
}

header figure img {
    width: min(150px, 25.64vw);
    position: relative;
    top: .1rem;
}

header figure p {
    margin: 0 0 0 1em;
    font-size: min(18px, 2.56vw);
    line-height: 1.25;
}

header a {
    display: flex;
    margin: 0 0 0 auto;
    width: min(250px, 35.9vw);
    height: min(70px, 12.82vw);
    background: linear-gradient(180deg, #D7B75A, #AF9034);
    color: #ffffff;
    font-size: min(24px, 3.59vw);
    font-weight: 700;
    transition: .3s;
    justify-content: center;
    align-items: center;
    position: relative;
}

header a::after {
    content: '▲';
    margin: auto 0;
    transform: rotate(90deg) scaleY(.5);
    position: absolute;
    top: .1em;
    bottom: 0;
    right: 1em;
}

.wrapper {
    margin: 0 auto;
    width: min(750px, 100vw);
    background: #FFFFFF;
    box-shadow: 0 0 1rem rgba(0, 0, 0, .2);
    overflow-x: hidden;
}

main {
    width: 100%;
    padding: min(120px, 17.95vw) 0 min(40px, 3.85vw);
    position: relative;
    overflow: hidden;
}

main::after {
    content: '';
    width: 100%;
    height: 60%;
    background: linear-gradient(0deg, #ffffff 75%, transparent);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}

main > * {
    position: relative;
    z-index: 3;
}

main .main_round {
    width: 250%;
    overflow: visible;
    position: absolute;
    top: -20%;
    left: -75%;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 中のSVG画像だけを回転させる */
main .main_round img {
    width: 100%;
    height: auto;
    animation: rotate-anim 60s linear infinite;
}

@keyframes rotate-anim {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 光輪の共通設定 */
main .main_round::before,
main .main_round::after {
  content: '';
  position: absolute;
  margin: auto;
  border: 2rem solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 1.5rem #ffffff;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  /* 全体の時間を 0.5秒 に短縮 */
  animation: pulse-light 2.5s infinite cubic-bezier(0.1, 0.4, 0.2, 1);
}

/* 【2本目の輪】マイナス指定にすることで、ページを開いた瞬間から0.25秒ずれて交互に動きます */
main .main_round::after {
  animation-delay: -.35s;
}

/* 光輪のアニメーション（1つに統合） */
@keyframes pulse-light {
  0% {
    width: 0%; height: 0%;
    opacity: 0;
  }
  10% {
    opacity: 1; /* 湧き出た瞬間はくっきり */
  }
  100% {
    width: 100%; height: 100%;
    opacity: 0; /* 0.5秒で一気に外側へ広がって消える */
  }
}


main .main_girls {
    width: 100%;
    position: absolute;
    top: min(190px, 26.5vw);
}

main :is(.main_round, .main_girls, .main_photo > figure) img {
    width: 100%;
}

main h1 {
    display: flex;
    height: min(80px, 10.77vw);
    font-size: min(36px, 4.62vw);
    align-items: center;
    letter-spacing: 0;
}

main h1 span {
    margin: 0 .5em 0 0;
    padding: .125em 1em;
    background: var(--navy-color);
    color: var(--gold-color);
    clip-path: polygon(0% 0%, 95% 0%, 100% 50%, 95% 100%, 0% 100%, 0% 50%, 0% 50%);
}

main h2 {
    display: flex;
    margin: 70px auto 0;
    font-weight: 500;
    line-height: 1.1;
    text-stroke: .5em #ffffff;
    -webkit-text-stroke: .5em #ffffff;
    paint-order: stroke;
    justify-content: center;
    align-items: baseline;
    position: relative;
}

main h2 b {
    margin: 0 auto;
    width: fit-content;
    color: var(--red-color);
    font-size: min(80px, 10.26vw);
    letter-spacing: -.15em;
    transform: rotate(-13deg);
    position: absolute;
    top: -.35em;
    right: 0;
    left: 0;
}

main h2 b span {
    margin-left: -.2em;
}

main h2 > span {
    font-size: min(54px, 7.18vw);
    position: relative;
    bottom: 1em;
}

main h2 > span small {
    font-size: min(40px, 5.13vw);
}

main h2 strong {
    color: var(--red-color);
    font-size: min(360px, 47.44vw);
    font-weight: 600;
    position: relative;
    bottom: -5px;
}

main h2 strong small {
    font-size: min(124px, 16.41vw);
    position: relative;
    bottom: 5px;
}

main .main_photo {
    display: flex;
    margin: -54px auto 0;
    width: min(690px, 90vw);
    height: min(364px, 45.9vw);
    text-align: center;
    position: relative;
}

main .main_photo .logo_epixcore {
    width: min(195px, 25.64vw);
    position: absolute;
    bottom: 28px;
    left: 0;
}

main .main_photo .logo_epixcore p {
    font-size: min(12px, 2.05vw);
    line-height: 1;
    letter-spacing: 0;
    position: absolute;
    bottom: 1em;
    right: -2em;
}

main .main_photo > span {
    display: flex;
    flex-wrap: wrap;
    padding: .25em 0 0;
    width: min(197px, 26.15vw);
    height: min(204px, 26.92vw);
    background: url(../images/bg_crown01.svg) no-repeat 50% 50%;
    background-size: 100%;
    color: var(--gold-color);
    font-size: min(62px, 7.69vw);
    font-weight: 600;
    line-height: 1;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 1rem;
}

main .main_photo > span::before {
    content: '';
    width: min(197px, 26.15vw);
    height: min(197px, 26.15vw);
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 14px;
    left: 0;
    z-index: -1;
}

main .main_photo > span small {
    display: block;
    font-size: 50%;
}

main .main_photo .sub_logos {
    width: min(130px, 17.95vw);
    position: absolute;
    top: min(70px, 5.13vw);
    right: 0;
}

main .main_photo .sub_logos img + img {
    margin: min(16px, 2.5vw) 0 0;
}


main h3 {
    font-size: min(32px, 4.1vw);
    font-weight: 500;
    text-align: center;
    line-height: 1.25;
}

.inquiry_n {
    padding: min(30px, 5vw) 0 min(30px, 5vw);
    background: var(--navy-color);
    color: #ffffff;
    line-height: 1.25;
    text-align: center;
    position: relative;
    z-index: 2;
}

.inquiry_w {
    margin-top: min(20px, 2.5vw);
    padding-bottom: 0;
    background: #ffffff;
    color: var(--text-color);
}

.inquiry_n > span {
    display: block;
    font-size: min(22px, 3.08vw);
    font-weight: 400;
}

.inquiry_n > strong {
    display: block;
    font-size: min(47px, 6.15vw);
    font-weight: 400;
}

:is(.inquiry_n, .start, .btn_fixed) > a {
    display: flex;
    margin: .35em auto 0;
    padding: 0 0 0 1em;
    width: min(670px, 95vw);
    height: min(140px, 18.46vw);
    background: linear-gradient(180deg, #D7B75A 0%, #AF9034 60%);
    color: #ffffff;
    font-size: min(38px, 5.64vw);
    font-weight: 500;
    transition: .3s;
    justify-content: center;
    align-items: center;
    position: relative;
}

.start > a {
    margin-top: min(80px, 7.69vw);
}

:is(.inquiry_n, .start, .btn_fixed) > a::after {
    content: '';
    margin: auto 0;
    width: min(60px, 8.21vw);
    height: min(60px, 8.21vw);
    background: #ffffff url(../images/icon_file.svg) no-repeat 50% 50%;
    background-size: 50%;
    border-radius: 50%;
    position: absolute;
    left: 1.5em;
}

.inquiry_n > p {
    margin: 1em auto 0;
    width: min(670px, 95vw);
    font-size: min(16px, 2.56vw);
    font-weight: 400;
    text-align: right;
}

.inquiry_w > :is(a, p) {
    width: min(670px, 90vw);
}

.inquiry_n_tirangle {
    width: 100%;
    height: min(100px, 8.21vw);
    filter: drop-shadow(0 .15rem .3rem rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 1;
}

.inquiry_n_tirangle img {
    width: 100%;
    height: 100%;
}

.market {
    padding: min(50px, 10.26vw) 0 0;
}

.market h2 {
    font-size: min(55px, 7.18vw);
    font-weight: 500;
    text-align: center;
    letter-spacing: 0;
}

.market > strong {
    display: block;
    margin: .65em auto 0;
    padding: 0 0 0 2.5em;
    width: min(670px, 90vw);
    border: 1px solid;
    border-radius: 1.125em;
    font-size: min(34px, 4.62vw);
    font-weight: 600;
    line-height: 2.25;
    position: relative;
}

.market > strong::before {
    content: '';
    margin: auto 0;
    width: min(51px, 6.67vw);
    height: min(46px, 6.15vw);
    background: url(../images/check_market.svg) no-repeat 50% 50%;
    background-size: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: .5em;
}

.market .re_org {
    padding: 0 0 min(60px, 10.26vw);
    width: 100%;
    height: min(811px, 134.36vw);
    background: #ffffff url(../images/bg_reorg.webp) no-repeat 50% 0;
    background-size: 100%;
    white-space: nowrap;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-weight: 500;
    line-height: 1;
    position: relative;
    z-index: 2;
}

.market .re_org h3.h301 {
    font-size: min(70px, 11.54vw);
    position: absolute;
    top: min(50px, 5vw);
    right: min(70px, 5vw);
}

.market .re_org h3.h301 small {
    font-size: 90%;
}

.market .re_org h3.h301 span {
    display: block;
    margin: 1.75em .25em 0 0;
    font-size: min(40px, 7.18vw);
    letter-spacing: -.02em;
}

.market .re_org h3.h302 {
    font-size: min(158px, 21.54vw);
    position: absolute;
    top: min(150px, 31vw);
    left: calc(50% - .5em);
    z-index: 1;
}

.market .re_org h3.h302 span {
    background: linear-gradient(0deg, #007EB5, #00D8FF);
    font-weight: 600;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.market .re_org h3.h302 span::before {
    content: '';
    margin: 0 auto;
    width: min(132px, 17.69vw);
    height: min(85px, 11.28vw);
    background: url(../images/crown_reorg.svg) no-repeat 50% 50%;
    background-size: 100%;
    position: absolute;
    top: -.6em;
    right: 0;
    left: 0;
}

.market .re_org h3.h302 span::after {
    content: '再編';
    margin: 0 auto;
    text-stroke: .1em #ffffff;
    -webkit-text-stroke: .1em #ffffff;
    paint-order: stroke;
    position: absolute;
    top: 0;
    z-index: -1;
}

.market .re_org h3.h302 small {
    font-size: min(54px, 7.18vw);
    letter-spacing: -.02em;
}

.market .reorg_chance {
    height: min(1214px, 176.41vw);
    background: var(--pale-color) url(../images/bg_reorgchance.webp) no-repeat 50% 0;
    background-size: 100%;
    position: relative;
}

.market .reorg_chance .reorg_tirangle {
    width: 100%;
    height: min(110px, 8.21vw);
    filter: drop-shadow(0 .15rem .3rem rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 0;
}

.market .reorg_chance .reorg_tirangle img {
    width: 100%;
    height: 100%;
}

.market .reorg_chance .so {
    display: flex;
    margin: -90px auto 0;
    width: min(180px, 23.08vw);
    height: min(180px, 23.08vw);
    border: min(5px, .77vw) solid var(--text-color);
    border-radius: 50%;
    font-size: min(50px, 6.41vw);
    font-weight: 500;
    letter-spacing: 0;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.market .reorg_chance .so::after {
    content: '';
    margin: 0 auto;
    width: min(5px, .77vw);
    height: min(80px, 10.26vw);
    background: var(--text-color);
    border-radius: min(2.5px, .39vw);
    position: absolute;
    bottom: -33%;
}

.market .reorg_chance :is(h3, h4) {
    white-space: nowrap;
    writing-mode: vertical-rl;
    text-orientation: upright;
    position: absolute;
}

.market .reorg_chance h3 {
    color: #ffffff;
    font-size: min(44px, 5.64vw);
    line-height: 1.75;
    top: 212px;
    right: min(20px, 2.5vw);
}

.market .reorg_chance h3 span {
    display: block;
    margin: 0 0 0 .5em;
    padding: .5em 0;
    height: fit-content;
    background: var(--red-color);
}

.market .reorg_chance h4 {
    height: fit-content;
    font-size: min(70px, 10.26vw);
    font-weight: 500;
    text-stroke: .15em #ffffff;
    -webkit-text-stroke: .15em #ffffff;
    paint-order: stroke;
    line-height: 1.5;
    top: 212px;
    left: min(20px, 2.5vw);
}

.market .reorg_chance h4 span {
    margin: 1em 0 0;
    position: relative;
}

.market .reorg_chance h4 :is(span, small) {
    display: block;
    height: fit-content;
    position: relative;
}

.market .reorg_chance h4 :is(span, small)::before {
    content: '';
    width: min(2px, .5vw);
    height: 100%;
    background: var(--text-color);
    position: absolute;
    top: 0;
    right: .125em;
}

.market .reorg_chance .reason_success {
    margin: 0 auto;
    width: min(670px, 90vw);
    position: absolute;
    bottom: min(60px, 10.26vw);
    right: 0;
    left: 0;
}

.market .reorg_chance .reason_success h5 {
    font-size: min(43px, 5.64vw);
    font-weight: 500;
    text-align: center;
    text-stroke: .2em #ffffff;
    -webkit-text-stroke: .2em #ffffff;
    paint-order: stroke;
    letter-spacing: 0;
}

.market .reorg_chance .reason_success div {
    padding: 1.5em 2.5em;
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--text-color);
}

.market .reorg_chance .reason_success div p {
    padding: 0 0 0 2em;
    font-size: min(24px, 3.59vw);
    font-weight: 500;
    line-height: 2.5;
    position: relative;
}

.market .reorg_chance .reason_success div p::before {
    content: '';
    margin: auto 0;
    width: min(33px, 4.36vw);
    height: min(33px, 4.36vw);
    background: url(../images/check_reason.svg) no-repeat 50% 50%;
    background-size: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

.info {
    padding: 40px 20px 60px;
    background: var(--pale-color);
}

.info .cont_info {
    padding: min(80px, 10.26vw) min(20px, 2.5vw) min(60px, 10.26vw);
    background: #ffffff;
    position: relative;
}

.info .cont_info h2 {
    margin: 0 auto;
    font-size: min(50px, 6.92vw);
    font-weight: 500;
    text-align: center;
    line-height: 1;
    letter-spacing: -.04em;
    position: relative;
}

.info .cont_info h2::before,
.info .cont_info h2::after {
    content: '';
    margin: auto 0;
    width: min(50px, 7.18vw);
    height: min(100px, 14.36vw);
    background: url(../images/deco_info01.svg) no-repeat 50% 50%;
    background-size: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

.info .cont_info h2::after {
    transform: scaleX(-1);
    left: auto;
    right: 0;
}

.info .cont_info h2 span {
    display: block;
    margin: 0 auto .75em;
    padding: .5em 1em;
    width: fit-content;
    background: var(--text-color);
    color: #ffffff;
    font-size: min(25px, 3.59vw);
    font-weight: 600;
    letter-spacing: .06em;
}

.info .cont_info h3 {
    margin: .75em 0 0;
    background: var(--red-color);
    color: #ffffff;
    font-size: min(42px, 5.9vw);
    font-weight: 500;
    text-align: center;
    line-height: 1.75;
    position: relative;
}

.info .cont_info h3::after {
    content: '▼';
    margin: 0 auto;
    color: var(--red-color);
    text-align: center;
    position: absolute;
    bottom: -1em;
    right: 0;
    left: 0;
}

.info .cont_info h4 {
    display: flex;
    flex-wrap: wrap;
    margin: 40px 0 0;
    line-height: 1.1;
    align-items: center;
}

.info .cont_info h4 .fee {
    display: flex;
    width: min(130px, 17.95vw);
    height: min(130px, 17.95vw);
    border: min(3px, .5vw) solid var(--text-color);
    border-radius: .6rem;
    font-size: min(44px, 6.15vw);
    font-weight: 600;
    line-height: 1.1;
    justify-content: center;
    align-items: center;
}

.info .cont_info h4 .possible {
    padding: 0 0 0 min(24px, 1.5vw);
}

.info .cont_info h4 strong {
    color: var(--red-color);
    font-size: min(122px, 17.18vw);
    font-weight: 500;
    letter-spacing: .04em;
}

.info .cont_info h4 .span01 {
    display: block;
    font-size: min(44px, 6.15vw);
    font-weight: 500;
}

.info .cont_info h4 .span02 {
    display: block;
    margin: .1em 0 0;
    font-size: min(50px, 7.69vw);
    font-weight: 500;
    text-align: right;
}

.info .cont_info > .info_photos {
    display: flex;
    margin: -40px 0 0;
    position: relative;
    z-index: 0;
}

.info .cont_info > .info_photos .machine {
    width: min(421px, 48.97vw);
    height: min(368px, 40.26vw);
}

.info .cont_info > .info_photos .popular {
    width: min(158px, 22.56vw);
    height: min(91px, 12.82vw);
    position: absolute;
    top: 80px;
    left: 330px;
}

.info .cont_info > .info_photos .infogirl {
    width: min(374px, 57.95vw);
    height: min(554px, 85.9vw);
    position: absolute;
    top: 68px;
    right: -30px;
}

.info .cont_info > .info_photos .infogirl img {
    width: 100%;
    height: 100%;
}

.info .cont_info > .info_photos .infogirl::after {
    content: '';
    width: 95%;
    height: 100%;
    background: linear-gradient(0deg, #ffffff 20%, transparent 40%);
    position: absolute;
    bottom: 0;
    left: 0;
}

.info .cont_info > .info_logo {
    margin: -40px 0 0 30px;
    width: fit-content;
    position: relative;
    z-index: 1;
}

.info .cont_info > .info_logo p {
    font-size: min(20px, 2.08vw);
    font-weight: 500;
    position: absolute;
    bottom: 0;
    right: -4em;
}

.info .cont_info > .info_logo img {
    width: min(250px, 33.08vw);
}

.info .cont_info > ul {
    display: flex;
    margin: 20px 0 0;
    width: min(410px, 85vw);
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.info .cont_info > ul li {
    width: min(130px, 26.71vw);
    height: min(130px, 26.71vw);
    border-radius: .6rem;
    overflow: hidden;
}

.info .cont_info > ul li:first-child {
    background: #E7E9EC url(../images/img_handpiece01.webp) no-repeat 50% 50%;
    background-size: 100%;
}

.info .cont_info > ul li:nth-child(2) {
    background: #E7E9EC url(../images/main_machine.webp) no-repeat 0 0;
    background-size: 132.3%;
}

.info .cont_info > ul li:nth-child(3) {
    background: #E7E9EC url(../images/img_side01.webp) no-repeat 90% 50%;
    background-size: 120%;
}

.info .cont_info > .sub_logos {
    display: flex;
    flex-wrap: wrap;
    width: 220px;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px 0;
    position: absolute;
    top: 1050px;
    right: 20px;
}

.info .cont_info > .sub_logos img:first-of-type {
    width: 105px;
    height: 63px
}

.info .cont_info > .sub_logos img:nth-of-type(2) {
    width: 105px;
    height: 54px;
}

.info .cont_info > .sub_logos img:last-of-type {
    width: 220px;
    height: 24px;
}

.result {
    padding: min(70px, 10.26vw) 0 min(60px, 10.26vw);
}

.result h2 {
    font-size: min(62px, 8.21vw);
    font-weight: 600;
    text-align: center;
    letter-spacing: .06em;
}

.result h2 strong {
    margin-left: -.5em;
    color: var(--red-color);
    font-weight: inherit;
}

.result h2 strong span {
    position: relative;
}

.result h2 strong span::before {
    content: '';
    margin: 0 auto;
    width: min(15px, 2.05vw);
    height: min(15px, 2.05vw);
    background: var(--red-color);
    border-radius: 50%;
    position: absolute;
    top: -.1em;
    right: 0;
    left: 0;
}

.result h3 {
    font-size: min(38px, 5.13vw);
    font-weight: 600;
    text-align: center;
}

.result h4 {
    margin: 1em auto .5em;
    width: min(670px, 90vw);
    background: var(--navy-color);
    color: #ffffff;
    font-size: min(25px, 4.1vw);
    font-weight: 500;
    text-align: center;
    line-height: 2.5;
}

.result ul {
    display: flex;
    margin: 0 auto;
    width: min(670px, 90vw);
    justify-content: space-between;
}

.result ul li {
    width: 48.5%;
    aspect-ratio: 3 / 2;
    position: relative;
}

.result ul li::before {
    content: 'Before';
    color: var(--navy-color);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: min(26px, 3.59vw);
    font-weight: 600;
    text-stroke: .2em #ffffff;
    -webkit-text-stroke: .2em #ffffff;
    paint-order: stroke;
    line-height: 1;
    position: absolute;
    top: .5em;
    left: .5em;
}

.result ul li:last-child::before {
    content: 'After';
    color: var(--red-color);
}

.result ul li img {
    width: 100%;
    height: 100%;
    border-radius: .6rem;
    object-fit: cover;
}

.result ul + h4 {
    margin-top: 1.5em;
}

.result .note {
    margin: .75em auto 0;
    width: min(670px, 90vw);
    font-size: min(14px, 2.56vw);
    text-align: right;
}

.result .result_logo {
    display: block;
    margin: 0 auto;
    width: fit-content;
    height: min(178px, 22.82vw);
}

.result .result_logo img {
    width: min(326px, 42.05vw);
    height: min(178px, 22.82vw);
}

.result .result_logo p {
    font-size: min(24px, 3.08vw);
    font-weight: 500;
    position: relative;
    top: -2.35em;
    right: -4.5em;
}

.result ol {
    display: flex;
    margin: 1.5rem auto 0;
    width: min(670px, 90vw);
    justify-content: space-between;
}

.result ol li:first-child {
    width: 35%;
}

.result ol li:nth-child(2) {
    padding: .2rem 0 0;
    width: 26%;
}

.result ol li:last-child {
    padding: .5rem 0 0;
    width: 39%;
}

.result ol li img {
    width: 100%;
}

.result h5 {
    margin: 1em auto .5em;
    padding: 0 0 .25em;
    width: min(670px, 90vw);
    border-bottom: 1px solid;
    font-size: min(18px, 4.62vw);
    font-weight: 600;
}

.result .spec {
    margin: 0 auto;
    width: min(670px, 90vw);
    font-size: min(14px, 3.08vw);
    font-weight: 500;
    line-height: 1.75;
}

.why {
    padding: min(60px, 10.26vw) 0 0;
}

:is(.why, .merit, .flow) > h2 {
    line-height: 1;
}

.merit > h2 {
    margin: min(70px, 10.26vw);
}

.flow > h2 {
    margin-bottom: min(80px, 12.82vw);
}

:is(.why, .merit, .flow) > h2 span {
    display: block;
    font-size: min(33px, 4.62vw);
    text-align: center;
}

:is(.why, .merit, .flow) > h2 > strong {
    display: flex;
    font-size: min(93px, 14.36vw);
    font-weight: 600;
    letter-spacing: 0;
    justify-content: center;
    align-items: baseline;
}

:is(.merit, .flow) > h2 > strong {
    margin: .35em 0 0;
    font-size: min(58px, 8.21vw);
}

:is(.why, .merit, .flow) > h2 > strong > i {
    font-style: normal;
}

:is(.merit, .flow) > h2 > strong > i {
    position: relative;
    bottom: .05em;
}

:is(.why, .merit, .flow) > h2 > strong > i:first-of-type {
    margin-right: .3em;
}

:is(.why, .merit, .flow) > h2 > strong > i:last-of-type {
    margin-left: .1em;
}

.why > h2 > strong > small {
    font-size: min(68px, 9.74vw);
}

.why > h2 > strong > strong {
    color: var(--red-color);
    font-weight: 700;
    font-size: min(144px, 15.9vw);
    position: relative;
    bottom: -.05em;
}

.why > h2 > strong > strong > small {
    font-size: min(68px, 9.74vw);
    position: relative;
    bottom: .125em;
}

.why > ul {
    display: flex;
}

.why > figure {
    display: flex;
    width: 100%;
    height: min(366px, 47.44vw);
    background: url(../images/main_machine_a50.webp) no-repeat 480px -30px;
    background-size: 580px;
    align-items: center;
}

.why > figure img {
    width: min(483px, 60vw);
    height: min(280px, 34.62vw);
    object-fit: cover;
    box-shadow: 0 .3rem .3rem rgba(0, 0, 0, .2);

}

.why > h3 {
    background: var(--navy-color);
    color: #ffffff;
    font-size: min(32px, 4.62vw);
    font-weight: 500;
    text-align: center;
    line-height: 2.5;
}

.why > h4 {
    margin: min(50px, 6.92vw) auto min(60px, 6.67vw);
    font-size: min(50px, 6.92vw);
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
}

.why > h4 > span {
    position: relative;
}

.why > h4 > span::after {
    content: '';
    width: 100%;
    height: 1px;
    background: var(--text-color);
    position: absolute;
    bottom: .1em;
    left: 0;
}

.why > h4 > span strong {
    color: var(--gold-color);
    font-size: min(62px, 9.23vw);
    font-weight: inherit;
}

.why > h4 > span strong small {
    font-size: min(50px, 6.92vw);
}

.why > p {
    margin: 0 auto;
    width: min(625px, 85vw);
    font-size: min(16px, 2.56vw);
    line-height: 1.75;
    letter-spacing: .02em;
}

.why .support {
    margin: min(60px, 10.26vw) 0 0;
    padding: min(80px, 12.82vw) 0 min(80px, 10.26vw);
    background: var(--pale-color);
}

.why .support h3 {
    margin: 0 auto;
    width: min(710px, 95vw);
    background: linear-gradient(0deg, var(--gold-color) 35%, transparent 35%);
    font-size: min(56px, 8.21vw);
    font-weight: 500;
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0;
}

.why .support h3 small {
    font-size: min(46px, 6.15vw);
}

.why .support h4 {
    margin: 1em 0 0;
    font-size: min(40px, 5.13vw);
    font-weight: 500;
    text-align: center;
}

.why .support ol {
    display: flex;
    flex-wrap: wrap;
    margin: min(20px, 3.08vw) auto 0;
    width: min(710px, 95vw);
    justify-content: space-between;
    gap: min(20px, 2.56vw) 0;
}

.why .support ol li {
    display: flex;
    flex-wrap: wrap;
    padding: 1.25em 0;
    width: 48.5%;
    height: min(200px, 26.67vw);
    background: var(--navy-color);
    border-radius: min(20px, 2.56vw);
    font-weight: 600;
    text-align: center;
    line-height: 1;
    justify-content: center;
    align-items: center;
}

.why .support ol li h5 {
    width: 100%;
    color: var(--gold-color);
    font-size: min(40px, 5.13vw);
}

.why .support ol li:nth-child(4) h5 {
    width: 117.65% !important;
    transform: scaleX(.85);
    transform-origin: top center;
    white-space: nowrap;
    letter-spacing: .02em;
}

.why .support ol li span {
    display: block;
    color: #ffffff;
    font-size: min(36px, 4.62vw);
    position: relative;
}

.why .support ol li span::before {
    content: '▶▶';
    margin: 0 .5em 0 0;
    font-size: 60%;
    position: relative;
    bottom: .25em;
}

/*
.why .support ol li:last-child {
    width: 100%;
}
*/

.wave-container {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    overflow: hidden;
    line-height: 0;
    background: #ffffff;
}

.wave-image {
    width: 200%;
    /*
       重要: ここで画像の「幅：高さ」の比率を固定します。
       もし画像が 750px幅 に対して 70pxの高さなら、比率は 750/70 = 10.71 です。
       aspect-ratio を指定すると、幅に応じて高さが自動調整され、
       計算誤差が出ないので継ぎ目が絶対にズレません。
    */
    aspect-ratio: 21.42 / 1;
    background-image: url('../images/wave.webp');
    background-repeat: repeat-x;
    background-position: left top;
    background-size: 50% 100%; /* 幅200%の要素に対し、50%のサイズ(=全体の100%幅)でタイル */
    animation: wave-anim 15s linear infinite;
    will-change: transform;
}

@keyframes wave-anim {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.wave-container2 {
    transform: scaleY(-1);
}



.merit .ul_wrap {
    width: 100%;
    overflow: hidden;
}

.merit .ul_wrap ul {
    display: flex;
    margin: 0 0 min(100px, 15.38vw);
}

.merit .ul_wrap ul li div {
    width: min(650px, 85vw);
    padding: 0 min(10px, 1.25vw);
    line-height: 1.75;
}

.merit .ul_wrap ul li img {
    aspect-ratio: 16 / 9;
    border-radius: 1.25rem;
    object-fit: cover;
}

.merit .ul_wrap ul li h3 {
    margin: .75em 0 0;
    font-size: min(44px, 5.64vw);
    font-weight: 500;
    text-align: center;
}

.merit .ul_wrap ul li p {
    margin: .75em 0 0;
    padding: 0 2em;
    font-size: min(26px, 3.59vw);
}

.flow {
    padding: min(60px, 10.26vw) 0 0;
}

.flow .cont_flow {
    padding: 0 0 min(80px, 10.26vw) min(120px, 17.95vw);
    background: linear-gradient(180deg, #ffffff min(180px, 27vw), var(--pale-color) min(180px, 27vw));
    position: relative;
}

.flow .cont_flow + .cont_flow {
    margin-top: min(80px, 12.82vw);
}

.flow .cont_flow2 {
    padding-bottom: 0;
    background: #ffffff;
}

.flow .cont_flow strong {
    width: min(40px, 7.69vw);
    height: min(330px, 63.33vw);
    background: #ffffff;
    font-size: min(33px, 5.9vw);
    font-weight: 400;
    line-height: 1.5;
    position: absolute;
    top: 0;
    left: min(40px, 5vw);
    z-index: 1;
}

.flow .cont_flow strong::after {
    content: '';
    width: 1px;
    height: min(170px, 33.33vw);
    background: var(--text-color);
    position: absolute;
    bottom: .5em;
    left: 50%;
}

.flow .cont_flow strong em {
    border-bottom: 1px solid var(--text-color);
    font-style: normal;
}

.flow .cont_flow strong span {
    display: block;
    margin: 0 auto;
    font-size: min(24px, 4.1vw);
    line-height: 1;
    transform: rotate(90deg);
    letter-spacing: .1em;
    position: absolute;
    top: 3.25em;
    right: 0;
    left: 0;
}

.flow .cont_flow h3 {
    margin: 0 0 .5em;
    font-size: min(48px, 6.15vw);
    font-weight: 600;
    line-height: 1.25;
}

.flow .cont_flow img {
    width: min(340px, 76.9vw);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    box-shadow: 0 .25rem .25rem rgba(0, 0, 0, .15);
}

.flow .cont_flow2 img {
    width: min(750px, 100vw);
    max-width: initial;
    aspect-ratio: 4 / 3;
    position: relative;
    left: -120px;
}

.flow .cont_flow p {
    margin: 2em 0 0;
    font-size: min(16px, 3.59vw);
    line-height: 1.75;
}

.flow .cont_flow p b {
    font-weight: 600;
}

.shift {
    padding: min(100px, 10.26vw) 0 min(60px, 12.82vw);
    background: url(../images/bg_shift.webp) no-repeat 50% 100%;
    background-size: 100%;
}

.shift .shift_logo {
    display: block;
    margin: 0 auto;
    width: fit-content;
    height: min(178px, 22.82vw);
}

.shift .shift_logo img {
    width: min(370px, 53.85vw);
    height: min(202px, 29.4vw);
}

.shift .shift_logo p {
    font-size: min(30px, 3.85vw);
    font-weight: 500;
    position: relative;
    top: -2em;
    right: -4.5em;
}

.shift > h2 {
    margin:min(72px, 15.38vw) 0 0;
    font-size: min(48px, 6.41vw);
    text-align: center;
    line-height: 1.75;
}

.shift > h2 strong {
    display: block;
    font-size: min(68px, 8.97vw);
    font-weight: 500;
}

.shift > h2 small {
    font-size: min(46px, 5.9vw);
}

.shift > h3 {
    margin: min(610px, 82.56vw) 0 0;
    font-size: min(33px, 5.13vw);
    text-align: center;
}

.shift > h3 strong {
    display: block;
    font-size: min(48px, 6.41vw);
    font-weight: 500;
}

.shift > :is(h2, h3) {
    text-shadow: 0 0 .1em #ffffff, 0 0 .2em #ffffff, 0 0 .25em #ffffff;
}

.start {
    padding: min(120px, 15.38vw) min(40px, 2.5vw) min(120px, 20.51vw);
    background: url(../images/bg_start.webp) no-repeat 50% 0;
    background-size: cover;
    color: #ffffff;
}

.start > h2 {
    font-size: min(48px, 7.69vw);
    font-weight: 500;
    text-align: center;
    line-height: 1.25;
}

.start > h2 small {
    font-size: min(40px, 5.13vw);
}

.start > h2 strong {
    display: block;
    margin: .175em 0 0;
    font-size: min(78px, 10.26vw);
    font-weight: 500;
}

footer {
    padding: min(120px, 23.08vw) min(40px, 5vw) min(180px, 26vw);
/*    padding: min(120px, 23.08vw) min(40px, 5vw) min(120px, 20.51vw); バナーなし*/
    background: var(--navy-color);
    color: #ffffff;
}

footer > img {
    display: block;
    width: min(362px, 62.56vw);
}

footer > h2 {
    margin: .25em 0 0;
    font-size: min(26px, 4.62vw);
    font-weight: 600;
    letter-spacing: .1em;
}

footer > ul {
    display: flex;
    flex-wrap: wrap;
    margin: 2.5rem 0 0;
}

footer > ul li {
    padding: 1.25rem 0;
    border-bottom: 1px solid;
}

footer > ul li:nth-last-child(-n+2) {
    border-bottom: none;
}

footer > ul li:nth-child(2n+1) {
    width: 220px;
    font-size: min(22px, 4.62vw);
    font-weight: 500;
}

footer > ul li:nth-child(2n) {
    width: 450px;
    font-size: min(18px, 3.59vw);
    letter-spacing: .03em;
}

footer > .copy {
    margin: min(120px, 25.64vw) 0 0;
    font-family: "futura-pt", sans-serif;
    font-size: min(18px, 3.59vw);
    font-weight: 600;
    text-align: center;
}

#wpfront-scroll-top-container {
    bottom: 20px !important;
}

#wpfront-scroll-top-container img {
    width: min(70px, 12.82vw) !important;
}

.pc_only {
    display: revert !important;
}

.sp_only {
    display: none !important;
}


/* お問い合わせページ */
.inquiry {
    background: var(--pale-color);
}

.inquiry header {
    display: flex;
    margin: 0;
    padding: 0 min(40px, 5vw);
    width: min(750px, 100vw);
    height: min(110px, 14.1vw);
    background: #ffffff;
    justify-content: flex-start;
    align-items: center;
    gap: 0 1em;
}

.inquiry header img {
    height: 75%;
}

.inquiry header span {
    display: block;
    font-size: min(14px, 3.08vw);
    line-height: 1.25;
}

.inquiry h1 {
    margin: min(250px, 30.76vw) 0 0;
    position: relative;
}

.inquiry h1 img {
    display: block;
    margin: min(20px, 2.56vw) auto 0;
    padding: 0 0 min(20px, 2.56vw);
    width: min(417px, 60vw);
}

.inquiry h1 span {
    display: block;
    font-size: min(30px, 4.1vw);
    line-height: 1;
    position: absolute;
    bottom: 1.5em;
    right: 2em;
}

.inquiry :is(h2.h2_inquiry, h2.h2_thanks) {
    margin: min(120px, 17.95vw) 0 0;
    font-size: min(38px, 6.67vw);
    font-weight: 500;
    text-align: center;
    letter-spacing: -.03em;
}

.inquiry h2.h2_thanks {
    margin: min(100px, 15.38vw) 0 0;
    line-height: 1.75;
}

.inquiry h3.h3_thanks {
    margin: 3em 0;
    font-size: min(26px, 4.1vw);
    text-align: center;
    letter-spacing: 0;
}

.wpcf7-form {
    margin: min(30px, 5.13vw) auto min(80px, 15.38vw);
    padding: min(60px, 10.26vw) min(20px, 5vw) min(80px, 12.82vw);
    width: min(710px, 90vw);
    background: #ffffff;
    font-size: min(26px, 4.1vw);
    line-height: 1.5;
}

.wpcf7-form dl dt {
    margin: 1em 0 0;
    font-weight: 500;
}

.wpcf7-form em {
    margin-left: .5em;
    padding: 0 .5em .1em;
    background: var(--red-color);
    color: #ffffff;
    font-style: normal;
    font-weight: inherit;
}

.wpcf7-form dd :is(input, textarea) {
    margin: .5em 0 1em;
    padding: .5em 1em;
    width: 100%;
    height: 3em;
    border: 1px solid #000000;
}

.wpcf7-form dd.zip input {
    width: min(260px, 36vw);
}

.wpcf7-form dd textarea {
    height: 6em;
}

.wpcf7-form p {
    margin: 3em 0 0;
    font-size: min(16px, 3.08vw);
}

.wpcf7-form p span {
    display: block;
    padding: 0 0 0 1em;
    text-indent: -1em;
}

.wpcf7-not-valid-tip {
    margin: -.5em 0 1em;
}

.wpcf7-list-item-label > a {
    border-bottom: 1px solid;
}

.wpcf7-list-item {
    margin: 0 !important;
    padding: 0 !important;
}
.wpcf7-form dl label input[type=checkbox] {
    position: relative;
}

.wpcf7-form dl label input[type=checkbox]::before {
    content: '';
    display: block;
    margin: 0;
    padding: 0;
    width: 1em;
    height: 1em;
    border: 1px solid #000000;
    position: relative;
    top: .35em;
    left: 0;
}

.wpcf7-form dl label input[type=checkbox]::after {
    content: '';
    display: block;
    margin: 0;
    padding: 0;
    width: 1.2em;
    height: .8em;
    border-top: min(5px, 1vw) solid var(--navy-color);
    border-right: min(5px, 1vw) solid var(--navy-color);
    transform: rotate(135deg);
    position: relative;
    top: -.85em;
    left: -.1em;
    opacity: 0;
}

.wpcf7-form dl input[type=checkbox]:checked::after {
    opacity: 1;
}

.wpcf7-form div.wrap_submit {
    margin: min(40px, 5vw) auto 0;
    padding: 0;
    width: min(590px, 80vw);
    height: min(130px, 17.95vw);
    background: linear-gradient(180deg, #2AAAAF 70%, #50c3c7 100%);
    border: 1px solid #ffffff;
    border-radius: 2em;
    color: #ffffff;
    font-size: min(40px, 5.64vw);
    font-weight: 700;
    text-align: center;
    transition: .3s;
    position: relative;
}

.wpcf7-form div.wrap_submit::after {
    content: '';
    margin: 0;
    width: 90%;
    height: 56%;
    background: linear-gradient(180deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 60px;
    position: absolute;
    top: min(6px, .77vw);
    left: 5%;
    z-index: 0;
}

.wpcf7-form div.wrap_submit input[type='submit'] {
    display: flex;
    margin: 0 auto;
    width: 100% !important;
    min-width: 100% !important;
    height: 100%;
    text-align: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.wpcf7-form .turnstile {
    display: flex;
    margin: 3rem auto 0;
    text-align: center;
    justify-content: center;
}

#zip_count,
#autozip {
    background-color: var(--red-color) !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
}

#zip_count a,
#autozip a {
    color: #ffffff !important;
}


.btn_apply > a {
    animation: cvbtn_anm 1.5s infinite;
}

@keyframes cvbtn_anm {
    0% {
        filter: brightness(100%) saturate(100%);
        box-shadow: 0 0 .1rem rgba(255, 255, 255, .2), 0 0 .1rem rgba(255, 255, 255, .1);
    }

    30% {
        font-weight: 900;
        filter: brightness(110%) saturate(150%);
        box-shadow: 0 0 1rem rgba(255, 255, 255, 1), 0 0 2rem rgba(255, 255, 255, .5);
        transform: scale(1.01);
    }
}


@media (any-hover: hover) {

    :is(header, .btn_apply, .inquiry_n, .start) > a:hover,
    .wpcf7-form div.wrap_submit:hover {
        font-weight: 900;
        filter: brightness(110%) saturate(150%);
        box-shadow: 0 0 1rem rgba(255, 255, 255, 1), 0 0 2rem rgba(255, 255, 255, .5);
        animation-play-state: paused;
    }

    .wpcf7-form div.wrap_submit:hover {
        font-weight: 600;
    }

}



@media (height < 650px) {

    .btn_apply.btn_fixed {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    main h2 {
        margin-top: 5.64vw !important;
    }

    main h3 {
        margin-top: .5rem !important;
    }


}



@media (width < 750px) {


    header {
        display: flex;
        margin: 2.5vw 2.5vw 0;
    }

    main h1 span {
        padding: .15em 1.75em .15em 1.25em;
    }

    main h2 {
        margin-top: 6.15vw;
    }

    main .main_photo {
        margin-top: -7.69vw;
    }

    main .main_photo .logo_epixcore {
        bottom: 0;
    }

    main .main_photo .logo_epixcore p {
        bottom: .5em;
        right: -4em;
    }

    main h3 {
        margin-top: .75rem;
    }

    .market > strong {
        padding: .25em 0 .25em 2.5em;
        border-radius: 1.5em;
    }

    .market > strong::before {
        left: .7em;
    }

    .market .re_org {
        background: #ffffff url(../images/bg_reorg_sp.webp) no-repeat 50% 0;
        background-size: 100%;
    }

    .market .reorg_chance .so {
        margin-top: -17.95vw;
    }

    .market .reorg_chance :is(h3, h4) {
        top: 32.56vw;
    }

    .market .reorg_chance .reason_success div {
        padding: 1em 1.5em;
    }

    .market .reorg_chance .reason_success div p {
        line-height: 2.25;
    }

    .info {
        padding: 0 2.5vw 10.26vw;
    }

    .info .cont_info h4 {
        margin-top: 6.15vw;
        justify-content: flex-end;
    }

    .info .cont_info h4 strong {
        letter-spacing: 0;
    }

    .info .cont_info > .info_photos {
        margin-top: -6.15vw;
    }

    .info .cont_info > .info_photos .popular {
        top: 10.26vw;
        left: 39.74vw;
    }

    .info .cont_info > .info_photos .infogirl {
        top: 7vw;
        right: -3vw;
    }

    .info .cont_info > .info_photos .infogirl::after {
        background: linear-gradient(0deg, #ffffff 32%, transparent 48%);
    }

    .info .cont_info > .info_logo {
        margin: -5vw 0 0;
    }

    .info .cont_info > .info_logo p {
        bottom: .5em;
        right: -3em;
    }

    .info .cont_info > .sub_logos {
        width: 85vw;
        gap: 0 1vw;
        top: 130vw;
        right: 5vw;
    }

    .info .cont_info > .sub_logos img:first-of-type {
        width: 17.95vw;
        height: 10.77vw
    }

    .info .cont_info > .sub_logos img:nth-of-type(2) {
        width: 16.41vw;
        height: 8.44vw;
    }

    .info .cont_info > .sub_logos img:last-of-type {
        margin-left: auto;
        width: 28.21vw;
        height: 3.08vw;
    }

    .info .cont_info > ul {
        margin: 15.38vw auto 0;
    }

    .inquiry_w > a::after {
        left: 1em;
    }

    .result .result_logo {
        margin-top: 5vw;
    }

    .why > h2 > strong {
        margin-top: .25em;
    }

    .why > h2 > strong > small,
    .why > h2 > strong > strong > small {
        position: relative;
        bottom: .05em;
    }

    .why > h2 > strong > strong {
        bottom: 0;
    }

    .why > figure {
        margin-top: 7.69vw;
        background: url(../images/main_machine_a50.webp) no-repeat 60vw -2vw;
        background-size: 72vw;
    }

    .why > h3 {
        padding: 0 0 0 .5em;
        letter-spacing: 0;
    }

    .flow .cont_flow2 img {
        left: -17.95vw;
    }

    .shift {
        background: url(../images/bg_shift_sp.webp) no-repeat 50% 100%;
        background-size: 100%;
    }

    #wpfront-scroll-top-container {
        bottom: 23.08vw !important;
    }




    footer > ul li {
        width: 100% !important;
    }

    footer > ul li:nth-child(2n+1) {
        padding-bottom: 0;
        border-bottom: none;
    }

    footer > ul li:nth-child(2n) {
        padding-top: .25em;
    }

    .pc_only {
        display: none !important;
    }

    .sp_only {
        display: revert !important;
    }

}



