@charset "UTF-8";
/* SCSSの読み込み */
@import url(all.css);
/* font-weight */
:root {
  /* カラー */
  --color-text: #333;
  --color-blue: #1c74ed;
  --color-yellow: #fec221;
  --color-ocean: #016874;
  --color-sky: #e0f6f8;
  /* font-family */
  --font-family-noto: "Noto Sans JP", sans-serif;
  --font-family-kaku: "Zen Kaku Gothic New", sans-serif;
  --font-family-kanjuku: "kanjuku", serif;
  /* font-weight */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
}

@media screen and (min-width: 768px) {
  :root {
    /* フォントサイズ */
    --font-size-xxxl: 4.6rem;
    --font-size-xxl: 3.2rem;
    --font-size-xl: 2.4rem;
    --font-size-base: 1.6rem;
    /* line-height */
    --line-height-xxxl: 1.56522;
    --margin-height-xxxl: -0.28261em;
    --line-height-base: 2;
    --margin-height-base: -0.5em;
    /* letter-speacing */
    --letter-spacing-base: 0.06em;
  }
}
@media screen and (max-width: 767px) {
  :root {
    /* フォントサイズ */
    --font-size-xxxl: 1.875em;
    --font-size-xxl: 1.5em;
    --font-size-xl: 1.25em;
    --font-size-gl: 1.125em;
    --font-size-base: 1em;
    --font-size-sm: 0.875em;
    --font-size-xs: 0.75em;
    /* line-height */
    --line-height-xxxl: 1.5;
    --line-height-xxl: 1.5;
    --line-height-xl: 1.5;
    --line-height-gl: 1.6666667;
    --line-height-base: 1.875;
    --line-height-sm: 1.714286;
    --line-height-xs: 1.666667;
    /* letter-speacing */
    --letter-spacing-base: 0em;
  }
}
/*===============================================
  切り替え用
===============================================*/
.pc-none {
  display: none !important;
}

a[href^="tel:"] {
  pointer-events: none;
}

/*===============================================
  wrapper
===============================================*/
#wrapper {
  min-width: 1280px;
  font-size: var(--font-size-base);
}

/*===============================================
  header
===============================================*/
#header .header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 95.834%;
  max-width: 1760px;
  min-height: 100px;
}
#header .header__other {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 0;
}
#header .header__other > * {
  margin-right: 20px;
}
#header .header__other > *.header__tel {
  margin-right: 40px;
}
#header .header__other > *:last-child {
  margin-right: 0 !important;
}
#header .header__btn {
  width: 190px;
}

/*===============================================
  footer
===============================================*/
#footer {
  padding: 100px 0 65px;
}
#footer .footer__logo {
  width: 1080px;
  margin: 0 auto 50px;
}
#footer .footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  -moz-column-gap: 70px;
       column-gap: 70px;
  width: 1080px;
}
#footer .footer__info {
  width: 370px;
  letter-spacing: var(--letter-spacing-base);
}
#footer .footer__info > *:last-child {
  margin-bottom: 0;
}
#footer .footer__info > *:last-child.footer__info-add {
  margin-bottom: -0.4375em;
}
#footer .footer__info-add {
  line-height: 1.875;
  margin: -0.4375em 0 calc(30px - 0.4375em);
}
#footer .footer__info-item {
  line-height: 1.5;
  margin-bottom: 20px;
}
#footer .footer__info-item dt {
  width: 82px;
  font-size: 0.9375em;
  line-height: 1.6;
  margin-right: 14px;
}
#footer .footer__info-item dd {
  font-weight: var(--font-weight-regular);
}
#footer .footer__links {
  width: 300px;
}
#footer .footer__links > * {
  margin-bottom: 20px;
}
#footer .footer__links > *:last-child {
  margin-bottom: 0;
}
#footer .footer__btn {
  height: 60px;
  border-radius: 10px;
  letter-spacing: var(--letter-spacing-base);
  padding-right: 0.875em;
}
#footer .footer__btn::before {
  width: 30px;
  margin-right: 14px;
}
#footer .footer__sns {
  gap: 20px 40px;
}
#footer .footer__sns-item {
  width: 40px;
}

