@charset "UTF-8";

html {
  font-size: 100%;
}

body {
  color: #140f2d;
  font-family: "Noto Sans JP", "Roboto", sans-serif;
  font-weight: 500;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

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

li {
  list-style: none;
}

a {
  color: #2997ab;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}

h2 {
  font-size: 40px;
  line-height: 1.1em;
  margin-bottom: 80px;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1em;
  margin-bottom: 20px;
}

/*---------------
ヘッダー
----------------*/

#header {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;

  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 1000; /* 他の要素より上に出すために追加推奨 */
  box-sizing: border-box;
}

#header .logo {
  margin-right: 20px;
  flex-shrink: 0;
}

#header .logo img {
  height: 40px; /* 必要に応じて調整！ */
  width: auto;
}

#header .navi .menu {
  display: flex;
  align-items: center;
}

#header .navi .menu li {
  font-size: 20px;
  margin-left: 40px;
}

#header .navi .menu li a {
  color: #808080;
}

#header .navi .menu li a:hover {
  color: #333333;
}

#header .navi .menu .menu-contact a {
  border: 2px solid #333;
  display: block;
  font-weight: 500;
  padding: 8px 30px;
  text-align: center;
}

#header .navi .menu .menu-contact a:hover {
  border: 3px solid #000;
}
/*---------------
メインビジュアル
----------------*/
.wrapper-1000 {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

.mainvisual {
  width: 100%;
  max-width: 100%; /* 念のため */
  overflow: hidden;
  line-height: 0; /* 下の隙間対策 */
  margin-bottom: 40px;
}

.mainvisual img {
  width: 100%;
  height: auto;
  display: block;
}

/*---------------
ニュース
----------------*/

.news {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0 40px;
}

.news table {
  width: 100%;
  margin-bottom: 10px;
  border-collapse: collapse;
  border-top: 1px solid #dcdcdc;
  table-layout: fixed; /* ←追加！ */
}

.news table td {
  border-bottom: 1px solid #dcdcdc;
  vertical-align: top;
  padding: 16px 0 16px 0;
  word-break: break-word; /* ←追加！ */
  overflow-wrap: break-word; /* ←追加！ */
}

.news table span.date {
  display: block;
  margin-bottom: 1px;
  font-weight: 500;
  color: #8d8d8d;
  font-size: 12px;
}
.news table a.category {
  font-weight: 500;
  font-size: 12px;
  color: #8d8d8d;
}
.news table td .title a {
  display: block;
  font-size: 12px;
  position: relative;
  top: -1px;
  color: #000000; /* ← ここで黒に */
}

.news table td a.title {
  color: #000000;
}

.news .link {
  border: 2px solid #333;
  display: inline-block; /* ←ここを修正！ */
  font-weight: 500;
  padding: 8px 30px;
  text-align: left;
}
.news .link a {
  text-decoration: none;
  line-height: 0.5em;
  color: #333333;
}

/*---------------
メッセージ
----------------*/

.message {
  margin-bottom: 0px;
  text-align: center;
  padding: 50px 20px;
  color: white;

  background-image: repeating-linear-gradient(
    125deg,
    #ff0000,
    #ff0000 3px,
    #ca3e2f 3px,
    #ca3e2f 6px
  );
}

.message .catchphrase {
  font-size: 40px;
  font-weight: bold;
}

/*---------------
MR
----------------*/
#mr {
  margin-bottom: 50px;
  padding: 50px 20px;
  background-color: #f7f7f7;
}

.fireicon img {
  width: 80px;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-bottom: 20px;
  text-align: center;
}

.section-title-b {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-title-b::before,
.section-title-b::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #e1e1e1;
}

.mr-flex {
  display: flex;
  align-items: flex-start;
  gap: 80px; /* 隙間をあけたい時 */
  margin-top: 30px;
  margin-bottom: 40px;
  width: 100%;
}

.mr-flex video {
  width: 500px; /* ★ここで表示サイズをコントロール！ */
  height: auto;
  flex-shrink: 0;
}

.detail {
  flex: 1;
  width: 100%;
}

.detail p {
  font-size: 26px;
  line-height: 2em;
  color: #666666;
  font-weight: 500;
}

#mr .catchphrase {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.iconbox-wrapper {
  display: flex;
  gap: 40px; /* アイコンボックス同士の間隔 */
  justify-content: space-between;
  flex-wrap: wrap; /* 幅が足りないときは折り返す */
  margin-top: 50px;
}
.iconbox {
  flex: 1;
  min-width: 300px;
  background-color: #fff;
  padding: 40px 30px;
}

.iconbox .iconbox-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.iconbox .description {
  font-size: 20px;
  line-height: 1.5em;
  color: #666666;
  font-weight: 400;
  padding-left: 20px;
}

