/* =========================
   基本設定
========================= */
body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.8;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
}
/* セクション間のマージン（基準） */
section {
  padding: 80px 20px;
}
/* 見出しの基本スタイル */
.section-label {
  text-align: center;
  font-weight: bold;
  color: #f0d123;
  margin-bottom: 8px;
  font-size: 1.4rem;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #1965ce;
  margin-bottom: 60px;
}

/* テキスト共通スタイル */
.text {
  font-size: 1rem;
  color: #444;
}
/* リンク共通スタイル */
a:hover {
  opacity: 0.7;
  transition: opacity 0.3s;
}
@media screen and (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 40px;
  }

  section {
    padding: 60px 16px;
  }
}

/* =========================
   ヘッダー
========================= */
.header {
  background: #fff;
  padding: 16px 20px;
  border-bottom: 2px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.header__catch-mini {
  display: block;
  font-size: 18px;
  color: #1865ce;
  text-align: center;
  font-weight: bold;
  position: relative;
  margin-bottom: 11px;
}
.header__catch-mini::before,
.header__catch-mini::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 10px;
  border-top: 2px solid #1865ce;
  transform: rotate(-60deg); /* 右上がり */
  margin: 0 8px;
}
.header__catch-mini::before {
  transform: rotate(60deg); /* 左上がり */
}

.header__logo img {
  height: 50px;
}
.header__info {
  text-align: right;
}
.header__catch {
  font-size: 16px;
  color: #41454b;
  padding-bottom: 15px;
}
.header__contact {
  display: flex;
  align-items: center;
  justify-content: end;
}
.header__btn {
  display: inline-flex;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  background: #1965ce;
  color: #fff;
  padding: 18px 22px;
  border-radius: 6px;
  font-size: 18px;
  margin-right: 40px;

  position: relative;
}
.header__btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -10px;
  border: 10px solid transparent;
  border-left: 20px solid #1965ce;
}
.header__telbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  line-height: 1.4;
}
.header__tel {
  font-size: 32px;
  font-weight: bold;
  color: #1865ce;
}
.header__tel-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: url(../img/icon-tel-blue.svg) no-repeat center/contain;
  transform: translateY(10%);
}
.header__time {
  font-size: 16px;
  color: #1865ce;
}

@media (max-width: 767px) {
  .header {
    position: static;
    padding: 18px 5px 0;
  }
  .header__inner {
    flex-direction: column;
    text-align: center;
  }
  .header__catch-mini {
    font-size: 21px;
  }
  .header__info {
    text-align: center;
    margin-top: 12px;
  }
  .header__catch {
    display: none;
  }
  .header__contact {
    display: none;
    /* display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px; */
  }
  /* .header__contact a {
    align-items: center;
  } */
}

/* =========================
   メインビジュアル
========================= */
.mv {
  font-family: "Zen Maru Gothic", sans-serif;
  background: #55caff;
  color: #fff;
  padding: 40px 0;
  min-height: 60vh;
  z-index: -999;
}
.mv__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.mv__tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.mv__tag {
  background: #f7e61d;
  color: #1865ce;
  font-size: 1.8rem;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 40px;
  font-weight: bold;
}
.mv__lead {
  text-align: center;
}

.mv__title {
  text-align: center;
  color: #1865ce;
  font-weight: 900;
  font-size: 3.8rem;
  line-height: 1.4;
  padding: 0 5px;
}

.mv__line {
  position: relative;
  font-weight: 900;
  display: inline-block;
  padding: 0 8px;
  z-index: 1;
  -webkit-text-stroke: 3px #fff;
}
.mv__large {
  font-size: 1.4em;
  font-weight: 900;
  display: inline-block;
}

.mv__line::before {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 0.2em;
  background: #f7e61d;
  z-index: -1;
  border-radius: 4px;
}

