/* ===========================
  Basic Reset & Body
=========================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: #fff;
  color: #000;
  line-height: 1.6;
}

/* ===========================
  Header & Logo
=========================== */
.site-header {
  background: #fff;
  text-align: left;
  padding: 1rem 2rem;
  border-top: 15px solid #13327e;
}

.site-logo {
  max-width: 372.5px;
  width: 100%;
  height: auto;
}

/* ===========================
  Hero Section
=========================== */
.hero {
  padding: 1rem 1rem 0rem;
  text-align: center;
  color: #fff;
  background: rgba(118, 154, 208, 1);
  background: -moz-linear-gradient(-45deg, rgba(118, 154, 208, 1) 0%, rgba(0, 71, 157, 1) 100%);
  background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(118, 154, 208, 1)), color-stop(100%, rgba(0, 71, 157, 1)));
  background: -webkit-linear-gradient(-45deg, rgba(118, 154, 208, 1) 0%, rgba(0, 71, 157, 1) 100%);
  background: -o-linear-gradient(-45deg, rgba(118, 154, 208, 1) 0%, rgba(0, 71, 157, 1) 100%);
  background: -ms-linear-gradient(-45deg, rgba(118, 154, 208, 1) 0%, rgba(0, 71, 157, 1) 100%);
  background: linear-gradient(135deg, rgba(118, 154, 208, 1) 0%, rgba(0, 71, 157, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#769ad0', endColorstr='#00479d', GradientType=1);
}

.catch-copy {
  font-size: 6rem;
  font-style: italic;
  font-weight: 100 !important;
  line-height: 1.5 !important;
}

.intro {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  line-height: 1.8;
  font-family: "heisei-mincho-std", serif;
  letter-spacing: 0.05em;
  font-weight: bold;
}

.lawyers-image {
  max-width: 980px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ===========================
  Consult Section
=========================== */
.consult-section {
  background: #13327e;
  padding: 2rem 1rem;
  text-align: center;
}

.topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.topics button {
  padding: 0.6rem 1.2rem;
  border: none;
  background: #d0e3f8;
  color: #003c8f;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  width: 30%;
  font-size: 150%;
}

/* ===========================
  Lawyer Section
=========================== */
.lawyer-section {
  background: #fff;
  padding: 2rem 1rem;
  text-align: center;
  background: rgba(199, 232, 250, 1);
  background: -moz-linear-gradient(-45deg, rgba(199, 232, 250, 1) 0%, rgba(103, 155, 205, 1) 48%, rgba(0, 71, 157, 1) 100%);
  background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(199, 232, 250, 1)), color-stop(48%, rgba(103, 155, 205, 1)), color-stop(100%, rgba(0, 71, 157, 1)));
  background: -webkit-linear-gradient(-45deg, rgba(199, 232, 250, 1) 0%, rgba(103, 155, 205, 1) 48%, rgba(0, 71, 157, 1) 100%);
  background: -o-linear-gradient(-45deg, rgba(199, 232, 250, 1) 0%, rgba(103, 155, 205, 1) 48%, rgba(0, 71, 157, 1) 100%);
  background: -ms-linear-gradient(-45deg, rgba(199, 232, 250, 1) 0%, rgba(103, 155, 205, 1) 48%, rgba(0, 71, 157, 1) 100%);
  background: linear-gradient(135deg, rgba(199, 232, 250, 1) 0%, rgba(103, 155, 205, 1) 48%, rgba(0, 71, 157, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c7e8fa', endColorstr='#00479d', GradientType=1);
}

.lawyer-list {
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-between;
}

.lawyer {
  background: #f8f8f8;
  width: 48%;
}

.lawyer img {
  width: 100%;
  display: grid;
}

.lawyer p {
  color: #13327e;
  font-weight: bold;
  padding: 0.4em;
  font-size: 150%;
}

/* ===========================
  Character & CTA
=========================== */
.character img {
  width: 30%;
  margin: 3em auto 0;
}

.cta-section {
  padding: 2rem 1rem;
  text-align: center;
  background: rgba(227, 244, 253, 1);
  background: -moz-linear-gradient(-45deg, rgba(227, 244, 253, 1) 0%, rgba(203, 221, 241, 1) 48%, rgba(177, 197, 227, 1) 100%);
  background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(227, 244, 253, 1)), color-stop(48%, rgba(203, 221, 241, 1)), color-stop(100%, rgba(177, 197, 227, 1)));
  background: -webkit-linear-gradient(-45deg, rgba(227, 244, 253, 1) 0%, rgba(203, 221, 241, 1) 48%, rgba(177, 197, 227, 1) 100%);
  background: -o-linear-gradient(-45deg, rgba(227, 244, 253, 1) 0%, rgba(203, 221, 241, 1) 48%, rgba(177, 197, 227, 1) 100%);
  background: -ms-linear-gradient(-45deg, rgba(227, 244, 253, 1) 0%, rgba(203, 221, 241, 1) 48%, rgba(177, 197, 227, 1) 100%);
  background: linear-gradient(135deg, rgba(227, 244, 253, 1) 0%, rgba(203, 221, 241, 1) 48%, rgba(177, 197, 227, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e3f4fd', endColorstr='#b1c5e3', GradientType=1);
}

.cta-lead {
  color: #13327e;
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 1em;
  font-family: "heisei-mincho-std", serif;
}

.cta-section img {
  width: 50%;
  margin: 0 auto;
}

/* ===========================
  Phone Info Block
=========================== */
.phone-block {
  background: #d2e6ff;
  padding: 2rem 1rem;
  text-align: center;
}

.phone-number {
  font-size: 2rem;
  font-weight: bold;
  color: #003c8f;
}

.phone-block strong {
  display: inline-block;
  background: #c8191e;
  color: #fff;
  padding: 0.5rem 1rem;
  margin-top: 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
}

/* ===========================
  Terms Section
=========================== */
.terms-section {
  background: #fff;
  padding: 2rem 1rem;
  background: rgba(178, 212, 240, 1);
  background: -moz-linear-gradient(-45deg, rgba(178, 212, 240, 1) 0%, rgba(93, 144, 200, 1) 48%, rgba(0, 71, 157, 1) 100%);
  background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(178, 212, 240, 1)), color-stop(48%, rgba(93, 144, 200, 1)), color-stop(100%, rgba(0, 71, 157, 1)));
  background: -webkit-linear-gradient(-45deg, rgba(178, 212, 240, 1) 0%, rgba(93, 144, 200, 1) 48%, rgba(0, 71, 157, 1) 100%);
  background: -o-linear-gradient(-45deg, rgba(178, 212, 240, 1) 0%, rgba(93, 144, 200, 1) 48%, rgba(0, 71, 157, 1) 100%);
  background: -ms-linear-gradient(-45deg, rgba(178, 212, 240, 1) 0%, rgba(93, 144, 200, 1) 48%, rgba(0, 71, 157, 1) 100%);
  background: linear-gradient(135deg, rgba(178, 212, 240, 1) 0%, rgba(93, 144, 200, 1) 48%, rgba(0, 71, 157, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b2d4f0', endColorstr='#00479d', GradientType=1);
}

.terms {
  max-width: 900px;
  padding: 2em;
  margin: 2em auto 0;
  font-size: 0.95rem;
  line-height: 1.8;
  background: #fff;
  color: #13327e;
}

.terms .box {
  padding: 1em;
  border: solid 2px #13327e;
  margin-bottom: 1em;
}

/* ===========================
  Footer Info (Address & Link)
=========================== */
.official-link {
  color: #fff;
  font-weight: bold;
  padding: 1rem;
  text-align: center;
  font-size: 1.3rem;
  background: #00489e;
}

.official-link a {
  color: #fff;
  text-decoration: underline;
}

/* ===========================
  Fixed Footer Phone
=========================== */
.phone-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #003c8f;
  color: #fff;
  text-align: center;
  padding: 1rem;
  z-index: 999;
}

.phone-fixed .phone-number {
  width: 425px;
}

.phone-fixed p {
  font-size: 9.5px;
  margin: 0.3rem 0;
  color: #fff;
  text-align: left;
}

.phone-fixed strong {
  display: inline-block;
  background: #c8191e;
  color: #fff;
  padding: 0.4rem 0.8rem;
  margin-top: 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

.section-title {
  font-size: 2em;
  display: flex;
  align-items: center;
}

.section-title::before,
.section-title::after {
  content: '';
  flex-grow: 1;
  height: 3px;
  background: #fff;
}

.section-lead {
  font-family: "heisei-mincho-std", serif;
  font-size: 1.6rem;
  margin: 1em;
}

@media all and (min-width: 768px) {
  .flex {
    display: flex;
    justify-content: center;
  }

  .phone-fixed .left-box {
    width: 434px;
    /* height: 90px; */
  }

  .phone-fixed .right-box .terms-link {
    width: 174px;
    height: 110px;
    margin-left: 10px;
  }

  .official-link {
    margin-bottom: 150px;
  }
}

.office-address img {
  width: 100%;
  display: block;
}

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

  /* ===========================
    Header & Logo
  =========================== */
  .site-header {
    background: #fff;
    text-align: left;
    padding: 1rem 2rem;
    border-top: 15px solid #13327e;
  }

  .site-logo {
    max-width: 372.5px;
    width: 100%;
    height: auto;
  }

  /* ===========================
    Hero Section
  =========================== */
  .hero {
    padding: 1rem 0vw 0rem;
    text-align: center;
    margin: -1.5vw;
    color: #fff;
    background: rgba(118, 154, 208, 1);
    background: -moz-linear-gradient(-45deg, rgba(118, 154, 208, 1) 0%, rgba(0, 71, 157, 1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(118, 154, 208, 1)), color-stop(100%, rgba(0, 71, 157, 1)));
    background: -webkit-linear-gradient(-45deg, rgba(118, 154, 208, 1) 0%, rgba(0, 71, 157, 1) 100%);
    background: -o-linear-gradient(-45deg, rgba(118, 154, 208, 1) 0%, rgba(0, 71, 157, 1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(118, 154, 208, 1) 0%, rgba(0, 71, 157, 1) 100%);
    background: linear-gradient(135deg, rgba(118, 154, 208, 1) 0%, rgba(0, 71, 157, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#769ad0', endColorstr='#00479d', GradientType=1);
  }

  .catch-copy {
    font-size: 9vw;
    font-style: italic;
    font-weight: 100 !important;
    line-height: 1.5 !important;
  }

  .intro {
    font-size: 3.4vw;
    margin: 0.5em 1.2em 1.2em;
    line-height: 2em;
    font-family: "heisei-mincho-std", serif;
    letter-spacing: 0.05em;
  }

  .lawyers-image {
    max-width: 980px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  /* ===========================
    Consult Section
  =========================== */
  .consult-section {
    background: #13327e;
    padding: 2rem 1rem;
    text-align: center;
  }

  .topics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .topics button {
    padding: 0.4rem 0.8rem;
    border: none;
    background: #d0e3f8;
    color: #003c8f;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    width: 30%;
    font-size: 3.5vw;
  }

  /* ===========================
    Lawyer Section
  =========================== */
  .lawyer-section {
    background: #fff;
    padding: 1.5rem 1rem;
    text-align: center;
    background: rgba(199, 232, 250, 1);
    background: -moz-linear-gradient(-45deg, rgba(199, 232, 250, 1) 0%, rgba(103, 155, 205, 1) 48%, rgba(0, 71, 157, 1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(199, 232, 250, 1)), color-stop(48%, rgba(103, 155, 205, 1)), color-stop(100%, rgba(0, 71, 157, 1)));
    background: -webkit-linear-gradient(-45deg, rgba(199, 232, 250, 1) 0%, rgba(103, 155, 205, 1) 48%, rgba(0, 71, 157, 1) 100%);
    background: -o-linear-gradient(-45deg, rgba(199, 232, 250, 1) 0%, rgba(103, 155, 205, 1) 48%, rgba(0, 71, 157, 1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(199, 232, 250, 1) 0%, rgba(103, 155, 205, 1) 48%, rgba(0, 71, 157, 1) 100%);
    background: linear-gradient(135deg, rgba(199, 232, 250, 1) 0%, rgba(103, 155, 205, 1) 48%, rgba(0, 71, 157, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c7e8fa', endColorstr='#00479d', GradientType=1);
  }

  .lawyer-list {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-between;
  }

  .lawyer {
    background: #f8f8f8;
    width: 46%;
  }

  .lawyer img {
    width: 100%;
    display: grid;
  }

  .lawyer p {
    color: #13327e;
    font-weight: bold;
    padding: 1vw;
    font-size: 4vw;
  }

  /* ===========================
    Character & CTA
  =========================== */
  .character img {
    width: 50%;
    margin: 1em auto 0;
  }

  .cta-section {
    padding: 1rem 1rem;
    text-align: center;
    background: rgba(227, 244, 253, 1);
    background: -moz-linear-gradient(-45deg, rgba(227, 244, 253, 1) 0%, rgba(203, 221, 241, 1) 48%, rgba(177, 197, 227, 1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(227, 244, 253, 1)), color-stop(48%, rgba(203, 221, 241, 1)), color-stop(100%, rgba(177, 197, 227, 1)));
    background: -webkit-linear-gradient(-45deg, rgba(227, 244, 253, 1) 0%, rgba(203, 221, 241, 1) 48%, rgba(177, 197, 227, 1) 100%);
    background: -o-linear-gradient(-45deg, rgba(227, 244, 253, 1) 0%, rgba(203, 221, 241, 1) 48%, rgba(177, 197, 227, 1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(227, 244, 253, 1) 0%, rgba(203, 221, 241, 1) 48%, rgba(177, 197, 227, 1) 100%);
    background: linear-gradient(135deg, rgba(227, 244, 253, 1) 0%, rgba(203, 221, 241, 1) 48%, rgba(177, 197, 227, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e3f4fd', endColorstr='#b1c5e3', GradientType=1);
  }

  .cta-lead {
    color: #13327e;
    font-weight: bold;
    font-size: 4vw;
    margin-bottom: 1em;
  }

  .cta-section img {
    width: 100%;
    margin: 0 auto;
  }

  /* ===========================
    Phone Info Block
  =========================== */
  .phone-block {
    background: #d2e6ff;
    padding: 2rem 1rem;
    text-align: center;
  }

  .phone-number {
    font-size: 2rem;
    font-weight: bold;
    color: #003c8f;
  }

  .phone-block strong {
    display: inline-block;
    background: #c8191e;
    color: #fff;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
  }

  /* ===========================
    Terms Section
  =========================== */
  .terms-section {
    background: #fff;
    padding: 2rem 1rem;
    background: rgba(178, 212, 240, 1);
    background: -moz-linear-gradient(-45deg, rgba(178, 212, 240, 1) 0%, rgba(93, 144, 200, 1) 48%, rgba(0, 71, 157, 1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(178, 212, 240, 1)), color-stop(48%, rgba(93, 144, 200, 1)), color-stop(100%, rgba(0, 71, 157, 1)));
    background: -webkit-linear-gradient(-45deg, rgba(178, 212, 240, 1) 0%, rgba(93, 144, 200, 1) 48%, rgba(0, 71, 157, 1) 100%);
    background: -o-linear-gradient(-45deg, rgba(178, 212, 240, 1) 0%, rgba(93, 144, 200, 1) 48%, rgba(0, 71, 157, 1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(178, 212, 240, 1) 0%, rgba(93, 144, 200, 1) 48%, rgba(0, 71, 157, 1) 100%);
    background: linear-gradient(135deg, rgba(178, 212, 240, 1) 0%, rgba(93, 144, 200, 1) 48%, rgba(0, 71, 157, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b2d4f0', endColorstr='#00479d', GradientType=1);
  }

  .terms {
    max-width: 900px;
    padding: 2em;
    margin: 2em auto 0;
    font-size: 0.95rem;
    line-height: 1.8;
    background: #fff;
    color: #13327e;
  }

  .terms .box {
    padding: 1em;
    border: solid 2px #13327e;
    margin-bottom: 1em;
  }

  /* ===========================
    Footer Info (Address & Link)
  =========================== */
  .official-link {
    color: #fff;
    font-weight: bold;
    padding: 1rem;
    text-align: center;
    font-size: 1.3rem;
    background: #00489e;
  }

  .official-link a {
    color: #fff;
    text-decoration: underline;
    font-size: 4vw;
  }

  /* ===========================
    Fixed Footer Phone
  =========================== */
  .phone-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #003c8f;
    color: #fff;
    text-align: center;
    padding: 4vw;
    z-index: 999;
    height: 28vw;
  }

  .phone-fixed .phone-number {
    width: 100%;
  }

  .phone-fixed p {
    font-size: 1.6vw;
    margin: 0 0 0.3vw;
    text-align: left;
  }

  .phone-fixed strong {
    display: inline-block;
    background: #c8191e;
    color: #fff;
    padding: 0.4rem 0.8rem;
    margin-top: 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 5vw;
    display: flex;
    align-items: center;
  }

  .section-title::before,
  .section-title::after {
    content: '';
    flex-grow: 1;
    height: 3px;
    background: #fff;
  }

  .section-lead {
    font-family: "heisei-mincho-std", serif;
    font-size: 4vw;
    margin: 1em;
  }

  .flex {
    display: flex;
    justify-content: center;
  }

  .phone-fixed .left-box {
    width: 75%;
    /* height: 90px; */
  }

  .phone-fixed .right-box {
    width: 25%;
    /* height: 90px; */
  }

  .phone-fixed .right-box .terms-link {
    width: 100%;
    margin-left: 2vw;
  }

  .official-link {
    margin-bottom: 28vw;
  }

  .copyright,
  .copyright a {
    font-size: 1.6vw;
  }
}