.iconbox .description li {
  list-style: disc;
}

/*---------------
ボタン
----------------*/
.button {
  text-align: center;
  margin: 50px 0;
}

.button .btn {
  display: inline-block;
  font-size: 30px;
  font-weight: 400;
  padding: 10px 30px;
  border-radius: 5px;
  background-color: #ff9c00;
  color: #fff;
}

/*---------------
動画
----------------*/
#movie {
  margin-bottom: 0px;
  text-align: center;
  padding: 50px 20px;
  color: white;

  background-image: repeating-linear-gradient(
    125deg,
    #ff0000,
    #ff0000 3px,
    #ca3e2f 3px,
    #ca3e2f 6px
  );
}

#movie .section-title-b {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

#movie .section-title-b::before,
.section-title-b::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #e1e1e1;
}

.movie1 iframe {
  width: 80%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.movie-title {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.iconbox-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.iconbox-video {
  flex: 1;
  min-width: 300px;
  max-width: 48%;
}

/* iframe を親要素の幅に合わせてレスポンシブ対応させたい場合 */
.movie2 iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

/*---------------
写真一覧
----------------*/
.image-slider {
  display: flex;
  justify-content: center; /* 中央寄せ */
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.slider-track {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* 画像中央寄せ */
.image-slider img {
  width: 180px;
  height: auto;
  display: block;
}

/* .photo-title を中央に配置 */
.photo-title {
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.note {
  font-size: 14px;
  text-align: center;
  margin-top: 20px;
}

/*---------------
事例
----------------*/

#case {
  background-color: #f7f7f7;
  padding-top: 50px;
  padding-bottom: 50px;
}

.casestudy {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* ← ここを変更！ */
  gap: 20px; /* ← gapだけで間隔を制御する */
  margin-top: 40px;
}

.casestudy-item {
  width: calc(25% - 15px);
  box-sizing: border-box;
}

.casestudy-item img {
  width: 100%;
  aspect-ratio: 3 / 2; /* ← 横長の比率、必要に応じて調整 */
  object-fit: cover;
  border-radius: 4px;
}

.blog-title {
  font-size: 16px;
  font-weight: bold;
  margin: 10px 0 5px;
}

.date {
  font-size: 14px;
  color: #8d8d8d;
  margin-bottom: 8px;
}

.readmore a {
  color: #55adbd;
  font-size: 14px;
}

/*---------------
ゴール
----------------*/

#goal {
  background-color: #ff9c00;
  padding-top: 50px;
  padding-bottom: 50px;
}

#compare {
  background-color: #f7f7f7;
  padding-top: 50px;
  padding-bottom: 50px;
}

#compare img {
  padding-top: 25px;
}

/*---------------
特徴
----------------*/
#feature {
  background-color: #ff9c00;
  padding: 50px 0;
}

.wrapper-1000 {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

.mr-feature-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mr-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.mr-video {
  flex: 0 0 500px;
}

.mr-video video {
  width: 100%;
  height: auto;
  display: block;
}

.mr-text {
  flex: 1;
}

.detail-title {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 20px;
}

.detail {
  font-size: 20px;
  line-height: 1.6;
}

/*---------------
VR
----------------*/
#VR {
  margin-bottom: 0px;
  text-align: center;
  padding: 50px 20px;
  color: white;

  background-image: repeating-linear-gradient(
    125deg,
    #ff0000,
    #ff0000 3px,
    #ca3e2f 3px,
    #ca3e2f 6px
  );
}

#VR .section-title-b {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

#VR .section-title-b::before,
.section-title-b::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #e1e1e1;
}

#VR .movie-title {
  text-align: left;
}

#VR .description p {
  font-size: 20px;
  line-height: 2em; /* ← 行間を広めに */
  font-weight: 400;

  text-align: left;
  margin-top: 1em; /* ← 上に少しマージンを追加 */
}

#VR .image-list {
  display: flex;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

#VR .image-list li {
  flex: 1;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

#VR .image-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  padding: 30px 0;
}

/*---------------
価格
----------------*/
#price {
  background-color: #f7f7f7;
  padding-top: 50px;
  padding-bottom: 50px;
}