/*フッターナビ
-----------------------------*/
.fnav {
  width: 270px;
  border-left: solid 2px #fff;
  padding-left: 40px;
}
.fnav__item {
  line-height: 2.5em;
  padding-left: 22px;
  position: relative;
  z-index: 0;
}
.fnav__item::before {
  content: "";
  width: 12px;
  aspect-ratio: 1;
  background: var(--color-blue);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  z-index: -1;
}
.fnav__item:has(+ .fnav__item--sub):not(.fnav__item--sub) {
  margin-bottom: 4px;
}
.fnav__item--sub {
  font-size: 0.8125em;
  line-height: 2.3076924;
}
.fnav__item--sub::before {
  width: 6px;
}
.fnav__item:first-child {
  margin-top: calc(5px - 0.75em);
}
.fnav__item:first-child.fnav__item--sub {
  margin-top: calc(5px - 0.15385em);
}
.fnav__item:last-child {
  margin-bottom: calc(5px - 0.75em);
}
.fnav__item:last-child.fnav__item--sub {
  margin-bottom: calc(5px - 0.1538462em);
}
.fnav__link {
  letter-spacing: 0.05em;
  margin-right: -0.05em;
}

/*コピーライト
-----------------------------*/
.copy {
  width: 1080px;
  margin: 0 auto;
}
.copy p {
  text-align: left;
  font-size: 1.3rem;
  line-height: calc(1em + 10px);
  margin: -5px 0;
}

/*===============================================
  fixed固定
===============================================*/
/*ページトップ
-----------------------------*/
#pagetop {
  width: 60px;
  text-align: center;
  font-size: 1.125em;
  line-height: 1;
  letter-spacing: 0.025em;
  padding-bottom: 0.25em;
  bottom: 20px;
  right: 20px;
}
#pagetop > span::before {
  content: "to";
  display: block;
}

/*===============================================
  visual
===============================================*/
/*メインビジュアル
-----------------------------*/
.visual__main {
  padding-bottom: 90px;
}
.visual__main::before {
  height: 65.061%;
}
.visual__main-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 95.834%;
  max-width: 1840px;
  gap: 2.174%;
}
.visual__main-button {
  width: calc(50% - 20px);
  height: clamp(270px, 20.8333333333vw, 400px);
  border: solid clamp(6px, 0.4166666667vw, 8px) #fff;
  border-radius: clamp(28px, 2.0833333333vw, 40px);
  box-shadow: 0px 0px 9px 2px rgba(0, 0, 0, 0.1);
}
.visual__main-button-en {
  font-size: clamp(1.8rem, 1.3541666667vw, 2.6rem);
  letter-spacing: 0.025em;
  margin-bottom: 0.5769231em;
}
.visual__main-button-ja {
  width: 64.445%;
  border-radius: 100vh;
  padding: clamp(16px, 1.1979166667vw, 23px) 0;
}
.visual__main-button-ja > span {
  display: block;
  letter-spacing: var(--letter-spacing-base);
  margin-right: calc(var(--letter-spacing-base) * -1);
}
.visual__main-button-ja .txt {
  font-size: clamp(2.8rem, 2.1875vw, 4.2rem);
}
.visual__main-button-ja .min {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(2rem, 1.5625vw, 3rem);
  margin: 0.2em auto 0;
  position: relative;
}
.visual__main-button-ja .min::after {
  content: "";
  display: block;
  width: 0.666667em;
  aspect-ratio: 20/22;
  background: var(--color-yellow);
  -webkit-clip-path: polygon(0 0, 100% 50%, 0 100%);
          clip-path: polygon(0 0, 100% 50%, 0 100%);
  margin-left: 0.3333334em;
}
.visual__main-button--hidden::after {
  font-size: clamp(3.4rem, 2.6041666667vw, 5rem);
  letter-spacing: var(--letter-spacing-base);
}
.visual__main-box {
  width: 68.75%;
  max-width: 1320px;
  padding: clamp(34px, 2.6041666667vw, 50px) 0;
}
.visual__main-box::after {
  width: 23.334%;
  top: 5.8824%;
  right: 16.591%;
}
.visual__main-catch {
  width: 56.06061%;
  padding: clamp(26px, 2.03125vw, 39px) 0;
  border-radius: clamp(14px, 1.0416666667vw, 20px);
}
.visual__main-catch .main {
  font-size: clamp(3.4rem, 2.6041666667vw, 5rem);
  letter-spacing: var(--letter-spacing-base);
  margin-right: -0.56em;
  margin-bottom: 0.6em;
}
.visual__main-catch .main .blue {
  font-size: 1.08em;
}
.visual__main-catch .main::after {
  width: calc(100% - 0.56em);
  height: clamp(3px, 0.2083333333vw, 4px);
  background: linear-gradient(to right, var(--color-yellow) clamp(3px, 0.2083333333vw, 4px), transparent clamp(3px, 0.2083333333vw, 4px), transparent clamp(7px, 0.5208333333vw, 10px)) repeat-x left center/clamp(7px, 0.5208333333vw, 10px) 100%;
  margin-top: 0.76em;
}
.visual__main-catch .sub {
  font-size: clamp(2.4rem, 1.875vw, 3.6rem);
}

