@charset "utf-8";
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");
@import url("inview.css");
@import url("mainimg.css");

:root {
  --primary-color: #ffa153;
  --primary-inverse-color: #fff;
  --secondary-color: #ffa153;
  --secondary-inverse-color: #fff;
  --accent-color: #ffa153;
  --accent-inverse-color: #fff;
  --text-color: #555;
  --orange: #ffa153;
  --orange-dark: #ff8f3a;
  --yellow: #f3dc6a;
  --cream: #fff7ec;
  --cream-light: #fffaf4;
  --beige: #f7f2e9;
  --content-space: 4rem;
  --inner-width: 960px;
  --wide-width: 1280px;
}

@keyframes animation1 {
  0% { left: -200px; }
  100% { left: 0; }
}

@keyframes opa1 {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeIn {
  0% { opacity: 0; transform: scale(0.1) rotate(-30deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes floating-copy-fade {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes move-wave {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-size: 13px;
}

@media screen and (min-width: 900px) {
  html, body { font-size: 17px; }
}

body {
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", Osaka, "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
  -webkit-text-size-adjust: none;
  background: #fff;
  color: var(--text-color);
  line-height: 2;
  overflow-x: hidden;
}

figure, dd { margin: 0; }
nav, ul, li, ol { margin: 0; padding: 0; }
nav ul { list-style: none; }
table { border-collapse: collapse; }
img { max-width: 100%; height: auto; border: none; vertical-align: middle; }
video, iframe { max-width: 100%; }
input { font-size: 1rem; }
section { padding: var(--content-space); }
p { margin-left: 1rem; margin-right: 1rem; }

a { color: inherit; transition: 0.3s; }
a:hover { filter: brightness(1.1); }

.clearfix::after { content: ""; display: block; clear: both; }
.l { text-align: left !important; }
.c { text-align: center !important; }
.r { text-align: right !important; }
.ws, .wl { display: block; width: 95%; }
.mb0 { margin-bottom: 0 !important; }
.mb30 { margin-bottom: 30px !important; }
.mb5rem { margin-bottom: 5rem !important; }
.small { font-size: 0.75em; }
.large { font-size: 2em; letter-spacing: 0.1em; }
.pc { display: none; }
.dn { display: none !important; }
.block { display: block !important; }
.color-check, .color-check a { color: #ff0000 !important; }

.look {
  display: inline-block;
  margin: 5px 0;
  padding: 0 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #eee;
  color: #888;
  word-break: break-all;
}

.point {
  margin: 25px 0;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 15px;
  background: #f6f6f6;
}

@media screen and (min-width: 900px) {
  .ws { display: inline; width: 48%; }
  .sh { display: none; }
  .pc { display: block; }
}

#container {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0 auto;
  animation: opa1 0.2s 0.4s both;
}

#contents { flex: 1; }
#contents ul, #contents ol { margin-left: 2rem; margin-right: 2rem; }

/* header --------------------------------------------------------------- */
header {
  position: absolute;
  z-index: 30;
  width: 100%;
  padding: 1rem var(--content-space);
  color: #fff;
}

header a { color: inherit; }
#logo { display: none !important; }

.floating-brand {
  position: absolute;
  z-index: 30;
  color: var(--text-color);
}

.floating-brand__logo { display: block; text-decoration: none; }
.floating-brand__logo img { display: block; width: 100%; height: auto; }

body.home .floating-brand {
  left: clamp(2rem, 6vw, 7rem);
  top: clamp(2rem, 5vw, 5rem);
}

body.home .floating-brand__logo { width: clamp(260px, 28vw, 520px); }
body.home .floating-brand__copy {
  display: block;
  margin-top: 2.4rem;
  animation: floating-copy-fade 1.4s ease 0.4s both;
}

.floating-brand__main {
  margin: 0 0 1.5rem;
  color: var(--text-color);
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.6rem, 4vw, 5rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.floating-brand__sub {
  margin: 0;
  color: var(--text-color);
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.08em;
}

body:not(.home) .floating-brand {
  left: clamp(2rem, 5vw, 6rem);
  top: 3rem;
}

body:not(.home) .floating-brand__logo { width: clamp(220px, 22vw, 380px); }
body:not(.home) .floating-brand__copy { display: none !important; }

#menubar {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 100px var(--content-space) 50px;
  background: var(--orange);
  color: #fff;
  animation: animation1 0.2s both;
}

#menubar a {
  display: block;
  margin-bottom: 1rem;
  padding: 1rem 2rem;
  border: 1px solid #fff;
  color: inherit;
  text-decoration: none;
}

#menubar_hdr {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 101;
  display: flex;
  width: 70px;
  height: 70px;
  cursor: pointer;
  border-radius: 0 0 0 20px;
  background: var(--yellow) !important;
  transform-origin: right top;
  animation: opa1 0s 0.2s both;
}

#menubar_hdr.ham { background: var(--yellow) !important; }

#menubar_hdr span {
  position: absolute;
  left: 18px;
  display: block;
  width: 35px;
  height: 2px;
  background: #fff !important;
  transition: 0.3s;
}

#menubar_hdr span:nth-of-type(1) { top: 24px; }
#menubar_hdr span:nth-of-type(2) { top: 34px; }
#menubar_hdr span:nth-of-type(3) { top: 44px; }
#menubar_hdr.ham span:nth-of-type(1) { transform: translateY(10px) rotate(-45deg); }
#menubar_hdr.ham span:nth-of-type(2) { opacity: 0; }
#menubar_hdr.ham span:nth-of-type(3) { transform: translateY(-10px) rotate(45deg); }

/* TOP FV --------------------------------------------------------------- */
body.home #mainimg {
  position: relative;
  height: 100vh;
  min-height: 760px;
  background-image: url("../images/fv-pc.webp") !important;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

body.home #mainimg .slide { display: none !important; }

@media screen and (min-width: 701px) and (max-width: 1100px) {
  body.home #mainimg {
    background-image: url("../images/fv-pc.webp") !important;
    background-position: center center;
    background-size: cover;
  }
}

@media screen and (max-width: 700px) {
  body.home #mainimg {
    height: 100vh;
    min-height: 760px;
    background-image: url("../images/fv-sp.webp") !important;
    background-position: center top;
    background-size: cover;
  }
}

/* TOP header buttons --------------------------------------------------- */
#header-box * { margin: 0; padding: 0; }
#header-box .btn { display: flex; gap: 1rem; list-style: none; }
#header-box .btn a { display: block; padding: 0.5rem 2rem; border-radius: 3px; text-decoration: none; }
#header-box .btn i { margin-right: 1rem; transform: scale(1.4); }

