@charset "UTF-8";

/* ============================================================
   sp.css — スマートフォン対応（〜 767px）
   ============================================================ */
@media screen and (max-width: 767px) {

body {
  font-size: 0.9rem;
  line-height: 2.2em;
  letter-spacing: 0.03em;
}

.wrapper {
  padding: 60px 20px;
}

h2 {
  font-size: 1.2em;
  margin: 0 0 40px;
}
h3 {
  font-size: 1.2rem;
}
.h2_ttl {
  margin: 0 0 40px;
}
.h2_ttl-en {
  font-size: 0.9em;
}
.h2_ttl-ja {
  padding: 0 80px;
  font-size: 0.95em;
  letter-spacing: 0.1em;
}
.h2_ttl-ja::before,
.h2_ttl-ja::after {
  width: 70px;
}

header {
  background-position: center center;
}
header .logo {
  width: 150px;
  top: 12px;
}
header .fv_hero {
  top: 40%;
  left: 4%;
  right: 4%;
}
header .fv_hero p {
  font-size: 1.35em;
  line-height: 1.6em;
  letter-spacing: 0.12em;
}
header .fv_hero p:last-child {
  font-size: 1em;
  letter-spacing: 0.05em;
}

.txtbox60 {
  width: 100%;
  float: none;
  margin: 0 0 20px;
  padding: 2em 1.5em;
  border-radius: 12px;
  box-sizing: border-box;
}
.imgbox40 {
  width: 100%;
  float: none;
  margin: 0 0 20px;
}

.item {
  flex-direction: column;
  gap: 20px;
}
.item .category {
  width: 100%;
  margin-bottom: 0;
}

/* ---- 料金比較表：スマホ用グリッドレイアウト ----
   左列 : dt（アイテム名）固定幅
   右列 : 3つの dd を縦に積む
   ------------------------------------------------ */
.comparision dl {
  display: grid;
  grid-template-columns: 10em 1fr;
  font-size: 0.78em;
  line-height: 1.5em;
}

/* 先頭4要素（ヘッダー行）の上ボーダーをリセットし再指定 */
.comparision dl > :nth-child(-n + 4) {
  border-top: none;
}
.comparision dl > :nth-child(1) {
  border-top: 1px solid #ccc;
}
.comparision dl > :nth-child(2) {
  border-top: 1px solid #ccc;
}
.comparision dt {
  grid-column: 1 / 2;
  grid-row: span 3;
  width: auto;
  padding: 0.6em 0.4em;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
.comparision dd {
  grid-column: 2 / 3;
  width: auto;
  padding: 0.55em 0.5em;
  font-size: 0.9em;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
.comparision .self {
  font-size: 1em;
  font-weight: 600;
}

.plan {
  flex-direction: column;
  gap: 20px;
}
.plan > li {
  width: 100%;
}

.flow {
  flex-direction: column;
}
.flow > li {
  width: 100%;
  min-width: auto;
  margin: 0 0 40px;
  padding: 1.2em;
}
.flow li::after {
  top: auto;
  bottom: -2.8em;
  right: 50%;
  transform: translateX(50%) rotate(90deg);
  width: 1.2em;
  height: 1.8em;
}
.flow li:last-child::after {
  background: none;
}

.w50 {
  width: 100%;
  min-width: auto;
}
.w70 {
  width: 95%;
  min-width: auto;
}
.flow_notion {
  font-size: 0.8em;
  text-align: left;
  line-height: 2em;
}

.contact_box {
  width: 100%;
  min-width: auto;
  flex-direction: column;
}
.contact_p {
  font-size: 1.1em;
}
.contact_tel {
  width: 100%;
  margin: 20px 0;
  font-size: 1.3em;
  text-align: center;
}
.contact_tel a {
  display: block;
  padding: 0.7em;
  background: var(--main_color);
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.1em;
}
.contact_line {
  width: 100%;
}
.contact_line a {
  margin: 0 0 20px;
}

.fix_cam a {
  bottom: 10%;
  padding: 0.8em 0.6em;
  font-size: 0.65em;
}

.copy {
  padding: 0.3em 1em;
  text-align: center;
  font-size: 0.65em;
}

.fix_button {
  position: fixed;
  width: 100%;
  height: 50px;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4 , 1fr);
  padding-bottom: env(safe-area-inset-bottom); 
  background: #fff; 
}




p {
  margin: 0 0 2em;
}

.pc {display: block;}
.sp {display: block;}

}