@charset "UTF-8";
@media screen and (min-width: 768px), print {
  :root {
    --main-color: #b98560;
    --accent-color: #b79333;
    --text-color: #543926;
    --black-color: #3a3934;
    --blue-color: #608db9;
  }
  .sp {
    display: none;
  }
  main p {
    color: #3a3934;
    letter-spacing: 0.05em;
    line-height: 2;
  }
  #contentsmain {
    margin-bottom: 60px;
  }
  .mainimg {
    background: url(../images/about/contentsmain.jpg) top center no-repeat;
    height: 1125px;
    margin: -81px auto -12px;
    text-align: center;
    max-width: 1920px;
    z-index: -1;
    position: relative;
    margin-bottom: 81px;
  }
  .contentsmain-text {
    width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }
  .contentsmain-text h2 {
    font-size: 24px;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
    width: 326px;
    color: var(--text-color);
  }
  .contentsmain-text p {
    width: 721px;
  }
  #contents01 {
    width: 1100px;
    margin: 0 auto;
    padding-top: 42px;
  }
  #contents01 h2 {
    margin-bottom: 15px;
  }
  .contents-commonbox-num {
    font-size: 111px;
    font-family: "Montserrat";
    color: var(--accent-color);
    font-weight: 500;
    margin-right: 30px;
  }
  .contents-commonbox-ttl {
    font-size: 38px;
    color: var(--text-color);
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
  }
  .contents01-2column {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
  }
  .contents01-2column-r {
    margin-left: 60px;
  }
  .contents01-2column h3 {
    color: var(--text-color);
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 26px;
  }
  .contents01-2column-r p {
    margin-bottom: 20px;
  }
  .contents01-point {
    background-color: #fff;
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 70px;
    margin-bottom: 30px;
  }
  .contents01-point h3 {
    color: var(--text-color);
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 26px;
  }
  .contents01-point-icon {
    position: absolute;
    top: 20px;
    left: 0;
  }
  .contents01-point-l {
    margin-right: 50px;
  }
  .basic-btn a {
    background-color: var(--main-color);
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 60px;
    position: relative;
  }
  .basic-btn a:after {
    content: ">";
    position: absolute;
    right: 30px;
    top: 47%;
    transform: translateY(-50%);
    font-family: "Zen Maru Gothic", sans-serif;
  }
  .basic-btn a:hover {
    text-decoration: none;
  }
  .mt30 {
    margin-top: 30px;
  }
  .contents01-bnrarea {
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px;
  }
  .contents01-lineup h2 {
    font-size: 111px;
    font-family: "Montserrat";
    color: var(--accent-color);
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
  }
  .contents01-lineup h3 {
    color: var(--text-color);
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 38px;
    font-weight: 500;
    margin-bottom: 50px;
    text-align: center;
  }
  .contents01-lineup-list {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
  }
  .contents01-lineup-subttl {
    color: var(--text-color);
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.6;
  }
  .contents01-lineup-bnr {
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
    margin-top: 30px;
  }
  #contents02 {
    padding-top: 110px;
  }
  #contents02 .contents-commonbox {
    width: 1100px;
    margin: 0 auto;
  }
  .contents02-underbox {
    background: url(../images/about/contents02-bigpht01.png) center top
      no-repeat;
    margin: 0 auto 130px;
    text-align: center;
    max-width: 1920px;
    height: 736px;
  }
  .contents02-underboxtext {
    background-color: #fff;
    height: 268px;
    width: 878px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    bottom: 0;
    position: absolute;
    text-align: center;
    left: 0;
    right: 0;
  }
  .contents02-underbox-ttl {
    color: var(--text-color);
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.6;
  }
  .slider-ttl {
    color: var(--text-color);
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 34px;
    font-weight: 500;
    margin-bottom: 40px;
    line-height: 1.6;
    text-align: center;
    padding-top: 12px;
  }
  /* ベース */
  .sliderarea {
    width: 100%; /* 100vwだとスクロールバー分でズレる場合がある */
    overflow: hidden;
    position: relative;
    margin-bottom: 60px;
  }

  /* トラック */
  .sliderarea ul {
    --gap: 50px;
    --dur: 30s; /* 速度：数値↑=ゆっくり */

    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    gap: var(--gap);
    justify-content: flex-start; /* 明示しておく */
    width: max-content;

    animation: marquee var(--dur) linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
  }

  /* カード幅は1箇所で定義（混在禁止） */
  .sliderarea li {
    flex: 0 0 auto;
    width: 383px;
    margin: 0; /* 余白は gap に統一 */
    box-sizing: border-box;
  }

  /* 画像まわり：高さを先取りしてレイアウトシフト防止 */
  .sliderarea figure {
    margin: 0;
    margin-bottom: 18px;
    aspect-ratio: 3 / 2; /* 実画像に合わせて 16/9 等に変更 */
    overflow: hidden;
  }
  .sliderarea picture,
  .sliderarea img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .item-name {
    font-size: 24px;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
    color: #543926;
  }

  /* 動きが苦手な利用者に配慮 */
  @media (prefers-reduced-motion: reduce) {
    .sliderarea ul {
      animation: none;
    }
  }

  @keyframes marquee {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(-50%, 0, 0);
    } /* 2周分の半分だけ動かす */
  }

  .contents02-bnr {
    margin: 0 auto 130px;
    text-align: center;
  }
}

