.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  width: 100%;
  height: auto !important;
  overflow: hidden;
  background-color: #D2D2D2;
  align-items: stretch;
  isolation: isolate;
}

@media (min-width: 769px) {
  .hero {
    aspect-ratio: 1440 / 800;
  }
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100% !important;
  overflow: hidden;
}

.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide {
  width: 100% !important;
  height: 100% !important;
}

.hero-txt {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(16px, 2vw, 60px) 10% clamp(16px, 11vw, 500px) 8%;
  box-sizing: border-box;
  pointer-events: none;
}

.hero-txt .logo,
.hero-txt h1,
.hero-txt p {
  pointer-events: auto;
  user-select: text;
  -webkit-user-select: text;
}

.hero-txt .logo {
  background-color: transparent;
  padding: clamp(4px, 0.7vw, 10px);
  max-width: clamp(120px, 16vw, 240px);
  height: auto;
}

.hero-txt .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.7;
}

.hero-txt h1 {
  font-size: min(4rem, 2.8vw);
  font-weight: 400;
  color: #000;
  font-family: "Zen Old Mincho", serif;
  margin-top: clamp(12px, 2.5vw, 50px);
  text-box: trim-both cap alphabetic;
}

.hero-txt p {
  font-size: min(2rem, 1.2vw);
  color: #000;
  font-family: "Zen Old Mincho", serif;
  margin-top: clamp(12px, 2.3vw, 40px);
  text-box: trim-both cap alphabetic;
  line-height: 2.2;
  font-weight: 300;
}

.hero-slide {
  background-color: #D2D2D2;
  background-position: right center;
  background-size: 70% 100%;
  background-repeat: no-repeat;
}

.hero-slide canvas {
  display: block;
  z-index: 0;
  pointer-events: auto;
}

.hero-slide.is-ripple-paused canvas {
  display: none !important;
}

.hero-slide-01 {
  background-image: url("../images/mv-01.jpg");
}

.hero-slide-02 {
  background-image: url("../images/mv-02.jpg");
}

.hero-slide-03 {
  background-image: url("../images/mv-03.jpg");
}

.hero-slide-04 {
  background-image: url("../images/mv-04.jpg");
}

.hero-slide-05 {
  background-image: url("../images/mv-05.jpg");
}

.hero-slide-06 {
  background-image: url("../images/mv-06.jpg");
}


.hero-slider .swiper-pagination {
  bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
  background-color: rgb(255 255 255 / 50%);
  border-radius: 50%;
  opacity: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-slider .swiper-pagination-bullet:focus-visible {
  background-color: #000;
}

@media (hover: hover) and (pointer: fine) {
  .hero-slider .swiper-pagination-bullet:hover {
    background-color: #000;
  }
}

.hero-slider .swiper-pagination-bullet-active {
  background-color: #000;
}

.title {
  border-bottom: 1px solid #000;
  border-left: 5px solid #000;
  display: flex;
  width: fit-content;
  align-items: center;
  padding: 15px 0 15px 20px;
  gap: 30px;
}

.title h2 {
  font-size: 8rem;
  font-weight: 400;
  text-box: trim-both cap alphabetic;
}

.title .ns {
  font-size: 2.4rem;
  font-family: "Zen Old Mincho", serif;
  text-wrap: nowrap;
}

.title .sub {
  font-size: 1.4rem;
  font-family: "Zen Old Mincho", serif;
}

.variation-tabs {
  width: 100%;
  margin-top: 80px;
}

.variation-tab-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 6px;
  border-bottom: 1px solid #000;
}

.variation-tab {
  flex: 1 0 auto;
  margin-bottom: 6px;
  padding: 14px 10px;
  white-space: nowrap;
  color: #000;
  background-color: #D6DADA;
  font: inherit;
  border: 1px solid transparent;
  border-bottom: 0;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease;
  font-size: 1.6rem;
  text-align: center;
  text-box: trim-both cap alphabetic;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
}

@media (hover: hover) and (pointer: fine) {
  .variation-tab:hover:not(.is-active) {
    background-color: #EBEDED;
  }
}

.variation-tab.is-active {
  margin-bottom: -1px;
  padding-bottom: 21px;
  background-color: #EBEDED;
  border-color: #000;
}