@media screen and (min-width: 701px) {
  body.home #header-box {
    position: absolute !important;
    right: 7rem !important;
    top: 2.2rem !important;
    z-index: 40 !important;
    margin: 0 !important;
  }

  body.home #header-box .btn {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem !important;
  }

  body.home #header-box .btn a {
    min-width: 220px;
    padding: 0.7rem 1.6rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
  }
}

@media screen and (max-width: 700px) {
  body.home .floating-brand {
    left: 9vw;
    top: 7vh;
    width: 82vw;
  }

  body.home .floating-brand__logo { width: min(68vw, 360px); }
  body.home .floating-brand__copy { margin-top: 1.8rem; }
  body.home .floating-brand__main { font-size: clamp(2.1rem, 8vw, 3rem); line-height: 1.4; }
  body.home .floating-brand__sub { font-size: clamp(1rem, 4vw, 1.25rem); line-height: 1.8; }

  body.home #header-box {
    position: absolute !important;
    left: 5vw !important;
    top: calc(80vh - 78px) !important;
    z-index: 21 !important;
    width: 90vw !important;
    margin: 0 !important;
  }

  body.home #header-box .btn {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.7rem !important;
    width: 100% !important;
  }

  body.home #header-box .btn li { width: 50% !important; margin-bottom: 0 !important; }

  body.home #header-box .btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px !important;
    padding: 0.8rem 0.5rem !important;
    border-radius: 6px;
    background: var(--orange);
    color: #fff;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }

  body.home #header-box .btn i {
    margin-right: 0.5rem !important;
    font-size: 1.25rem !important;
    transform: none !important;
  }
}

/* TOP news ------------------------------------------------------------- */
.new-top * { margin: 0; padding: 0; }
.new-top {
  position: absolute;
  top: 80vh;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 80vw;
  margin-left: 10vw;
  padding: 1rem;
  border-radius: 5px;
  background: #fff;
}
.new-top h2 {
  margin-right: 1rem;
  padding: 0 1rem;
  border-radius: 3px;
  background: #555;
  color: #fff;
  font-size: 1rem;
  font-weight: normal;
}
.new-top .text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.new-top a:hover { opacity: 0.8; }

@media screen and (max-width: 700px) {
  body.home .new-top { top: 82vh; width: 90vw; margin-left: 5vw; padding: 0.8rem; }
  body.home .new-top h2 { padding: 0.2rem 0.8rem; font-size: 0.9rem; }
  body.home .new-top .text { font-size: 0.95rem; }
}

/* heading -------------------------------------------------------------- */
main h2 {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  margin: 0 0 5vw;
  padding: 0;
  color: var(--text-color);
  font-size: 2.4rem;
  font-weight: normal;
}
main h2.c { align-items: center; text-align: center; }
main h2 span.small {
  display: inline-block;
  padding-top: 2rem;
  border-top: 2px solid #fb9f51;
  color: #999;
  font-size: 0.9rem;
  letter-spacing: 0.1rem;
  opacity: 0.8;
}
.fade-in-text { visibility: hidden; }
.char { display: inline-block; opacity: 0; animation: fadeIn 0.2s linear both; }

/* TOP kodawari --------------------------------------------------------- */
#kodawari { background: url("../images/bg-kodawari.png") no-repeat left top / 50vw; }
.list-half * { margin: 0; padding: 0; }
.list-half .list { display: flex; flex-direction: column; margin-bottom: 2rem; }
.list-half .list h4 { margin-bottom: 1rem; font-size: 1.4rem; }
.list-half .list h4 span { display: block; opacity: 0.5; font-size: 0.5em; font-weight: normal; letter-spacing: 0.1em; }
.list-half .image-l img, .list-half .image-r img { border-radius: 50px; box-shadow: 10px 10px rgba(0, 0, 0, 0.1); }

@media screen and (min-width: 900px) {
  .list-half .list { flex-direction: row; justify-content: space-between; align-items: center; }
  .list-half .image-l, .list-half .image-r { width: 50%; }
  .list-half .image-r { margin-left: 2rem; }
  .list-half .image-l { order: -1; margin-right: 2rem; }
  .list-half .text { flex: 1; }
}

.signature {
  display: block;
  margin-top: 2rem;
  color: var(--text-color);
  font-family: "Hannotate SC", "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.08em;
  text-align: right;
}

@media screen and (max-width: 700px) {
  .signature { margin-top: 2rem; font-size: 0.82rem; line-height: 2; letter-spacing: 0.03em; text-align: right; white-space: nowrap; }
}

