@charset "UTF-8";
/*
 * menu.scss
 * ページ専用スタイル
 */
.hero-banner {
  width: 100%;
  height: 250px;
  background-color: #333;
  background-image: url("https://i.imgur.com/eP6dC9H.jpeg");
  background-size: cover;
  background-position: center;
  margin-bottom: 40px;
}

.main-section {
  padding: 40px;
  text-align: center;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  letter-spacing: 7px;
  margin-bottom: 10px;
}

.section-title-line {
  border: 0;
  height: 2px;
  width: 150px;
  margin: auto;
  background: #005a9c;
}

.section-sub-title {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  font-size: 16px;
  font-weight: 100;
  margin-bottom: 30px;
  color: #5b92bb;
}

.tabs-no-js {
  text-align: center;
}
.tabs-no-js .tab-radio {
  display: none;
}
.tabs-no-js .tab-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.tabs-no-js .tab-labels .tab-link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 10px;
  cursor: pointer;
  border: 1px solid #005a9c;
  border-radius: 6px;
  background-color: #ffffff;
  color: #005a9c;
  font-size: 16px;
  font-weight: 500;
  transition: border-color 0.3s, color 0.3s;
}
.tabs-no-js .tab-labels .tab-link:hover {
  background-color: #f0f8ff;
}

.tab-content {
  display: none;
}

#tsuya-radio:checked ~ .tab-labels label[for=tsuya-radio],
#kokubetsu-radio:checked ~ .tab-labels label[for=kokubetsu-radio],
#hoji-radio:checked ~ .tab-labels label[for=hoji-radio] {
  border: 2px solid #5b92bb;
  border-radius: 6px;
  color: #005a9c;
  padding: 14px 9px;
  background-color: #f0f8ff;
}

.tab-panels {
  display: flex;
  justify-content: center;
}

#tsuya-radio:checked ~ .tab-panels #tsuya,
#kokubetsu-radio:checked ~ .tab-panels #kokubetsu,
#hoji-radio:checked ~ .tab-panels #hoji {
  display: block;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 1100px) {
  .scene-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 800px) {
  .scene-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

#simulation {
  background-color: #ffffff;
  margin-top: 40px;
}

.simulation-form-container {
  max-width: 700px;
  margin: 0 auto 30px;
  border: 1px solid #ccc;
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  border-bottom: 1px solid #ccc;
}
.form-row:last-child {
  border-bottom: none;
}

.form-label {
  width: 150px;
  background-color: #f0f8ff;
  padding: 20px;
  font-weight: bold;
  text-align: center;
  border-right: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-input-area {
  flex-grow: 1;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-input-area input[type=number],
.form-input-area select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100px;
}

.form-input-area-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #005a9c;
  padding: 5px 10px;
  width: 130px;
  border-radius: 6px;
}

.submit-button {
  background-color: #005a9c;
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin: 20px auto;
  display: block;
}

.simulation-result {
  max-width: 700px;
  height: 200px;
  background-color: #f0f0f0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #888;
  font-size: 18px;
}

.vertical-line {
  width: 1px;
  height: 100%;
  background-color: #ccc;
  margin: 0 10px;
}

.scene-item {
  background-color: #fff;
  width: 302px;
  border: 1px solid #e0e0e0;
  box-sizing: border-box;
}
.scene-item .image-placeholder {
  width: 100%;
  height: 200px;
  background-color: #f0f0f0;
  position: relative;
}
.scene-item .image-placeholder img {
  aspect-ratio: 3/2;
  object-fit: cover;
}
.scene-item .item-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
}
.scene-item .item-content .title-wrapper {
  position: relative;
  align-self: center;
  width: 100%;
  text-align: left;
}
.scene-item .item-content .title-wrapper .item-tag {
  display: inline-block;
  background-color: #c9c2b3;
  color: #fff;
  font-size: 12px;
  padding: 4px 20px;
  border-radius: 4px;
}
.scene-item .item-content .title-wrapper .no-tag {
  display: inline-block;
  background-color: none;
  font-size: 12px;
  padding: 4px 20px;
  border-radius: 4px;
}
.scene-item .item-content .title-wrapper .item-title {
  font-size: 28px;
  font-weight: 500;
  color: #333;
  margin: 0;
  text-align: center;
}
.scene-item .item-content .title-wrapper .item-title .reading {
  font-size: 20px;
}
.scene-item .item-content .title-wrapper .subtitle {
  font-size: 14px;
  color: #777;
  font-weight: normal;
  text-align: center;
}
.scene-item .item-content .price-wrapper {
  margin: 0 0 5px 0;
  display: flex;
  align-items: baseline;
  align-self: flex-end;
}
.scene-item .item-content .price-wrapper .main-price {
  font-size: 26px;
  font-weight: bold;
  color: #333;
}
.scene-item .item-content .price-wrapper .tax-price {
  font-size: 14px;
  color: #888;
  margin-left: 8px;
}
.scene-item .item-content .details-button {
  display: inline-block;
  text-decoration: none;
  color: #aaa;
  border: 1px solid #ddd;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  transition: background-color 0.2s, color 0.2s;
  align-self: flex-end;
  cursor: pointer;
}
.scene-item .item-content .details-button:hover {
  background-color: #f5f5f5;
  color: #555;
}

.product-badge-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
}
.product-badge-overlay .badge-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.page-header {
  padding-top: 80px;
  position: relative;
  width: 100%;
  height: 550px;
  background-color: #e9eded;
  overflow: hidden;
  margin-bottom: 80px;
}
.page-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 250px;
  height: 100%;
  background-image: url("../images/top/top_inquiry_bgpattern.png");
  background-repeat: no-repeat;
  background-size: 200px;
  background-position: left bottom;
  z-index: 1;
}
.page-header .container {
  position: relative;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  z-index: 3;
}
.page-header .vertical-title {
  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  padding: 30px 15px;
}
.page-header .vertical-title .text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 28px;
  letter-spacing: 0.2em;
  color: #333;
  background-color: white;
}
.page-header .vertical-title img {
  position: absolute;
  right: -5px;
  top: 16%;
}
@media (max-width: 768px) {
  .page-header .vertical-title img {
    right: -10px;
  }
}
.page-header .main-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 75%;
  height: 450px;
  z-index: 2;
}
.page-header .main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-header .breadcrumbs {
  position: absolute;
  bottom: 13%;
  left: 25%;
  font-size: 12px;
  color: #555;
}
.page-header .breadcrumbs a {
  color: #555;
  text-decoration: none;
}
.page-header .breadcrumbs a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .page-header {
    height: 300px;
  }
  .page-header .vertical-title {
    left: 5%;
    padding: 20px 10px;
  }
  .page-header .vertical-title .text {
    font-size: 20px;
  }
  .page-header .main-image {
    width: 80%;
  }
  .page-header .breadcrumbs {
    left: 5%;
    transform: none;
  }
}
.page-header .white-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background-color: white;
}

.new-row {
  grid-column-start: 1;
}