:root{
    --bg: #ffffff;
    --bg-alt: #ece9e2;
    --ink: #1c1c1c;
    --ink-soft: #55534d;
    --line: #d8d5cc;
    --red: #b74a8d;
    --red-dark: #a03d78;
    --red-text: #b74a8d;
    --white: #ffffff;
  }

  *{ box-sizing: border-box; }

  html{ scroll-behavior: smooth; }

  body{
    margin:0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.7;
  }

  a{ color: inherit; text-decoration: none; }

  .wrap{
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
  }

  /* ---------- Header ---------- */
  header{
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 22px 0;
  }
  .logo{
    display: inline-flex;
    align-items: center;
  }
  .logo img{
    height: 22px;
    width: auto;
    display: block;
  }
  nav{ display:flex; gap: 8px; }
  nav a{
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--ink);
    font-weight: 500;
    padding: 10px 16px;
  }
  nav a:hover{
    background: var(--red);
    color: var(--white);
  }

  /* ---------- Hero ---------- */
  .hero{
    display:grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
    border-bottom: 1px solid var(--line);
  }
  .hero-content{
    padding: 90px 0 90px 48px;
    max-width: 620px;
    display:flex;
    flex-direction: column;
    justify-content:center;
  }
  .eyebrow{
    color: var(--red-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin-bottom: 18px;
  }
  h1{
    font-size: 40px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 22px;
    letter-spacing: 0.01em;
  }
  .hero-desc{
    font-size: 15px;
    color: var(--ink-soft);
    margin: 0 0 34px;
    max-width: 460px;
  }
  .btn-row{ display:flex; gap: 14px; }
  .btn{
    display:inline-flex;
    align-items:center;
    gap: 8px;
    padding: 15px 26px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 2px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    z-index: 0;
    transition: color .5s ease, border-color .5s ease;
  }
  .btn::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s ease;
  }
  .btn:hover::before{
    transform: scaleX(1);
    transform-origin: left;
  }
  .btn-primary{
    color: #1c1c1c;
    border: solid 1px #1c1c1c;
  }
  .btn-primary::before{
    background: var(--red);
  }
  .btn-primary:hover{
    color: var(--white);
    border-color: var(--white);
  }
  .btn-outline{
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
  }
  .btn-outline::before{ background: var(--ink); }
  .btn-outline:hover{ color: var(--white); }

  .hero-media{
    position: relative;
    overflow:hidden;
    background:
      radial-gradient(ellipse at 60% 40%, #f6f5f2 0%, #e7e4dc 70%);
  }
  .hero-media video{
    width:100%;
    height:100%;
    object-fit: cover;
    display:block;
  }

  /* ---------- Section shared ---------- */
  section{
    border-bottom: 1px solid var(--line);
    padding: 90px 0;
  }
  .section-head{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    margin-bottom: 40px;
  }
  .section-label{
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--red-text);
  }
  .section-title{
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }
  .section-rule{
    border: none;
    border-top: 1px solid var(--ink);
    margin: 0 0 6px;
  }

  /* ---------- Service ---------- */
  .service-list{ display:flex; flex-direction:column; padding-top: 28px; }
  .service-row{
    display:grid;
    grid-template-columns: 56px 56px 300px 1fr;
    align-items:center;
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
    position: relative;
  }
  /* 遷移先が無いため、hover演出(背景スイープ・文字色反転など)は一旦すべて停止中。
     復活させる場合は以下のコメントブロックを外し、.service-rowに
     overflow:hidden; isolation:isolate; z-index:0; を戻してください。

  .service-row{
    overflow: hidden;
    isolation: isolate;
    z-index: 0;
  }
  .service-row::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s ease;
  }
  .service-row:hover::before{
    transform: scaleX(1);
    transform-origin: left;
  }
  .service-row:hover .service-num{ color: var(--white); }
  .service-row:hover .service-icon{ border-color: var(--red); color: var(--red); }
  .service-row:hover .service-name{ color: var(--white); }
  .service-row:hover .service-desc{ color: var(--white); }
  .service-row:hover .service-arrow{ transform: translateX(4px); color: var(--white); }
  */
  .service-num{
    font-size: 14px;
    font-weight: 700;
    color: var(--red-text);
    letter-spacing: 0.05em;
  }
  .service-icon{
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--ink);
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    background: #fff;
  }
  .service-icon svg{ width: 20px; height: 20px; }
  .service-name{
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
  }
  .service-desc{
    font-size: 14px;
    color: var(--ink-soft);
  }
  /* 矢印は現在HTML側で非表示(コメントアウト)にしているため、このスタイルは未使用。
     矢印を復活させる場合はHTML側のコメントを外し、下記も有効化してください。
  .service-arrow{
    font-size: 16px;
    color: var(--ink-soft);
    text-align:right;
  }
  */

  /* ---------- About ---------- */
  .about-grid{
    display:grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items:center;
    margin-top: 34px;
  }
  .about-media img{
    width:100%;
    height:auto;
    display:block;
  }
  .about-table{
    width:100%;
    border-collapse: collapse;
  }
  .about-table tr{ border-bottom: 1px solid var(--line); }
  .about-table tr:last-child{ border-bottom:none; }
  .about-table th{
    text-align:left;
    padding: 16px 20px 16px 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--red-text);
    white-space:nowrap;
    width: 110px;
    vertical-align: top;
  }
  .about-table td{
    padding: 16px 0;
    font-size: 14px;
    color: var(--ink);
    vertical-align: top;
  }

  /* ---------- Contact ---------- */
  .contact-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items:center;
    margin-top: 34px;
  }
  .contact-title{
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 18px;
    line-height: 1.5;
  }
  .contact-desc{
    font-size: 14px;
    color: var(--ink-soft);
    margin: 0 0 30px;
    max-width: 440px;
  }
  .contact-media img{
    width:100%;
    height:auto;
    display:block;
  }

  /* ---------- Footer ---------- */
  footer{
    padding: 30px 0;
    text-align:center;
    font-size: 12px;
    color: var(--ink-soft);
    letter-spacing: 0.04em;
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 900px){
    .wrap{ padding: 0 24px; }
    .hero{ grid-template-columns: 1fr; }
    .hero-content{ padding: 60px 0 40px; }
    .hero-media{ min-height: 320px; }
    h1{ font-size: 30px; }
    nav{ gap: 20px; }
    .service-row{
      grid-template-columns: 40px 44px 1fr;
      grid-template-areas:
        "num icon name"
        "num icon desc";
      row-gap: 6px;
    }
    .service-num{ grid-area: num; }
    .service-icon{ grid-area: icon; }
    .service-name{ grid-area: name; }
    .service-desc{ grid-area: desc; }
    /* 矢印は現在非表示のため、grid-areaの指定も未使用
    .service-arrow{ grid-area: arrow; text-align:left; }
    */
    .about-grid, .contact-grid{ grid-template-columns: 1fr; }
    .section-head{ flex-direction: column; align-items:flex-start; gap: 6px; }
  }


  /* ---------- Contact page hero ---------- */
