@charset "UTF-8";

/* =========================================================
   FONT SIZE CONTROL
   ---------------------------------------------------------
   文字サイズを変える場合は、まずここを変更してください。
========================================================= */

:root{

  /* ---------- 基本 ---------- */
  --fs-body: 18px;
  --fs-base-text: 16px;
  --fs-small-text: 15px;
  --fs-note: 14px;

  /* ---------- ヘッダー ---------- */
  --fs-header-button: 15px;

  /* ---------- ヒーロー ---------- */
  --fs-hero-lead: 21px;
  --fs-hero-price-label: 17px;
  --fs-hero-price-number: 39px;
  --fs-hero-price-after: 17px;
  --fs-hero-description: 17px;

  /* ---------- 見出し ---------- */
  --fs-section-title: 35px;
  --fs-section-subtitle: 15px;
  --fs-bar-title: 28px;
  --fs-expert-group-title: 19px;

  /* ---------- 専門家 ---------- */
  --fs-expert-text: 15px;
  --fs-expert-name: 13px;
  --fs-expert-role: 12px;

  /* ---------- 表 ---------- */
  --fs-table: 14px;
  --fs-table-small: 12px;

  /* ---------- 会社案内 ---------- */
  --fs-company-text: 15px;

  /* ---------- フォーム ---------- */
  --fs-form-label: 14px;
  --fs-form-input: 16px;
  --fs-form-option: 13px;

  /* ---------- フッター ---------- */
  --fs-footer: 12px;


  /* =====================================================
     COLOR
  ===================================================== */

  --blue: #165cae;
  --blue-dark: #16468c;
  --blue-deep: #204f9c;

  --orange: #f58231;
  --yellow: #fff000;

  --text: #222;
  --muted: #666;

  --gray-bg: #f4f5f6;
  --blue-gray-bg: #eaf0f5;
  --green-bg: #eaf5f0;

  --expert-blue: #e8eef4;
  --expert-green: #e7f2ec;

  --table-head: #e7f3ee;
  --table-line: #d5dce2;

  --white: #fff;


  /* =====================================================
     WIDTH
  ===================================================== */

  --page-width: 1080px;
  --narrow-width: 900px;

  --radius: 12px;
}


/* =========================================================
   RESET
========================================================= */

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  color:var(--text);
  background:#fff;
  font-family:
    "Yu Gothic",
    "YuGothic",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  font-size:var(--fs-body);
  line-height:1.8;
  -webkit-font-smoothing:antialiased;
}

