/* ===============================
共通要素
=============================== */

/* ページタイトル */
.main-ttl-wrap {
  margin-bottom: 120px;
  margin-top: var(--header-height, 0px);
}

.main_ttl {
  position: relative;
  margin-bottom: 100px;
}

.main_ttl>.bg {
  width: 100%;
  height: 380px;
}

.main_ttl h2 {
  display: block;
  transform: translateY(-50%);
  top: 70%;
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
  position: absolute;
  justify-content: center;
  z-index: 100;
}


.main_ttl h2 {
  display: table;
  margin: 0 auto;
  text-align: center;
  font-family: "Shippori Mincho", serif;
  padding: 30px 100px 30px 100px;
  background-color: rgba(44, 76, 147, 0.5);
}


.main_ttl>.bg img {
  max-width: inherit;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main_ttl_text_box {
  height: 100%;
  z-index: 100;
}

.main-ttl-box {
  height: 100%;
  display: block;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  top: 50%;
  align-items: center;
  position: absolute;
  justify-content: center;
}

.main-ttl-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 400px;
  height: auto;
  margin: 0 auto;
}

.main_ttl>.bg::before {
  content: '';
  position: absolute;
  width: 169px;
  height: 200px;
  background-size: contain;
  right: 0;
  background-repeat: no-repeat;
  background-image: url('../images/common/circle-right.svg');
}

.main_ttl>.bg::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 300px;
  background-size: contain;
  left: 0;
  background-repeat: no-repeat;
  background-image: url('../images/common/circle-left.svg');
}

.main_ttl .fs-en {
  font-weight: 500;
  display: block;
  color: #fff;
  font-size: 32px;
  white-space: nowrap;
  line-height: 1;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}