.mv__points {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.mv__point {
  background: #1865ce;
  padding: 16px;
  border-radius: 8px;
  color: #fff;
  text-align: center;
  width: 30%;
}
.mv__point-label {
  font-size: 1.5rem;
  color: #f7e61d;
  font-weight: bold;
  margin-bottom: 8px;
}
.mv__point-text {
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: bold;
}
.mv__images img {
  width: 30%;
  border-radius: 50%;
  margin: 16px 1%;
  z-index: -1;
}

/* スマホ用のPOINT表示切り替え */
.mv__points--sp {
  display: none;
}
@media (max-width: 767px) {
  .mv {
    padding: 20px 0;
    height: 700px;
  }
  .mv__tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列 */
    gap: 10px;
    max-width: 320px;
    margin: 0 auto 10px;
  }
  .mv__tag {
    width: 100%; /* 均等幅にする */
    text-align: center;
    font-size: 1.6rem;
  }
  .mv__title {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  .mv__line {
    -webkit-text-stroke: 2px #fff;
  }

  .mv__points--pc {
    display: none;
  }
  .mv__points--sp {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 40px 0;
    padding: 0 20px;
  }
  .mv__point {
    width: 100%;
  }
}

/* PCレイアウト調整 */
@media screen and (min-width: 768px) {
  .mv {
    display: flex;
    align-items: center;
    overflow: hidden; /* 枠外に出た画像を非表示に */
    position: relative;
  }

  .mv__inner {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0px;
  }

  .mv__text-content {
    width: 65%;
    text-align: left;
  }

  .mv__images {
    width: 35%;
    position: relative;
    height: 100%;
  }

  .mv__images img {
    position: absolute;
    width: 400px;
    height: 400px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
  }
  /* 画像ごとの配置調整（例：左上・左下・中央など） */
  .mv__images img:nth-child(1) {
    top: -100px;
    left: 100px;
    width: 300px;
    height: 300px;
  }
  .mv__images img:nth-child(2) {
    top: 210px;
    left: -50px;
  }
  .mv__images img:nth-child(3) {
    bottom: -300px;
    left: -70%;
    width: 380px;
    height: 380px;
  }
}

/* スマホレイアウト調整 */
@media (max-width: 767px) {
  .mv {
    min-height: 70vh;
    overflow: hidden; /* 枠外に出た画像を非表示に */
    position: relative;
  }
  .mv__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .mv__text-content {
    order: 1;
    width: 100%;
    text-align: center;
  }
  .mv__line::before {
    bottom: 0px;
  }
  .mv__images {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
  }

  /* .mv__images img {
    width: 30%;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  } */
  .mv__images img {
    position: absolute;
    width: 180px; /* スマホ用に調整 */
    height: 180px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  }

  /* 各画像の位置を指定 */
  .mv__images img:nth-child(1) {
    bottom: 16%;
    right: -10%;
    width: 200px;
    height: 200px;
  }

  .mv__images img:nth-child(2) {
    bottom: -7%;
    left: 13%;
    width: 200px;
    height: 200px;
  }

  .mv__images img:nth-child(3) {
    width: 220px;
    height: 220px;
    left: -5%;
    bottom: 25%;
  }
}

/* =========================
   ABOUTセクション
========================= */
.about {
  background: #fff;
  font-family: "Zen Maru Gothic", sans-serif;
  color: #111;
}

.about__inner {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 20px; */
  text-align: center;
}

.about__text-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 16px;
}

.about__text {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.8;
  text-align: left;
}

.about__text-decoration {
  width: 40px;
  height: auto;
}
.about__text-decoration--left {
  margin-right: 20px;
}
.about__text-decoration--right {
  margin-left: 20px;
}

.about__items {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.about__item {
  width: calc(33.333% - 16px);
  background: #fff;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 30px;
}

.about__item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}
.about__item p {
  font-size: 1.2rem;
  font-weight: 800;
  color: #333;
}

/* モバイル対応 */
@media screen and (max-width: 767px) {
  .about__inner {
    padding: 0;
  }
  .about__item {
    width: 100%;
    margin-bottom: 16px;
  }
  .about__item img {
    height: 200px;
  }
  .about__item p {
    font-size: 1.1rem;
  }
  .about__text {
    font-size: 1.1rem;
    text-align: justify;
  }

  .about__text-wrap {
    flex-direction: column;
    margin: 0 auto;
    padding: 0;
  }

  .about__text-decoration {
    display: none;
  }
}

/* =========================
   取り扱いメーカー表示ブロック
========================= */
.maker-block {
  margin: 0 auto;
  max-width: 1200px;
  background: #fff;
  font-family: "Zen Maru Gothic", sans-serif;
}