img{
  display:block;
  max-width:100%;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
textarea{
  font:inherit;
}

p{
  margin:0 0 1.2em;
}


/* =========================================================
   COMMON
========================================================= */

.section-inner{
  width:min(calc(100% - 40px), var(--page-width));
  margin:0 auto;
}

.section-inner.narrow{
  width:min(calc(100% - 40px), var(--narrow-width));
}

.white-card{
  background:#fff;
  border-radius:var(--radius);
}

.section-title-wrap{
  text-align:center;
  margin-bottom:28px;
}

.section-title{
  position:relative;
  display:inline-block;
  margin:0;
  color:var(--blue);
  font-size:var(--fs-section-title);
  font-weight:700;
  line-height:1.4;
}

.section-title::before{
  content:"";
  display:inline-block;
  width:8px;
  height:24px;
  margin-right:10px;
  background:var(--orange);
  vertical-align:-5px;
}

.section-subtitle{
  margin:8px 0 0;
  font-size:var(--fs-section-subtitle);
  color:#333;
}

.bar-title{
  position:relative;
  margin:0 0 28px;
  padding-left:20px;
  color:var(--blue);
  font-size:var(--fs-bar-title);
  line-height:1.5;
}

.bar-title::before{
  content:"";
  position:absolute;
  top:2px;
  left:0;
  width:8px;
  height:26px;
  background:var(--orange);
}


/* =========================================================
   IMAGE PLACEHOLDER
   ---------------------------------------------------------
   画像がまだ存在しない場合はJSでプレースホルダー表示。
   srcを実画像へ差し替えるだけで画像が表示されます。
========================================================= */

.image-frame,
.header-logo,
.hero-person-wrap,
.expert-photo-wrap{
  position:relative;
}

.js-image.is-missing{
  visibility:hidden;
}

.image-frame.is-empty::after,
.header-logo.is-empty::after,
.hero-person-wrap.is-empty::after,
.expert-photo-wrap.is-empty::after{
  content:attr(data-image-label);
  display:flex;
  align-items:center;
  justify-content:center;
  position:absolute;
  inset:0;
  color:#9aa4ad;
  background:#eef1f3;
  border:1px dashed #cbd2d8;
  font-size:11px;
  letter-spacing:.05em;
}


/* =========================================================
   HEADER
========================================================= */

.site-header{
  height:64px;
  background:#fff;
}

.header-inner{
  width:min(calc(100% - 40px), 1180px);
  height:100%;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.header-logo{
  width:300px;
  height:48px;
  display:flex;
  align-items:center;
}

.header-logo img{
  width:auto;
  max-width:100%;
  max-height:44px;
  object-fit:contain;
}

.header-contact{
  min-width:116px;
  padding:8px 14px;
  color:#fff;
  background:var(--orange);
  font-size:var(--fs-header-button);
  font-weight:700;
  text-align:center;
  line-height:1.4;
  transition:.2s;
}

.header-contact:hover{
  opacity:.82;
}


/* =========================================================
   HERO
========================================================= */

.hero{
  position:relative;
  height:390px;
  overflow:hidden;
  background:#1d579e;
}

.hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

.hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:rgba(17,67,139,.60);
}

.hero-inner{
  position:relative;
  z-index:2;
  width:min(calc(100% - 40px), 1080px);
  height:100%;
  margin:0 auto;
  display:grid;
  grid-template-columns:42% 58%;
  align-items:end;
}

.hero-person-wrap{
  width:100%;
  height:100%;
  min-height:280px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}

.hero-person{
  width:auto;
  height:95%;
  max-width:100%;
  object-fit:contain;
  object-position:center bottom;
}

.hero-copy{
  align-self:center;
  padding:12px 40px 0;
  color:#fff;
}

.hero-lead{
  margin:0 0 20px;
  font-size:var(--fs-hero-lead);
  font-weight:700;
  line-height:1.65;
}

.hero-price{
  margin-bottom:18px;
}

.hero-price-text{
  display:block;
  margin-bottom:2px;
  font-size:var(--fs-hero-price-label);
  font-weight:700;
}

.hero-price p{
  margin:0;
}

.hero-price strong{
  color:var(--yellow);
  font-size:var(--fs-hero-price-number);
  font-weight:800;
  line-height:1;
}

.hero-price span{
  margin-left:4px;
  font-size:var(--fs-hero-price-after);
  font-weight:700;
}

.hero-description{
  margin:0;
  font-size:var(--fs-hero-description);
  font-weight:600;
  line-height:1.8;
}


/* =========================================================
   INTRO
========================================================= */

.intro-section{
  position:relative;
  padding:64px 0 100px;
  background:var(--gray-bg);
}

.intro-card{
  padding:44px 52px 42px;
}

.intro-card .text-block{
  font-size:var(--fs-base-text);
  line-height:2;
}

.intro-card p:last-child{
  margin-bottom:0;
}

.intro-wave{
  position:absolute;
  left:0;
  bottom:-1px;
  width:100%;
  height:70px;
  background:#fff;
  clip-path:ellipse(65% 55% at 50% 100%);
}


/* =========================================================
   EXPERTS
========================================================= */

.experts-section{
  padding:40px 0 72px;
  background:#fff;
}

.expert-group-title{
  margin:20px 0 28px;
  text-align:center;
  font-size:var(--fs-expert-group-title);
  font-weight:700;
}

.lawyer-title{
  margin-top:46px;
}

.expert-row{
  width:860px;
  max-width:100%;
  margin:0 auto 24px;
  display:grid;
  align-items:center;
  gap:0;
}

.expert-row-left{
  grid-template-columns:190px 1fr;
}

.expert-row-right{
  grid-template-columns:1fr 190px;
}

.expert-photo-wrap{
  position:relative;
  z-index:2;
  width:178px;
  height:178px;
  margin:auto;
}

.expert-photo{
  width:152px;
  height:152px;
  margin:0 auto;
  border-radius:50%;
  object-fit:cover;
  background:#ddd;
}

.expert-name{
  position:absolute;
  left:50%;
  bottom:0;
  min-width:150px;
  padding:6px 10px;
  transform:translateX(-50%);
  color:#fff;
  background:var(--orange);
  border-radius:18px;
  text-align:center;
  line-height:1.15;
}

.expert-name small{
  display:block;
  margin-bottom:2px;
  font-size:var(--fs-expert-role);
}

.expert-name strong{
  display:block;
  font-size:var(--fs-expert-name);
}

.expert-copy{
  min-height:144px;
  padding:26px 34px;
  border-radius:12px;
  font-size:var(--fs-expert-text);
  line-height:1.8;
}

.expert-blue{
  background:var(--expert-blue);
}

.expert-green{
  background:var(--expert-green);
}

.expert-copy p:last-child{
  margin-bottom:0;
}

.expert-row-left .expert-copy{
  margin-left:-12px;
  padding-left:44px;
}

.expert-row-right .expert-copy{
  margin-right:-12px;
  padding-right:44px;
}

.expert-bottom-text{
  width:860px;
  max-width:100%;
  margin:32px auto 0;
  padding-bottom:20px;
  border-bottom:1px solid #8a8a8a;
  font-size:var(--fs-small-text);
}

.expert-link{
  margin:12px 0 0;
  color:var(--blue);
  font-weight:700;
}


/* =========================================================
   SERVICE
========================================================= */

.service-section{
  padding:52px 0 64px;
  background:var(--blue-gray-bg);
}

.service-card{
  position:relative;
  padding:56px 46px 34px;
}

.service-label{
  position:absolute;
  top:-13px;
  left:50%;
  min-width:130px;
  padding:4px 16px;
  transform:translateX(-50%);
  color:#fff;
  background:var(--blue);
  border-radius:20px;
  font-size:11px;
  font-weight:700;
  text-align:center;
}

.service-image-frame{
  width:78%;
  min-height:260px;
  margin:0 auto 24px;
}

.service-image{
  width:100%;
  height:auto;
  max-height:320px;
  object-fit:contain;
}

.service-card p{
  margin:0 0 10px;
  font-size:var(--fs-small-text);
  line-height:1.8;
}

.service-card p:last-child{
  margin-bottom:0;
}


/* =========================================================
   PRICE
========================================================= */

.price-section{
  padding:50px 0 62px;
  background:#fff;
}

.price-table-wrap{
  overflow-x:auto;
}

.price-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  font-size:var(--fs-table);
  line-height:1.45;
}

