/*
  contents

 - reset（編集しない）
 - base（font-familyなどの変更。fontは1.6rem＝16px）
 - link（テキストリンク関連）
 - button（ボタン関連）
 - typography（見出し・注釈・本文など共通）
 - main（各セクションごとのスタイル）
 - footer（コピーライトなどフッター関連）
 - utility（clearfix・mb10など）
 */
/* -----------------------------------------
  reset（編集しない）
----------------------------------------- */
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  background: transparent;
  border: 0;
  font-size: 100%;
  margin: 0;
  max-height: 99999px;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

/*--------------------------------------*/

html {
  font-size: clamp(14px, 2vw, 20px);
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
  margin: 0;
  padding: 0 0;
}


img {
  vertical-align: bottom;
  width: 100%;
}

li {
  list-style: none;
}


h1 {
  font-size: clamp(24px, 5vw, 48px);
  font-weight: bold;
}

h2 {
  font-size: clamp(20px, 4vw, 36px);
  font-weight: bold;
}

p {
  font-size: clamp(14px, 2.5vw, 20px);
  line-height: 1.6;
}


/*=============font=======*/
.main-h2 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.3;
}

.strong {
  font-weight: 900;
}


.main-txt {
  font-size: 55px;
  line-height: 1.5;
  width: 80%;
}

.content-txt {
  font-size: 25px;
  line-height: 1.5;
}

.content-txt-s {
  font-size: 16px;
}


@media screen and (max-width: 1000px) {
  .main-h2 {
    font-size: clamp(18px, 4vw, 45px);
  }
}


@media screen and (max-width: 800px) {
  .main-h2 {
    font-size: clamp(15px, 4vw, 40px);
  }
}


@media screen and (max-width: 480px) {
  .main-h2 {
    font-size: clamp(12px, 4.5vw, 38px);
  }

  .content-txt {
    font-size: 4vw;
  }
}

/*===========SP==========*/

@media screen and (max-width: 800px) {
  .pc-img {
    display: none !important;
  }

  .sp-img {
    display: block;

    margin: 0 0;
  }

  .main-img {
    width: 98%;
  }
}

/*===========PC==========*/
@media screen and (min-width: 800px) {
  .pc-img {
    display: block;
  }

  .sp-img {
    display: none;
  }
}



/*=======================
アニメーション
========================*/

/* スクロールダウンの位置 */
.scroll {
  position: relative;
  text-align: center;
}

/* 矢印のアニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  border-bottom: 5px solid #ffffff;
  border-left: 5px solid #ffffff;
  content: "";
  height: 30px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
}


/* 矢印のアニメーション */
@keyframes scroll {
  0% {
    opacity: 0;
    transform: rotate(-45deg) translate(-1rem, 1rem);
  }

  40% {
    opacity: 1;
  }

  80% {
    opacity: 0;
    transform: rotate(-45deg) translate(-3rem, 3rem);
  }

  100% {
    opacity: 0;
  }
}

/*------------太字----------*/
.strong {
  font-weight: 800;
}

/*------------背景----------*/
.gray-bg {
  background-image: url(../img/gray-bg.webp);
  background-size: 100%;
}

/*------------コンテンツサイズ----------*/
.main-area {
  left: 50%;
  max-width: 800px;
  transform: translateX(-50%);
  width: 90%;
}

/*------------section背景----------*/
.section-bg {
  padding: 5vw 0;
}



.main-darkblue {
  color: #3d568e;
}

.main-blue {
  color: #85b4ed;
}

.main-brown {
  color: #917f4e;
}

.main-balck {
  color: #333333;
}

.main-white {
  color: aliceblue;
}

.main-pink {
  color: #c13a6b;
}


/*------------header----------*/

#header {
  display: flex;
  /* 垂直中央揃え */
  justify-content: space-between;

  align-items: center;
  color: #3d568e;
  /* 左右端に配置 */
  padding: .2rem .5rem;
}



.header-inner h1 {
  font-size: clamp(10px, 2vw, 18px);
  line-height: 1.2;
  font-weight: 400;
}

#header .logo {
  margin-right: .3rem;
  width: 25%;
  max-width: 75px;
  padding-bottom: 1%;
}

#header .btn {
  bottom: 0;
  width: 30%;
  max-width: 240px;
}

#header .header-inner {
  display: flex;

  align-items: center;
  /* 垂直中央揃え */
}