.variation-panel {
  min-height: 240px;
  padding: 40px;
  background-color: #fff;
}

.variation-panel[hidden] {
  display: none;
}

#features {
  padding: 80px 0 0;
}

#features .read {
  margin-top: 60px;
}

#features .read p {
  font-size: 2.4rem;
  font-family: "Zen Old Mincho", serif;
  text-box: trim-both cap alphabetic;
}

#features .contents {
  margin-top: 40px;
  background-color: rgba(214, 218, 218, 0.5);
  padding: 2.5vw;
  box-sizing: border-box;
}

#features .contents .feature_box {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
}

#features .contents .feature_box .feature_box_item {
  width: 31%;
}

#features .contents .feature_box .feature_box_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-top: 10px;
}

#features .contents .feature_box .feature_box_item .number {
  font-size: 1.6rem;
  font-family: "Zen Kaku Gothic Antique";
  text-box: trim-both cap alphabetic;
}

#features .contents .feature_box .feature_box_item .number span {
  font-size: 2.4rem;
}

#features .contents .feature_box .feature_box_item .text h3 {
  font-size: 2.1rem;
  font-family: "Zen Old Mincho", serif;
  text-box: trim-both cap alphabetic;
  margin-top: 24px;
  font-weight: 500;
}

#features .contents .feature_box .feature_box_item .text p {
  font-size: 1.6rem;
  font-family: "Zen Old Mincho", serif;
  text-box: trim-both cap alphabetic;
  margin-top: 16px;
  line-height: 1.8;
  font-weight: 300;
  margin-top: 24px;
}

#plan .read {
  font-size: 2.4rem;
  font-family: "Zen Old Mincho", serif;
  text-box: trim-both cap alphabetic;
  margin-top: 60px;
}

#image {
  width: 100%;
  margin-bottom: 80px;
}

#image .read {
  width: 100%;
  margin-top: 60px;
}

#image .read p {
  font-size: 2.4rem;
  font-family: "Zen Old Mincho", serif;
  text-box: trim-both cap alphabetic;
}

#image .contents {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  box-sizing: border-box;
  margin-top: 40px;
}

#image .image_box {
  display: flex;
  flex: 1 1 calc(50% - 20px);
  flex-direction: column;
  align-items: center;
  min-width: 0;
  max-width: calc(50% - 20px);
  box-sizing: border-box;
}

#image .image_box_photo,
#image .image_box_logo {
  display: block;
  max-width: 100%;
  height: auto;
}

#image .image_box_photo {
  width: 100%;
}

#image .image_box_logo {
  width: auto;
  max-width: 280px;
  margin: 28px auto 20px;
}

#image .image_box p {
  width: calc(100% - 40px);
  margin: 0 auto;
  color: #000;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2;
  text-align: left;
  font-family: "Zen Old Mincho", serif;
}

#life_style .read p {
  font-size: 2.4rem;
  font-family: "Zen Old Mincho", serif;
  text-box: trim-both cap alphabetic;
  margin-top: 60px;
}

#life_style>.contents {
  margin-top: 40px;
}

#variation {
  padding: 80px 0 100px;
  background-color: #EBEDED;
}

#variation .variation-panel {
  padding: 60px 0;
  background-color: transparent;
}

#variation .panel_box {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

#variation .panel_read {
  font-size: 1.6rem;
  font-family: "Noto Serif JP", serif;
  text-box: trim-both cap alphabetic;
  font-weight: 500;
}

#variation .panel_point {
  font-size: 1.4rem;
  font-family: "Noto Serif JP", serif;
  text-box: trim-both cap alphabetic;
  margin: 20px 0 40px;
}

#variation .panel_box_item {
  display: grid;
  grid-template-columns: 32% 1fr;
  gap: 40px;
  align-items: start;
}

#variation .panel_box_item_img {
  width: 100%;
  overflow: hidden;
}

#variation .panel_box_item_img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

#variation .panel_box_item_txt {
  min-width: 0;
}

#variation .panel_title {
  font-family: "Noto Serif JP", serif;
  font-size: 2.4rem;
  text-box: trim-both cap alphabetic;
  font-weight: 500;
}