/*サブビジュアル
-----------------------------*/
.visual__sub {
  height: clamp(380px, 22.396vw + 90px, 520px);
  padding-bottom: 90px;
}
.visual__sub::before, .visual__sub::after {
  width: 95.834%;
  max-width: 1840px;
  border-radius: clamp(28px, 2.0833333333vw, 40px);
}
.visual__sub-catch {
  width: 39.584%;
  max-width: 760px;
  height: 41.861%;
  border-radius: 100vh;
}
.visual__sub-catch > span {
  font-size: clamp(3.2rem, 2.1875vw, 4.2rem);
  letter-spacing: var(--letter-spacing-base);
  margin-right: calc(var(--letter-spacing-base) * -1);
}
.visual__sub-catch::after {
  font-size: clamp(1.8rem, 1.3541666667vw, 2.6rem);
  letter-spacing: 0.025em;
  margin-right: -0.025em;
  margin-top: 0.846154em;
}

/*===============================================
  グローバルナビ
===============================================*/
.gnav {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 0;
  position: relative;
  z-index: 3;
}
.gnav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 900px;
  background: var(--color-blue);
  padding: 30px 60px;
  border-radius: 10px 10px 0 0;
}
.gnav__item {
  font-size: clamp(1.6rem, 1.25vw, 1.8rem);
  font-weight: var(--font-weight-bold);
  line-height: 30px;
  padding-right: 44px;
  margin-right: 44px;
  border-right: solid 1px var(--color-yellow);
}
.gnav__item:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: none;
}
.gnav__link {
  display: block;
  color: #fff;
  letter-spacing: var(--letter-spacing-base);
  margin-right: calc(var(--letter-spacing-base) * -1);
}
.gnav__link:hover {
  color: var(--color-yellow);
}
.gnav__link[aria-current=page] {
  color: var(--color-yellow);
}

/*===============================================
  main#container
===============================================*/
#container {
  line-height: var(--line-height-base);
  letter-spacing: var(--letter-spacing-base);
}

/*===============================================
  パンくずリスト
===============================================*/
.breadcrumb {
  height: 40px;
}
.breadcrumb__list {
  width: 1080px;
}
.breadcrumb__item {
  font-size: 1.4rem;
  letter-spacing: 0em;
  line-height: 1.71429;
}

/*===============================================
  main共通
===============================================*/
.section {
  padding: 140px 0;
}

.inbox {
  width: 1080px;
}

/*電話番号
-----------------------------*/
.com-tel-num {
  font-size: 1.875em;
}
.com-tel-num::before {
  width: 0.7em;
  height: 0.7em;
  margin-right: 0.3em;
}
.com-tel-num span {
  letter-spacing: var(--letter-spacing-base);
  margin: -0.2em calc(var(--letter-spacing-base) * -1) -0.0666667em 0;
}
.com-tel .com-replace {
  height: 12px;
  margin-top: 9px;
}

/*ボタン
-----------------------------*/
.com-btn {
  max-width: 460px;
  height: 70px;
  font-size: 1.25em;
  padding-left: 0.6em;
}
.com-btn::before {
  width: 14px;
  left: 45px;
}

.com-mail,
.com-line {
  height: 60px;
  line-height: 1.25;
  letter-spacing: var(--letter-spacing-base);
}
.com-mail::before,
.com-line::before {
  width: 30px;
  margin-right: 15px;
}

/*テーブル
-----------------------------*/
.com-table {
  line-height: 1.875;
}
.com-table tr:nth-of-type(2n + 1) {
  background: #f2fafe;
}
.com-table tr th {
  width: 235px;
  text-align: right;
  vertical-align: middle;
  padding: 25px 30px;
}
.com-table tr td {
  vertical-align: middle;
  padding: 25px 30px;
}