#header .strong {
  font-size: clamp(15px, 3vw, 23px);
  font-weight: 600;
}


/*===========SP==========*/

@media screen and (max-width: 800px) {
  .header-inner h1 {
    font-size: 2.5vw;
  }

  #header .strong {
    font-size: 3.3vw;
  }
}

@media screen and (max-width: 480px) {
  #header {
    padding: 2% 1%;
  }

  .header-inner h1 {
    font-size: 2.9vw;
  }

  #header .strong {
    font-size: 3.7vw;
  }


  #header .logo {
    width: 12vw;
    padding-bottom: 2%;
  }

  #header .btn {
    bottom: 0;
    width: 45%;
  }
}

/*========================
FV 
========================*/
.key-v {
  background-image: url(../img/pc-kv.webp);
  background-position-x: -53vw;
  background-position-y: -15vw;
  background-repeat: no-repeat;
  background-size: 182%;
  box-shadow: 0 6px 8px rgba(0, 0, 0, .2);
  height: 40vw;
  overflow: hidden;
  padding: 5vw 0;
  position: relative;
  position: relative;
  width: 100%;
}


.key-txt {
  left: 12vw;
  position: absolute;
  width: 60vw;
}


/*========================
trouble
========================*/
.trouble .scroll {
  margin-top: -70px;
}

.trouble .main-h2 .strong::after {
  /* 下線の太さ */
  background-color: rgba(161, 187, 201, .7);
  bottom: 5.5vw;
  content: "";
  height: 20px;
  mix-blend-mode: multiply;
  /* 疑似要素の中身は空 */
  position: absolute;
  right: 0;
  /* 文字の下に配置 */
  width: 75%;
  /* 半透明の下線 */
  z-index: -1;
}

.trouble-txt {
  margin-top: 120px;
  position: relative;
}

.trouble-txt .main-h2 {
  position: absolute;
  right: 11%;
  top: -.5%;
}

.trouble-txt .strong {
  font-size: 60px;
  padding: 0 0;
}

/*===========tb==========*/

@media screen and (max-width: 1000px) {
  .trouble-txt .strong {
    font-size: clamp(55px, 6.2vw, 128px);
    padding: 0 0;
  }

  .trouble-txt .main-h2 {
    right: 9%;
    top: -2%;
  }

  .trouble .scroll {
    margin-top: -9vw;
  }

  .trouble-txt {
    margin-top: 16vw;
    position: relative;
  }
}


@media screen and (max-width: 800px) {
  .trouble-txt .strong {
    font-size: clamp(40px, 6vw, 70px);
  }

  .trouble-txt .main-h2 {
    right: 7%;
  }
}

@media screen and (max-width: 480px) {
  .trouble-txt .main-h2 {
    right: 10%;
  }

  .trouble .scroll {
    margin-top: -10vw;
  }

  .trouble-txt {
    margin-top: 30vw;
    position: relative;
  }

  .trouble-txt .strong {
    font-size: clamp(25px, 6vw, 58px);
    padding: 0 0;
  }
}


@media screen and (max-width: 320px) {
  .trouble .scroll {
    margin-top: -12vw;
  }

  .trouble-txt {
    margin-top: 30vw;
    position: relative;
  }

  .trouble-txt .strong {
    font-size: clamp(22px, 6vw, 50px);
    padding: 0 0;
  }
}




/*========================
advise 
========================*/
.advise {
  background-image: url(../img/gray-bg.webp);
  position: relative;
  text-align: center;
}


.advise .main-img {
  bottom: 0;
  left: 50%;
  margin: 0 auto;
  max-width: 800px;
  /* 中央揃え */
  padding: 0;
  position: absolute;
  transform: translateX(-50%);
  width: 100%;
}

