/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Dec 01 2026 | 07:09:49 */

/* ==========================================================
   TOP PAGE
========================================================== */

/* ==========================================================
   01. メインビジュアル
========================================================== */

/* スマホのみメインビジュアルの高さを調整 */
@media (max-width: 959px) {
  #main_visual.-height-full,
  #main_visual.-height-full .p-mainVisual__inner {
    height: 75svh !important;
    min-height: 0 !important;
  }

  #main_visual {
    margin-bottom: 0;
  }

  .home #content {
    padding-top: 0;
    margin-top: 0;
  }
	
  #main_visual .swiper-pagination {
    display: none;
  }
}

/* ----------------------------------------------------------
   01-1. SWELL標準設定の調整
---------------------------------------------------------- */

/* メインビジュアル全体 */
#main_visual {
  position: relative;
  overflow: hidden;
}

/* スライダー写真 */
#main_visual .p-mainVisual__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

@media (min-width: 768px) {
  #main_visual .c-filterLayer__img {
    width: 61%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    left: 39%;
  }
}

@media (max-width: 767px) {
  #main_visual .c-filterLayer__img {
    width: 100%;
    height: 70%;
    object-fit: cover;
    object-position: 20% top;
  }
}

/* SWELL標準の文字レイヤーをリセット */
#main_visual .p-mainVisual__textLayer {
  position: absolute;
  inset: 0;
  z-index: 5;

  display: block;
  width: 100%;
  height: 100%;
  max-width: none;

  margin: 0;
  padding: 0;
  transform: none;

  color: #172331;
  text-shadow: none;
  text-align: left;

  pointer-events: none;
}

/* ブログパーツを全画面に */
#main_visual .p-blogParts {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}


/* ----------------------------------------------------------
   01-2. ファーストビュー全体・背景
---------------------------------------------------------- */

/* ファーストビュー全体 */
#main_visual .sr-fv {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "YuMincho",
    serif;
}

/* PC：左側の斜め背景 */
#main_visual .sr-fv__content {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 49%;
  height: 100%;

  padding: 40px 8% 40px 3%;

  box-sizing: border-box;

  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #e9f2ff 55%,
    #d0e2fa 100%
  );

  clip-path: polygon(
    0 0,
    80% 0,
    100% 100%,
    0 100%
  );
}


/* ----------------------------------------------------------
   01-3. キャッチコピー・テキスト
---------------------------------------------------------- */

/* 上部コピー */
#main_visual .sr-fv__lead {
  margin: 0;
  width: max-content;
  max-width: 100%;

  font-size: clamp(18px, 1.5vw, 30px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: #172331;
  text-shadow: none;
}

/* 青色の強調文字 */
#main_visual .sr-fv__blue {
  color: #07539b;
  font-size: 1.2em;
  font-weight: 700;
}

/* 通常文字 */
#main_visual .sr-fv__normal {
  font-size: 0.9em;
  text-shadow: none;
}

/* タブレット専用の改行 */
#main_visual .tab-only {
  display: none;
}

@media (min-width: 768px) and (max-width: 950px) {
  #main_visual .tab-only {
    display: block;
  }
}

/* 「全力」の装飾 */
#main_visual .sr-fv__power {
  position: relative;
  display: inline-block;

  margin: 0 0.04em;

  color: #07539b;
  font-size: 1.45em;
  font-weight: 700;
  line-height: 1.1;
}

/* 「全力」の画像アンダーライン */
#main_visual .sr-fv__power::after {
  content: "";

  position: absolute;
  z-index: 1;

  left: 50%;
  bottom: -.6em;

  width: 100%;
  height: .8em;

  background-image: url("http://sr-miyazaki-koji.com/wp-content/uploads/2026/10/firstview-blue-line.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;

  transform: translateX(-50%);

  pointer-events: none;
}

/* 区切り線 */
#main_visual .sr-fv__line {
  width: 100%;
  max-width: 650px;
  height: 1px;

  margin: 16px 0 20px;

  background: #8da5bc;
}

/* メインコピー */
#main_visual .sr-fv__title {
  margin: 0;
  padding: 0;

  color: #172331;

  font-size: clamp(35px, 3.5vw, 72px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-shadow: none;
}

/* 事務所名 */
#main_visual .sr-fv__office {
  margin: 8px 0 0;

  color: #172331;

  font-size: clamp(16px, 1.5vw, 30px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.6;
  white-space: nowrap;
  text-shadow: none;
}


/* ----------------------------------------------------------
   01-4. 外周フレーム
---------------------------------------------------------- */

/* 外周の白フレーム */
/* #main_visual .sr-fv__frame {
  position: absolute;

  top: 2%;
  right: 1.5%;
  bottom: 2%;
  left: 1.5%;

  z-index: 10;

  border: 10px solid #fff;
  box-sizing: border-box;

  pointer-events: none;
} */


/* ----------------------------------------------------------
   01-5. スマートフォン
---------------------------------------------------------- */