/*テキストボックス
-----------------------------*/
.com-text {
  margin: var(--margin-height-base) 0;
}
.com-text p {
  margin-right: calc(var(--letter-spacing-base) * -1);
}
.com-text strong {
  font-size: 1.125em;
  font-weight: var(--font-weight-bold);
}
.com-text .mb {
  margin-bottom: calc(var(--line-height-base) * 1em);
}

/*SB未記入テキスト
-----------------------------*/
.com-empty {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-xl);
  padding: 2.5em 0;
}

/*===============================================
  タイトル
===============================================*/
/*大タイトル
-----------------------------*/
.com-title01 {
  font-size: var(--font-size-xxxl);
  margin-bottom: 60px;
}
.com-title01 .ja {
  line-height: var(--line-height-xxxl);
}
.com-title01 .ja:first-child {
  margin-top: var(--margin-height-xxxl);
}
.com-title01 .ja:last-child, .com-title01 .ja:has(+ .en) {
  margin-bottom: var(--margin-height-xxxl);
}
.com-title01 .en {
  font-size: 0.478261em;
  margin-top: 1em;
}

/*中タイトル
-----------------------------*/
.com-title02 {
  font-size: var(--font-size-xxl);
  padding-bottom: 20px;
  margin-bottom: 40px;
}
.com-title02 > span {
  line-height: var(--line-height-xxl);
}
.com-title02 > span:first-child {
  margin-top: var(--margin-height-xxl);
}
.com-title02 > span:last-child {
  margin-bottom: var(--margin-height-xxl);
}

/*小タイトル
-----------------------------*/
.com-title03 {
  font-size: var(--font-size-xl);
  border-left-width: 6px;
  padding: 13px 20px;
  margin-bottom: 20px;
}
.com-title03 > span {
  line-height: var(--line-height-xl);
}
.com-title03 > span:first-child {
  margin-top: var(--margin-height-xl);
}
.com-title03 > span:last-child {
  margin-bottom: var(--margin-height-xl);
}

/*===============================================
  共通セクション
===============================================*/
/*無料相談・お問い合わせはこちら
-----------------------------*/
.com-contact {
  padding: 120px 0;
}
.com-contact__box {
  padding: 80px 60px;
}
.com-contact__box::before {
  width: calc(100vw - 80px);
  max-width: 1360px;
  min-width: 1200px;
  border-radius: 30px;
}
.com-contact__box::after {
  width: calc(100vw + 160px);
  min-width: 1440px;
  max-width: 1756px;
  height: clamp(240px, 17.1354166667vw, 329px);
  bottom: clamp(-32px, 5vw - 96px, 0px);
}
.com-contact__tel {
  width: 420px;
  height: 100px;
  margin: 0 auto 35px;
}
.com-contact__tel .com-tel-num {
  font-size: 4.2rem;
}
.com-contact__tel .com-tel-num::before {
  width: 30px;
}
.com-contact__tel .com-replace {
  margin-top: 12px;
}
.com-contact__links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px 80px;
}
.com-contact__link {
  width: 420px;
}

/*セクション名
-----------------------------*/
/*===============================================
  トップページ
===============================================*/
/*このような
疑問・お悩みはありませんか？
-----------------------------*/
.top-worries::before {
  min-width: 1360px;
  background-size: clamp(280px, 21.875vw, 420px), clamp(806px, 62.96875vw, 1209px);
  background-position: left top clamp(88px, 6.875vw, 132px), right bottom clamp(5px, 25vw - 319px, 161px);
}
.top-worries .inbox::after {
  width: 100%;
  height: 348px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -140px;
  z-index: -2;
}
.top-worries__list {
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
}
.top-worries__item {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  font-size: 1.25em;
  padding-left: 2.3em;
  margin-bottom: 1.3em;
}
.top-worries__item::before {
  width: 1.8em;
  height: 1.6em;
}
.top-worries__item:nth-of-type(6n + 4), .top-worries__item:nth-of-type(6n + 5), .top-worries__item:nth-of-type(6n + 6) {
  margin-left: 170px;
}
.top-worries__item:nth-of-type(3n) {
  margin-bottom: 2.3em;
}
.top-worries__item p {
  max-width: 30em;
  margin: -0.2em -0.56em -0.2em 0;
  word-break: keep-all;
}
.top-worries:has(+ .top-greeting) {
  padding-bottom: 35px;
}
.top-worries:has(+ .top-greeting) .inbox::after {
  bottom: -35px;
}
.top-worries:has(+ .top-greeting) + .top-greeting {
  padding-top: 260px;
}
.top-worries:has(+ .top-greeting) + .top-greeting::before {
  min-width: 1920px;
  height: 164px;
}