.mr-flex {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

/* 1:1バランスにしたいので flex: 1 に */
.iconlist-row {
  display: flex;
  align-items: center;
}

.iconlist-row {
  display: flex;
  align-items: flex-start;
}

.plan {
  font-size: 30px;
  font-weight: 500;
  text-align: center;
  padding: 10px;
  color: #666666;
}

.iconlist_icon {
  height: 64px;
  width: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  color: white;
  background-color: #d1d1d1;
  border-radius: 50%;
  margin-right: 20px;
  flex-shrink: 0;
}

.iconlist_title {
  font-size: 24px;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

.iconlist_text .iconlist_price {
  font-size: 22px;
  margin-bottom: 20px;
}

.option-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.option_title {
  position: relative;
  margin: 20px 0 20px;
  font-size: 22px;
  font-weight: 500;
  display: inline-block; /* 擬似要素の位置指定のために必要 */
}

.option_title::after {
  content: "";
  display: inline-block;
  width: 300px; /* 好きな長さに調整してね */
  height: 1px;
  background-color: #e1e1e1; /* 線の色 */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 10px; /* テキストとの隙間 */
}

.option-item .iconlist_text {
  margin-left: 0;
  padding-left: 0;
}

.desc-title {
  margin: 0 0 10px;
  font-weight: bold;
  font-size: 22px;
}

.desc-list {
  list-style: none;
  padding: 0;
}

.desc-list li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.5em;
}

.desc-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 1em;
  color: #333;
}

#price .dailyplannote {
  text-align: left;
  font-size: 18px;
  font-weight: 400;
  color: #666666;
}

#price .dailyplannote .option_title {
  margin: 20px 0;
}

.planimg {
  text-align: center;
  margin: 30px 0;
}

#price .mr-flex .detail.year p {
  font-size: 20px;
  line-height: 1.6em;
  font-weight: 400;
}
/*---------------
問い合わせ
----------------*/
#contact {
  background-color: #e0e0e0;
  padding-top: 50px;
  padding-bottom: 50px;
}

/*---------------
フッター
----------------*/

#footer {
  border-top: solid 1px #707070;
  padding: 40px 0 20px;
}

#footer .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
}

#footer .logo {
  max-width: 130px;
}

#footer .menu {
  display: flex;
}

#footer .menu li {
  font-size: 14px;
  margin-left: 40px;
  position: relative;
}

#footer .menu li::after {
  content: "";
  width: 1px;
  height: 16px;
  background-color: #000;
  transform: rotate(30deg);
  position: absolute;
  top: 3px;
  right: -20px;
}

#footer .menu li:last-child::after {
  content: none;
}

#footer .copyright {
  font-size: 12px;
  text-align: center;
}

/*---------------
スマートフォン
----------------*/

@media screen and (max-width: 767px) {
  main {
    padding-top: 60px;
  }

  h2 {
    font-size: 20px;
    line-height: 1.1em;
    margin-bottom: 10px;
  }

  /*---------------
スマートフォンヘッダー
----------------*/
  #header {
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
  }

  #header .hamburger {
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: fixed;
    top: 5px;
    right: 10px;
    z-index: 30;
  }

  #header .hamburger span {
    width: 30px;
    height: 3px;
    background-color: #000;
    display: inline-block;
    position: absolute;
    left: 10px;
    transition: all 0.4s;
  }

  #header .hamburger span:nth-of-type(1) {
    top: 16px;
  }

  #header .hamburger span:nth-of-type(2) {
    top: 25px;
  }

  #header .hamburger span:nth-of-type(3) {
    top: 34px;
  }

  #header .navi {
    width: 80%;
    height: 100vh;
    background-color: #fff;
    position: fixed;
    top: 0;
    right: -80%;
    z-index: 20;
    transition: all 0.6s;
  }

  #header .navi .menu {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 60px 0;
    overflow: auto;
  }

  #header .navi .menu li {
    padding: 10px 0;
    margin-left: 0;
  }

  #header .navi.active {
    right: 0;
  }

  #header .hamburger.active span:nth-of-type(1) {
    top: 24px;
    transform: rotate(-45deg);
  }

  #header .hamburger.active span:nth-of-type(2) {
    opacity: 0;
  }

  #header .hamburger.active span:nth-of-type(3) {
    top: 24px;
    transform: rotate(45deg);
  }

  .news {
    max-width: 767px;
    margin: 0 auto;
    padding: 20px 16px 40px; /* ← 横にも余白追加（スマホに効く） */
  }

  /*---------------
スマートフォンメイン
----------------*/
  .inner.wrapper-1000 {
    max-width: 767px;
    padding: 0 10px; /* ←左右に余白つける！ */
  }

  .message .catchphrase {
    font-size: 20px;
    font-weight: bold;
  }

  .fireicon img {
    width: 40px;
    margin-bottom: 10px;
  }

  .message {
    padding: 20px 20px;
  }

  .section-title-b {
    font-size: 20px;
    font-weight: 600;
  }
  /*---------------
MR
----------------*/
  #mr {
    margin-bottom: 20px;
    padding: 20px 20px;
    background-color: #f7f7f7;
  }

  .mr-flex {
    flex-direction: column;
    align-items: center;
    margin: 20px;
    gap: 10px;
  }

  .mr-flex video {
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
  }

  #mr .catchphrase {
    font-size: 18px;
    font-weight: 600;
  }

  .detail {
    width: 100%;

    /* flex: 1; ← スマホではこれを削除または上書きで無効化！ */
  }

  .detail p {
    font-size: 16px;
    line-height: 1.6em;
    color: #666666;
    font-weight: 500;
  }

  .iconbox .iconbox-title {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
  }

  .iconbox .description {
    font-size: 14px;
    line-height: 1.5em;
  }

  .button .btn {
    font-size: 20px;
  }

  #movie {
    padding: 20px 20px;
  }

  #movie .section-title-b {
    font-size: 20px;
    font-weight: 500;
  }

  .movie-title {
    font-size: 18px;
    font-weight: 500;
  }

  .movie2 iframe {
    margin-bottom: 10px;
  }

  .photo-title {
    font-size: 16px;
  }

  .note {
    font-size: 8px;
  }

  .wrapper-1000 {
    max-width: 767px;
    padding: 0 20px;
    margin: 0 auto;
  }

  /*---------------
スマートフォン問い合わせ
----------------*/

  #footer .inner {
    flex-direction: column;
    margin-bottom: 40px;
  }

  #footer .logo {
    margin-bottom: 20px;
  }

  #footer .menu li {
    margin-left: 30px;
  }

  #footer .menu li::after {
    right: -15px;
  }

  #footer .menu li:first-child {
    margin-left: 0;
  }

  .section-title-b {
    font-size: 18px;
  }

  .detail p {
    font-size: 14px;
    line-height: 1.4em;
  }
  /*---------------
動画
----------------*/
  iframe {
    width: 100% !important;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .movie-title {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 10px;
  }

  .iconbox-wrapper {
    flex-direction: column;
  }

  .iconbox-video {
    max-width: 100%;
    margin-bottom: 30px; /* ← これ追加してみて！ */
  }

  .iconbox-video p.movie-title {
    margin-bottom: 10px;
  }

  /*---------------
事例
----------------*/
  #case {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .image-slider {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    flex-wrap: nowrap; /* ← スライドするにはこれも必要！ */
    gap: 10px;
    padding: 10px;
  }

  .slider-track {
    flex-wrap: nowrap; /* ← これも重要！ */
    gap: 10px;
  }

  .image-slider img {
    flex: 0 0 auto;
    width: 80%;
    max-width: 300px;
    scroll-snap-align: start;
    border-radius: 10px;
  }

  .casestudy-item {
    width: calc(50% - 15px);
    box-sizing: border-box;
  }

  .blog-title {
    font-size: 14px;
    font-weight: 400;
  }

  #goal {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  #compare {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  /*---------------