.main_ttl .txt {
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 15px;
  display: block;
  white-space: nowrap;
  color: #fff;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}

/** セクションタイトル **/
.page-box .section-title.navy {
    color:var(--navy);
}
.page-box .section-title.white {
    color:#fff;
}
.page-box.center .section-title {
    text-align: center;
}
.page-box .section-title.navy::after {
    background-color: var(--navy);
}
.page-box.center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

span.gold {
  color: var(--gold);
}

@media (max-width: 1500px) {
  .main-ttl-wrap {
    margin-bottom: 120px;
  }

  .main_ttl .fs-en {
    font-size: min(calc(25px + (32 - 25) * (100vw - 992px) / (1500 - 992)),
        32px);
  }

  .main_ttl .txt {
    font-size: min(calc(38px + (50 - 38) * (100vw - 992px) / (1500 - 992)),
        50px);
  }

  .main-ttl-bg {
    width: min(calc(300px + (400 - 300) * (100vw - 992px) / (1500 - 992)),
        400px);
  }

  .main_ttl>.bg {
    width: 100%;
    height: min(calc(300px + (380 - 300) * (100vw - 992px) / (1500 - 992)),
        380px);
  }
}

@media (max-width: 991px) {
  .main_ttl {
    margin-bottom: 80px;
  }

  .main-ttl-wrap {
    margin-bottom: 100px;
  }

  .main_ttl .fs-en {
    font-size: min(calc(20px + (25 - 20) * (100vw - 320px) / (991 - 320)),
        25px);
  }

  .main_ttl .txt {
    font-size: min(calc(26px + (38 - 26) * (100vw - 320px) / (991 - 320)),
        38px);
  }

  .main-ttl-bg {
    width: min(calc(260px + (300 - 260) * (100vw - 320px) / (991 - 320)),
        260px);
  }

  .main_ttl>.bg {
    width: 100%;
    height: min(calc(220px + (300 - 220) * (100vw - 320px) / (991 - 320)),
        300px);
  }

  .main_ttl h2 {
    display: block;
  }

  .main_ttl>.bg::before {
    width: min(calc(100px + (169 - 100) * (100vw - 320px) / (991 - 320)),
        169px);
    height: min(calc(120px + (200 - 120) * (100vw - 320px) / (991 - 320)),
        200px);
  }

  .main_ttl>.bg::after {
    width: min(calc(250px + (400 - 250) * (100vw - 320px) / (991 - 320)),
        400px);
    height: min(calc(200px + (300 - 200) * (100vw - 320px) / (991 - 320)),
        300px);
  }
}

@media (max-width: 768px) {
  .main_ttl {
    margin-bottom: 80px;
  }
  .main_ttl h2 {
    padding: 15px 60px 15px 60px;
  }
}

@media (max-width: 480px) {
  .main_ttl {
    margin-bottom: 80px;
  }
}

/* =======================================
パンくず
======================================== */
.breadcrumb_wrap {
  position: absolute;
  bottom: -50px;
  right: calc(15px + 50 * (100vw - 320px) / 1180);
}

.breadcrumb_wrap .panlist {
  font-weight: 500;
  font-size: 11px;
  line-height: 1.2;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  overflow-y: hidden;
  overflow-x: auto;
}

.breadcrumb_wrap .panlist>li {
  display: flex;
  align-items: center;
}


.breadcrumb_wrap .panlist>li {
  font-size: 11px;
}

.breadcrumb_wrap .panlist>li>a {
  color: #000;
  white-space: nowrap;
  font-size: 11px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}

.breadcrumb_wrap .panlist>li.active {
  color: var(--navy);
  text-decoration: none;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.breadcrumb_wrap .panlist>li+li:before {
  content: ">";
  letter-spacing: normal;
  display: block;
  padding: 0 0.5em;
}


/* =======================================
金属スクラップ
======================================== */

.scrap-list-area {
  background: linear-gradient(to right, #2c4c93, #00276a);
  padding:120px 0 120px;
}

.scrap-list-area .center {
  text-align: center;
}

.scrap-list-area .row {
  gap:40px 0;
}

.scrap-list {
  margin-top: 40px;
}

.scrap-list + .scrap-list {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid #fff;
}

.scrap-list h4 {
  color:#fff;
  font-weight: 700;
  padding-left: 22px;
  font-size: 30px;
  border-left: 5px solid #ffffff;
  margin-bottom: 10px;

}

.scrap-list h4 span {
  color:#a7d7ed;
}

.scrap-list .clothes-ttl {
  border-left:none;
  padding-left: 0;
  font-size: 24px;
  display: table;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fff;
  color:#a7d7ed;
}

.scrap-item h5 {
    color: #fff;
    font-weight: 500;
    font-size: 23px;
    position: relative;
    padding-left: 1.35em;
}

.scrap-item h5.cross {
  padding-left: 0;
}

.scrap-item h5 span {
    font-size: 20px;
}

.scrap-item h5:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0.94594em;
    height: 2px;
    margin-top: -1px;
    background-color: var(--gold);
}

.scrap-item h5.cross::before {
  content:none;
}
.scrap-img {
  margin: 15px 0;
}
.scrap-item .text {
  color:#fff;
  line-height: 2;
  font-size: 16px;
}
.scrap-item ul {
  padding-left: 1em;
  color:#fff;
  font-size: 16px;
}
.scrap-item ul li {
  color: #fff;
  line-height: 2;
}

.scrap-img{
  position: relative;
  width: 100%;
  display: inline-block; /* 必要に応じて */
}

.scrap-img img {
  display: block;
}

.x-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 160px;
  font-weight: 700;
  color: var(--gold); /* 赤で少し透過 */
  pointer-events: none; /* クリック邪魔しない */
}

.clothes-box + .clothes-box {
  margin-top: 80px;
}

.scrap-list-area .bottom-box {
  margin-top: 60px;
  border:2px solid #fff;
  padding: 20px;
}

.scrap-list-area .bottom-ttl {
  font-size: 32px;
  text-align: center;
  margin-bottom: 10px;
  color:var(--gold);
  font-weight: 700;
  margin-bottom: 20px;
}
.scrap-list-area .bottom-box .center {
    text-align: center;
    margin-bottom: 0;
}
.scrap-list-area br.sp {
  display: block;
}
.flow-area {
  padding: 120px 0 220px;
}

.flow-area .section-text {
  color: #000;
}

.flow-head {
  margin-bottom: 40px;
}

/* お持ち込みの流れ */
.flow-box {
    position: relative;
    border-collapse: collapse;
}

.flow-box .box:nth-child(n+2) {
    border-top: 1px dotted #ccc;
    margin-top: 30px;
    padding-top: 30px;
    position: relative;
    padding-left: 40px;
}
.flow-box .box:before {
    content: '';
    position: absolute;
    top: 37px;
    left: -15px;
    border: 1px solid var(--navy);
    background-color: var(--navy);
    width: 30px;
    height: 30px;
    z-index: 100;
    border-radius: 50px;
}
.flow-box .box.first:before {
    content: '';
    position: absolute;
    top: 6px;
    left: -15px;
    background-color: var(--navy);
    width: 30px;
    height: 30px;
    border-radius: 50px;
}
.flow-box .box {
    position: relative;
    padding-left: 40px;
}
.flow-box .box::after {
    content: '';
    position: absolute;
    left: 0;
    top: 21px;
    width: 3px;
    height: calc(100% + 33px);
    background: #204483;
    border-radius: 50px;
}
.flow-box .box:nth-last-child(2)::after {
    height: calc(100% + 53px);
}
.flow-box .box:last-child::after {
    height: calc(100% - 20px);
}
.flow-box .ttl {
    color: var(--navy);
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 10px;
}
.flow-box .in p {
    line-height: 2;
    font-size: 16px;
}
.flow-box li {
  padding-left: 1em;
  font-size: 16px;
  line-height: 2;
}

.flow-img-list {
  display: flex;
  margin-top: 20px;
}

.flow-img-item {
  width: 33.3333%;
  padding: 0 15px;
}

.flow-img-item h5 {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
}

/* 矢印ボタン（丸） */
.splide__arrow {
  width: clamp(40px, calc(57 / 2000 * 100vw), 57px);
  height: clamp(40px, calc(57 / 2000 * 100vw), 57px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: #2c4c93;        /* 矢印の色 */
  display: block;
  align-items: center;
  justify-content: center;
  font-size: clamp(18px, calc(24 / 2000 * 100vw), 24px);
  cursor: pointer !important;
  transition: background 0.3s, color 0.3s;
  border: none !important;
  padding: 0;
  pointer-events: auto;
}


/* 左右の配置（必要に応じて調整） */
.splide__arrow--prev {
  left: -24px;
  top:50%;
  z-index: 100;
  transform: translateY(-50%);
  z-index: 1000;
  position: absolute;
}

.splide__arrow--next {
  right: -24px;
  top:50%;
  transform: translateY(-50%);
  position: absolute;
}

/* --- 矢印だけ確実にクリック可能にする最小修正 --- */
#scrapSlider { position: relative; }

/* 下層はイベントを拾わせない（重なり防止） */
#scrapSlider .splide__track,
#scrapSlider .splide__list,
#scrapSlider .splide__slide,
#scrapSlider .slide-card {
  pointer-events: none;
  z-index: 0;
}

/* 矢印レイヤーを最前面にしてイベントを受ける */
#scrapSlider .splide__arrows {
  position: absolute;
  inset: 0;
  z-index: 10;
}

