@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");
section, nav, article, aside, hgroup, header, footer, figure, figcaption, details {
  display: block;
}

html, body, div, span, applet, object, iframe, strong, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, legend, caption, tbody, tfoot, thead, table, label, tr, th, td, figure {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

html {
  -webkit-text-size-adjust: 100%;
  font-size: calc(100vw / ( 640 / 10 ));
}

li {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  text-decoration: none;
  color: #fff;
}

img {
  vertical-align: top;
  max-width: 100%;
}

hr {
  height: 1px;
  background-color: #ccc;
  border: 0;
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
}

.sp_only {
  display: block;
}

.sp_only_inline {
  display: inline;
}

.pc_only,
.pc_only_inline {
  display: none;
}

.wrap {
  max-width: 640px;
  padding: 0 4rem;
  margin: 0 auto;
}

.to_top {
  -webkit-transition: top .6s ease, opacity .6s ease;
  transition: top .6s ease, opacity .6s ease;
  position: relative;
  top: 50px;
  opacity: 0;
}

.isAnimate.show.to_top {
  top: 0;
  opacity: 1;
}

.to_top_left {
  -webkit-transition: all 1s ease;
  transition: all 1s ease;
  position: relative;
  top: 50px;
  left: 50px;
  opacity: 0;
}

.isAnimate.show.to_top_left {
  top: 0;
  left: 0;
  opacity: 1;
}

.to_top_right {
  -webkit-transition: all 1s ease;
  transition: all 1s ease;
  position: relative;
  top: 50px;
  right: 50px;
  opacity: 0;
}

.isAnimate.show.to_top_right {
  top: 0;
  right: 0;
  opacity: 1;
}

.contents {
  font-family: 'Noto Sans JP','Hiragino Kaku Gothic Pro',Meiryo,sans-serif;
  color: #fff;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
  background: #000;
  overflow: hidden;
  text-align: center;
  font-size: 2.6rem;
}

.note {
  font-size: 2rem;
  line-height: 1.6;
  margin-left: 1em;
}
.note li {
  margin: 0 0 .5em;
  text-indent: -1em;
}
.note li:last-of-type {
  margin-bottom: 0;
}

ol.note {
  margin-left: 2em;
}
ol.note li {
  text-indent: -2em;
  counter-increment: num;
}
ol.note li:before {
  content: "※" counter(num) " ";
}

.pink {
  color: #ff3e70;
}

.yellow {
  color: #ddc000;
}

.u_line {
  border-bottom: calc(100vw / ( 640 / 2 )) dotted #ddc000;
}

.u_line_pink {
  border-bottom: calc(100vw / ( 640 / 2 )) dotted #ff3e70;
}

/*=======================================
    mv
=======================================*/
/*=======================================
    cta
=======================================*/
.cta {
  margin-bottom: 5rem;
}
.cta .wrap {
  padding: ;
}
.cta .box {
  margin-bottom: 4rem;
}
.cta .outer {

  padding: 0 calc(100vw / ( 640 / 4 )) calc(100vw / ( 640 / 4 ));
  border-radius: 0 0 calc(100vw / ( 640 / 10 )) calc(100vw / ( 640 / 10 ));
}
.cta .inner {
  background: url("../images/cta_box_bg.jpg") no-repeat center;
  background: url("https://d124vkt1dln018.cloudfront.net/f_for_men_no3/images/cta_box_bg.jpg") no-repeat center;
  background-size: cover;
  padding: 4rem 1rem 5rem;
  border-radius: 0 0 calc(100vw / ( 640 / 10 )) calc(100vw / ( 640 / 10 ));
}
.cta .txt {
  max-width: calc(100vw / ( 640 / 526 ));
  margin: 0 auto 4.6rem;
}
.cta section {
  margin-bottom: 4rem;
}
.cta section figure {
  margin-bottom: 2rem;
}
.cta section button {
  border: none;
  background: none;
  padding: 0;
}
.cta section:last-of-type {
  margin-bottom: 0;
}
.cta section:last-of-type figure {
  margin-bottom: 3rem;
}
.cta .attention {
  padding: 0 4rem;
}

/*=======================================
    voice
=======================================*/
.voice .sec1 {
  margin-bottom: 6rem;
}
.voice .sec1 figure:first-of-type {
  margin-bottom: 4rem;
}
.voice .sec2 .wrap > .h {
  margin-bottom: 5rem;
}
.voice .sec2 section {
  text-align: left;
  padding-bottom: 5rem;
  margin-bottom: 4rem;
  border-bottom: calc(100vw / ( 640 / 2 )) solid #353535;
}
.voice .sec2 section .h {
  margin-bottom: 2rem;
}
.voice .sec2 section:last-of-type {
  padding-bottom: 0;
  margin-bottom: 6rem;
  border-bottom: none;
}

/*=======================================
    why
=======================================*/
.why .sec1,
.why .sec2 {
  margin-bottom: 5rem;
}
.why .sec1 figure,
.why .sec2 figure {
  margin-bottom: 5rem;
}
.why .sec1 p,
.why .sec2 p {
  text-align: left;
}
.why .sec2 {
  margin-bottom: 3rem;
}
.why .sec2 figure {
  margin-bottom: 3rem;
}
.why .sec2 .l {
  text-align: center;
  font-size: 3.6rem;
  margin: 2rem 0;
}

/*=======================================
    what
=======================================*/
.what p {
  text-align: left;
}
.what .h {
  margin-bottom: 3rem;
}
.what .sec1 {
  margin-bottom: 4rem;
}
.what .sec1 .l {
  text-align: center;
  font-size: 3.6rem;
  margin-top: 2rem;
}
.what .sec2 {
  margin-bottom: 5rem;
}
.what .sec2 p {
  margin-top: -47rem;
}
.what .sec3 {
  margin-bottom: 6rem;
}

/*=======================================
    tel
=======================================*/
.tel {
  margin-bottom: 4rem;
}
.tel:after {
  content: "";
  display: block;
  width: calc(100vw / ( 640 / 640 ));
  height: calc(100vw / ( 640 / 100 ));
  background: url("../images/tel_bottom.png") no-repeat;
  background: url("https://d124vkt1dln018.cloudfront.net/f_for_men_no3/images/tel_bottom.png") no-repeat;
  background-size: contain;
  margin: 0 auto;
}
.tel .btn {
  margin: 4rem 0;
}
.tel .note {
  margin-bottom: 1rem;
}

/*=======================================
    use
=======================================*/
.use .h {
  max-width: calc(100vw / ( 640 / 580 ));
  margin: 0 auto 6rem;
}
.use section {
  padding-bottom: 5rem;
  margin-bottom: 5rem;
  border-bottom: calc(100vw / ( 640 / 2 )) dotted #626262;
}
.use section:last-of-type {
  padding-bottom: 0;
  margin-bottom: 7rem;
  border-bottom: none;
}
.use figure {
  margin-bottom: 3rem;
}
.use p {
  text-align: left;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}
.use .note {
  text-align: left;
  color: #8f8f8f;
  margin-top: 1rem;
}

/*=======================================
    promise
=======================================*/
.promise {
  padding-bottom: 6rem;
}
.promise .sec1 {
  max-width: calc(100vw / ( 640 / 602 ));
  margin: 0 auto 6rem;
}

/*=======================================
    form
=======================================*/
.form {
  background: #fff;
  height: 500px;
}

/*=======================================
    footer
=======================================*/
footer {
  padding: 4rem 0;
  font-size: 2.2rem;
  line-height: 1.2;
}
footer ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center;
}
footer li {
  margin: 0 1rem 1.5rem;
}
footer p {
  font-size: 2rem;
  color: #ccc;
  margin-top: 1rem;
}