.advise .main-h2 {
  left: 50%;
  line-height: 1.5;
  /* X方向・Y方向の中央揃え */
  margin: 0 auto;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.advise .strong {
  font-size: 55px;
}

@media screen and (max-width: 800px) {
  .advise .strong {
    font-size: clamp(40px, 6vw, 70px);
  }
}

@media screen and (max-width: 480px) {
  .advise .strong {
    font-size: clamp(25px, 6vw, 58px);
    padding: 0 0;
  }
}


@media screen and (max-width: 320px) {
  .advise .strong {
    font-size: clamp(22px, 6vw, 50px);
    padding: 0 0;
  }
}


/*========================
recommendation
========================*/
.recommendation {
  background-image: url(../img/bg.webp);
  background-position-y: -25rem;
  background-size: 100%;
  box-shadow: 0 10px 15px rgba(0, 0, 0, .2);
  /* 影を追加 */
  padding-bottom: 5vw;
  position: relative;
  text-align: center;
}

.recommendation .arrow {
  margin-top: -3%;
  width: 55%;
}

.recommendation .main-h3 {
  /* X方向・Y方向の中央揃え */
  font-size: 5rem;
  font-weight: 700;
  left: 50%;
  position: absolute;
  top: 1%;
  transform: translateX(-50%);
}


.recommendation .main-white {
  font-size: clamp(12px, 2.5vw, 40px);
  left: 50%;
  position: absolute;
  top: 5%;
  transform: translateX(-50%);
}

.recommendation .strong {
  font-size: 50px;
}

@media screen and (max-width: 800px) {
  .advise .strong {
    font-size: 7vw;
  }

  .recommendation .main-white {
    font-size: 2.5vw;
  }
}


/*===========SP==========*/
@media screen and (max-width: 800px) {
  .recommendation .arrow {
    margin-top: -5%;
    width: 70%;
  }

  .content-txt .strong {
    font-size: 6vw;
  }
}


/*========================
education 
========================*/
.education {
  padding: 3% 0;
  text-align: center;
  padding-top: 6%
}

.education .title {
  display: inline-block;

  background: #3d568e;
  font-size: 16px;
  padding: 7px 10px;
  position: relative;
  width: 400px;
}

.education .title:before {
  border: 25px solid transparent;
  border-top: 25px solid #3d568e;
  content: "";
  left: 50%;
  margin-left: -6%;
  margin-top: -2%;
  position: absolute;
  top: 100%;
}

.education .content-txt {
  padding-left: 1.5rem;
}

.education .main-txt {
  margin: 3vw auto;
}

.education img {
  max-width: 800px;
  width: 90%;
}



/*===========SP==========*/
@media screen and (max-width: 800px) {
  .education .title {
    width: 45vw;
  }

  .education .title:before {
    border: 4vw solid transparent;
    border-top: 4vw solid #3d568e;
    margin-top: -1vw;
  }

  .education .main-txt {
    width: 90%;
  }
}


@media screen and (max-width: 480px) {
  .education .pc {
    display: none;
  }

  .education .sp {
    display: block;
  }
}

@media screen and (min-width: 480px) {
  .education .pc {
    display: block;
  }

  .education .sp {
    display: none;
  }
}

/*========================
aga-reason
========================*/

.aga-reason {
  padding-bottom: 3rem;
  text-align: center;
}

.aga-reason .title {
  display: inline-block;
  background: #ffffff;
  font-size: 16px;
  margin: 4% 0;
  padding: 7px 10px;
  position: relative;
  width: 400px;
}

.aga-reason-inner {
  padding-bottom: 0rem;
}

.aga-reason-inner2 {
  position: relative;
}


.aga-reason-inner2 .main-h2 {
  left: 50%;
  position: absolute;
  text-align: center;
  /* X方向・Y方向の中央揃え */
  top: 16%;
  transform: translateX(-50%);
}


.aga-reason .title h2 {
  /* 疑似要素の上に表示 */
  padding: 0 5px;
  position: relative;
  z-index: 2;
  /* 左右の余白を調整 */
}

/* 左の背景 */
.aga-reason .title::before {
  /* 画像サイズ調整 */
  background-image: url("../img/emphasis-l.webp");
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  /* 画像サイズ調整 */
  height: 30px;
  left: 7%;
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  width: 30px;
}

/* 右の背景 */
.aga-reason .title::after {
  /* 画像サイズ調整 */
  background-image: url("../img/emphasis-r.webp");
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  /* 画像サイズ調整 */
  height: 30px;
  position: absolute;
  right: 8%;
  top: 30%;
  transform: translateY(-50%);
  width: 30px;
}


.aga-reason .main-area-pc {
  max-width: 800px;
}

.pc-img .main-h2 {
  font-size: 35px;
  top: 10%;
}

@media screen and (max-width: 800px) {
  .aga-reason .title {
    background: #ffffff;
    font-size: 16px;
    margin: 6 0;
    width: 43%;
    margin-bottom: 3%;
  }

  .aga-reason .title::before,
  .aga-reason .title::after {
    height: 3.5vw;
    width: 3.5vw;
  }


  .aga-reason .sp1 {
    margin-left: 2vw;
    z-index: 10 !important;
  }

  .aga-reason .sp2 {
    margin-left: 2vw;
    margin-top: -5vw;
    z-index: 1 !important;
  }


  .sp-img .main-h2 {
    font-size: 5.5vw;
    top: 7%;
    width: 90%;
  }
}


/*========================
.aga-risk
========================*/
.aga-risk {
  padding: 2rem 0;
  text-align: center;
}

.aga-risk .content-txt {
  font-size: 28px;
  font-weight: 700;
  line-height: 2.2;
  position: relative;
  /* 疑似要素の基準 */
  z-index: 1;
}


.aga-risk .content-txt::after {
  /* 下線の太さ */
  background-color: rgba(161, 187, 201, .7);
  bottom: -.3rem;
  content: "";
  height: 40px;
  left: -15px;
  mix-blend-mode: multiply;
  /* 疑似要素の中身は空 */
  position: absolute;
  /* 文字の下に配置 */
  width: 220px;
  /* 半透明の下線 */
  z-index: -1;
}

@media screen and (max-width: 800px) {
  .aga-risk .content-txt {
    font-size: 5vw;
  }

  .aga-risk .content-txt::after {
    bottom: -5%;
    content: "";
    height: 8vw;
    left: -15px;
    /* 疑似要素の中身は空 */
    position: absolute;
    /* 文字の下に配置 */
    width: 120%;
  }

  .aga-risk .main-h2 {
    font-size: 6vw;
  }

  .aga-risk p {
    font-size: 2.5vw;
  }
}


/*========================
.hair-cycle
========================*/

.hair-cycle {
  /* 背景色を適用 */
  display: flex;
  background-color: #e5eef8;
  box-shadow: 0 10px 15px rgba(0, 0, 0, .2);
  height: 970;
  /* 画像の高さに応じて調整 */
  position: relative;
  text-align: center;
}


.white-arrow {
  border: 30px solid transparent;
  border-top: 25px solid #ffffff;
  left: 50%;
  position: absolute;
  top: -1%;
  transform: translateX(-50%);
}


.hair-cycle .main-area {
  margin: 0 auto;
  margin-top: 3%;
  position: absolute;
}


.hair-cycle .content-txt-s {
  bottom: 14%;
  font-size: 16px;
  left: 50%;
  line-height: 1.8;
  margin: 0 auto;
  position: absolute;
  text-align: left;
  transform: translateX(-50%);
}

.content-txt-s .strong {
  margin-left: -.5rem;
}

.content-txt-s .strong-last {
  margin-right: -.5rem;
}

@media screen and (max-width: 800px) {
  .hair-cycle {
    height: 150vw;
  }

  .hair-cycle .main-area {
    margin-top: 4%;
  }
}


/*========================
.standard
========================*/
.standard {
  background-image: url(../img/bg-w.webp);
  background-position-y: -25rem;
  background-size: 100%;
  overflow: hidden;
  position: relative;
}

.standard .pc-img {
  margin: 0 auto;
  max-width: 800px;
  padding: 45px;
}

.standard .main-h2 {
  text-align: center;
}

.standard h2 {
  left: 52%;
  line-height: 1.3;
  margin: 0 auto;
  position: absolute;
  top: 4%;
  transform: translateX(-50%);
}

.standard .main-img:nth-of-type(2) {
  margin-left: 50px;
  max-width: 800px;
  padding-top: 2rem;
}


@media screen and (max-width: 800px) {
  .standard {
    padding-top: 6%;
  }

  .standard .sp-img {
    margin: 0 auto;
  }

  .sp-img .title {
    margin-left: 10%;
    width: 80%;
  }


  .standard h2 {
    width: 100%;
    font-size: 5.5vw;
    left: 55%;
    line-height: 1.3;
    margin: 0 auto;
    position: absolute;
    top: 3%;
    transform: translateX(-50%);
  }

  .standard-table {
    position: relative;
  }

  .standard-main-img-inner {
    margin-left: 1.5%;
    width: 100%;
  }

  .standard-img-inner-box {
    bottom: 44%;
    left: 0;
    margin-left: 8%;
    overflow-x: auto;
    position: absolute;
    /* 横スクロールを許可 */
    white-space: nowrap;
    width: 85%;
    /* 折り返し防止 */
  }

  .standard-img-inner-box img {
    width: 168%;
  }

  .main-img-bottom {
    margin-top: -5%;
    padding: 10vw 6vw;
    padding-top: 0;
    width: 90%;
  }

}

@media screen and (max-width:480px) {
  .standard h2 {
    font-size: 5.5vw;
    margin-left: 5%;
    top: 4%;
    width: 100%;
  }
}

/*========================
compare
========================*/
.compare {
  background-image: url(../img/clean-bg.webp);
  background-position-y: -25rem;
  background-size: 100%;
  position: relative;
  text-align: center;
}

.compare .pc-img {
  margin: 0 auto;
  padding-top: 0;
  width: 800px;
}

.compare h2 {
  left: 50%;
  line-height: 2;
  margin: 0 auto;
  margin-top: 4%;
  position: absolute;
  transform: translateX(-50%);
  width: 100%;
}

.compare .main-white {
  background-color: #3d568e;
  padding: 5px 5px;
}

.compare .wt-bg {
  background-color: #e5eef8;
  padding: 5px 5px;
}

.compare .mincho {
  font-size: 35px;
  font-style: italic;
  padding-right: 20px;
}

.compare .main-img:nth-of-type(2) {
  padding-top: 2rem;
}


@media screen and (max-width: 800px) {

  .compare .main-white,
  .compare .wt-bg {
    font-size: 5.5vw;
    padding: 1vw 1vw;
  }

  .compare .mincho {
    font-size: 5vw;
    margin-left: -1vw;
    padding-right: .7vw;
  }

  .compare .main-img:nth-of-type(2) {
    padding-top: 0rem;
  }

  .compare .main-img .list {
    width: 90%;
  }

  .compare .compare-2 {
    padding-top: 8vw;
    width: 90%;
  }
}



/*========================
feature
========================*/

.feature {
  position: relative;
  text-align: center;
}

.feature .arrow {
  margin: 0 auto;
  width: 600px;
}

.feature h2 {
  padding-bottom: 2rem;
  padding-top: 1.5rem;
}

.feature .main-l {
  font-size: 60px;
  font-style: italic;
}

.feature .feature-txt {
  line-height: 1;
}


@media screen and (max-width: 800px) {
  .feature h2 {
    font-size: 5.5vw;
  }

  .feature .main-h2 {
    font-size: 8vw;
  }

  .feature .arrow {
    margin: 0 auto;
    width: 60%;
  }

  .feature .main-l {
    font-size: 10vw;
  }
}



/*========================
feature-point
========================*/
.feature-point {
  background-image: url(../img/bg.webp);
  background-position-y: -25rem;
  background-size: 200%;
  height: 2200px;
  position: relative;
  text-align: center;
}

.feature-point .main-img {
  margin: 0 auto;
  max-width: 800px;
  padding-top: 20px;
}

.feature-point .main-img img {
  margin-left: .5vw;
  padding-top: 20px;
}


.feature-point .white-arrow {
  top: -2px;
}


@media screen and (max-width: 800px) {
  .feature-point {
    height: 813vw;
  }
}

@media screen and (max-width: 480px) {
  .feature-point {
    height: 835vw;
  }
}


/*========================
case
========================*/

.case {
  background-image: url(../img/bg-w2.webp);
  background-position-y: 80%;
  background-size: 100%;
  padding: 3rem 3rem;
  position: relative;
  text-align: center;
}

.case .content-txt {
  margin-bottom: 3rem;
}

.case .case-poto {
  display: flex;

  margin: 0 auto;
  max-width: 800px;
  padding: 20px 0;
}


.case .case-poto img {
  margin: 0 5px;
  width: 400px;
}

.case .sp-img {
  margin-bottom: 1.5rem;
}



@media screen and (max-width: 800px) {
  .case .main-l {
    font-size: 11vw;
  }

  .case .main-h3 {
    font-size: 9vw;
  }
}


/* =================
よくある質問
==================== */
.faq {
  background-color: #e5eef8;
  margin: 0 auto;
  padding: 3rem 0;
  position: relative;
}

.faq .title {
  margin: 0 auto;
  width: 250px;
}


.faq .title::after {
  /* 下線の太さ */
  background-color: rgba(255, 255, 255, 1);
  bottom: -.2rem;
  content: "";
  /* 文字の下に配置 */
  height: 25rem;
  left: -600px;
  mix-blend-mode: multiply;
  /* 疑似要素の中身は空 */
  position: absolute;
  /* 半透明の下線 */
  z-index: -1;
}

.faq .accordion {
  background-color: #ffffff;
  /* position: absolute; */
  background-repeat: repeat;
  background-size: 100%;
  margin: 0 auto;
  /* background-position-y: 15vw; */
  /* padding-bottom: 8rem; */
  max-width: 800px;
}

@media screen and (max-width: 800px) {
  .faq .title {
    margin: 0 auto;
    width: 48%;
  }

  .faq .accordion {
    margin: 0 auto;
    width: 85%;
  }
}

/* =================
アコーディオン
==================== */
/* 必須 */
.accordion-content {
  display: none;

  padding: 0 1rem;
}

.accordion-header {
  cursor: pointer;
  padding: 1.4vw 6vw 0;
  position: relative;
  transition: background .3s ease;
}

.accordion-header::before,
.accordion-header::after {
  background-color: #3d568e;
  border-radius: 50%;
  bottom: 0;
  content: "";
  height: .8vw;
  margin: auto;
  position: absolute;
  right: 4%;
  top: 10%;
  width: 4vw;
}

.accordion-header::after {
  transform: rotate(-90deg);
  transition: transform .3s;
}

.accordion-header.active::after {
  transform: rotate(0deg);
}



@media (min-width: 750px) {

  .accordion-header::before,
  .accordion-header::after {
    height: 10px;
    width: 50px;
  }
}



.accordion-header span,
.accordion-content span {
  padding-left: 0;
  position: relative;
}

.accordion-header span::before {
  background: #3d568e;
  font-size: 17px;
  left: 0;
  position: absolute;
  top: 10%;
}

.accordion-box {
  border: 2px solid #3d568e;
  margin: 2% 0;
}

.accordion {
  padding: 2% 5%;
}

.accordion-content {
  margin: 2% 2%;
}

.accordion-header {
  padding: 2% 5%;
}


/* =================
offer
==================== */
#offer {
  background-image: url(../img/bg-w.webp);
  background-position-y: 80%;
  background-size: 100%;
  padding: 3rem;
  position: relative;
  text-align: center;
}