.panel_title_copy {
  font-family: "Noto Serif JP", serif;
  font-size: 2.4rem;
  text-box: trim-both cap alphabetic;
  font-weight: 500;
  padding: 0 0 50px 0;
}

#variation .panel_text {
  margin: 20px 0 40px;
  line-height: 1.7;
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  text-box: trim-both cap alphabetic;
}

#variation .panel_box_group {
  margin-top: 20px;
}

#variation .panel_box_group_title {
  margin-bottom: 10px;
  font-family: "Noto Serif JP", serif;
  /* panel_titleと同じ明朝体に統一 */
  font-size: 2.4rem;
  /* panel_titleと同じサイズに統一 */
  font-weight: 500;
  /* 太さを統一 */
  text-box: trim-both cap alphabetic;
  letter-spacing: 0.1em;
}

#variation .panel_box_group_img {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#variation .panel_icon {
  flex: 0 1 15%;
  min-width: 70px;
  max-width: 100px;
  cursor: pointer;
}

.life_style_modal.panel_icon_modal {
  width: min(calc(100% - 40px), 720px);
  max-width: 720px;
  min-height: 0;
  padding: 40px 25px 25px;
}

.panel_icon_modal .life_style_modal_content {
  display: block;
}

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

.panel_icon_modal p {
  margin-top: 16px;
  font-size: 1.6rem;
  line-height: 1.5;
  text-align: center;
}

.panel_icon_modal p[hidden] {
  display: none;
}

#variation .panel_icon img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

#variation .panel_icon p {
  margin-top: 5px;
  line-height: 1.4;
  font-size: 1rem;
}

#variation .panel_sim {
  width: 100%;
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

#variation .panel_sim h3 {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 4rem;
  text-box: trim-both cap alphabetic;
  font-weight: 500;
}

#variation .panel_sim p {
  font-family: "Noto Serif JP", serif;
  font-size: 2.1rem;
  text-box: trim-both cap alphabetic;
  font-weight: 500;
  margin-top: 20px;
}

#variation .panel_sim a {
  color: #000;
  text-decoration: none;
}

#variation .panel_sim_btn {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 20px 30px;
  margin: 30px auto 0;
  text-align: center;
  background-color: #fff;
  transition: background-color 0.2s ease;
  font-size: 1.6rem;
  text-box: trim-both cap alphabetic;
  font-family: "Noto Sans JP", sans-serif;
}

#variation .panel_sim_btn::after {
  position: absolute;
  top: 50%;
  right: 15%;
  width: 10px;
  height: 10px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
  #variation .panel_sim_btn:hover {
    background-color: #f5f5f5;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sp {
  display: none;
}

@media (max-width: 768px) {
  .variation-tab-list {
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
    border-bottom: none;
  }

  .panel_title_copy {

    font-size: 1.4rem;

  }

  .variation-tab {
    flex: 1 0 auto;
    max-width: 100%;
    margin-bottom: 0;
    padding: 14px 16px;
    white-space: nowrap;
    border: none;
  }

  .variation-tab.is-active {
    margin-bottom: 0;
    padding-bottom: 14px;
    color: #fff;
    background-color: #000;
    border: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    min-height: 0;
    aspect-ratio: unset;
    overflow: hidden;
  }

  .hero-slider {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    z-index: 0;
    width: 100%;
    min-height: 0;
    aspect-ratio: auto;
    height: calc(100vw * 400 / 375) !important;
    overflow: hidden;
  }

  .hero-slider .swiper-wrapper,
  .hero-slider .swiper-slide,
  .hero-slide {
    width: 100% !important;
    height: 100% !important;
    min-height: 100%;
  }

  .hero-slider .swiper-pagination {
    bottom: auto;
    top: calc(100vw * 400 / 375 - 28px);
  }

  .hero-txt {
    grid-column: auto;
    grid-row: auto;
    z-index: 10;
    margin-top: calc(100% * 400 / 375);
    justify-content: flex-start;
    padding: 30px 25px;
    pointer-events: none;
  }

  .hero-txt .logo {
    max-width: 200px;
    padding: 10px;
  }

  .hero-txt h1 {
    font-size: 4rem;
    margin-top: 20px;
  }

  .hero-txt p {
    font-size: 2.2rem;
    margin-top: 20px;
  }

  .hero-slide {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .hero-slide-01 {
    background-image: url("../images/mv-01_sp.jpg");
  }

  .hero-slide-02 {
    background-image: url("../images/mv-02_sp.jpg");
  }

  .hero-slide-03 {
    background-image: url("../images/mv-03_sp.jpg");
  }

  .hero-slide-04 {
    background-image: url("../images/mv-04_sp.jpg");
  }

  .hero-slide-05 {
    background-image: url("../images/mv-05_sp.jpg");
  }

  .title {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .title h2 {
    font-size: 8rem;
    text-wrap: nowrap;
  }

  #features .contents,
  #features .contents .feature_box {
    background-color: #fff;
  }

  #features .contents .feature_box {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  #features .contents .feature_box .feature_box_item {
    width: 31%;
  }
}