.price-table th{
  padding:13px 10px;
  background:var(--table-head);
  border-right:1px solid var(--table-line);
  font-weight:700;
  vertical-align:middle;
}

.price-table th:last-child{
  border-right:none;
}

.price-table th small{
  font-size:var(--fs-table-small);
  font-weight:400;
}

.price-table td{
  padding:10px 12px;
  border-right:1px solid var(--table-line);
  border-bottom:1px solid #edf0f2;
  text-align:center;
  vertical-align:middle;
}

.price-table td:first-child{
  text-align:left;
}

.price-table td:last-child{
  border-right:none;
}

.price-table tr:last-child td{
  background:#eef2f5;
}

.price-note{
  margin:14px 0 0;
  font-size:var(--fs-note);
  line-height:1.7;
}


/* =========================================================
   COMPANY MESSAGE
========================================================= */

.company-message-section{
  position:relative;
  padding:64px 0;
  overflow:hidden;
  background:#255bac;
}

.company-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.company-bg-overlay{
  position:absolute;
  inset:0;
  background:rgba(26,81,167,.80);
}

.company-message-section .section-inner{
  position:relative;
  z-index:2;
}

.company-message-card{
  padding:38px 40px 36px;
}

.company-heading{
  width:max-content;
  margin-left:auto;
  margin-right:auto;
}

.company-message-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 210px;
  gap:28px;
}

.company-message-text{
  font-size:var(--fs-company-text);
  line-height:1.85;
}

.company-message-text h3{
  margin:0 0 18px;
  font-size:16px;
}

.company-sign{
  margin-top:22px;
}