#offer a {
  margin: 0 auto;
  position: relative;
}

#offer a img {
  max-width: 750px;
}

#offer .main-img {
  margin: 1rem auto;
  margin-top: 3rem;
  max-width: 800px;
  width: 95%;;
}


@media screen and (max-width: 800px) {
  #offer .main-h2 {
    font-size: 5.5vw;
  }

  #offer .main-h1 {
    font-size: 7vw;
  }

  #offer .main-img {
    margin: 1rem auto;
    margin-top: 5vw;
    max-width: 100%;
  }

  #offer .main-h3 {
    font-size: 2.5vw;
  }
}

/*------*/
/* =================
スライダー
==================== */
.slider-area {
  margin: 0 auto;
  max-width: 100%;
  padding: 0 0;
}

.slick-slide {
  margin: 0 0;
}

.slick-slide img {
  height: auto;
  width: 100%;
}

.slick-prev,
.slick-next {
  z-index: 1;
}

.slick-prev:before,
.slick-next:before {
  color: #000000;
}

.slick-slide {
  opacity: 1;
  transition: all ease-in-out .3s;
}

.slick-active {
  opacity: 1;
}

.slick-current {
  opacity: 1;
}

.slick-next {
  font-size: 40px;
  right: .5%;
}

.slick-prev {
  font-size: 40px;
  left: -.5%;
}