/*そのお悩み、『街の法律家』
行政書士山野伊紀事務所にご相談ください！
-----------------------------*/
.top-greeting {
  background-size: min(1920px, 100%);
}
.top-greeting::after {
  width: calc(100% - 40px);
  max-width: 1760px;
  height: clamp(222px, 17.34375vw, 333px);
  bottom: clamp(-193px, -10.0520833333vw, -129px);
}
.top-greeting__title .ja:has(.ruby) {
  padding-bottom: 14px;
}
.top-greeting__title .ruby span {
  font-size: 1.4rem;
  letter-spacing: 0.6em;
  margin-right: -0.6em;
  bottom: -14px;
}
.top-greeting__inner {
  min-height: 520px;
  padding-right: 580px;
  padding-top: 20px;
  position: relative;
}
.top-greeting__image {
  width: calc(50vw - 10px);
  min-width: 630px;
  height: 520px;
  position: absolute;
  top: 0;
  left: calc(50% + 10px);
}
.top-greeting__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 30px 0 0 30px;
}
.top-greeting__btn {
  margin: 60px auto 0;
}

/*当事務所が選ばれる3つの理由
-----------------------------*/
.top-reason {
  background-size: min(1021px, 53.1771%);
}
.top-reason::before {
  width: 90%;
  max-width: 1600px;
  height: clamp(274px, 21.3541666667vw, 410px);
  bottom: clamp(173px, 13.4895833333vw, 259px);
}
.top-reason .inbox {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
.top-reason__title {
  align-items: flex-start;
  text-align: left;
  padding-top: 140px;
  margin-bottom: 0;
}
.top-reason__list {
  width: 630px;
}
.top-reason__item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 505px;
}
.top-reason__item:nth-of-type(2n + 1) {
  margin-left: 125px;
}
.top-reason__item::before {
  font-size: var(--font-size-xxxl);
  top: 15px;
  right: -0.125em;
}
.top-reason__item-icon {
  width: 220px;
  margin-right: 45px;
}
.top-reason__item-title {
  max-width: 240px;
  padding: 4px 0 2px;
}
.top-reason__item-title span {
  font-size: 1.5em;
  line-height: 1.66666667;
  margin-right: -0.56em;
}
.top-reason__item-title strong {
  font-size: 1.166667em;
  line-height: 1;
}
.top-reason__btn {
  width: 420px;
  margin: 60px auto 0;
}

/*リンクセクション
-----------------------------*/
.top-link::before {
  min-width: 1640px;
}
.top-link__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  -moz-column-gap: clamp(60px, 10vw - 92px, 100px);
       column-gap: clamp(60px, 10vw - 92px, 100px);
  width: calc(100% - 80px);
  max-width: 1540px;
}
.top-link__item {
  position: relative;
}
.top-link__item-image {
  width: 69.445%;
  min-width: 400px;
}
.top-link__item-image img {
  width: 100%;
  height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 20px;
  box-shadow: 0px 0px 9px 2px rgba(0, 0, 0, 0.1);
}
.top-link__item-btn {
  width: 400px;
  height: 240px;
  padding: 50px 40px 0;
  border-radius: 20px 20px 0 20px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.top-link__item-btn::before {
  width: 20px;
  height: 20px;
  -webkit-clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 20px);
          clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 20px);
}
.top-link__item-title {
  padding-bottom: 10px;
  margin-bottom: 30px;
}
.top-link__item-title .ja {
  font-size: 2.25em;
}
.top-link__item-title .en {
  font-size: 1.125em;
  margin-top: 0.666667em;
}
.top-link__item-text {
  line-height: 1.75em;
  margin: -0.375em 0;
}