特徴
----------------*/
  #feature {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 40px;
    color: #000;
  }
  #feature .wrapper-1000 {
    max-width: 100%;
    padding: 0 10px;
  }

  #feature .mr-flex {
    flex-direction: column;
    margin-top: 0;
    margin-bottom: 30px;
    color: #000;
  }

  .mr-feature-block {
    gap: 10px;
  }

  #feature .mr-video {
    flex: none;
  }

  #feature .mr-text {
    flex: none;
    padding-right: 20px;
    color: #000;
  }

  #feature .detail-title {
    font-size: 18px;
    color: #000;
  }

  #feature .detail {
    font-size: 16px;
    line-height: 1.8em;
    font-weight: 400;
  }

  #feature .detail-title,
  #feature .detail {
    width: 100%;
    word-break: break-word;
  }

  #VR {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  #VR .movie-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
  }

  #VR .description p {
    font-size: 16px;
    line-height: 2em;
  } /* ← 行間を広めに */

  #VR .image-list {
    display: block; /* flexやgridを無効に */
  }

  #VR .image-list li {
    width: 100%;
    aspect-ratio: auto; /* 高さを画像にまかせる */
    margin-bottom: 5px;
  }

  #VR .image-list img {
    width: 100%;
    height: auto; /* 高さ自動 */
    border-radius: 8px;
    padding: 10px 0;
  }

  /*---------------
価格
----------------*/
  #price {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 40px;
  }

  .plan {
    font-size: 20px;
  }

  .iconlist_icon {
    height: 32px;
    width: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    color: white;
    background-color: #d1d1d1;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
  }

  .iconlist_title {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
  }

  .iconlist_text .iconlist_price {
    font-size: 18px;
  }

  .option_title {
    margin: 20px;
    font-size: 20px;
    font-weight: 500;
  }

  .option_title::after {
    width: 100px; /* 好きな長さに調整してね */
  }

  .desc-title {
    margin: 0 0 10px;
    font-size: 18px;
  }

  .desc-list {
    font-size: 14px;
  }

  #price .dailyplannote {
    padding: 15px;
  }

  #price .mr-flex .detail.year p {
    font-size: 16px;
  }
}