@media (max-width:750px) {
  .slick-next {
    font-size: 11vw;
    right: 7%;
  }

  .slick-prev {
    font-size: 11vw;
    left: 0;
  }
}

.slick-prev:before,
.slick-next:before {
  color: #ffffff;
  font-size: 90%;
}

/*========
クリニックの案内
============*/
#access {
  /* position: relative; */
  background-image: url(../img/access-bg.webp);
  background-repeat: repeat;
  padding-bottom: 4rem;
}

#access .title {
  margin: 0 auto;
  padding: 3rem 0;
  text-align: center;
  top: -3%;
  width: 100%;
}

@media (max-width: 480px) {
  #access .title {
    padding: 20px 0;
  }
}

#access .access-box {
  margin: 0 auto;
  max-width: 800px;
  /* position: absolute; */
  width: 92%;
}



#access .title .main-white {
  display: flex;
  /* 縦方向の中央揃え */
  justify-content: center;

  align-items: center;
  /* 水平方向の中央揃え */
  gap: 1rem;
  padding-top: 2rem;
  position: relative;
  /* 文字と線の間隔 */
  width: 100%;
}



#access .title .main-white::before,
#access .title .main-white::after {
  display: block;
  /* 線の太さ */

  background-color: #ffffff;
  content: "";
  /* 横線の長さ */
  height: 2px;
  width: 100px;
  /* 線の色 */
}