/*===============================================
  業務内容
===============================================*/
/*取り扱い業務
-----------------------------*/
.business-service {
  background-size: min(771px, 40.15625%);
}
.business-service__btns {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 20px;
  margin-bottom: 100px;
}
.business-service__btn {
  width: 320px;
  height: 70px;
  font-size: 1.25em;
  padding-left: 30px;
  margin: 0 30px;
}
.business-service__btn::before {
  width: 18px;
  left: 42px;
}
.business-service__btn:nth-of-type(5):nth-last-of-type(3) {
  margin-left: 0;
}
.business-service__btn:nth-of-type(7):nth-last-of-type(1) {
  margin-right: 0;
}
.business-service__box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 60px 50px;
  margin-bottom: 60px;
}
.business-service__box::before {
  width: calc(100vw - 80px);
  min-width: 1200px;
  max-width: 1280px;
  border-radius: 40px;
  background-size: 35.15625%;
}
.business-service__box-title {
  width: 100%;
}
.business-service__box-image {
  width: 450px;
}
.business-service__box-image img {
  border-radius: 20px;
}
.business-service__box-inner {
  width: calc(100% - 500px);
  padding-top: 20px;
}
.business-service__box-text {
  width: 100%;
}
.business-service__box-list {
  padding-top: 40px;
}
.business-service__box-list dd:first-of-type {
  margin-top: var(--margin-height-base);
}
.business-service__box-list dd:last-of-type {
  margin-bottom: var(--margin-height-base);
}
.business-service__box-btn {
  width: 420px;
  margin: 60px auto 0;
}

/*当事務所が選ばれる3つの理由
-----------------------------*/
.business-reasons {
  background-size: min(1021px, 53.1771%);
}
.business-reasons__item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: calc(100% - 125px);
}
.business-reasons__item:nth-of-type(2n + 1) {
  margin-left: 125px;
}
.business-reasons__item::before {
  font-size: var(--font-size-xxxl);
  top: 15px;
  right: -0.125em;
}
.business-reasons__item-icon {
  width: 220px;
  margin-right: 45px;
}
.business-reasons__item-title {
  max-width: 240px;
  padding: 4px 0 2px;
  margin-right: 30px;
}
.business-reasons__item-title span {
  font-size: 1.5em;
  line-height: 1.66666667;
  margin-right: -0.56em;
}
.business-reasons__item-title span strong {
  font-size: 1.166667em;
  line-height: 1;
}
.business-reasons__item-text {
  width: 370px;
}
.business-reasons__item-text p {
  display: inline;
}

/*===============================================
  初めての方へ
===============================================*/
/*ご相談の流れ
-----------------------------*/
.beginner-flow::after {
  width: 98%;
  max-width: 1810px;
  height: clamp(160px, 25vw - 176px, 304px);
  bottom: -30px;
}
.beginner-flow__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: row-reverse;
  margin-bottom: 90px;
}
.beginner-flow__item::after {
  width: 12px;
  height: 52px;
  background-image: radial-gradient(circle, var(--color-yellow) 6px, transparent 6px);
  background-position: right center;
  background-repeat: repeat-y;
  background-size: 12px 20px;
  position: absolute;
  top: calc(100% + 19px);
  left: 144px;
}
.beginner-flow__item-inner {
  width: calc(100% - 360px);
}
.beginner-flow__item-title {
  justify-content: space-between;
  align-items: flex-end;
  flex-direction: row;
}
.beginner-flow__item-title::before {
  font-size: 0.75em;
  letter-spacing: var(--letter-spacing-base);
}
.beginner-flow__item-title > span {
  width: calc(100% - 122px);
}
.beginner-flow__item-image {
  width: 300px;
  border: solid 4px var(--color-yellow);
  border-radius: 20px;
  overflow: hidden;
}
.beginner-flow__item-image img {
  aspect-ratio: 292/212;
  width: 100%;
}

/*よくある質問
-----------------------------*/
.beginner-faq__item {
  margin-bottom: 30px;
}
.beginner-faq__item-title {
  align-items: stretch;
  padding-right: 30px;
}
.beginner-faq__item-title::before {
  width: 80px;
  font-size: 2.875em;
  padding-bottom: 5px;
}
.beginner-faq__item-title > span {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: calc(100% - 110px);
  min-height: 80px;
  font-size: 1.25em;
  line-height: 2;
  padding: 0.25em 0;
}
.beginner-faq__item-text {
  padding: 0 30px 50px 0;
}
.beginner-faq__item-text::before {
  width: 80px;
  font-size: 2.875em;
  line-height: 75px;
  padding-bottom: 5px;
}
.beginner-faq__item-text .inner {
  width: calc(100% - 110px);
  margin: calc(40px + var(--margin-height-base)) 0 var(--margin-height-base);
}