#scrapSlider .splide__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;            /* ← ここが肝 */
  cursor: pointer !important;
  z-index: 11;
}

/* 位置はお好みで */
#scrapSlider .splide__arrow--prev { left: 8px; }
#scrapSlider .splide__arrow--next { right: 8px; }


@media (max-width: 1080px) {
    .scrap-item h5 {
      color: #fff;
      font-weight: 500;
      font-size: 20px;
      position: relative;
      padding-left: 1.35em;
  }
  .scrap-item h5 span {
      font-size: 16px;
  }
}
@media (max-width: 991px) {
  .scrap-list-area {
    background: linear-gradient(to right, #2c4c93, #00276a);
    padding:100px 0;
  }
  .scrap-list h4 {
      color: #fff;
      font-weight: 700;
      padding-left: 22px;
      font-size: 26px;
      border-left: 5px solid #ffffff;
      margin-bottom: 10px;
  }
  .scrap-list-area .bottom-ttl {
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 20px;
}
.flow-img-item {
  width: 33.3333%;
  padding: 0 10px;
}
}
@media (max-width: 768px) {
    .scrap-list-area br.sp {
      display: none;
    }
    .scrap-img {
      margin: 10px 0;
  }
  .scrap-list + .scrap-list {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid #fff;
}
.flow-img-list {
  display: block;
  margin-top: 20px;
}
.flow-img-item {
  width: 100%;
  max-width: 360px;
  padding: 0;
}
.flow-img-item + .flow-img-item {
  margin-top: 30px;
}
.flow-box .ttl {
    color: var(--navy);
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 10px;
}
.flow-box .box:before {
    top: 33px;
}
.flow-area {
    padding: 80px 0 160px;
}
  }
@media (max-width: 480px) {
  .scrap-list-area {
    background: linear-gradient(to right, #2c4c93, #00276a);
    padding:80px 0;
  }
  .scrap-list h4 {
      color: #fff;
      font-weight: 700;
      padding-left: 22px;
      font-size: 22px;
      border-left: 5px solid #ffffff;
      margin-bottom: 10px;
  }
  .scrap-item .text {
      color: #fff;
      line-height: 2;
      font-size: 14px;
  }
.scrap-list .clothes-ttl {
  border-left:none;
  padding-left: 0;
  font-size: 20px;
  display: table;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fff;
  color:#a7d7ed;
}
.scrap-item ul {
    padding-left: 1em;
    color: #fff;
      font-size: 14px;
}
.scrap-item ul li {
      font-size: 14px;
}
.scrap-list-area .bottom-box {
    margin-top: 40px;
    border: 2px solid #fff;
    padding: 20px;
}
.flow-box .in p {
    line-height: 2;
    font-size: 14px;
}
.flow-box li {
  padding-left: 1em;
  font-size: 14px;
  line-height: 2;
}
.flow-img-item h5 {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
}


/* =======================================
解体工事
======================================== */
.dismantling-head-area {
    padding: 100px 0;
    background: linear-gradient(to right, #2c4c93, #00276a);
}

.dismantling-head-area p {
    font-size: 18px;
    color:#fff;
    line-height: 2;
}
.dismantling-page-link-area {
    padding: 60px 0;
    background-color: #a7d7ed;
}

.dismantling-page-link-area .row {
    gap: 20px 0;
    justify-content: center;
}

.dismantling-page-link-area .page-link-btn .fa-arrow-down {
    margin: auto auto 0;
    display: table;
}

.dismantling-page-link-area .page-link-btn {
    height: 100%;
    position: relative;
    border: 2px solid #fff;
    overflow: hidden;
    /* 通常時の背景（下側） */
    background: linear-gradient(to top, #003580 0%, rgba(44, 76, 147, 0.5) 100%);
}

/* 上にかぶせる hover 用レイヤー */
.dismantling-page-link-area .page-link-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 76, 147, 0.5) 0%, #003580 100%);
    z-index: 0;
    opacity: 0;                /* 最初は透明 */
    transition: opacity 0.7s;  /* ← ここをアニメーション */
}

/* hover したら上のレイヤーをフェードイン */
.dismantling-page-link-area .page-link-btn:hover::before {
    opacity: 1;
}
.dismantling-page-link-area .page-link-btn a {
    height: 100%;
    display: flex;
    flex-flow: column;
}
.dismantling-page-link-area .page-link-btn a {
    padding: 15px;
    display: block;
    position: relative;
    z-index: 100;
    cursor: pointer;
}
.dismantling-page-link-area .page-link-btn h4 {
    position: relative;
    z-index: 100;
    color: #fff;
    text-align: center;
    font-size: 24px;
    transition: 0.7s;
    margin-bottom: 5px;
}

.dismantling-list {
    padding: 100px 0;
}

.dismantling-list {
    background: linear-gradient(to right, #2c4c93, #00276a);
}

.dismantling-list-area {
    position: relative;
}


.dismantling-list-area > div:nth-child(odd)::after {
    content: "";
    position: absolute;
    right: -150px;
    top: 50%;
    transform: translateY(-50%);
    width: 420px;
    aspect-ratio: 1 / 1;
    background: url("../images/common/contact-big-logo.svg") no-repeat center/contain;
    pointer-events: none;
}


.dismantling-list-area > div:nth-child(even) {
  background: linear-gradient(90deg,
      #0086cf 0%,
      #0086cf 30%,
      #a7d7ed 70%);
}

.sec-ttl-box.gold .section-title {
    color: var(--gold);
}
.dismantling-list .section-text {
    margin-bottom: 0;
}
.dismantling-list-area > div:nth-child(odd) .dismantling-img {
    padding-right: 30px;
}

.dismantling-list-area > div:nth-child(even) .dismantling-img {
    padding-left: 30px;
}
.dismantling-list {
    position: relative;
}
.dismantling-list ul {
    padding: 20px;
    margin: 15px 0;
    display: table;
    line-height: 2;
    background-color: #fff;
}
.dismantling-list ul li {
    font-size: 18px;
    font-weight: 700;
    color:var(--navy);
}
.equipment-area {
    padding: 100px 0 220px;
    position: relative;
    background-size: cover;
    margin-top: -1px;
    background-position: left center;
    background-color: var(--navy);
    background-repeat: no-repeat;
    background-image: url(../images/page/dismantling/equipment-bg.jpg);
}

.equipment-area .row {
    gap: 25px 0;
}

/* 画像（ダミー色） */
.equipment-img {
  width: 100%;
  margin-bottom: 12px;
}

.equipment-caption {
  text-align: center;
  font-size: 18px;
  margin-top: 10px;
  color:#fff;
}


@media (max-width: 991px) {
    .dismantling-page-link-area .page-link-btn h4 {
        position: relative;
        z-index: 100;
        color: #fff;
        text-align: center;
        font-size: 20px;
        transition: 0.7s;
    }
    .dismantling-list-area > div:nth-child(odd) .dismantling-img {
        padding-right: 0;
    }
    .dismantling-list-area > div:nth-child(even) .dismantling-img {
        padding-left: 0;
    }
    .dismantling-list-area .section-text {
        color: #fff;
        font-size: 16px;
        line-height: 2;
        margin-bottom: 0;
    }
    .dismantling-list-area > div:nth-child(odd)::after {
        right: -120px;
        width: 360px;
    }
    .dismantling-list ul li {
        font-size: 16px;
    }
}
@media (max-width: 768px) {
    .equipment-area {
        padding: 80px 0 160px;
    }
    .dismantling-head-area {
        padding: 80px 0;
    }
    .dismantling-head-area p {
        font-size: 16px;
        color:#fff;
        line-height: 2;
    }
    .dismantling-list {
        padding: 80px 0;
    }
    .dismantling-list-area > div:nth-child(even) {
        background: linear-gradient(90deg,
            #0086cf 0%,
            #0086cf 30%,
            #78bedf 70%);
        }
    .dismantling-list ul li {
        font-size: 14px;
    }
    .dismantling-img {
        margin-bottom: 30px;
    }
    .dismantling-list-area > div:nth-child(odd)::after {
        right: -80px;
        width: 240px;
    }
    .equipment-caption {
        text-align: center;
        font-size: 16px;
        margin-top: 10px;
        color:#fff;
    }
}

@media (max-width: 480px) {
    .dismantling-head-area {
        padding: 40px 0;
    }
    .dismantling-head-area p {
        font-size: 14px;
    }    
    .dismantling-page-link-area {
        padding: 40px 0;
    }
    .dismantling-page-link-area .page-link-btn a {
        padding: 12px;
    }
    .dismantling-page-link-area .page-link-btn h4 {
        font-size: 18px;
    }
    .dismantling-page-link-area .row {
        gap: 15px 0;
        justify-content: center;
    }
    .dismantling-list-area .section-text {
        font-size: 14px;
    }
}

/* =======================================
会社概要
======================================== */
.overview-area,
.history-area {
    padding-bottom: 100px;
}

.history-area {
    position: relative;
    background-size: cover;
    background-position: left center;
    background-color: var(--navy);
    background-repeat: no-repeat;
    background-image: url(../images/top/company-bg.jpg);
    padding: 224px 0;
    overflow: hidden;
    padding-top: 100px;
}

.table-line {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #C5C6CC;
}
.table-line > tbody > tr {
    border-bottom: 1px solid #C5C6CC;
}

.table-line > tbody > tr > td {
    padding-left: 2em;
}
.table-line > tbody > tr > th, 
.table-line > tbody > tr > td {
    padding: 1.5em 0;
    font-size: 16px;
    line-height: 1.8;
}
.table-line > tbody > tr > th {
    color: #354a85;
    font-weight: 700;
    vertical-align: top;
    padding-left: 1em;
}
.overview-area .dl-list div {
    display: flex;
}
.overview-area .dl-list div dt {
    width: 4em;
}
.overview-area .dl-list.long div dt {
    width: 8em;
}
.white .table-line > tbody > tr > th, 
.white .table-line > tbody > tr > td {
   color: #fff;
}

.overview-area a span {
  color: #000;
}

@media only screen and (max-width: 680px) {
    .overview-area,
    .history-area {
        padding-bottom: 80px;
    }

    .history-area {
        padding-top: 80px;
        padding-bottom: 180px;
    }
    .table-line > tbody > tr > th, 
    .table-line > tbody > tr > td {
        width: 100% !important;
        display: block;
    }
    .table-line > tbody > tr > th {
        padding-bottom: 0.5em;
    }
    .table-line > tbody > tr > td {
        padding-top: 0;
        padding-left: 1em;
    }
    .table-line > tbody > tr > th, 
    .table-line > tbody > tr > td {
        font-size: 14px;
    }
    .overview-area .dl-list div dt,
    .overview-area .dl-list div dd,
    .overview-area .dl-list div dd a span {
        font-size: 14px;
    }
     .overview-area .dl-list.long div dd {
        width: calc(100% - 8em);
     }
}




/* =======================================
お問い合わせ
======================================== */
.tel-fax-area h3 {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.75;
  color: #204483;
  text-align: center;
  position: relative;
  margin-bottom: 80px;
}

.tel-fax-area h3::after {
  width: 80px;
  height: 2px;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  content: '';
  display: block;
  position: absolute;
  background-color: var(--sub-color);
}

.tel-fax-area .icon {
  width: 100%;
  margin-right: 15px;
  max-width: 55px;
  height: 55px;
}

.tel-fax-wrap {
  padding: 25px;
  height: 100%;
  background-color: #a7d7ed;
}

.tel-fax-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tel-fax-area .number-text {
  font-weight: 700;
  line-height: 1;
  font-size: 60px;
  transform: translateY(-0.1em);
  font-family: "Oswald", sans-serif;
  color: var(--navy);
}

.tel-fax-area .number-text a span {
  font-weight: 700;
  line-height: 1;
  font-size: 60px;
  transform: translateY(-0.1em);
  font-family: "Oswald", sans-serif;
  color: var(--navy);
}

.tel-fax-area .text {
  text-align: center;
  font-size: 22px;
  margin-top: 5px;
  color: var(--navy);
}

.tel-fax-ttl {
  font-size: 26px;
  background-color: #fff;
  padding: 10px;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
  color: var(--main-color);
}

.tel-fax-box .icon {
  padding: 15px;
  margin-right: 8px;
  background-color: var(--navy);
}

.tel-fax-box .icon {
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.entry-form-area {
  background-color: var(--blue-color);
  padding: 100px 0 220px;
  position: relative;
}
.entry-form-area .text-center {
  text-align: center;
  color: var(--navy);
}

.entry-form-area .radio-line label {
    display: flex;
    margin-bottom: 0;
    align-items: center;
    line-height: 1;
}

.entry-form-area .radio-line input {
    vertical-align: middle;
    margin-top: 6px;
    margin-right: 4px;
}

.contactform {
  margin-top: 50px;
}

.optional {
  color: #fff;
  font-weight: 400;
  background: #999;
  font-size: 12px;
  padding: 0.2em 0.5em;
}

.required {
  font-weight: 400;
  font-size: 12px;
  padding: 0.2em 0.5em;
  transform: translateY(-0.1em);
  color: #fff;
  display: inline-block;
  margin-right: 3px;
  background-color: #204483;
}

.custom-select.form-control {
    width: 300px;
}

input[type="radio" i] {
  transform: translateY(-0.1em);
}

.radio-line .row {
  gap: 8px 0;
}

.notes {
  margin-top: 5px;
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: #999;
}

#policy h4 {
  font-size: 25px;
  color: #204483;
  margin-bottom: 20px;
  font-weight: 700;
}

.buttons {
  text-align: center;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}


textarea.form-control {
  height: auto;
}

#policy {
  margin-top: 50px;
}

#policy .contents {
  padding: 1.5% 3.5%;
  border: solid 1px #ccc;
  max-height: 300px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: auto;
  background-color: #fff;
}

#policy .contents h5 {
  font-size: 18px;
  font-weight: bold;
  margin: 2em 0 0;
}

#policy .contents p,
#policy .contents ol {
  font-size: 18px;
  margin: 1em 0;
}

#policy .contents>ol {
  counter-reset: number;
  /* カウンター初期化 */
}

#policy .contents>ol>li {
  position: relative;
  font-size: 18px;
  margin-bottom: 5px;
  padding-left: 2.5em;
  /* 番号分の余白 */
}