/* service -------------------------------------------------------------- */
.tksa-service {
  position: relative;
  padding: 7rem 4vw 8rem;
  overflow: hidden;
  background: var(--cream-light);
}
.tksa-service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/bg-section-leaf.jpg") center top / 100% 100% no-repeat;
  pointer-events: none;
}
.tksa-service__inner { position: relative; z-index: 1; width: min(1480px, 100%); margin: 0 auto; }
.tksa-service__heading { margin-bottom: 3.8rem; text-align: center; }
.tksa-service-title { margin: 0 auto 2.2rem; }
.tksa-service__lead { margin: 0 auto; color: var(--text-color); font-size: 1rem; line-height: 2; letter-spacing: 0.08em; text-align: center; }
.tksa-service__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem; }
.tksa-service-card { height: 100%; }
.tksa-service-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  color: #444;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(80, 65, 45, 0.13);
  transition: 0.35s ease;
}
.tksa-service-card__link:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(80, 65, 45, 0.18); }
.tksa-service-card__image { margin: 0; padding: 1.15rem 1.15rem 0; }
.tksa-service-card__image img { display: block; width: 100%; aspect-ratio: 1.48 / 1; object-fit: cover; border-radius: 8px; }
.tksa-service-card__body { display: flex; flex: 1; flex-direction: column; align-items: center; padding: 1.55rem 1.2rem 1.8rem; text-align: center; }
.tksa-service-card__body h3 { min-height: auto; margin: 0 0 0.65rem; color: #ff6b00; font-size: clamp(0.98rem, 1.15vw, 1.18rem); font-weight: 700; line-height: 1.65; letter-spacing: 0.05em; }
.tksa-service-card__en { margin: 0 0 1rem; color: #666; font-size: 0.82rem; line-height: 1.5; letter-spacing: 0.05em; }
.tksa-service-card__text { margin: 0 0 1.35rem; color: var(--text-color); font-size: 0.84rem; line-height: 1.9; letter-spacing: 0.04em; }
.tksa-service-card__more { display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem; margin: auto 0 0; color: #333; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.06em; }
.tksa-service-card__more span { color: #333; }
.tksa-service-card__more i { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 0.9rem; }

@media screen and (max-width: 1100px) { .tksa-service__grid { grid-template-columns: repeat(2, 1fr); } }
@media screen and (max-width: 700px) {
  .tksa-service { padding: 5rem 5vw 5.5rem; }
  .tksa-service::before { background-position: left top; background-size: cover; }
  .tksa-service__heading { margin-bottom: 2.6rem; }
  .tksa-service-title { margin-bottom: 1.6rem; }
  .tksa-service__lead { text-align: left; }
  .tksa-service__grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .tksa-service-card__image { padding: 1rem 1rem 0; }
  .tksa-service-card__body { padding: 1.5rem 1.2rem 1.8rem; }
  .tksa-service-card__body h3 { font-size: 1rem; }
}

/* flow ----------------------------------------------------------------- */
#flow { background: url("../images/bg-flow.png") no-repeat right top / 50vw; }
.flow-box * { margin: 0; padding: 0; }
.flow-box { position: relative; margin-bottom: 4rem; }
.flow-box .title h3 {
  margin-right: calc(-1 * var(--content-space));
  margin-bottom: 2rem;
  margin-left: calc(-1 * var(--content-space));
  padding: 2rem;
  background: var(--orange);
  color: #fff;
  text-align: center;
}
.flow-box .title h3 span { display: block; font-size: 0.7em; }
.flow-box .step-num {
  position: absolute;
  left: 0;
  top: -50px;
  display: inline-block;
  width: 100%;
  color: rgba(0, 0, 0, 0.15) !important;
  font-size: 3rem;
  opacity: 1 !important;
}

@media screen and (min-width: 900px) {
  .flow-box { display: flex; align-items: flex-start; gap: 5rem; }
  .flow-box .step-num { top: -100px; font-size: 5rem; }
  .flow-box .title { position: sticky; top: 0; width: 30%; }
  .flow-box .title h3 { margin-right: auto; border-radius: 0 100px 100px 0; }
  .flow-box .text { flex: 1; }
}

ul.step { margin: 0 !important; padding: 0 !important; list-style: none; }
ul.step li { position: relative; margin-bottom: 2rem; padding: 1rem; border: 2px solid var(--orange); }
ul.step li::after { content: "▼"; position: absolute; left: 50%; bottom: -2rem; color: var(--orange); opacity: 0.3; transform: scaleX(2); }
ul.step li:last-child::after { content: ""; }

/* FAQ ------------------------------------------------------------------ */
.bg1 { background: var(--orange); color: #fff; }
#faq { padding-left: 4vw; padding-right: 4vw; }
#faq h2.c { align-items: center !important; color: #fff; text-align: center !important; }
#faq h2.c .small { border-top-color: rgba(255, 255, 255, 0.7); color: #fff; opacity: 0.75; }
.faq { width: min(1200px, 100%); margin: 0 auto; border-bottom: 1px solid rgba(255, 255, 255, 0.3); font-size: 1.3rem; }
.faq dt { display: flex; align-items: flex-start; padding: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.3); cursor: pointer; }
.faq dt::before { content: "＋"; flex-shrink: 0; width: 2rem; margin-right: 1rem; border-radius: 50%; background: #ffe753; color: #fff; line-height: 2rem; text-align: center; transform: translateY(5px); }
.faq dt.active::before { content: "ー"; }
.faq dd { width: calc(100% - 4rem); margin: 0 0 1.5rem 4rem; padding: 1.5rem 2rem; border-radius: 5px; background: #fff; color: #333; }

@media screen and (max-width: 700px) {
  #faq { padding: 4.5rem 5vw; }
  #faq .faq { width: 100%; max-width: none; margin: 0; font-size: 1.15rem; }
  #faq .faq dt { padding: 1.2rem 0; line-height: 1.8; }
  #faq .faq dd { width: 100%; margin: 0 0 1.5rem; padding: 1.4rem 1.2rem; line-height: 2; }
}

/* buttons -------------------------------------------------------------- */
.btn a { display: block; background: var(--orange); color: #fff; text-align: center; text-decoration: none; }
.btn a:hover { background: #fff; color: var(--orange); }

/* contact -------------------------------------------------------------- */
.bg-slideup { width: 100%; background-repeat: no-repeat; background-size: cover; }
.slideup1 { border-radius: 10vw 10vw 0 0; background-image: url("../images/bg-slideup1.jpg"); color: #fff; }
.slideup2 {
  position: relative;
  padding: 4.5rem 4vw 4rem;
  background-color: var(--cream-light);
  background-image: url("../images/bg-contact.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.slideup2::before { display: none; }
.top-contact-box { display: flex; align-items: center; justify-content: center; padding: 0; }
.top-contact-box__inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 3.5rem 3rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.58);
  text-align: center;
  box-shadow: 0 18px 45px rgba(80, 65, 45, 0.08);
  backdrop-filter: blur(3px);
}
.top-contact-box__sub { margin: 0 0 1rem; color: var(--text-color); font-size: 1rem; font-weight: 600; line-height: 1.8; letter-spacing: 0.08em; }
.top-contact-box__title { display: block; margin: 0 0 1.4rem; color: var(--text-color); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 700; line-height: 1.5; letter-spacing: 0.06em; text-align: center; }
.top-contact-box__text { margin: 0 0 2.5rem; color: var(--text-color); font-size: 1.05rem; line-height: 2; letter-spacing: 0.05em; }
.top-contact-box .btn { display: flex; flex-direction: column; gap: 1.2rem; height: auto; min-height: auto; margin: 0; padding: 0; list-style: none; font-size: 1.5rem; }
.top-contact-box .btn li { width: 100%; }
.top-contact-box .btn a { display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 70px; padding: 1.2rem 2rem; border-radius: 10px; background: var(--orange); color: #fff; font-weight: 700; letter-spacing: 0.06em; text-decoration: none; }
.top-contact-box .btn i { margin-right: 0; color: #fff; font-size: 1.8rem; transform: none; }
.sp-only-br { display: none; }
.pc-only-br { display: inline; }

@media screen and (min-width: 900px) {
  .top-contact-box .btn { flex-direction: row; justify-content: center; align-items: center; gap: 2rem; }
  .top-contact-box .btn li { width: min(40vw, 430px); }
}

@media screen and (max-width: 700px) {
  .slideup2 { padding: 4rem 5vw 5rem; background-image: url("../images/bg-contact-sp.png"); background-position: center bottom; background-size: cover; }
  .top-contact-box__inner { padding: 2.5rem 1.4rem; border-radius: 24px; background: rgba(255, 255, 255, 0.68); }
  .top-contact-box__title { display: flex !important; flex-direction: column !important; gap: 0 !important; margin-bottom: 2rem; font-size: clamp(1.7rem, 7vw, 2.3rem); line-height: 1.05 !important; text-align: left !important; }
  .top-contact-box__title-left { display: block !important; width: 100% !important; margin: 0 !important; padding: 0 !important; line-height: 1.05 !important; text-align: left !important; }
  .top-contact-box__title-right { display: block !important; width: 100% !important; margin: -0.05em 0 0 !important; padding: 0 !important; line-height: 1.05 !important; text-align: right !important; }
  .top-contact-box__title .sp-only-br { display: none !important; }
  .top-contact-box__text { text-align: left; }
  .pc-only-br { display: none; }
  .top-contact-box .btn { flex-direction: row; gap: 0.8rem; width: 100%; font-size: 1rem; }
  .top-contact-box .btn li { width: 50%; }
  .top-contact-box .btn a { min-height: 56px; padding: 0.8rem 0.5rem; border-radius: 8px; font-size: 0.82rem; line-height: 1.4; letter-spacing: 0.02em; white-space: nowrap; }
  .top-contact-box .btn i { margin-right: 0.4rem; font-size: 1.1rem; }
}

/* wave ----------------------------------------------------------------- */
.wave-section { position: relative; z-index: 2; height: 80px; margin-top: -80px; margin-bottom: -1px; overflow: hidden; background: transparent; pointer-events: none; }
.wave-wrap use { fill: var(--orange); }
.wave { position: absolute; left: 0; bottom: 0; width: 100%; height: 80px; }
.wave svg { display: block; width: 100%; height: 100%; }
.wave .wave-wrap { transform-box: fill-box; transform-origin: 0 0; animation: move-wave 10s linear infinite; }
.wave-top { bottom: 0; }
.wave-bottom { bottom: 0; transform: rotate(180deg); }

/* footer --------------------------------------------------------------- */
#footer * { margin: 0; padding: 0; }
#footer ul { list-style: none; }
#footer { padding: 4rem var(--content-space) 3rem; background: var(--orange); color: #fff; }
#footer .footer-inner { width: min(var(--wide-width), 100%) !important; max-width: var(--wide-width) !important; margin: 0 auto !important; }
.footer-access { display: grid; gap: 2rem; width: 100%; margin: 0 auto 2.8rem; }
.footer-access__item h3 { margin-bottom: 0.5rem; color: #fff; font-size: 1.35rem; font-weight: 700; letter-spacing: 0.08em; }
.footer-address { margin: 0 0 1rem; color: #fff; font-size: 1rem; line-height: 1.8; }
#footer .iframe { position: relative; width: 100%; height: 0; overflow: hidden; padding-top: 56.25%; background: rgba(255, 255, 255, 0.25); }
#footer .iframe iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.footer-bottom { display: flex; flex-direction: column; align-items: flex-end !important; gap: 1.1rem; width: 100%; margin: 5rem auto 0 !important; }
.footer-bottom-logo { display: flex; justify-content: flex-end !important; width: 100%; }
.footer-bottom-logo a { display: inline-flex; justify-content: flex-end; text-decoration: none; }
.footer-bottom-logo a:hover { opacity: 0.85; }
.footer-bottom-logo img { display: block; width: min(460px, 100%); height: auto; }
.footer-company p { margin: 0; color: #fff; font-size: 1rem; line-height: 1.8; text-align: right !important; }
#footer .sns { display: flex; flex-wrap: wrap; justify-content: flex-end !important; gap: 1rem; }
#footer .sns a { display: inline-flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; }
#footer .sns i { font-size: 30px; }
#footer small { display: block; margin-top: 2rem; color: #fff; text-align: right !important; }

@media screen and (min-width: 900px) { .footer-access { grid-template-columns: repeat(2, 1fr); align-items: start; } }
@media screen and (max-width: 600px) {
  #footer { padding: 3rem 5vw 2.5rem; }
  .footer-access { gap: 2.5rem; }
  #footer .footer-bottom { align-items: center !important; margin-top: 4rem !important; text-align: center !important; }
  #footer .footer-bottom-logo { justify-content: center !important; }
  #footer .footer-bottom-logo a { justify-content: center; }
  #footer .footer-bottom-logo img { width: min(320px, 90vw) !important; }
  #footer .footer-company { width: 100%; }
  #footer .footer-company p { text-align: center !important; }
  #footer .sns { justify-content: center !important; }
  #footer small { text-align: center !important; }
}

/* page top ------------------------------------------------------------- */
.pagetop-show { display: block; }
.pagetop a { position: fixed; right: 20px; bottom: 20px; z-index: 99; display: block; width: 60px; border-radius: 50%; background: rgba(0, 0, 0, 0.2); color: #fff; font-size: 1.5rem; line-height: 60px; text-align: center; text-decoration: none; animation: opa1 1s 0.4s both; }

/* under common --------------------------------------------------------- */
body:not(.home) #contents { position: relative; overflow: hidden; padding-top: 0; padding-bottom: 0; }
body:not(.home) main { position: relative; z-index: 1; }
body:not(.home) main > section:first-child { padding-top: 9.5rem !important; }
body:not(.home) #contents::after { content: ""; position: absolute; left: 31vw; top: 1.6rem; z-index: 0; width: 38px; height: 38px; border: 7px solid rgba(80, 80, 80, 0.08); border-radius: 50%; pointer-events: none; }
body:not(.home) .connection-inner { width: min(var(--inner-width), 100%) !important; margin-left: auto !important; margin-right: auto !important; }
body:not(.home) .connection-lead { width: 100% !important; max-width: none !important; margin: 0 0 1.5rem !important; color: var(--text-color); font-size: 1rem; line-height: 2; letter-spacing: 0.04em; }
body:not(.home) .connection-list { width: 100% !important; margin-left: auto !important; margin-right: auto !important; }

.under-main-image { width: 100%; margin: 0 auto 2.5rem; overflow: hidden; border-radius: 28px; box-shadow: 0 16px 36px rgba(80, 65, 45, 0.12); }
.under-main-image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

@media screen and (max-width: 700px) {
  body:not(.home) .floating-brand { left: 6vw; top: 2rem; }
  body:not(.home) .floating-brand__logo { width: min(58vw, 300px); }
  body:not(.home) main > section:first-child { padding-top: 7rem !important; }
  body:not(.home) #contents::before, body:not(.home) #contents::after { display: none; }
  .under-main-image { margin-bottom: 2rem; border-radius: 22px; }
  .under-main-image img { aspect-ratio: 4 / 3; }
}

/* connection ----------------------------------------------------------- */
.connection-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 2rem; }
.connection-item { padding: 1.6rem; border-radius: 18px; background: var(--cream); }
.connection-item h3 { margin: 0 0 0.8rem; color: var(--orange); font-size: 1.2rem; font-weight: 700; letter-spacing: 0.08em; }
.connection-item p { margin: 0; color: var(--text-color); font-size: 0.95rem; line-height: 1.9; }
.connection-page .connection-item h3 { display: block !important; width: 100% !important; margin: 0 0 1rem !important; padding: 0 !important; color: var(--orange) !important; text-align: center !important; }

@media screen and (max-width: 700px) { .connection-list { grid-template-columns: 1fr; } .connection-item { padding: 1.4rem; } }

/* family --------------------------------------------------------------- */
.family-page, .family-page-under { position: relative; overflow: hidden; color: var(--text-color); }
.family-page p, .family-page li, .family-page span { color: var(--text-color); }

#kodawari.family-page-under .connection-list { grid-template-columns: repeat(3, 1fr); }
#kodawari.family-page-under .connection-item { padding: 2.2rem 1.8rem; border-radius: 24px; }
#kodawari.family-page-under .connection-item h3 { display: flex !important; align-items: center !important; justify-content: center !important; gap: 0.35em !important; width: 100%; margin: 0 0 1.2rem; color: var(--orange); line-height: 1.35 !important; text-align: center !important; }
#kodawari.family-page-under .connection-item h3::before { content: ""; display: inline-block; width: 0.75em !important; height: 0.75em !important; flex-shrink: 0; background-image: url("../images/aicon-list.png") !important; background-position: center center !important; background-size: 240% 240% !important; background-repeat: no-repeat !important; transform: translateY(0.02em); }
#kodawari.family-page-under .connection-item p { text-align: left; }

.family-simple-recommend { display: grid; gap: 1rem; width: min(980px, 100%); margin: 0 auto 4rem; }
.family-simple-recommend__item { display: grid; grid-template-columns: 76px 1fr; align-items: center; overflow: hidden; border-radius: 999px; background: linear-gradient(90deg, #fff7ec 0%, #fff1df 100%); box-shadow: 0 10px 24px rgba(80, 65, 45, 0.08); }
.family-simple-recommend__item span { display: grid; place-items: center; min-height: 66px; height: 100%; background: var(--orange); color: #fff; font-family: serif; font-size: 1.35rem; font-weight: 700; }
.family-simple-recommend__item p { margin: 0; padding: 1rem 1.5rem; font-weight: 600; line-height: 1.8; }

.family-recommend-design .family-simple-recommend__item { grid-template-columns: 96px 1fr !important; }
.family-recommend-design .family-simple-recommend__item span { display: flex !important; align-items: center !important; justify-content: flex-end !important; padding-right: 1.3rem !important; background: transparent !important; font-size: 0 !important; }
.family-recommend-design .family-simple-recommend__item span::before { content: ""; display: block; width: 1.5em !important; height: 1.5em !important; background-image: url("../images/icon-check.png") !important; background-position: center center !important; background-size: 240% 240% !important; background-repeat: no-repeat !important; }

.family-simple-values { display: grid; grid-template-columns: 0.95fr 1.05fr !important; align-items: center; gap: 2rem !important; width: min(1080px, 100%); margin: 0 auto; padding: 4rem 4rem !important; border-radius: 28px; background: url("../images/bg-section-leaf.jpg") center center / cover no-repeat; }
.family-simple-values__heading p { margin: 0 0 1.4rem; color: var(--orange); font-family: serif; font-size: 1rem; line-height: 1.4; letter-spacing: 0.18em; }
.family-simple-values__heading h2 { display: block; margin: 0; color: var(--text-color); font-size: clamp(1.45rem, 2vw, 2.15rem) !important; font-weight: 700; line-height: 1.55 !important; letter-spacing: 0.03em !important; text-align: left; white-space: normal !important; word-break: keep-all !important; }
.family-simple-values__text { padding-top: 1rem; }
.family-simple-values__text p { margin: 0 0 1.7rem; color: var(--text-color); font-size: 1.05rem; font-weight: 600; line-height: 2.1; letter-spacing: 0.04em; }
.family-simple-values__text p:last-child { margin-bottom: 0; }

.family-simple-price { width: min(860px, 100%); margin: 0 auto; overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 18px 45px rgba(60, 70, 66, 0.1); }
.family-simple-price h3 { margin: 0; padding: 2rem; background: linear-gradient(135deg, #fff3e8, #edf5f1); color: var(--text-color); font-size: 1.4rem; text-align: center; }
.family-simple-price__row { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 1rem; align-items: center; padding: 1.4rem 2rem; border-top: 1px solid rgba(85, 85, 85, 0.12); }
.family-simple-price__row span { font-weight: 700; }
.family-simple-price__row strong { color: var(--orange); font-size: 1.25rem; }
.family-simple-price__row small { margin-left: 0.2rem; color: var(--text-color); font-size: 0.8rem; font-weight: 400; }
.family-simple-price__row p { margin: 0; font-size: 0.92rem; line-height: 1.7; }
.family-simple-price__note { margin: 0; padding: 0 2rem 2rem; font-size: 0.9rem; line-height: 1.8; }

@media screen and (max-width: 900px) {
  #kodawari.family-page-under .connection-list { grid-template-columns: 1fr; }
  .family-simple-values { grid-template-columns: 1fr !important; }
  .family-simple-values__text { padding-top: 0; }
  .family-simple-price__row { grid-template-columns: 1fr; gap: 0.4rem; }
}

@media screen and (max-width: 700px) {
  .family-recommend-design .family-simple-recommend__item { grid-template-columns: 70px 1fr !important; }
  .family-recommend-design .family-simple-recommend__item span { padding-right: 0.8rem !important; }
  .family-recommend-design .family-simple-recommend__item span::before { width: 1.35em !important; height: 1.35em !important; }
  .family-simple-values { padding: 2rem 1.4rem !important; border-radius: 22px; }
  .family-simple-values__heading h2 { font-size: 1.8rem !important; line-height: 1.7 !important; }
  .family-simple-recommend__item { grid-template-columns: 62px 1fr; border-radius: 22px; }
  .family-simple-recommend__item span { min-height: 62px; font-size: 1.2rem; }
  .family-simple-recommend__item p { padding: 0.9rem 1rem; font-size: 0.9rem; }
}

/* inheritance ---------------------------------------------------------- */
.inheritance-card-list { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 1.4rem !important; width: 100% !important; }
.inheritance-card-list .connection-item { min-height: 170px; }
.inheritance-card-list .connection-item h3 { text-align: center !important; }
.inheritance-support-lead { width: 100%; margin: 0 auto 2.5rem; }
.inheritance-support-lead p { margin: 0 0 1.5rem; color: var(--text-color); font-size: 1rem; font-weight: 400; line-height: 2; letter-spacing: 0.04em; }
.inheritance-support-lead p:last-child { margin-bottom: 0; }
.inheritance-recommend-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: stretch; width: 100%; margin: 0 auto; }
.inheritance-support-point { margin: 0 !important; padding: 2rem; border-radius: 24px; background: var(--cream); box-shadow: 0 10px 28px rgba(80, 65, 45, 0.08); }
.inheritance-support-point h3 { margin: 0 0 1.4rem; color: var(--orange); font-size: 1.25rem; font-weight: 700; text-align: center; letter-spacing: 0.08em; }
.inheritance-support-point ul { display: grid; gap: 0.9rem; margin: 0 !important; padding: 0 !important; list-style: none; }
.inheritance-support-point li { position: relative; padding: 0.95rem 1rem 0.95rem 2.5rem; border-radius: 12px; background: #fff; color: var(--text-color); font-weight: 700; line-height: 1.7; }
.inheritance-support-point li::before { content: "✓"; position: absolute; left: 1rem; top: 0.95rem; color: var(--orange); font-weight: 700; }
.inheritance-recommend-image { height: 100%; }
.inheritance-recommend-image img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: 24px; box-shadow: 0 16px 36px rgba(80, 65, 45, 0.12); }

@media screen and (max-width: 900px) { .inheritance-recommend-layout { grid-template-columns: 1fr; } .inheritance-recommend-image { order: -1; } }
@media screen and (max-width: 700px) { .inheritance-card-list { grid-template-columns: 1fr !important; } .inheritance-support-lead { margin-bottom: 2rem; } .inheritance-support-point { padding: 1.5rem 1.2rem; border-radius: 22px; } .inheritance-recommend-image img { min-height: auto; } }


/* ending --------------------------------------------------------------- */
.ending-page-under .connection-inner,
.ending-plan-design .connection-inner {
  width: min(var(--inner-width), 100%);
  margin: 0 auto;
}

.ending-page-under .connection-lead {
  width: 100%;
  margin: 0 0 1.5rem;
  color: var(--text-color);
  font-size: 1rem;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* 「このような内容を整理します」ブロック */
.ending-sub-block {
  width: 100%;
  margin: 3rem auto 0;
  padding: 3.2rem 3rem;
  border-radius: 28px;
  background: var(--cream);
  box-shadow: 0 10px 28px rgba(80, 65, 45, 0.06);
}

/* 「このような内容を整理します」見出し */
.ending-sub-block > h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 0 0 1.6rem;
  color: var(--orange);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-align: center;
}

/* 見出し前のアイコン */
.ending-sub-block > h3::before {
  content: "";
  display: inline-block;
  width: 2.4em;
  height: 2.4em;
  flex-shrink: 0;
  background: url("../images/aicon-point.png") center center / contain no-repeat;
}

/* 説明文 */
.ending-sub-block > p {
  margin: 0 0 2rem;
  color: var(--text-color);
  line-height: 2;
  letter-spacing: 0.04em;
}

/* 内容カード */
.ending-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 1.4rem;
  width: 100%;
  margin: 0 auto;
}

.ending-card-list .connection-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 170px;
  height: 100%;
  padding: 1.8rem 1.4rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(80, 65, 45, 0.05);
}

.ending-card-list .connection-item h3 {
  margin: 0 0 1rem;
  color: var(--orange);
  font-size: 1.2rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-align: center !important;
}

.ending-card-list .connection-item p {
  margin: 0;
  color: var(--text-color);
  line-height: 1.9;
}

/* 作成プラン上の文章 */
.ending-plan-message {
  margin: 0 auto 2.5rem;
  color: var(--text-color);
}

.ending-plan-message h3 {
  margin: 0 0 1.2rem;
  color: var(--text-color);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-align: center;
}

.ending-plan-message p {
  width: min(900px, 100%);
  margin: 0 auto;
  color: var(--text-color);
  line-height: 2;
  letter-spacing: 0.04em;
}

/* 不安リスト */
.ending-worry-list {
  display: grid;
  gap: 0.8rem;
  width: min(760px, 100%);
  margin: 0 auto 1.8rem !important;
  padding: 0 !important;
  list-style: none;
}

.ending-worry-list li {
  position: relative;
  padding: 1rem 1.4rem 1rem 3rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--text-color);
  font-weight: 700;
  line-height: 1.7;
  box-shadow: 0 8px 20px rgba(80, 65, 45, 0.06);
}

.ending-worry-list li::before {
  content: "";
  position: absolute;
  left: 1.3rem;
  top: 50%;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--orange);
  transform: translateY(-50%);
}

/* 作成プランのオレンジボックス */
.ending-plan-box,
.ending-plan-design .ending-plan-box {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 3rem;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffa153 0%, #ffb56f 100%);
  box-shadow: 0 18px 45px rgba(255, 161, 83, 0.22);
}

.ending-plan-box h3,
.ending-plan-design .ending-plan-box h3 {
  margin: 0 0 1.8rem;
  color: #fff;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.ending-plan-box ul,
.ending-plan-design .ending-plan-box ul {
  display: grid;
  gap: 0.9rem;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.ending-plan-box li,
.ending-plan-design .ending-plan-box li {
  position: relative;
  margin: 0;
  padding: 1rem 1.2rem 1rem 3rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-color);
  font-weight: 700;
  line-height: 1.8;
}

.ending-plan-box li::before,
.ending-plan-design .ending-plan-box li::before {
  content: "✓";
  position: absolute;
  left: 1.1rem;
  top: 1rem;
  color: var(--orange);
  font-weight: 700;
}

/* ending：タブレット調整 */
@media screen and (max-width: 900px) {

  .ending-card-list {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* ending：スマホ調整 */
@media screen and (max-width: 700px) {

  .ending-sub-block {
    margin-top: 2.5rem;
    padding: 2rem 1.2rem 1.4rem;
    border-radius: 22px;
  }

  .ending-sub-block > h3 {
    margin-bottom: 1rem;
    font-size: 1.15rem;
  }

  .ending-sub-block > h3::before {
    width: 2em;
    height: 2em;
  }

  .ending-sub-block > p {
    margin-bottom: 1.4rem;
  }

  .ending-card-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ending-card-list .connection-item {
    min-height: auto;
    padding: 1.4rem 1.1rem;
  }

  .ending-plan-message h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
  }

  .ending-plan-box,
  .ending-plan-design .ending-plan-box {
    padding: 2rem 1.2rem;
    border-radius: 22px;
  }

  .ending-worry-list li,
  .ending-plan-box li,
  .ending-plan-design .ending-plan-box li {
    border-radius: 16px;
    padding: 0.9rem 1rem 0.9rem 2.6rem;
  }

  .ending-worry-list li::before,
  .ending-plan-box li::before,
  .ending-plan-design .ending-plan-box li::before {
    left: 1rem;
  }

}

/* template leftovers --------------------------------------------------- */
.list-grid7 .list * { margin: 0; padding: 0; }
.list-grid7 .list { position: relative; display: grid; margin-bottom: 2rem; padding: 2rem; border: 1px solid #ccc; border-radius: 5px; background: #fafafa; color: var(--text-color); }
.list-grid7 .list h4 { margin-bottom: 0.5rem; color: #8d4202; font-size: 1.3rem; text-align: center; }
.list-grid7 .list h4 span { display: block; font-size: 0.7em; font-weight: normal; }
.list-grid7 .list p { font-size: 0.85rem; line-height: 1.5; }
.list-grid7 .list figure { margin: 0 auto 1rem; }
@media screen and (min-width: 800px) { .list-grid7 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

.new dd { padding-bottom: 1rem; }
.new dt span { display: inline-block; width: 8rem; padding: 0 1rem; border: 1px solid #777; border-radius: 2px; line-height: 1.8; text-align: center; transform: scale(0.85); }
.new .icon-bg1 { border-color: transparent; background: #cd0000; color: #fff; }
.new .icon-bg2 { border-color: transparent; background: var(--orange); color: #fff; }
@media screen and (min-width: 700px) { .new { display: grid; grid-template-columns: auto 1fr; } }

.week { width: 100%; table-layout: fixed; border: 1px solid #ccc; border-collapse: separate; border-spacing: 0; border-radius: 5px; overflow: hidden; background: #fff; color: var(--text-color); }
.week th:first-child, .week td:first-child { width: 25%; }
.week th:not(:first-child), .week td:not(:first-child) { width: calc(75% / 7); }
.week th, .week td { padding: 1rem 0; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; text-align: center; }
.week th:last-child, .week td:last-child { border-right: none; }
.week tr:last-child td { border-bottom: none; }
.week th { background: #fafafa; }

.pr a { display: block; padding: 0.5rem 1rem; background: #555; color: #ccc; font-size: 0.8rem; text-align: right; text-decoration: none; }
.pr a::before { content: "\e2ca"; margin-right: 0.5em; font-family: "Font Awesome 6 Free"; font-weight: bold; }
#manual { background-image: none; }
.manual { padding: 5rem; }
.manual h2, .manual h3 { margin-top: 3rem; }
pre { white-space: pre-wrap; word-wrap: break-word; overflow-wrap: break-word; }


/* familyページ：おすすめチェックアイコン・大切にしていること調整
---------------------------------------------------------------------------*/

/* おすすめリスト：数字を非表示にしてチェックアイコンを表示 */
.family-recommend-design .family-simple-recommend__item {
  display: grid !important;
  grid-template-columns: 88px 1fr !important;
  align-items: center !important;
}

.family-recommend-design .family-simple-recommend__item span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 88px !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
}

.family-recommend-design .family-simple-recommend__item span::before {
  content: "" !important;
  display: block !important;
  width: 30px !important;
  height: 30px !important;
  background: url("../images/icon-check.png") center center / contain no-repeat !important;
}

/* テキスト位置 */
.family-recommend-design .family-simple-recommend__item p {
  margin: 0 !important;
  padding: 1.2rem 1.5rem 1.2rem 0 !important;
}

/* スマホ時 */
@media screen and (max-width:700px) {

  .family-recommend-design .family-simple-recommend__item {
    grid-template-columns: 62px 1fr !important;
  }

  .family-recommend-design .family-simple-recommend__item span {
    width: 62px !important;
  }

  .family-recommend-design .family-simple-recommend__item span::before {
    width: 26px !important;
    height: 26px !important;
  }

}


/* familyページ：大切にしていること 見出しの改行を固定
---------------------------------------------------------------------------*/
.family-values-design .family-simple-values__heading h2 {
  display: block !important;
  margin: 0 !important;
  color: #555 !important;
  font-size: clamp(2rem, 3.2vw, 3.6rem) !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  letter-spacing: 0.04em !important;
  text-align: left !important;
}

.family-values-design .family-simple-values__heading h2 span {
  display: block !important;
  color: #555 !important;
}

/* 横幅が狭い時は少し文字を小さくする */
@media screen and (max-width:1100px) {

  .family-values-design .family-simple-values__heading h2 {
    font-size: clamp(1.8rem, 3vw, 3rem) !important;
  }

}

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

  .family-values-design .family-simple-values__heading h2 {
    font-size: 1.9rem !important;
    line-height: 1.65 !important;
  }

}

/* familyページ：アイコンを大きめに再調整
---------------------------------------------------------------------------*/

/* 「伝える場」「相談の場」「決定の場」のアイコン */
.family-page-under .connection-list .connection-item h3::before {
  width: 1.25em !important;
  height: 1.25em !important;
  background-size: 240% 240% !important;
  transform: translateY(0.06em) !important;
}

/* おすすめリストのチェックアイコン */
.family-recommend-design .family-simple-recommend__item span::before {
  width: 40px !important;
  height: 40px !important;
  background-size: contain !important;
}

/* チェックアイコンの表示位置を少し右へ */
.family-recommend-design .family-simple-recommend__item {
  grid-template-columns: 100px 1fr !important;
}

.family-recommend-design .family-simple-recommend__item span {
  width: 100px !important;
  justify-content: center !important;
}

/* スマホ調整 */
@media screen and (max-width:700px) {

  .family-page-under .connection-list .connection-item h3::before {
    width: 1.15em !important;
    height: 1.15em !important;
  }

  .family-recommend-design .family-simple-recommend__item {
    grid-template-columns: 72px 1fr !important;
  }

  .family-recommend-design .family-simple-recommend__item span {
    width: 72px !important;
  }

  .family-recommend-design .family-simple-recommend__item span::before {
    width: 32px !important;
    height: 32px !important;
  }

}

/* familyページ：大切にしていることを1カラム表示に変更
---------------------------------------------------------------------------*/
.family-values-design .family-simple-values {
  display: block !important;
  width: min(1080px, 100%) !important;
  padding: 4.5rem 5rem !important;
}

/* 左側の見出し部分 */
.family-values-design .family-simple-values__heading {
  width: 100% !important;
  margin-bottom: 2.5rem !important;
}

/* What we value */
.family-values-design .family-simple-values__heading p {
  margin: 0 0 1.5rem !important;
  text-align: left !important;
}

/* 大きい見出し */
.family-values-design .family-simple-values__heading h2 {
  display: block !important;
  margin: 0 !important;
  font-size: clamp(2.2rem, 4vw, 4rem) !important;
  line-height: 1.55 !important;
  letter-spacing: 0.04em !important;
  text-align: left !important;
}

/* spanで改行を固定している場合 */
.family-values-design .family-simple-values__heading h2 span {
  display: block !important;
}

/* 本文部分 */
.family-values-design .family-simple-values__text {
  width: 100% !important;
  padding-top: 0 !important;
}

.family-values-design .family-simple-values__text p {
  margin: 0 0 1.5rem !important;
  font-size: 1.05rem !important;
  line-height: 2.1 !important;
}

/* スマホ調整 */
@media screen and (max-width:700px) {

  .family-values-design .family-simple-values {
    padding: 2.5rem 1.6rem !important;
  }

  .family-values-design .family-simple-values__heading {
    margin-bottom: 2rem !important;
  }

  .family-values-design .family-simple-values__heading h2 {
    font-size: 2rem !important;
    line-height: 1.6 !important;
  }

}

/* familyページ：大切にしていること 見出しを控えめに調整
---------------------------------------------------------------------------*/
.family-values-design .family-simple-values__heading h2,
.family-values-design .family-simple-values__heading h2 span {
  font-weight: 400 !important;
}

.family-values-design .family-simple-values__heading h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.2rem) !important;
  line-height: 1.65 !important;
}

/* inheritanceページ：まず整理すること・チェックアイコン調整
---------------------------------------------------------------------------*/

/* 「まず整理すること」の冒頭にポイントアイコンを表示 */
.inheritance-point-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.8rem !important;
}

.inheritance-point-title::before {
  content: "" !important;
  display: inline-block !important;
  width: 2.6em !important;
  height: 2.6em !important;
  background: url("../images/aicon-point.png") center center / contain no-repeat !important;
  transform: translateY(0.02em) !important;
  flex-shrink: 0 !important;
}

/* 以前の後ろアイコンを消す */
.inheritance-point-title::after {
  content: none !important;
  display: none !important;
}

/* 家族会議から始める分割案づくり：チェックリスト */
.inheritance-check-list {
  margin: 1.5rem 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.inheritance-check-list li {
  position: relative !important;
  margin: 0 0 1rem !important;
  padding: 1.1rem 1.5rem 1.1rem 4.8rem !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #555 !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
}

/* チェックアイコン */
.inheritance-check-list li::before {
  content: "" !important;
  position: absolute !important;
  left: 1.5rem !important;
  top: 50% !important;
  width: 40px !important;
  height: 40px !important;
  background: url("../images/icon-check.png") center center / contain no-repeat !important;
  transform: translateY(-50%) !important;
}

/* スマホ調整 */
@media screen and (max-width:700px) {

  .inheritance-point-title::after {
    width: 1.15em !important;
    height: 1.15em !important;
  }

  .inheritance-check-list li {
    padding: 1rem 1rem 1rem 4rem !important;
  }

  .inheritance-check-list li::before {
    left: 1.1rem !important;
    width: 32px !important;
    height: 32px !important;
  }

}

/* familyページ：伝える場・相談の場・決定の場 アイコンサイズ調整
---------------------------------------------------------------------------*/
.family-page-under .connection-item h3::before {
  width: 3em !important;
  height: 3em !important;
  margin-right: 0.35em !important;
  transform: translateY(0.2em) !important;
  background-size: contain !important;
}

/* お知らせアーカイブページ
---------------------------------------------------------------------------*/
.archive-news-page {
  padding: var(--content-space);
}

.archive-news-page .connection-inner {
  width: min(900px, 100%);
  margin: 0 auto;
}

.archive-news-list {
  display: grid;
  gap: 1.4rem;
}

.archive-news-item {
  margin: 0;
}

.archive-news-item__link {
  display: block;
  padding: 1.8rem 2rem;
  border-radius: 18px;
  background: #fff7ec;
  color: #555;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(60, 70, 66, 0.06);
}

.archive-news-item__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(60, 70, 66, 0.1);
}

.archive-news-item__meta {
  margin-bottom: 0.6rem;
  color: #ffa153;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.archive-news-item__title {
  margin: 0 0 0.8rem;
  color: #555;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
}

.archive-news-item__excerpt {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.9;
}

.archive-news-pagination {
  margin-top: 3rem;
  text-align: center;
}

.archive-news-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.archive-news-pagination a,
.archive-news-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: #fff7ec;
  color: #555;
  text-decoration: none;
  font-weight: 700;
}

.archive-news-pagination .current {
  background: #ffa153;
  color: #fff;
}

.archive-news-empty {
  padding: 2rem;
  border-radius: 18px;
  background: #fff7ec;
  text-align: center;
}

.archive-news-empty p {
  margin: 0;
}

/* お知らせアーカイブページ：スマホ調整
---------------------------------------------------------------------------*/
@media screen and (max-width:700px) {

  .archive-news-page {
    padding: 4.5rem 5vw;
  }

  .archive-news-item__link {
    padding: 1.5rem 1.3rem;
    border-radius: 16px;
  }

  .archive-news-item__title {
    font-size: 1.1rem;
  }

}