@media (max-width: 550px) {
  .sp {
    display: block;
  }

  .pc {
    display: none;
  }

  .title {
    border-left: 10px solid #3E4445;
  }

  .title h2 {
    font-size: 4rem;
  }

  .title .sub {
    font-size: 1.4rem;
  }

  .hero-txt .logo {
    max-width: 190px;
  }

  .hero-txt h1 {
    font-size: 2.8rem;
    margin-top: 20px;
  }

  .hero-txt p {
    font-size: 1.4rem;
    margin-top: 20px;
  }

  .hero-slider .swiper-pagination {
    top: calc(100vw * 400 / 375 - 30px);
    bottom: auto;
    gap: 10px;
  }

  .hero-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }

  #features {
    padding: 40px 0 0;
  }

  #features .read {
    display: block;
  }

  #features .contents .feature_box {
    flex-direction: column;
    gap: 40px;
  }

  #features .contents .feature_box .feature_box_item {
    width: 100%;
  }

  #features .contents .feature_box .feature_box_item .feature_box_item_img {
    width: 100%;
  }

  #plan .read {
    font-size: 1.6rem;
    margin-top: 40px;
  }

  #image {
    margin-bottom: 80px;
  }

  #image .read {
    margin-top: 40px;
  }

  #image .read p {
    font-size: 1.6rem;
  }

  #image .contents {
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
  }

  #image .image_box {
    flex: 1 1 100%;
    max-width: 100%;
  }

  #image .image_box_logo {
    max-width: 220px;
  }

  #image .image_box p {
    font-size: 1.4rem;
    width: 100%;
  }

  #life_style .read p {
    font-size: 1.6rem;
    margin-top: 40px;
  }

  #variation {
    padding: 40px 0 80px;
  }

  #variation .panel_box_item {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #variation .panel_icon {
    flex-basis: 30%;
  }

  .variation-tabs {
    margin-top: 40px;
  }

  .variation-tab {
    padding: 14px 16px;
    font-size: 1.6rem;
  }

  .variation-tab.is-active {
    padding-bottom: 14px;
    color: #000;
    background-color: transparent;
  }

  #variation .variation-panel {
    min-height: 200px;
    padding: 40px 0;
  }

  #variation .panel_box {
    gap: 20px;
  }

  #variation .panel_read {
    font-size: 1.4rem;
  }

  #variation .panel_point {
    font-size: 1.2rem;
    margin: 20px 0;
  }

  #variation .panel_title {
    font-size: 1.4rem;
  }

  #variation .panel_text {
    font-size: 1.6rem;
    margin: 20px 0 40px;
  }

  #variation .panel_box_group.has-accordion {
    margin-top: 0;
  }

  #variation .panel_box_group.has-accordion .panel_box_group_title {
    position: relative;
    padding: 16px 35px 16px 0;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 1.4rem;
  }

  #variation .panel_box_group.has-accordion .panel_box_group_title::before,
  #variation .panel_box_group.has-accordion .panel_box_group_title::after {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 12px;
    height: 1px;
    background-color: currentColor;
    content: "";
    transform: translateY(-50%);
  }

  #variation .panel_box_group.has-accordion .panel_box_group_title::after {
    transform: translateY(-50%) rotate(90deg);
  }

  #variation .panel_box_group.has-accordion.is-open .panel_box_group_title::after {
    transform: translateY(-50%) rotate(0);
  }

  #variation .panel_box_group.has-accordion .panel_box_group_img {
    display: flex;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease,
      transform 0.4s ease, visibility 0.4s;
  }

  #variation .panel_box_group.has-accordion.is-open .panel_box_group_img {
    max-height: 600px;
    padding: 0 0 16px;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  #variation .panel_sim h3 {
    font-size: 2.4rem;
  }

  #variation .panel_sim p {
    font-size: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.panel_box_item_img {
  text-align: center;
}