.company-photo-column{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.president-frame{
  width:100%;
  min-height:300px;
}

.president-image{
  width:100%;
  height:300px;
  object-fit:cover;
}

.book-frame{
  width:100%;
  min-height:270px;
}

.book-image{
  width:100%;
  height:270px;
  object-fit:cover;
}


/* =========================================================
   PROFILE
========================================================= */

.profile-section{
  padding:54px 0 62px;
  background:var(--gray-bg);
}

.profile-box{
  overflow:hidden;
  background:#fff;
  border-radius:var(--radius);
}

.profile-row{
  display:grid;
  grid-template-columns:170px 1fr;
  min-height:48px;
}

.profile-row:nth-child(even){
  background:#edf2f6;
}

.profile-label,
.profile-value{
  padding:13px 18px;
  font-size:var(--fs-small-text);
}

.profile-label{
  font-weight:700;
}

.profile-map-row{
  background:#fff !important;
}

.profile-map-row .profile-value{
  padding-top:20px;
  padding-bottom:22px;
}

.map-frame{
  width:100%;
  min-height:260px;
  margin-bottom:14px;
}

.map-image{
  width:100%;
  height:260px;
  object-fit:cover;
}

.profile-value p{
  margin:0 0 8px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section{
  padding:52px 0 60px;
  background:var(--green-bg);
}

.contact-required-note{
  margin:8px 0 0;
  font-size:10px;
}

.contact-required-note span{
  color:#ef3d45;
}

.contact-form{
  padding:32px 34px 28px;
  background:#fff;
  border-radius:var(--radius);
}

.form-row{
  display:grid;
  grid-template-columns:130px 42px 1fr;
  gap:10px;
  align-items:center;
  margin-bottom:14px;
}

.form-row label{
  font-size:var(--fs-form-label);
  font-weight:700;
}

.required{
  display:inline-block;
  padding:2px 4px;
  color:#fff;
  background:#f03344;
  font-size:9px;
  line-height:1.2;
  text-align:center;
}

.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row textarea{
  width:100%;
  padding:10px 12px;
  border:0;
  border-radius:4px;
  outline:none;
  background:#f3f3f3;
  font-size:var(--fs-form-input);
}

.form-row input:focus,
.form-row textarea:focus{
  box-shadow:0 0 0 2px rgba(22,92,174,.22);
}

.form-row-choices{
  align-items:start;
}

.checkbox-list{
  padding-top:2px;
}

.checkbox-list label{
  display:block;
  margin:0 0 4px;
  font-size:var(--fs-form-option);
  font-weight:400;
}

.checkbox-list input{
  margin-right:5px;
}

.form-row-message{
  align-items:start;
}

.form-row textarea{
  min-height:170px;
  resize:vertical;
}

.form-status{
  min-height:24px;
  margin:8px 0;
  color:#d22;
  font-size:11px;
  text-align:center;
}

.submit-wrap{
  text-align:center;
}

.submit-wrap button{
  min-width:150px;
  padding:9px 28px;
  color:#fff;
  background:var(--orange);
  border:0;
  border-radius:4px;
  cursor:pointer;
  font-size:13px;
  font-weight:700;
  letter-spacing:.25em;
  transition:.2s;
}

.submit-wrap button:hover{
  opacity:.82;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px 20px;
  color:#fff;
  background:#2458aa;
  font-size:var(--fs-footer);
  text-align:center;
}

.site-footer p{
  margin:0;
}


/* =========================================================
   PAGE TOP
========================================================= */

.page-top{
  position:fixed;
  right:10px;
  bottom:10px;
  z-index:20;
  width:34px;
  height:34px;
  padding:0;
  color:#fff;
  background:var(--orange);
  border:0;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transition:.2s;
}

.page-top.is-visible{
  opacity:1;
  visibility:visible;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px){

  :root{
    --fs-body:14px;
    --fs-hero-lead:17px;
    --fs-hero-price-number:32px;
  }

  .hero{
    height:360px;
  }

  .hero-inner{
    grid-template-columns:40% 60%;
  }

  .hero-copy{
    padding-left:24px;
    padding-right:15px;
  }

  .intro-card{
    padding:36px 34px;
  }

  .expert-row-left{
    grid-template-columns:170px 1fr;
  }

  .expert-row-right{
    grid-template-columns:1fr 170px;
  }

  .expert-photo-wrap{
    width:160px;
    height:164px;
  }

  .expert-photo{
    width:140px;
    height:140px;
  }

  .company-message-grid{
    grid-template-columns:1fr 190px;
  }

  .profile-row{
    grid-template-columns:135px 1fr;
  }
}


/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 640px){

  :root{
    --fs-body:14px;
    --fs-base-text:13px;

    --fs-hero-lead:16px;
    --fs-hero-price-number:32px;
    --fs-hero-description:12px;

    --fs-section-title:18px;
    --fs-bar-title:17px;

    --fs-expert-text:12px;
  }

  .section-inner,
  .section-inner.narrow{
    width:min(calc(100% - 28px), var(--narrow-width));
  }

  .site-header{
    height:56px;
  }

  .header-inner{
    width:calc(100% - 24px);
  }

  .header-logo{
    width:150px;
    height:42px;
  }

  .header-contact{
    min-width:96px;
    padding:7px 10px;
    font-size:10px;
  }

  /* Hero */
  .hero{
    height:auto;
    min-height:470px;
  }

  .hero-inner{
    width:calc(100% - 24px);
    min-height:470px;
    grid-template-columns:42% 58%;
    align-items:end;
  }

  .hero-person-wrap{
    min-height:200px;
  }

  .hero-person{
    width:100%;
    max-width:none;
    height:auto;
    max-height:300px;
  }

  .hero-copy{
    align-self:center;
    padding:20px 0 20px 8px;
  }

  .hero-lead{
    margin-bottom:14px;
    line-height:1.55;
  }

  .hero-price{
    margin-bottom:14px;
  }

  .hero-description{
    line-height:1.65;
  }

  /* Intro */
  .intro-section{
    padding:34px 0 78px;
  }

  .intro-card{
    padding:28px 22px;
  }

  .bar-title{
    margin-bottom:20px;
    padding-left:16px;
  }

  /* Experts */
  .experts-section{
    padding:22px 0 48px;
  }

  .expert-row,
  .expert-row-left,
  .expert-row-right{
    grid-template-columns:1fr;
    gap:10px;
  }

  .expert-row-right .expert-copy{
    order:2;
  }

  .expert-row-right .expert-photo-wrap{
    order:1;
  }

  .expert-copy,
  .expert-row-left .expert-copy,
  .expert-row-right .expert-copy{
    min-height:0;
    margin:0;
    padding:24px 22px;
  }

  .expert-photo-wrap{
    width:155px;
    height:160px;
  }

  .expert-photo{
    width:136px;
    height:136px;
  }

  .lawyer-title{
    margin-top:36px;
  }

  /* Service */
  .service-section{
    padding:44px 0 46px;
  }

  .service-card{
    padding:50px 20px 26px;
  }

  .service-image-frame{
    width:100%;
    min-height:210px;
  }

  /* Price */
  .price-section{
    padding:40px 0 48px;
  }

  .price-table{
    min-width:650px;
  }

  /* Company */
  .company-message-section{
    padding:44px 0;
  }

  .company-message-card{
    padding:28px 22px;
  }

  .company-message-grid{
    grid-template-columns:1fr;
  }

  .company-photo-column{
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .president-frame,
  .book-frame{
    min-height:300px;
  }

  .president-image,
  .book-image{
    height:300px;
  }

  /* Profile */
  .profile-section{
    padding:42px 0 48px;
  }

  .profile-row{
    grid-template-columns:105px 1fr;
  }

  .profile-label,
  .profile-value{
    padding:12px 10px;
  }

  .map-frame{
    min-height:220px;
  }

  .map-image{
    height:220px;
  }

  /* Contact */
  .contact-section{
    padding:42px 0 48px;
  }

  .contact-form{
    padding:24px 18px;
  }

  .form-row{
    grid-template-columns:1fr auto;
    gap:6px 8px;
  }

  .form-row > input,
  .form-row > textarea,
  .checkbox-list{
    grid-column:1 / -1;
  }

  .form-row-message > span{
    display:none;
  }

  .form-row textarea{
    min-height:150px;
  }
}


/* =========================================================
   VERY SMALL
========================================================= */

@media (max-width: 420px){

  .hero-inner{
    grid-template-columns:38% 62%;
  }

  .hero-person-wrap{
    margin-left:-18px;
  }

  .hero-copy{
    padding-left:0;
  }

  .hero-lead{
    font-size:14px;
  }

  .hero-price strong{
    font-size:28px;
  }

  .company-photo-column{
    grid-template-columns:1fr;
  }
}

/* ==============================================
   Contact Complete
   Version: 20261022-005
============================================== */

.contact-complete-section {
  padding: 100px 20px;
  min-height: 65vh;
}

.contact-complete-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 65px 35px;
  text-align: center;
}

.complete-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #1781b5;
  color: #fff;
  font-size: 38px;
}

.complete-en {
  color: #1781b5;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.contact-complete-card h1 {
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 30px;
  line-height: 1.5;
}

.complete-lead {
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.complete-description {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 40px;
}

.complete-back {
  display: inline-block;
  padding: 15px 35px;
  background: #1781b5;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 5px;
  transition: opacity .2s;
}

.complete-back:hover {
  opacity: .8;
}

@media (max-width: 767px) {
  .contact-complete-section {
    padding: 60px 15px;
  }

  .contact-complete-card {
    padding: 45px 20px;
  }
}

