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

:root {
  --primary-color: #333;
  --secondary-color: #666;
  --accent-color: #007bff;
  --background-color: #fff;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--primary-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* タイポグラフィ */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }


/* 横幅 */
.w-main {
    width: clamp(0px, 400px, 80vw)!important;
    margin: 0 auto;
}
.w-main-wide {
    width: 100%;
    margin: auto;
}


/* デフォルト設定ここまで */
.hidden {
  overflow: hidden;
}
/* fv */
.fv {
  overflow: hidden;
}
.fv_title {
  margin-left: 9px;
  margin-top: -60px;
}
.fv_keni {
  margin-top: -40px;
}
.fv__inner {
  background-image: url(../img/fv_bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: 30px;
}
.fv__banner img {
    width: 100%;
}
.fv_title {
  margin-bottom: 20px;
}
.fv_aoki {
  text-align: center;
}
.fv_aoki img {
  width: 90%;
}
.floating-button {
  z-index: 333;
  -webkit-transition: bottom 0.1s ease-out;
  transition: bottom 0.1s ease-out;
}

.floating-button img {
  max-width: 100%;
}
/* 有名雑誌 */
.famous_magazine {
  overflow: hidden;
}
.famous_magazine__inner {
  background-image: url(../img/famous_magazine_bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: 30px;
}
.famous_magazine__banner {
  text-align: center;
  margin-bottom: 10px;
}
.famous_magazine__banner img {
  width: 85% !important;
}
.famous_magazine_title {
  margin: 35px auto 0;
}
.famous_magazine_01 {
  margin-left: 7px;
}
.famous_magazine_03 {
  margin-left: 10px;
}

/* お悩み */
.solve__inner {
  background-image: url(../img/solve_bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.solve__banner img {
  width: 100%;
}
.solve_bg {
  padding: 40px 20px;
}
/* nine_can */
.nine_can__banner img {
  width: 100%;
  margin-bottom: -10px;
}

/* effect */
.effect__inner {
  background-image: url(../img/effect_bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 0;
}
.effect__banner img {
  width: 100%;
}
.effect__banner > .effect_01,
.effect__banner > .effect_03 {
  margin-left: -10px;
}
.effect__banner > .effect_03 {
  margin-right: -10px;
}

/* mfr */
.mfr__inner {
  background-image: url(../img/mfr_bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 20px;
}
.mfr__banner img {
  width: 100%;
}
.mfr__video {
  margin: 0;
}
.mfr__video video {
  max-width: 100%;
}

/* produce */
.produce {
  overflow: hidden;
}
.produce__inner {
  background-image: url(../img/aoki_produce_bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px 0;
}
.produce__banner img {
  width: 100%;
  margin-bottom: 20px;
}
.aoki_produce {
  margin-right: -30px;
}
.produce__banner > .development_point {
  padding: 0 20px 10px;
  margin-top: -40px;
  width: 90%;
}
.development_point {
  margin-top: -40px;
  padding: 0 20px;
}

/* media_publish */
.media_publish__inner {
  background-image: url(../img/media_publish_bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px 0;
}
.media_publish__banner img {
  width: 100%;
}

/* salon_reviews */
.salon_reviews__inner {
  padding: 20px 0;
}
.salon_reviews__banner img {
  width: 100%;
  margin-bottom: 20px;
}

.nr_nine__inner {
  background-image: url(../img/nr_nine_bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.nr_nine__banner img {
  width: 100%;
}
.nr_nine_cta {
  padding: 20px;
}

.risk_mitigation {
  position: relative;
}
.risk_mitigation__inner {
  background-image: url(../img/risk_mitigation_bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: 40px;
}
.risk_mitigation__banner img {
  width: 100%;
}
.risk_mitigation_img {
  padding: 5px 20px;
}


.know_how__inner {
  background-image: url(../img/know_how_bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 70px;
  margin-top: -60px;
}
.know_how__banner {
  padding: 20px 20px 30px;
}
.know_how__banner img {
  width: 100%;
}

.relief__inner {
  overflow: hidden;
}
.relief__banner {
  margin-bottom: -10px;
}

.relief__banner img {
  width: 104%;
  margin-left: -8px;
}
/* equipment */
.equipment__inner {
  background-image: url(../img/equipment_bg_01.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 30px 10px;
}

.equipment__inner_deep {
  background-image: url(../img/equipment_bg_02.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 30px 20px;
}

.equipment__banner img {
  width: 100%;
}

.equipment__video {
  margin: 20px 0;
}

.equipment__video video {
  max-width: 100%;
}
/* all_solve */
.all_solve {
  margin-bottom: -10px;
}
.all_solve__banner img {
  width: 100%;
}

/* nr_nine_memo */
.nr_nine_memo {
  margin-bottom: -10px;
}
.nr_nine_memo__banner img {
  width: 100%;
}

.merit__inner,
.flow,
.reason {
  margin-bottom: -10px;
}
.merit__banner img {
  width: 100%;
}

.flow__banner img {
  width: 100%;
}

.reason__banner img {
  width: 100%;
}

/* よくある質問 */
.question__banner {
  margin-bottom: -15px;
}
.question__banner img {
  width: 100%;
}
/* 必須 */
.accordion-content {
  display: none;
}

.accordion-header {
  background: linear-gradient(to right, #fbf6ec, #efdbc6);
  padding: 15px 45px 10px 20px;
  margin: 8px 0 0;
  transition: background .3s ease;
  cursor: pointer;
  position: relative;
  border-top: 1px solid;
}

.accordion-header::before,
.accordion-header::after{
  position:absolute;
  content:'';
  top:1px;
  right:20px;
  bottom:0;
  width:12px;
  height:2px;
  margin:auto;
  background:#151E2F;
}
.accordion-header::after{
  transform:rotate(-90deg);
  transition:transform 0.3s;
}
.accordion-header.active::after{transform:rotate(0deg);}

.accordion-content {
  background-color: #FFF;
  padding: 12px 20px 10px;
}

.accordion-header img {
  height: 17px;
}
.second-way img {
  height: 40px;
}
.accordion-content span{
  position: relative;
}


/* hover */
.accordion-header:hover {
  background-color: #F2F2F2;
}

.last_section {
  margin-top: 10px;
}
.last_section__inner {
  background-image: url(../img/last_section_bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 30px 10px;
}

.last_section__banner img {
  width: 100%;
}

/* アニメーション */
.shine-animation {
  position: relative;
  overflow: hidden;
}

.shine-animation::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0) 45%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 55%
  );
  animation: shine 1s linear infinite;
  opacity: 0;
  transform: scale(0);
}

@keyframes shine {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(2);
  }
  100% {
    opacity: 0;
    transform: scale(4);
  }
}

/* それぞれの要素に適用 */
.nr_nine__banner.shine-animation {
  position: relative;
  overflow: hidden;
}

.floating-button.shine-animation {
  position: relative;
  overflow: hidden;
}

/* 中のリンクを上に配置 */
.shine-animation a {
  position: relative;
  z-index: 20;
  display: block;
}

/* contactform */

#contact_form {
  max-width: 100%;
  margin: 0 auto;
}

.contact_form__inner {
  background-color: #fff;
  padding: 20px;
}

.contact_form__banner {
  margin-top: 60px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: calc(100% - 20px);
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  background-color: #e7e7e3;
}

textarea {
  height: 100px;
  resize: vertical;
}

.required,
.any {
  display: inline-block;
  padding: 2px 5px;
  font-size: 12px;
  font-weight: normal;
  color: white;
  margin-right: 5px;
}

.required {
  background-color: #e7516d;
}

.any {
  background-color: #000;
}

.contact_form__banner img {
  width: 100%;
}
.submit {
  text-align: center;
  margin-top: 20px;
}
.submit-button {
  width: 60%;
}
/* プライバシーポリシー */
.privacy-policy {
  text-align: center;
  margin-top: 40px;
}
.privacy-policy a {
  color: #000;
}

/* フッター */
footer {
    text-align: center;
    background-color: #e7e7e3;
    color: #000;
    padding: 10px;
}

.footer__inner .mb_20_sp {
  margin-bottom: 20px;
}
.footer__inner {
  padding: 20px 20px 0;
}
.footer__banner {
  margin-bottom: 10px;
}
.footer__banner img {
  width: 100%;
}
.footer__banner > .nine_logo {
  width: 40%;
}
.company_address {
  margin: 10px 0 40px;
}

footer p {
    margin: 0;
    font-size: 0.8rem;
}



@media screen and (min-width:769px) {
    body {
        max-width: 400px;
    margin: auto;
    }
    .sp {
        display: none;
    }
    .floating-button img {
      max-width: 400px;
      margin: auto;
    }

}


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

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.1rem; }
    h6 { font-size: 1rem; }
    
    .container {
      width: 95%;
      padding: 0 10px;
    }
    .mfr__video {
      margin: 0;
    }

    
    .produce__inner,
    .media_publish__inner,
    .salon_reviews__inner {
      padding: 10px 0;
    }
    .media_publish__inner {
      padding: 20px 0 0;
    }
    
    .produce__banner img {
      margin-bottom: 10px;
    }
}