@media screen and (max-width: 767px) {

  /* スライダーの高さ */
  #main_visual {
    height: 100svh !important;
    min-height: 600px;
  }

  #main_visual .p-mainVisual__inner,
  #main_visual .swiper-wrapper,
  #main_visual .p-mainVisual__slide {
    height: 100%;
  }

  /* 文字レイヤー */
  #main_visual .p-mainVisual__textLayer {
    width: 100%;
    height: 100%;
  }

  /* ファーストビュー */
  #main_visual .sr-fv {
    height: 100%;
  }

  /* 下部の斜め背景 */
  #main_visual .sr-fv__content {
    position: absolute;

    top: auto;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 45%;

    padding: 16% 5% 6%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
      180deg,
      #d2e3fa 0%,
      #eaf2fd 55%,
      #ffffff 100%
    );

    clip-path: polygon(
      0 0,
      100% 17%,
      100% 100%,
      0 100%
    );
  }

  /* 上部コピー */
  #main_visual .sr-fv__lead {
    width: 100%;
    max-width: none;

    font-size: clamp(14px, 3.1vw, 18px);
    line-height: 1.5;
    letter-spacing: -0.05em;
    text-align: center;
    white-space: nowrap;
  }

  #main_visual .sr-fv__blue {
    font-size: 1.2em;
  }

  #main_visual .sr-fv__power {
    font-size: 1.35em;
  }

  /* 区切り線 */
  #main_visual .sr-fv__line {
    width: 90%;
    margin: 12px auto 14px;
  }

  /* メインコピー */
  #main_visual .sr-fv__title {
    font-size: clamp(30px, 8vw, 52px);
    text-align: center;
    white-space: nowrap;
  }

  /* 事務所名 */
  #main_visual .sr-fv__office {
    margin-top: 8px;

    font-size: clamp(14px, 3.5vw, 20px);
    text-align: center;
    white-space: nowrap;
  }

  /* 白フレーム */
  #main_visual .sr-fv__frame {
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;

    border-width: 6px;
  }
}




/* ==========================================================
   02. 取扱業務
========================================================== */
.top-service .item-link {
	transition: .3s;
}
@media (hover: hover) {
	.top-service .item-link:hover {
		opacity: .8;
	}
}
.top-service .item:nth-of-type(3) h3 {
	font-size: 1em;
}
.top-service .item:nth-of-type(5) h3 {
	font-size: 1.1em;
}
.top-service .item:nth-of-type(7) h3 {
	font-size: 1.1em;
}
.top-service .item:nth-of-type(8) h3 {
	font-size: 1.1em;
}
@media (max-width: 599px) {
	.top-service a > .wp-block-group {
		padding: 15px 10px;
	}
}
/*  取扱業務：カードの高さを統一 */
/* カラムを縦方向に伸ばす */
.top-service .swell-block-columns__inner {
  align-items: stretch;
}
/* 各アイテム */
.top-service .item {
  display: flex;
  flex-direction: column;
}
/* リンクをアイテムの高さ全体に広げる */
.top-service .item-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
/* 白背景のグループをリンク全体に広げる */
.top-service .item-link > .wp-block-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}
/* グループ内部も高さを揃える */
.top-service .item-link > .wp-block-group > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  flex: 1;
}




/* ==========================================================
   03. 流れ（STEP）
========================================================== */

/* SWELL標準のSTEP番号を非表示 */
.top-flow .swell-block-step__number {
  display: none;
}

/* 各ステップ：左に画像、右にコンテンツ */
.top-flow .swell-block-step__item {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  column-gap: 30px;
  position: relative;
  padding-left: 0;
}

/* 子要素をGridに展開 */
.top-flow .swell-block-step__body {
  display: contents;
}

/* STEPタイトル */
.top-flow .swell-block-step__title {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  align-self: center;
  width: max-content;
}

/* h3見出し：STEPタイトルの右側 */
.top-flow .swell-block-step__body > h3 {
  grid-column: 2;
  grid-row: 1;
  margin-left: 110px;
  margin-bottom: 10px!important;
  align-self: flex-end;
}

/* アコーディオン */
.top-flow .swell-block-step__body > .swell-block-accordion {
  grid-column: 2;
  grid-row: 2;
  margin-top: 15px;
}

.top-flow .swell-block-accordion__title {
  background: #fff;
}

/* 画像：左側 */
.top-flow .swell-block-step__body > .img {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  margin: 0;
}

.top-flow .swell-block-step__body > .img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

/* SWELL標準の縦線を非表示 */
.top-flow .swell-block-step__item::before,
.top-flow .swell-block-step__item::after {
  display: none;
}

/* ステップ間の縦線 */
.top-flow .swell-block-step__item:not(:last-child) .img {
  position: relative;
}

.top-flow .swell-block-step__item:not(:last-child) .img::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  width: 2px;
  height: 48%;
  background: var(--color_deep01);
}

/* 矢印 */
.top-flow .swell-block-step__item:not(:last-child) .img::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 150%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid var(--color_deep01);
  visibility: visible;
}

/* ステップ間の余白 */
.top-flow .swell-block-step__item + .swell-block-step__item {
  margin-top: 0;
}

/* ==========================================================
   スマートフォン
========================================================== */
@media (max-width: 767px) {

  .top-flow .swell-block-step__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  /* 画像を一番上に配置 */
  .top-flow .swell-block-step__body > .img {
    grid-column: 1;
    grid-row: 1;
    width: 180px;
    max-width: 100%;
    margin: 0 auto 20px;
  }

  /* STEPタイトル */
  .top-flow .swell-block-step__title {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
  }

  /* h3見出し */
  .top-flow .swell-block-step__body > h3 {
    grid-column: 1;
    grid-row: 3;
    margin: 0;
  }

  /* アコーディオン */
  .top-flow .swell-block-step__body > .swell-block-accordion {
    grid-column: 1;
    grid-row: 4;
    margin: 0;
  }

  /* ステップ間の余白 */
  .top-flow .swell-block-step__item + .swell-block-step__item {
    margin-top: 0px;
  }

  /* 矢印・縦線の位置調整 */
  .top-flow .swell-block-step__item:not(:last-child) .img::before,
  .top-flow .swell-block-step__item:not(:last-child) .img::after {
    display: none;
  }
}




/* ==========================================================
   CTA非表示
========================================================== */
#body_wrap.home #before_footer_widget .cta {
	display: none;
}