@media screen and (min-width: 768px) and (max-width: 1450px) {
}

@media screen and (max-width: 767px) {
  :root {
    --main-color: #b98560;
    --accent-color: #b79333;
    --text-color: #543926;
    --black-color: #3a3934;
    --blue-color: #608db9;
  }
  body {
    background: #faf6f2;
  }
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  main p {
    color: #3a3934;
    font-size: 3.86vw;
    letter-spacing: 0.05em;
    line-height: 2;
  }
  #contentsmain {
    width: 100%;
    h2 {
      font-size: 5.31vw;
      font-family: "Zen Maru Gothic", sans-serif;
      font-weight: 500;
      font-style: normal;
      margin-bottom: 3.86vw;
      width: 100%;
      color: var(--text-color);
      line-height: 1.6;
    }
  }
  .mainimg {
    background: url(../images/about/sp-contentsmain.png) center no-repeat;
    background-size: 100%;
    height: 132.61vw;
    margin: 0 auto 7vw;
    text-align: center;
  }
  .contentsmain-text {
    width: 100%;
    padding: 0 5.31vw;
  }
  #contents01 {
    width: 100%;
    padding: 20vw 5.31vw 0;
  }
  #contents01 {
    width: 100%;
    margin: 0 auto;
    h2 {
      display: flex;
      align-items: center;
    }
  }
  .contents-commonbox-num {
    font-size: 19.32vw;
    font-family: "Montserrat";
    color: var(--accent-color);
    font-weight: 500;
    margin-right: 4.25vw;
  }
  .contents-commonbox-ttl {
    font-size: 6.28vw;
    color: var(--text-color);
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
    display: block;
    line-height: 1.4;
  }
  .contents01-2column figure {
    margin-bottom: 4.83vw;
  }
  .contents01-2column h3 {
    color: var(--text-color);
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 5.31vw;
    font-weight: 500;
    margin-bottom: 4vw;
  }
  .contents01-2column-r p {
    margin-bottom: 2vw;
  }
  .contents01-point {
    background-color: #fff;
    position: relative;
    padding: 13.04vw 4.35vw;
    margin-bottom: 7.25vw;
  }
  .contents01-point h3 {
    color: var(--text-color);
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 5.31vw;
    font-weight: 500;
    margin-bottom: 3.28vw;
  }
  .contents01-point-icon {
    position: absolute;
    top: 20px;
    left: 0;
    width: 37vw;
  }
  .contents01-point-l {
    margin-bottom: 4.83vw;
  }
  .basic-btn a {
    background-color: var(--main-color);
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 3.86vw;
    font-weight: 500;
    color: #fff;
    border-radius: 7.25vw;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 14.49vw;
    position: relative;
  }
  .basic-btn a:after {
    content: ">";
    position: absolute;
    right: 5vw;
    top: 47%;
    transform: translateY(-50%);
    font-family: "Zen Maru Gothic", sans-serif;
  }
  .sp-mt30 {
    margin-top: 7.25vw;
  }
  .contents01-bnrarea li:first-child {
    margin-bottom: 3.62vw;
  }
  .contents01-lineup h2 {
    font-size: 14.49vw;
    font-family: "Montserrat";
    color: var(--accent-color);
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    text-align: center;
    display: block !important;
  }
  .contents01-lineup h3 {
    color: var(--text-color);
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 6.28vw;
    font-weight: 500;
    margin-bottom: 6.28vw;
    text-align: center;
  }
  .contents01-bnrarea {
    margin-bottom: 12.08vw;
  }
  .contents01-lineup-list {
    justify-content: space-between;
    margin-bottom: 4vw;
  }
  .contents01-lineup-list li {
    margin-bottom: 3.86vw;
  }
  .contents01-lineup-subttl {
    color: var(--text-color);
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 5.31vw;
    font-weight: 500;
    margin-bottom: 3.86vw;
    line-height: 1.6;
  }
  .contents01-lineup-bnr {
    margin-top: 7.25vw;
    display: flex;
    flex-wrap: wrap;
    gap: 2.42vw;
    margin-bottom: 4.83vw;
    li {
      width: calc(50% - 1.21vw);
    }
  }
  #contents02 {
    width: 100%;
    padding: 12vw 5.31vw 0;
    h2 {
      display: flex;
      align-items: center;
    }
  }
  .slider-ttl {
    color: var(--text-color);
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 5.8vw;
    font-weight: 500;
    margin-bottom: 7vw;
    line-height: 1.67;
    letter-spacing: 0;
    text-align: center;
    margin-top: 8vw;
  }
  /* ベース */
  .sliderarea {
    width: 100%; /* 100vwだとスクロールバー分でズレる場合がある */
    overflow: hidden;
    position: relative;
    margin-bottom: 12vw;
  }

  /* トラック */
  .sliderarea ul {
    --gap: 7.25vw;
    --dur: 30s; /* 速度：数値↑=ゆっくり */

    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    gap: var(--gap);
    justify-content: flex-start; /* 明示しておく */
    width: max-content;

    animation: marquee var(--dur) linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
  }

  /* カード幅は1箇所で定義（混在禁止） */
  .sliderarea li {
    flex: 0 0 auto;
    width: 77.29vw;
    margin: 0; /* 余白は gap に統一 */
    box-sizing: border-box;
  }

  /* 画像まわり：高さを先取りしてレイアウトシフト防止 */
  .sliderarea figure {
    margin: 0;
    aspect-ratio: 3 / 2; /* 実画像に合わせて 16/9 等に変更 */
    overflow: hidden;
    margin-bottom: 2.42vw;
  }
  .sliderarea picture,
  .sliderarea img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* 動きが苦手な利用者に配慮 */
  @media (prefers-reduced-motion: reduce) {
    .sliderarea ul {
      animation: none;
    }
  }

  @keyframes marquee {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(-50%, 0, 0);
    } /* 2周分の半分だけ動かす */
  }
  #contents02 .contents-commonbox {
    width: 100%;
    margin: 0 auto;
  }
  .contents02-underbox {
    background: url(../images/about/sp-contents02-bigpht01.png) center top
      no-repeat;
    background-size: contain;
    margin: 0 auto 20vw;
    text-align: center;
    height: 144.93vw;
    position: relative;
    width: 100vw;
    margin-left: -6vw;
  }
  .contents02-underboxtext {
    background-color: #fff;
    height: auto;
    width: 90%;
    padding: 7.25vw 4.83vw 9.66vw;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    top: 65.2vw;
    position: absolute;
    text-align: left;
    left: 0;
    right: 0;
    height: 72.46vw;
  }
  .contents02-underbox-ttl {
    color: var(--text-color);
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 5.31vw;
    font-weight: 500;
    margin-bottom: 3.86vw;
    line-height: 1.6;
  }
  .item-name {
    font-size: 5.31vw;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
    color: #543926;
  }
  .contents02-bnr {
    margin: 0 auto 25vw;
    text-align: center;
  }
}