.access-name-box h2 {
  font-size: 20px;
}


.access-name {
  font-size: 3vw;
}

@media screen and (min-width: 800px) {
  .access-name {
    font-size: 26px !important;
  }

  #access table {
    font-size: 15px !important;
  }
}

@media screen and (max-width: 470px) {

  #access .title .main-white::before,
  #access .title .main-white::after {
    display: none;
  }

  .access-name {
    font-size: 2.3vw;
  }
}

#access .slider-area {
  background-color: #ffffff;
  height: 60%;
  left: 10%;
  overflow: hidden;
  position: absolute;
  top: 30%;
  width: 80%;
}


#access table {
  border: 1px solid #ffffff;
  font-size: 2.8vw;
  margin: 0 0;
  text-align: left;
  width: 100%;
}


#access access-wrapper {
  width: 45%;
}


#access .accordion-box {
  margin: 2% 5% !important;
  margin-bottom: 1%;
}


#access .access-name-box {
  background-color: #ffffff;
  margin-top: 10px;
  ;
  padding-bottom: 2%;
}

#access .access-name {
  font-size: 4vw;
  font-weight: 800;
  padding: 4% 0;
  text-align: center;
}

.access-wrapper {
  color: #123157;
  margin-left: 5%;
  width: 90%;
}

