@charset "UTF-8";

/* デザイン（スマホ） */
@media screen and (max-width: 767px) {
  img {
    max-width: 100%;
    height: auto;
    width: auto;
  }

  /* デザイン（スマホ） */
  img {
    max-width: 100%;
    height: auto;
    width: auto;
  }

  /*****************************************
  ファーストビュー
  *****************************************/
  #fv {
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    text-align: center;
    line-height: 0;
  }

  .fv-pc {
    display: none;
  }

  .fv-sp {
    display: block;
  }


  /*****************************************
全体を囲む
*****************************************/
  #container {
    flex-direction: column;
    background: #fffbfa;
  }


  /*****************************************
左サイドコンテンツ
*****************************************/
  aside {
    order: 1;
    /* 要素の表示順序を前にする */
    position: static;
    /* 固定を解除してデフォルト位置に戻す */
    height: calc(100vh - 150px);
    flex: 1 1 20%;
    min-width: 300px;
    height: auto;
    padding: 20px;
  }

  /*スマホ用のスライド設定（中央にボタン）*/
  /* スライド内コンテンツのコンテナ */
  .slider-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  /* 画像スライダーのコンテナ */
  .slider-container-sp {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 180px;
    /* 適切な高さに設定してください */
  }


  /* 画像スライダーのスライド部分 */
  .slider {
    display: flex;
    width: 300%;
    /* 画像の数 × 100% */
    animation: slide 35s linear infinite;
    /* 15秒かけてスライド、無限ループ */
  }

  @keyframes slide {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-145.55%);
      /* 100% ÷ 18 (画像の数) */
    }
  }

  /* スライド内の各画像 */
  .slider img {
    height: 180px;
    /* 縦幅を固定 */
    width: auto;
    /* 横幅を自動調整 */
    max-width: 100%;
    /* 親要素を超えないようにする */
  }

  /* 中央に配置されるリンク */
  .centered-link {
    position: absolute;
    left: 50%;
    bottom: 20px;
    /* 下部に余白を設ける */
    transform: translateX(-50%);
    z-index: 2;
    text-decoration: none;
    /* リンクの下線を削除 */
  }

  .btn-hikaru {
    padding: 10px 20px;
    background-color: rgba(223, 125, 157, 0.9);
    color: #fff;
    border-radius: 5px;
    width: 90%;
    margin: 0 auto;
    font-size: 13px;
    text-align: center;
  }

  .icon-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 90%;
    margin: auto;
  }

  /*****************************************
メインコンテンツ
*****************************************/
  main {
    order: 2;
    /* 要素の表示順序を後ろにする */
    width: auto;
    margin: 0px;
    background: #fff;
    padding: 0px;
  }

  .main_in {
    width: auto;
    margin: 0px 15px;
  }

  .main_office {
    width: auto;
    margin: 0px 15px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    color: #ffffff;
  }

  /*SECTION-0 業種イメージ（料金ページへのリンク）エリア*/
  .section-0 {
    display: none;
  }

  /*SECTION-1 選ばれる理由*/
  .section-1 {
    width: 100%;
    padding: 25px 0px;
    background: #fbf7f0;
  }

  .reason-box {
    width: auto;
    margin: 20px 15px;
    border: 5px solid #e1caa5;
    padding: 20px 25px;
    background: #fff;
  }

  .reason-ttl-img {
    text-align: center;
  }

  .reason-ttl {
    font-family: 'Shippori Mincho B1', serif;
    text-align: center;
    font-size: 1.4em;
    line-height: 1.4em;
    color: #4a3615;
    margin-bottom: 20px;
  }

  .reason-img {
    text-align: center;
  }

  .reason-text {
    width: auto;
    margin: 0 auto;
    padding: 15px 0px;
    color: #4a3615;
  }

  /*SECTION-2 料金システム*/
  .section-2 {
    width: 100%;
    padding: 40px 0px;
  }

  .price_title {
    font-size: 1.5em;
    font-family: 'Shippori Mincho B1', serif;
    padding-bottom: 10px;
    text-align: center;
    position: relative;
    /* 親要素に相対的な位置を設定 */
    margin-bottom: 15px;
  }

  .price_title::after {
    content: '';
    /* 疑似要素を作成 */
    display: block;
    width: 100px;
    /* 赤線の幅 */
    height: 3px;
    /* 赤線の高さ */
    background-color: #333;
    /* 赤色 */
    position: absolute;
    /* 要素を絶対位置に配置 */
    bottom: -1px;
    /* 下に6pxの位置に配置 */
    left: 50%;
    /* 左端を中央に配置 */
    transform: translateX(-50%);
    /* 中央に調整 */
  }

  .price-yen {
    font-size: 15px;
    text-align: center;
  }

  .price_title_pickup {
    text-align: center;
    font-size: 1.8em;
  }

  .price-yen_pickup {
    text-align: center;
    font-size: 1.2em;
  }

  .a-con-left {
    float: none;
    width: auto;
    margin: 5px;
    padding: 10px
  }

  .a-con-right {
    float: none;
    width: auto;
    margin: 5px;
    padding: 10px
  }

  .accordion-content {
    max-height: none;
    /* 100vh を解除 */
    overflow-y: auto;
    /* コンテンツが画面に収まらない場合にスクロール可能に */
    transition: none;
    /* アニメーションのトランジションを解除 */
  }


  .accordion-button-white {
    /* 既存のスタイル */
    background-color: #fff57f;
    color: #cc0000;
    border: none;
    border-radius: 3px;
    padding: 10px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Zen Kaku Gothic New', sans-serif;

    /* アニメーションの設定 */
    animation: yoyo 1.5s infinite alternate;
  }

  @keyframes yoyo {
    from {
      transform: translateY(0);
    }

    to {
      transform: translateY(-10px);
    }
  }

  /*SECTION-3 制作の流れ*/
  .section-3 {
    width: 100%;
    padding: 40px 0px;
    background: #eef7fc;
  }

  /*SECTION-4 制作デザイン*/
  .section-4 {
    width: 100%;
    padding: 40px 0px;
    background: #ffffff;
  }

  .works_box {
    width: auto;
    margin: 30px 10px;
  }

  .works_box li {
    float: left;
    width: 50%;
    padding: 7px;
    text-align: center;
    list-style: none;
  }

  /*cv-area 問い合わせエリア*/
  .cv-area {
    width: 100%;
    padding: 40px 0px;
    background: #ede9df;
    background-image: url(../image/cv-area_bg_sp.png);
    background-repeat: no-repeat;
    background-position: center center;
  }

  .cv_btn_box {
    width: 300px;
    margin: 10px auto;
  }

  .cv_btn_box li {
    float: left;
    width: 33%;
    text-align: center;
    list-style: none;
    font-size: 13px;
    line-height: 120%;
  }

  .cv_btn_box li img {
    width: 70%;
  }

  /*SECTION-5 よくある質問*/
  .section-5 {
    width: 100%;
    padding: 40px 0px;
    background: #ffffff;
  }

  /*SECTION-6 フォーム埋込*/
  .section-6 {
    width: 100%;
    padding: 40px 0px;
    background: #53bfed;
  }

  /*SECTION-7 オフィス案内*/
  .section-7 {
    background: #1e0500;
    background-image: url(../image/section-7_bg_sp.jpg);
    background-repeat: no-repeat;
    /*background-attachment: fixed;*/
    background-position: right bottom;
  }

  .d-syoukai {
    font-size: 22px;
    color: #d2c7b7;
    font-family: 'Shippori Mincho B1', serif;
    margin-bottom: 20px;
    border-bottom: 1px dotted #d2c7b7;
    padding-bottom: 5px;
    text-align: center;
  }

  .d-name {
    font-size: 30px;
    color: #d2c7b7;
    font-family: 'Shippori Mincho B1', serif;
    margin-bottom: 20px;
    text-align: center;
  }

  .d-photo {
    text-align: center;
    padding: 15px;
  }
}