/* --- ここからスライダーのCSS (PC/SP共通) --- */
/* スライドショー全体のコンテナ */
.slider {
    width: 100%; /* 親要素に合わせて幅を設定 */
    height: 320px; /* デフォルトの高さ (PC向け) */
    position: relative;
    overflow: hidden; /* これが重要！はみ出た画像を隠す */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin: 0 auto; /* 中央寄せにしたい場合 */
    max-width: 640px; /* スライダーも640pxで固定 */
}

/* 画像を配置する領域 */
.slides {
    width: 100%;
    height: 100%;
}

.slides img {
    /* 全ての画像を重ねて配置 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像がコンテナに収まるように調整 */
    animation: slide-in-out 8s infinite; /* アニメーション周期は4枚で8秒 */
    opacity: 0; /* 最初は非表示にして、アニメーションで表示されるように */
}

/* --- animation-delayの調整 --- */
/* 8秒のアニメーション周期で4枚の画像を切り替える場合 */
/* 各画像が2秒ずつ表示される計算 */
.slides img:nth-child(1) { animation-delay: 0s; }
.slides img:nth-child(2) { animation-delay: -2s; }
.slides img:nth-child(3) { animation-delay: -4s; }
.slides img:nth-child(4) { animation-delay: -6s; }

/* スライドアニメーションの定義 */
@keyframes slide-in-out {
    /* 開始時：右の画面外で待機 */
    0% {
        transform: translateX(100%);
        opacity: 0; /* 画面外では非表示 */
    }
    /* 画面にスライドイン */
    5% {
        transform: translateX(0);
        opacity: 1; /* 画面に入ってきたら表示 */
    }
    /* 表示を維持 */
    20% { /* 25%から20%に短縮し、次のフェードアウトに移行しやすく */
        transform: translateX(0);
        opacity: 1;
    }
    /* 左の画面外へスライドアウト開始 */
    25% { /* 30%から25%に短縮 */
        transform: translateX(-100%);
        opacity: 0; /* 画面から出るときは非表示 */
    }
    /* 次のサイクルまで非表示で待機 */
    100% {
        transform: translateX(-100%);
        opacity: 0; /* 画面外で待機 */
    }
}
/* --- スライダーのCSS ここまで --- */