.access-wrapper table {
  margin: 2vw auto;
  text-align: left;
  width: 100%;
}

.access-wrapper table th {
  padding: 2%;
  width: 22%;
}

.access-wrapper table td {
  padding: 2%;
  width: 90%;
}

table {
  border-collapse: separate;
  margin: 0 auto;
  width: 100%;
}

tr:nth-child(even) {
  /*----偶数------*/
  background-color: #dfe7ed;
}

tr:nth-child(odd) {
  /*----奇数------*/
  background-color: #eceff1;
  /* 好きな色を指定 */
}



@media (max-width: 750px) {
  #access .accordion-box .accordion-header {
    color: #ffffff;
    font-weight: 900;
    line-height: 1.5;
    text-align: center;
  }

  #access .access-name {
    font-weight: 800;
    padding: 4% 0;
    text-align: center;
  }


iframe {
  height: 100vw;
  margin-top: -290px;
  width: 100%;
}
}

.access-map {
  height: 250px;
  margin: 30px 0 0;
  /* filter: grayscale(1);  */
  margin-bottom: 0;
  overflow: hidden;
  width: 100%;
}

iframe {
  height: 100vw;
  margin-top: -490px;
  width: 100%;
}


@media (max-width: 480px) {
  iframe {
    height: 100vw;
    margin-top: -100px;
    margin-right:70%;
    width: 100%;
  }
}

.message .title {
  padding: 4% 0;
}

.message img {
  margin: 0 auto;
}

.message a {
  margin: 0 auto;
}

@media (max-width: 480px) {
  .message .title {
    padding: 20px 0;
  }

  #access table {
    font-size: 3.5vw;
    margin: 0 0;
  }
}


.message {
  margin-bottom: 30px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 4%;
}

.message a {
  width: 1600px;
  margin-bottom: 6%;
}

.message img {
  margin-top: 2%;
  max-width: 800px;
  width: 90%;
}



footer {
  background-color: #333333;
  color: #ffffff;
  padding: 1rem 0;
  text-align: center;
}


/* =================
フローティングBTN
==================== */
.float-btn .cta img {
  margin-left: 0;
  width: 100% !important;
}


.float-btn {
  bottom: 0;
  display: none;
  padding: 0 0;
  position: fixed;
  width: 100%;
  z-index: 9999;
}


.float-btn .float-access {
  bottom: 5%;
  height: 88%;
  left: 20%;
  position: absolute;
  width: 26%;
}

.float-btn .float-offer {
  bottom: 5%;
  height: 88%;
  position: absolute;
  right: 20%;
  width: 33%;
}

@media (max-width: 800px) {
  .float-btn .float-access {
    left: 4%;
    width: 40%;

  }
  
  .float-btn .float-offer {
    right: 4%;
    width: 51%;

  }
  
}