#policy .contents>ol>li::before {
  position: absolute;
  top: 0;
  left: 0;
  counter-increment: number;
  content: "(" counter(number) ") ";
  /* ← カッコで囲む */
}

#policy a.url {
  color:#204483;
  text-decoration: underline;
}

#policy a span {
  color:#212121;
}

.confirm-only {
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  justify-content: center;
  display: flex;
  gap: 0 20px;
}

.confirm-only .send-btn,
.confirm-only .return-btn {
  max-width: 300px;
  margin-left: 0;
  margin-right: 0;
}


.buttons {
  text-align: center;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/*
.buttons .fa-arrow-right,
.confirm-only .send-btn .fa-arrow-right,
.confirm-only .return-btn .fa-arrow-right {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
*/
.agree {
  text-align: center;
  margin-top: 20px;
}

.agree label {
  font-size: 18px;
  display: inline-block;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;

}

.agree input[type="checkbox"] {
  margin-right: 5px;
}

.sei {
  padding-right: 20px;
}

.contactform .name-box {
  display: flex;
  /* divを横並びに */
  gap: 20px;
  /* 間隔 */
}

.contactform .name-box div {
  display: flex;
  align-items: center;
  /* ラベルと入力欄を縦位置そろえ */
  gap: 5px;
}

.table-contact {
  line-height: 1.75;
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  border-top: 1px solid #BCBEBF;
  margin-bottom: 30px;
}

.table-contact>tbody>tr {
  border-bottom: 1px solid #ccc;
}

.table-contact>tbody>tr>th {
  width: 15em;
  padding-left: 1em;
}

.table-contact>tbody>tr>td {
  padding-left: 2em;
}

/* テーブルの基本 */
.table-contact {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  /* 線のズレ防止 */
  border-spacing: 0;
}

/* th / td の揃えと余白を統一 */
.table-contact th,
.table-contact td {
  vertical-align: top;
  /* ← ここが肝（Safari対策） */
  padding: 12px 16px;
  line-height: 1;
}

/* 任意：左の見出し幅 */
.table-contact th {
  width: 15em;
  /* 使っているなら固定幅はここで */
  white-space: nowrap;
}

.table-contact tr:last-child th,
.table-contact tr:last-child td {
  border-bottom: none;
}

.table-contact th,
.table-contact td {
  vertical-align: top;
  /* ← Safariでも確実に上揃え */
}

.table-contact>tbody>tr>th,
.table-contact>tbody>tr>td {
  padding: 1em 0;
  font-size: 16px;
}

.form-control {
  font-size: 16px;
  display: block;
  width: 100%;
  padding: 10px 15px;
  font-weight: 500;
  font-size: 16px;
  height: auto;
  color: #000;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0;
}

#element {
  border: 1px solid #ced4da;
  padding: 0.375rem 0.75rem;
  font-weight: 500;
}