.cpage-hero{
  border-bottom: 1px solid var(--line);
  padding: 70px 0 60px;
}
.cpage-hero-inner{
  max-width: 720px;
}
.cpage-title{
  font-size: 34px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}
.cpage-lead{
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Contact page body ---------- */
.cpage-body{
  padding: 80px 0 100px;
}
.cpage-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

/* ---------- Form ---------- */
.contact-form{
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.form-row{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-row label{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-row .req,
.form-row .opt{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 2px;
}
.form-row .req{
  color: var(--white);
  background: var(--red);
}
.form-row .opt{
  color: var(--ink-soft);
  background: var(--bg-alt);
}
.form-row input,
.form-row textarea{
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  padding: 14px 16px;
  border-radius: 2px;
  outline: none;
  transition: border-color .2s ease;
  resize: vertical;
}
.form-row input::placeholder,
.form-row textarea::placeholder{
  color: #b3b0a8;
}
.form-row input:focus,
.form-row textarea:focus{
  border-color: var(--red);
}

.form-submit{
  align-self: flex-start;
  margin-top: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.form-note{
  font-size: 13px;
  color: var(--red-text);
  font-weight: 700;
  margin: 0;
}

/* ---------- Side visual ---------- */
.cpage-side img{
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 32px;
}
.cpage-info{
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.cpage-info > div{
  display: flex;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cpage-info > div:last-child{
  border-bottom: none;
}
.cpage-info dt{
  font-size: 13px;
  font-weight: 700;
  color: var(--red-text);
  width: 60px;
  flex-shrink: 0;
}
.cpage-info dd{
  margin: 0;
  font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .cpage-grid{
    grid-template-columns: 1fr;
  }
  .cpage-title{
    font-size: 26px;
  }
  .cpage-side{
    order: -1;
  }
}