.panel_box_item_img a {
  display: block;
  text-decoration: none;
  color: inherit;
}

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

.panel_box_item_img p {
  font-size: 14px;
  color: #333;
  margin-top: 8px;
  text-align: center;
}

/* ==========================================
ウルトラファインバブル解説セクション
（左30%画像 / 右テキスト・表組みレイアウト）
========================================== */
.panel_bubble_section {
  margin-top: 40px;
  border-top: 1px solid #ddd;
  padding-top: 30px;
}

/* 画像の潰れ防止 */
.panel_bubble_section img {
  max-width: 100%;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
  display: block;
}

/* ------------------------------------------
【効果①】左：画像(30%) / 右：テキスト(66%)
------------------------------------------ */
.bubble_effect_box01 {
  display: flex;
  gap: 4%;
  align-items: flex-start;
  margin-bottom: 50px;
}

.bubble_effect_box01 .bubble_img_wrap {
  width: 30%;
  flex-shrink: 0;
}

.bubble_effect_box01 .bubble_text_wrap {
  width: 66%;
}

/* 見出し共通スタイル */
.bubble_effect_box01 h3,
.bubble_effect_box02>h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
}

.bubble_sub_block {
  margin-bottom: 15px;
}

.bubble_sub_block h4 {
  font-size: 15px;
  font-weight: bold;
  color: #0055b3;
  margin-bottom: 5px;
}

.bubble_effect_box01 p,
.bubble_effect_box02 p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 10px;
}

.bubble_effect_box02 {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0 4%;
}

.bubble_effect_box02>h3 {
  grid-column: 1 / -1;
}

.bubble_effect_box02>.bubble_lead {
  grid-column: 1 / -1;
  margin-bottom: 20px;
}

.bubble_effect_box02>.evaluation_list_wrap {
  grid-column: 2;
  grid-row: 3;
}

.bubble_effect_box02>.bubble_graph_img {
  grid-column: 1;
  grid-row: 3;
}

.evaluation_list_wrap {
  background: #f9f9f9;
  padding: 15px 20px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.eval_title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #333;
}

.eval_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.eval_list li {
  font-size: 14px;
  line-height: 1.5;
  padding: 10px 0;
  border-bottom: 1px solid #eaeaea;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.eval_list li:last-child {
  border-bottom: none;
}

.eval_label {
  font-weight: bold;
  color: #333;
  width: 90px;
  flex-shrink: 0;
}

.eval_data {
  color: #555;
  margin-right: 20px;
  flex-shrink: 0;
}

.eval_data .highlight {
  color: #d93838;
  font-size: 15px;
  font-weight: bold;
}

.panel_icon {
  position: relative;
  display: inline-block;
}

.panel_icon a {
  display: inline-block;
}

.panel_icon img {
  width: 100px;
  height: auto;
  display: block;
}

.panel_icon .overlay-text {
  position: absolute;
  bottom: 30px;
  left: 5px;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 6px;
  font-size: 11px;
  z-index: 2;
}

/* ------------------------------------------
スマホ表示（レスポンシブ対応）
------------------------------------------ */
@media screen and (max-width: 767px) {
  .bubble_effect_box01 {
    flex-direction: column;
  }
}

#variation .panel_box_item02 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

#variation .panel_box_item02 {
  gap: 20px;
}

.bubble_effect_box01 .bubble_img_wrap,
.bubble_effect_box01 .bubble_text_wrap {
  width: 100%;
}

.bubble_effect_box02 {
  display: block;
}

.bubble_effect_box02>.bubble_graph_img {
  margin-top: 15px;
}

.evaluation_list_wrap {
  overflow-x: auto;
  white-space: nowrap;
}