select.custom-select.placeholder {
  color: #999; /* 未選択時 */
}

#statusMsg {
  color: #999;
  font-size: 16px;
  font-weight: 400;
}

.entry-form-area ::placeholder {
  color: #ccc !important;
  font-weight: 400;
  font-size: 16px;
}

.p-postal-code {
  width: 30%;
}

.input-name {
  display: block;
  width: 100%;
}

.input-name {
  margin-bottom: 10px;
}

.contactform {
  font-size: 18px;
}

.form-line+.form-line {
  margin-top: 20px;
}

.send-btn {
  position: relative;
}

.send-btn .more-white-icon,
.btn-primary .more-white-icon {
  position: absolute;
  right: 16px;
  width: 30px;
  height: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% 50%;
  background-color: #fff;
  justify-content: center;
}


.btn-primary .fa-arrow-right,
.send-btn .fa-arrow-right {
  color: var(--navy);
  font-size: 16px;
}

.return-btn .more-white-icon {
  position: absolute;
  left: 16px;
  width: 30px;
  height: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% 50%;
  background-color: #fff;
  justify-content: center;
}

.return-btn .fa-arrow-left {
  color: #999999;
  font-size: 16px;
}

.return-btn:hover .fa-arrow-right {
  color:#333333;
}

.btn-primary,
.send-btn,
.return-btn {
  position: relative;
  margin: 0 auto;
  max-width: 300px;
  display: block;
  width: 100%;
  text-align: center;
  color: #fff;
  padding: 16px 0;
  font-weight: 400;
  line-height: 1;
  overflow: hidden;
  color: #fff;
  border: none;
  line-height: 1.5;
  background: var(--navy);
  font-size: 16px;
  border: 1px solid var(--main-color);
  transition: 0.7s !important;
}