/*===============================================
  ご相談事例
===============================================*/
.case-list__item {
  margin-bottom: 100px;
}
.case-list__item-inner {
  padding: 50px;
  border-radius: 40px;
  margin-bottom: 60px;
}
.case-list__item-inner::after {
  width: 130px;
  right: 20px;
  bottom: 20px;
}
.case-list__item-inner:has(.case-list__item-box)::after {
  right: 40px;
  bottom: 40px;
}
.case-list__item-inner:has(.case-list__item-box) .case-list__item-text {
  padding-right: 0;
}
.case-list__item-request {
  margin-bottom: 40px;
}
.case-list__item-text {
  padding-right: 110px;
  margin: var(--margin-height-base) 0;
}
.case-list__item-text:has(+ .case-list__item-box) + .case-list__item-box {
  margin-top: 40px;
}
.case-list__item-box {
  padding: 40px 50px;
  border-radius: 30px;
  margin-top: 20px;
}
.case-list__item-box:last-of-type .case-list__item-body {
  padding-right: 110px;
}
.case-list__item-heading {
  font-size: 1.25em;
  line-height: 1.5;
  padding: 0.5em 1em;
  margin-bottom: 1.5em;
}
.case-list__item-body {
  margin: var(--margin-height-base) 0;
}

/*===============================================
  事務所案内
===============================================*/
/*ご挨拶
-----------------------------*/
.information-greeting {
  background-size: min(1021px, 53.1771%);
}
.information-greeting::after {
  width: calc(100% - 40px);
  max-width: 1760px;
  height: clamp(222px, 17.34375vw, 333px);
  bottom: clamp(-173px, -9.0104166667vw, -116px);
}
.information-greeting__image {
  margin-bottom: 50px;
}
.information-greeting__image::before {
  width: 1280px;
  height: 343px;
  bottom: -13px;
}
.information-greeting__image img {
  width: 360px;
  outline: solid var(--color-yellow) 3px;
  outline-offset: -3px;
}
.information-greeting__text .name {
  font-size: 1.25em;
  line-height: 1.6;
}
.information-greeting__list {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 50px 80px;
  padding-top: 80px;
}
.information-greeting__item {
  width: calc(50% - 40px);
}
.information-greeting__item-title {
  margin-bottom: 0;
}
.information-greeting__item-text {
  min-height: 110px;
  padding: calc(40px + var(--margin-height-base)) 40px calc(50px + var(--margin-height-base));
}

/*事務所情報
-----------------------------*/
.information-outline {
  padding: 0;
}
.information-outline .inbox {
  padding: 140px 0;
}
.information-outline:has(.information-outline__map) .inbox {
  padding-bottom: 80px;
}
.information-outline__table tr:nth-of-type(2n + 1) {
  background: #fff;
}
.information-outline__table tr td .replace img {
  height: var(--font-size-base);
  vertical-align: baseline;
}
.information-outline__map {
  height: 500px;
}

/*==================================================
 お問い合わせ
================================================== */
.contact-form {
  padding: 100px 0;
}
.contact-form__table {
  margin-bottom: 56px;
}
.contact-form__table tr th {
  width: 350px;
  text-align: left;
  line-height: 2.375;
  padding-right: 0;
}
.contact-form__table tr th .optional-mark,
.contact-form__table tr th .required-mark {
  font-size: 1.4rem;
  line-height: 2;
  margin-left: 1em;
}
.contact-form__table tr td {
  vertical-align: middle;
  line-height: 2.375;
}
.contact-form .contact-submits-wrap {
  padding-top: 32px;
}
.contact-form .contact-submits-wrap > * {
  width: 420px;
  height: 70px;
  font-size: 1.25em;
  margin: 20px 15px 0;
}

/*==================================================
 お問い合わせ完了
================================================== */
.contact-complete {
  padding: 100px 0;
}
.contact-complete__text {
  text-align: center;
}

/*==================================================
プライバシーポリシー
================================================== */
.privacy-policy {
  padding: 100px 0;
}
.privacy-policy__box {
  padding: 50px 60px;
  border-radius: 20px;
  margin-bottom: 40px;
}

/*==================================================
 サイトマップ
================================================== */
.sitemap-list {
  padding: 100px 0;
}
.sitemap-list__items {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  grid-auto-flow: column;
  gap: 20px 80px;
}
.sitemap-list__link {
  font-size: 1.8rem;
  line-height: 1.66667;
  padding: 15px 20px;
}

/*===============================================
  404エラー
===============================================*/
.error-message {
  padding: 100px 0;
}