#variation .panel_box.is-gap-small {
  gap: 20px;
}

.mt50 {
  margin-top: 50px;
}

.text-box {
  background-color: #efefef;
  border-radius: 16px;
  padding: 32px 28px;
  box-sizing: border-box;
}

.text-box p.boldfont {
  text-align: center;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.text-box p.boldfont:first-child {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.text-box p:not(.boldfont) {
  text-align: left;
  font-size: 1.2rem;
  line-height: 1.8;
  margin-top: 1.5rem;
  border-top: 1px solid #ddd;
  padding-top: 1.2rem;
}

#variation-panel-07 .panel_box_section:nth-of-type(2) .panel_box_item02 {
  display: grid !important;
  grid-template-columns: 2fr 1fr !important;
  gap: 15px !important;
}

#variation-panel-07 .panel_box_section:nth-of-type(3) .panel_box_item02 {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 15px !important;
}

#variation .panel_icon a {
  color: inherit;
  text-decoration: none;
}

.panel_box_item02 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.panel_box_item03 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.panel_box_item04 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: start;
}

#variation-panel-06 .bubble_effect_box01 {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

#variation-panel-06 .bubble_effect_box01 .bubble_img_wrap {
  flex: 0 0 40%;
}

#variation-panel-06 .bubble_effect_box01 .bubble_text_wrap {
  flex: 1;
}

#variation-panel-06 .bubble_effect_box02 {
  display: block;
}

#variation-panel-06 .bubble_effect_box02>.bubble_graph_img {
  margin-top: 15px;
  text-align: center;
}

#variation-panel-06 .evaluation_list_wrap {
  overflow-x: auto;
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  #variation .panel_box_item02 {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  #variation .panel_box_item02 .panel_box_item_img {
    width: 80% !important;
    margin: 0 auto !important;
  }

  #variation-panel-06 .bubble_effect_box01 {
    flex-direction: column;
  }
}

#variation-panel-06 .bubble_effect_box02 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: center;
}

#variation-panel-06 .bubble_effect_box02>h3,
#variation-panel-06 .bubble_effect_box02>.bubble_lead {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

#variation-panel-06 .bubble_effect_box02>.evaluation_list_wrap {
  margin-bottom: 0;
}

#variation-panel-06 .bubble_effect_box02>.bubble_graph_img {
  margin-top: 0;
  text-align: center;
}

#variation-panel-06 .bubble_effect_box02>.bubble_graph_img img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {
  #variation-panel-06 .bubble_effect_box02 {
    display: block;
  }

  .sp img {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {

  #variation .panel_bubble_section {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  #variation .panel_bubble_section .bubble_effect_box01 {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  #variation .panel_bubble_section .bubble_img_wrap,
  #variation .panel_bubble_section .bubble_text_wrap {
    width: 100% !important;
    flex: none !important;
    max-width: 100% !important;
  }

  #variation .panel_bubble_section img {
    max-width: 100% !important;
    height: auto !important;
  }
}

#variation .panel_box_group.is-open .panel_box_group_img {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

#variation .panel_box_group:not(.is-open) .panel_box_group_img {}

@media screen and (min-width: 768px) {
  #variation .panel_box_item02 .panel_box_item_img {
    width: 100% !important;
    margin: 0 !important;
  }

  #variation .panel_box_item02 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }

  #variation-panel-07 .panel_box_section:nth-of-type(2) .panel_box_item02 {
    grid-template-columns: 2fr 1fr !important;
  }

  #variation-panel-07 .panel_box_section:nth-of-type(3) .panel_box_item02 {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  #variation .panel_box_group_img {
    display: flex !important;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
  }
}

@media screen and (max-width: 767px) {
  #variation .panel_box_item02 {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  #variation .panel_box_item02 .panel_box_item_img {
    width: 85% !important;
    margin: 0 auto !important;
  }

  #variation .panel_box_group.has-accordion.is-open .panel_box_group_img {
    max-height: 9999px !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    overflow: hidden !important;
  }
}

#variation-panel-04 .panel_box_item,
#variation-panel-05 .panel_box_item,
#variation-panel-06 .panel_box_item,
#variation-panel-07 .panel_box_item {
  display: block;
}

.nowrap {
  white-space: nowrap;
}