.btn-primary {
  max-width: 480px;
}
.btn-primary:hover,
.send-btn:hover {
  background-color: var(--deep-navy);
  color: #fff;
}
.return-btn {
  border: 1px solid #999999;
  background: #999999;
}

.return-btn:hover {
  background-color: #333333;
}

.more-btn {
  position: relative;
  padding-right: 2em;
  /* アイコン分の余白 */
}

/*
.btn-primary::after {
  content: "\f061"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color:var(--main-color);
  position: absolute;
  right: 0.8em;
  width: 30px;
  height: 30px;
  line-height: 2;
  background-color: #fff;
  top: 50%;
  border-radius: 50% 50%;
  transform: translateY(-50%);
}
*/
@media (max-width: 1500px) {
  .tel-fax-ttl {
    font-size: min(calc(22px + (26 - 22) * (100vw - 992px) / (1500 - 992)),
        26px);
    background-color: #fff;
    padding: min(calc(8px + (10 - 8) * (100vw - 992px) / (1500 - 992)),
        10px);
    margin-bottom: 20px;
  }


  .tel-fax-area .number-text {
    font-size: min(calc(50px + (60 - 50) * (100vw - 992px) / (1500 - 992)),
        60px);
  }
  .tel-fax-area .number-text a span {
    font-size: min(calc(50px + (60 - 50) * (100vw - 992px) / (1500 - 992)),
        60px);
  }

  .tel-fax-area .text {
    font-size: min(calc(18px + (22 - 18) * (100vw - 992px) / (1500 - 992)),
        22px);
    margin-top: min(calc(5px + (10 - 5) * (100vw - 992px) / (1500 - 992)),
        10px);
  }

  .tel-fax-area .container,
  .entry-form-area .container {
    padding-left: calc(15px + 50 * (100vw - 320px) / 1180);
    padding-right: calc(15px + 50 * (100vw - 320px) / 1180);
  }

  .entry-form-area .text-center {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
  }

  .required {
    font-size: min(calc(14px + (16 - 14) * (100vw - 992px) / (1500 - 992)),
        16px);
  }

  .table-contact>tbody>tr>th,
  .table-contact>tbody>tr>td {
    font-size: 16px;
  }

  .form-control {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
  }

  /* 共通 */
  .entry-form-area ::placeholder {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
  }

  #policy h4 {
    font-size: min(calc(22px + (25 - 22) * (100vw - 992px) / (1500 - 992)),
        25px);
    margin-bottom: min(calc(15px + (20 - 15) * (100vw - 992px) / (1500 - 992)),
        20px);
  }

  #policy .contents p,
  #policy .contents ol {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
  }

  #policy .contents h5 {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
    margin: 2em 0 0;
  }

  #policy .contents>ol>li {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
    margin-bottom: 5px;
  }

  .agree label {
    font-size: min(calc(16px + (18 - 16) * (100vw - 992px) / (1500 - 992)),
        18px);
  }

  .btn-primary,
  .send-btn,
  .return-btn {
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  .entry-form-area {
    padding: min(calc(60px + (100 - 60) * (100vw - 375px) / (991 - 375)), 100px) 0 min(calc(60px + (100 - 60) * (100vw - 320px) / (991 - 375)), 100px);
    position: relative;
  }

  .tel-fax-area h3 {
    font-size: min(calc(24px + (28 - 24) * (100vw - 320px) / (991 - 320)),
        28px);
  }

  .tel-fax-area h3::after {
    width: min(calc(60px + (80 - 60) * (100vw - 320px) / (991 - 320)),
        80px);
  }

  .tel-fax-ttl {
    padding: min(calc(6px + (10 - 6) * (100vw - 320px) / (991 - 320)),
        10px);
  }

  .fax-box {
    margin-top: 20px;
  }

  .fax-wrap {
    margin-top: min(calc(20px + (30 - 20) * (100vw - 320px) / (991 - 320)),
        30px);
  }

  .tel-fax-area {
    margin-bottom:0;
  }

  .tel-fax-area .icon {
    height: auto;
    line-height: 1;
  }

  .tel-fax-area .number-text {
    font-size: min(calc(30px + (50 - 30) * (100vw - 320px) / (991 - 320)),
        50px);
  }
  .tel-fax-area .number-text a span {
    font-size: min(calc(30px + (50 - 30) * (100vw - 320px) / (991 - 320)),
        50px);
  }

  .tel-fax-area .number-text a span{
    font-size: min(calc(30px + (50 - 30) * (100vw - 320px) / (991 - 320)),
        50px);
    color: var(--navy);
    font-weight: 700;
    font-family: "Oswald", sans-serif;
  }

  .entry-form-area .text-center {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
  }

  .required {
    font-size: min(calc(12px + (14 - 12) * (100vw - 320px) / (991 - 320)),
        14px);
  }

  .notes {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
  }

  .entry-form-area ::placeholder {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
  }

  #policy h4 {
    line-height: 1.5;
    font-size: min(calc(18px + (22 - 18) * (100vw - 320px) / (991 - 320)),
        22px);
    margin-bottom: 20px;
  }

  #policy .contents p,
  #policy .contents ol {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
  }

  #policy .contents h5 {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
    margin: 2em 0 0;
  }

  #policy .contents>ol>li {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
    margin-bottom: 5px;
  }

  .agree label {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn-primary,
  .send-btn,
  .return-btn {
    padding: 8px 0;
    max-width: min(calc(360px + (400 - 360) * (100vw - 320px) / (991 - 320)),
        400px);
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
  }

  .btn-primary .more-white-icon,
  .send-btn .more-white-icon
   {
    position: absolute;
    right: 12px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% 50%;
    background-color: #fff;
  }
  .return-btn .more-white-icon {
    position: absolute;
    left: 12px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% 50%;
    background-color: #fff;
  }
  .btn-primary .fa-arrow-right,
  .send-btn .fa-arrow-right {
    font-size: 12px;
  }

  .confirm-only .send-btn,
  .confirm-only .return-btn {
    max-width: min(calc(160px + (180 - 160) * (100vw - 320px) / (991 - 320)),
        180px);
    margin-left: 0;
    margin-right: 0;
  }

  .confirm-only {
    gap: 0 min(calc(15px + (20 - 15) * (100vw - 320px) / (991 - 320)),
        20px);
  }

  .table-contact>tbody>tr>th,
  .table-contact>tbody>tr>td {
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
  }

  .form-control {
    display: block;
    width: 100%;
    height: auto;
    padding: 0.75rem;
    font-size: min(calc(14px + (16 - 14) * (100vw - 320px) / (991 - 320)),
        16px);
    font-weight: 500;
    line-height: 1.75;
    color: #222222;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0;
  }

  #element {
    display: block;
    width: 100%;
    height: calc(1.75em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
  }
    .tel-fax-area .icon {
    width: 100%;
    font-size: 30px;
    margin-right: 15px;
    max-width: 50px;
    height: 50px;
    }
}

@media (max-width: 768px) {
  .entry-form-area .text-center {
    text-align: left !important;
  }

  .entry-form-area .fa-arrow-right:before {
    font-size: 14px;
  }

  .table-contact>tbody>tr {
    width: 100%;
    display: block;
    padding: 1em 0.5em;
  }

  .table-contact>tbody>tr>th,
  .table-contact>tbody>tr>td {
    width: 100%;
    display: block;
    padding: 0;
    font-size: 14px;
  }

  .table-contact>tbody>tr>th+td,
  .table-contact>tbody>tr>td+td {
    margin-top: .5em;
  }
    .tel-fax-area .icon {
    font-size: 24px;
        width: 100%;
        margin-right: 15px;
        max-width: 40px;
        height: 40px;
    }
    .radio-line label {
    font-size: 14px;
}
.entry-form-area ::placeholder {
    font-size: 14px;
}
.tel-fax-wrap {
    padding: 15px;
}
}