/******************************************************************************************
    pc size (640px以上)
******************************************************************************************/
@media only screen and (min-width: 640px) {
    html {
        font-size: 10px; /* PCでの基準フォントサイズ */
    }

    .sp_only,
    .sp_only_inline {
        display: none;
    }

    .pc_only {
        display: block;
    }

    .pc_only_inline {
        display: inline;
    }

    .wrap {
        max-width: 640px;
        padding: 0 0px;
    }

    .contents {
        max-width: 640px;
        font-size: 26px;
    }

    .u_line {
        border-bottom: 2px dotted #ddc000;
    }

    .u_line_pink {
        border-bottom: 2px dotted #ff3e70;
    }

    /* cta, voice, why, what, tel, use, promise, footer などのPC固有のスタイルはここ */
    /* スライダーのスタイルは共通なのでこの中には含めない */

    /* .slider のPCでの高さ調整 (必要であれば) */
    .slider {
        height: 320px; /* PCでの高さを明示 */
    }
}

/******************************************************************************************
    SP size (640px以下)
******************************************************************************************/
@media (max-width: 639px) { /* min-width: 640px と被らないように 639px に変更しました */
    .slider {
        height: 200px; /* スマートフォンでの高さ調整。デザインに合わせて調整してください */
    }
    /* ここにスマートフォン固有の調整があれば追加 */
    /* 例: .mv div img { width: 100%; height: auto; } など */

    /* スライダーの挙動を変えるCSS (position: static; や animation: none; など) は
        絶対に入れないでください。
        これらを入れると、スライドが停止したり画像が縦に並んだりします。 */
}