.maker-block__inner {
  border: 1px solid #1965ce;
  border-radius: 12px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.maker-block__heading {
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  color: #1965ce;
  margin-bottom: 60px;
  position: relative;
  line-height: 1.6;
}

.maker-block__heading span {
  display: inline-block;
  display: inline;
  font-weight: 700;
  background: linear-gradient(transparent 80%, #f7e61e 60%);
}

.maker-block__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 0;
  list-style: none;
}

.maker-block__list li {
  width: calc(100% / 3 - 24px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.maker-block__list img {
  width: 100%;
  max-height: 50px;
  object-fit: contain;
}

/* スマホ対応：縦2列表示 */
@media screen and (max-width: 767px) {
  .maker-block__list li {
    width: calc(50% - 12px);
  }

  .maker-block__heading {
    font-size: 1.4rem;
    margin-bottom: 32px;
  }
}

/* =========================
   WORKセクション
========================= */
.work {
  background: #fff;
  font-family: "Zen Maru Gothic", sans-serif;
  color: #111;
}

.work__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.work__item {
  background: #f5f5f5;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  margin-bottom: 40px;
  align-items: center;
}

.work__text-block {
  max-width: 300px;
}
.work__area {
  font-size: 1rem;
  font-weight: bold;
  color: #1965ce;
  padding-bottom: 3px;
}

.work__title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #1965ce;
  margin-bottom: 16px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 8px;
}

.work__desc {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.work__info {
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.8;
}
.work__info-note {
  padding-top: 5px;
  color: #c65555;
  font-weight: bold;
}
.work__info-note-mini {
  color: #c65555;
  font-size: 0.78rem;
}

.work__img-block {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
}

.work__img {
  position: relative;
  width: 48%; /* 横並びで均等配置 */
  aspect-ratio: 1 / 1; /* 高さ固定 */
  overflow: hidden;
  border-radius: 12px;
}

/* 画像を枠いっぱいに表示しつつトリミング */
.work__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* BEFORE / AFTER ラベル */
.work__img span {
  position: absolute;
  bottom: 12px;
  left: 12px;
  color: #fff;
  font-weight: bold;
  font-size: 1.3rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.work__arrow {
  width: 0;
  height: 0;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-left: 15px solid #c65555;
  align-self: center;
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
  .work__item {
    flex-direction: column;
    padding: 24px;
  }
  .work__text-block {
    max-width: 100%;
  }

  .work__img-block {
    flex-direction: column;
    align-items: center;
  }

  .work__img {
    width: 100%;
    aspect-ratio: 4 / 3; /* 高さ固定 */
  }
  .work__arrow {
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 15px solid #c65555;
    border-bottom: 0;
  }
}

/* =========================
  FEATURESセクション
========================= */

.features__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features__block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.features__block--reverse {
  flex-direction: row-reverse;
}

.features__img {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.features__img img {
  width: 80%;
  height: auto;
  object-fit: contain;
}

.features__text {
  flex: 1;
  min-width: 280px;
}

.features__heading {
  display: inline;
  font-size: 2rem;
  font-weight: bold;
  color: #111;
  margin-bottom: 20px;
  line-height: 1.6;
}

.features__heading--underline {
  background: linear-gradient(transparent 80%, #fdf569 60%);
}

.features__desc {
  margin-top: 20px;
  font-size: 1.2rem;
  line-height: 1.8;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
  .features__block {
    flex-direction: column;
    text-align: center;
  }

  .features__block--reverse {
    flex-direction: column;
  }

  .features__heading {
    font-size: 1.3rem;
  }

  .features__desc {
    font-size: 1.1rem;
  }
  .features__img img {
    width: 100%;
  }
}

/* =========================
  CONTACTセクション
========================= */
.contact {
  background: #1965ce;
  color: #fff;
  text-align: center;
  padding: 80px 16px;
}

.contact__inner {
  max-width: 960px;
  margin: 0 auto;
}

.contact__title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 24px;
  color: #fff;
}

.contact__lead {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact__telbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.contact__tel-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact__tel-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url(../img/icon-tel-white.svg) no-repeat center/contain;
  transform: translateY(20%);
}

.contact__tel {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.contact__tel-right {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
  .contact__lead {
    font-size: 1rem;
  }

  .contact__tel {
    font-size: 1.6rem;
  }

  .contact__telbox {
    flex-direction: column;
    gap: 16px;
  }
}

/* =========================
  フロート電話ボタン
========================= */
/* 初期は非表示 */
.floating-tel {
  position: fixed;
  bottom: 16px;
  left: 0;
  right: 0;
  width: fit-content;
  margin: auto;
  background: #f7e61d;
  color: #1865ce;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 30px;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.icon-phone {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  background-image: url(../img/icon-tel-blue.svg); /* 適切なパスに変更 */
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 0.3em;
}

/* スマホのみ表示 */
@media screen and (max-width: 767px) {
  .floating-tel.is-show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* =========================
  フッターセクション
========================= */
.footer {
  background: #fff;
  padding: 80px 16px 40px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #111;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer__info {
  flex: 1;
  min-width: 280px;
}

.footer__logo {
  height: 50px;
  margin-bottom: 16px;
}

.footer__address {
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 500;
  margin-bottom: 32px;
}

.footer__link {
  display: block;
  border: 2px solid #1965ce;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  text-decoration: none;
  color: #1965ce;
  transition: background 0.3s, color 0.3s;
  position: relative;
}

.footer__link:hover {
  background: #1965ce;
  color: #fff;
}

.footer__link-text {
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: block;
}

.footer__link-button {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.footer__link-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url(../img/icon-arrow-right-blue.svg) no-repeat center/contain;
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.footer__link:hover .footer__link-icon {
  background-image: url(../img/icon-arrow-right-white.svg);
}

.footer__map {
  flex: 1;
  min-width: 280px;
  height: 340px;
  overflow: hidden;
  border-radius: 12px;
}

.footer__map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.footer__copyright {
  margin-top: 40px;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
  .footer {
    padding: 80px 16px 100px;
  }
  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__info,
  .footer__map {
    width: 100%;
  }

  .footer__map {
    height: 250px;
  }

  .footer__link {
    text-align: center;
  }

  .footer__link-button {
    justify-content: center;
  }
  .footer__link-icon {
    right: 3%;
  }
}
