@charset "utf-8";
/*
Theme Name: samurailab
Theme URI: https://www.samurai-lab.jp/
Description:
Version: 2.0
Author: samurai-lab
Author URI: https://www.samurai-lab.jp/
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}
:focus {
  outline: 0;
}

ol {
  list-style: decimal inside;
  /* margin-left: 35px; */
}

ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption,
th,
td {
  font-weight: normal;
  text-align: left;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}
blockquote,
q {
  quotes: "" "";
}
article,
aside,
details,
figcaption,
figure,
footer,
#header,
hgroup,
menu,
nav,
section {
  display: block;
}
nav .panel:after,
nav#mainNav:after,
.newsTitle:after,
.bg:after,
.post:after,
ul.post li:after,
nav#mainNav .inner:after {
  content: "";
  display: table;
  clear: both;
}
nav .panel,
nav#mainNav,
.newsTitle,
.bg,
.post,
ul.post li,
nav#mainNav .inner {
  zoom: 1;
}
body {
  font-family:
    "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "BIZ UDPGothic", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #333;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
p {
  line-height: 1.7;
  margin-bottom: 1.5em;
}
strong {
  font-weight: bold;
}
a {
  margin: 0;
  padding: 0;
  text-decoration: none;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
  font-size: 100%;
  color: #5ab5b2;
}
a:hover {
  outline: none;
  color: #38817f;
  text-decoration: underline;
}
a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70);
}
a img {
  border: 0;
}
img {
  vertical-align: bottom;
  max-width: 100%;
  height: auto;
}
.m_t_0 {
  margin-top: 0 !important;
}
.m_t_10 {
  margin-top: 10px !important;
}
.m_t_20 {
  margin-top: 20px !important;
}
.m_t_30 {
  margin-top: 30px !important;
}
.m_r_0 {
  margin-right: 0 !important;
}
.m_r_10 {
  margin-right: 10px !important;
}
.m_r_20 {
  margin-right: 20px !important;
}
.m_r_30 {
  margin-right: 30px !important;
}
.m_b_0 {
  margin-bottom: 0px !important;
}
.m_b_10 {
  margin-bottom: 10px !important;
}
.m_b_15 {
  margin-bottom: 15px !important;
}
.m_b_20 {
  margin-bottom: 20px !important;
}
.m_b_30 {
  margin-bottom: 30px !important;
}
.m_l_0 {
  margin-left: 0 !important;
}
.m_l_10 {
  margin-left: 10px !important;
}
.m_l_20 {
  margin-left: 20px !important;
}
.m_l_30 {
  margin-left: 20px !important;
}
.last {
  margin-right: 0;
}
.left {
  float: left;
}
.right {
  float: right;
}
.text_red {
  color: #e00;
}
.aligncenter {
  text-align: center;
}
.alignright {
  float: right;
}
.alignleft {
  float: left;
}
img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
img.alignright {
  padding: 4px;
  margin: 0 0 2px 7px;
  display: inline;
}
img.alignleft {
  padding: 4px;
  margin: 0 7px 2px 0;
  display: inline;
}
.ol_style {
  counter-reset: li;
  list-style: none;
  padding-left: 10px;
}
.ol_style > li {
  position: relative;
  margin-bottom: 0.5em;
  padding-left: 2.5em;
}
.ol_style > li:before {
  content: counter(li) "";
  counter-increment: li;
  position: absolute;
  left: 0;
  width: 1.8em;
  height: 1.8em;
  background: #0099cc;
  border-radius: 50px;
  color: #fff;
  line-height: 1.8;
  text-align: center;
}
.smb-step__item__number {
  background-color: #002669;
}

.smb-step__item__title > span {
  color: #4fbfba;
  font-size: 20px;
}
.smb-box {
  padding: 25px 15px 10px 15px;
}
.smb-box__background {
  border-color: #92afc7;
  background: #eaf2f9;
}

.is-style-sme-speech {
  background-color: #d9ebfb;
}
.smb-alert p {
  margin-bottom: 0;
}
.smb-balloon p {
  margin-bottom: 0;
}

.smb-box p {
  margin-bottom: 0;
}
/*お知らせにカテゴリー追加*/
ul.notice {
  width: auto;
  overflow: hidden;
}
ul.notice li {
  margin-bottom: 15px;
  border-bottom: dotted 1px #999;
}
ul.notice li a {
  display: block;
  padding-bottom: 10px;
}
ul.notice li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
ul.notice span {
  background-color: #ff983b;
  color: #fff;
  padding: 1px 10px 3px;
  font-size: 12px;
  margin-left: 5px;
  vertical-align: top;
}
#content ul.breadcrumb {
  overflow: hidden;
  margin-bottom: 5px;
}
#content ul.breadcrumb li {
  float: left;
  font-size: 14px;
  margin-bottom: 0;
}
#content ul.breadcrumb li a::after {
  font-family: "Material Icons";
  content: "chevron_right";
  color: #3858a1;
  font-size: 14px;
  vertical-align: middle;
  padding-right: 3px;
  padding-left: 3px;
}
input[type="text"],
textarea {
  vertical-align: middle;
  max-width: 90%;
  line-height: 30px;
  height: 30px;
  padding: 1px 5px;
  border: 1px solid #d4d4d7;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  font-size: 100%;
  color: #333;
  background: #fcfcfc;
}
textarea {
  height: auto;
  line-height: 1.5;
}
input[type="submit"],
input[type="reset"],
input[type="button"] {
  padding: 3px 10px;
  background: #878787;
  border: 0;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  line-height: 1.5;
  font-size: 120%;
  color: #fff;
}
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
  background: #a6a6a6;
  cursor: pointer;
}
*:first-child + html input[type="submit"] {
  padding: 3px;
}
#header {
  padding-bottom: 0px;
  padding-top: 10px;
  background-color: fff;
}
#header .inner {
  overflow: hidden;
}
#header div {
  font-size: 14px;
  font-weight: normal;
  color: #333;
  padding-bottom: 0px;
}
#wrapper,
.inner {
  margin: 0 auto;
  max-width: 1000px;
}
#wrapper .sub_headertop {
  margin: 0 calc(50% - 50vw);
  text-align: center;
}
#wrapper .sub_headertop img {
  width: 100%;
  height: auto;
}
#content {
  float: right;
  width: 700px;
  padding: 30px 0 50px;
}
#content.content_lp {
  float: right;
  width: 100%;
  padding: 30px 0 50px;
}
#sidebar {
  float: left;
  width: 260px;
  padding: 30px 0 50px;
}
#footer {
  clear: both;
}
#mainimg {
  clear: both;
  line-height: 0;
  text-align: center;
  z-index: 0;
  background-color: #fff;
}
#mainimg img {
  max-width: 100%;
  height: auto;
}
/* 下層 */
.sub_main {
  width: auto;
  background-image: url("images/sub_main_pc.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.sub_main h1 {
  color: #333;
  font-size: 30px;
  font-weight: bold;
  display: flex;
  align-items: center;
  height: inherit;
  min-height: 150px;
}

.sub_main h2 {
  color: #333;
  font-size: 30px;
  font-weight: bold;
  display: flex;
  align-items: center;
  height: inherit;
  min-height: 150px;
}

#content h2 {
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 15px;
  margin-top: 40px;
  padding: 15px 0 14px 15px;
  width: auto;
  background-image: -webkit-gradient(
    linear,
    left top,
    right top,
    from(#5ab5b2),
    to(#dfefec)
  );
  background-image: -webkit-linear-gradient(
    left,
    #5ab5b2 0%,
    #b2e7dd 60%,
    #dfefec 100%
  );
  background-image: linear-gradient(
    to right,
    #5ab5b2 0%,
    #b2e7dd 60%,
    #dfefec 100%
  );
  -webkit-box-shadow: 5px 5px 0 #107672;
  box-shadow: 5px 5px 0 #107672;
  text-shadow: 2px 2px 4px #364f4e;
}

#content h2.pagetitle {
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 15px;
  margin-top: 0px;
  padding: 15px 0 14px 15px;
  width: auto;
  background-color: #002669;
}

#content h2:first-child {
  margin-top: 0;
}
#content h2.sub_title::after,
#content h2.pagetitle::after,
#content h2.sub_title::before,
#content h2.pagetitle::before {
  display: none;
}
#content h3 {
  color: #5ab5b2;
  font-size: 26px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  width: auto;
  padding: 0.5em;
  background: #dfefec; /*背景色*/
  border-left: 5px dashed #5ab5b2;
}
#content h4 {
  color: #5ab5b2;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  padding: 0 0.5em;
  border-bottom: 5px double #5ab5b2;
}
#content ul,
#content ul li {
  margin-bottom: 10px;
  color: #333;
  text-align: left;
}
/*トップページ用*/
.width_over100 {
  margin: 0 calc(50% - 50vw);
}
.backcolor_fff {
  background-color: #fff;
}
.backcolor_DFEFEC {
  background-color: #dfefec;
}
.top_block1 {
  padding-top: 2em;
  padding-bottom: 5em;
}
.top_block1 h2 {
  text-align: center;
  font-weight: bold;
  font-size: 32px;
  color: #333;
  line-height: 52px;
  margin-bottom: 26px;
  letter-spacing: 0.1em;
  position: relative;
  display: block;
  padding: 1.5rem;
}
@media screen and (max-width: 767px) {
  .top_block2 h1 {
    text-align: center;
    font-weight: bold;
    font-size: 32px;
    color: #333;
    line-height: 52px;
    margin-bottom: 26px;
    letter-spacing: 0.1em;
    position: relative;
    display: block;
    padding: 0.5rem;
  }
}

/* PCサイズの設定 */
.top_block1 ul.banner_a {
  display: flex;
  flex-wrap: wrap; /* 折り返しを許可する */
  justify-content: flex-start; /* 左寄せにする */
}

.top_block1 ul.banner_a li {
  width: 32%; /* 横幅を約3分の1に */
  margin-bottom: 15px;
  margin-right: 2%; /* アイテムの右側に隙間を作る */
}

/* 3の倍数（右端）のアイテムだけ、右側の余白を消す */
.top_block1 ul.banner_a li:nth-child(3n) {
  margin-right: 0;
}

/* スマホサイズの設定（767px以下） */
@media screen and (max-width: 767px) {
  .top_block1 ul.banner_a {
    display: block; /* 縦並びにする */
  }
  .top_block1 ul.banner_a li {
    width: 95%;
    margin: 10px auto; /* 中央寄せにし、右余白をリセット */
    text-align: center;
  }
}

.top_block1 ul.banner_b {
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 767px) {
  .top_block1 ul.banner_b {
    display: block;
  }
}
.top_block1 ul.banner_b li {
  margin-bottom: 15px;
  width: 49%;
}
@media screen and (max-width: 767px) {
  .top_block1 ul.banner_b li {
    margin: 10px auto 0;
    width: 95%;
    text-align: center;
  }
}
.top_block2 {
  padding-top: 2em;
  padding-bottom: 2em;
  overflow: hidden;
}
.top_block2 h2 {
  text-align: center;
  font-weight: bold;
  font-size: 32px;
  color: #333;
  line-height: 52px;
  margin-bottom: 26px;
  letter-spacing: 0.1em;
  position: relative;
  display: block;
  padding: 1.5rem;
}

@media screen and (max-width: 767px) {
  .top_block2 h2 {
    text-align: center;
    font-weight: bold;
    font-size: 32px;
    color: #333;
    line-height: 52px;
    margin-bottom: 26px;
    letter-spacing: 0.1em;
    position: relative;
    display: block;
    padding: 0.5rem;
  }
}

.top_block2 .left {
  width: 26%;
  margin-right: 4%;
}
.top_block2 .right {
  width: 70%;
  color: #333;
  font-size: 18px;
  line-height: 1.6;
}

.top_block2 .ul_pc3_sp1_outer {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  -webkit-box-lines: multiple;
  -moz-box-lines: multiple;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.top_block2 .ul_pc3_sp1 {
  margin-bottom: 25px;
  margin-right: 3.5%;
  width: 31%;
  float: left;
}
.top_block2 .ul_pc3_sp1:nth-child(3n) {
  margin-right: 0;
}
.top_block2 .ul_pc3_sp1 h3 {
  color: #626568;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 15px;
  width: auto;
  border-bottom: dashed 2px #626568;
  padding: 0.5em;
}
.top_block2 .ul_pc3_sp1 ul li {
  line-height: 1.4;
  padding-bottom: 10px;
  margin-left: 15px;
  text-indent: -15px;
}
.top_block2 .ul_pc3_sp1 ul li::before {
  font-family: "Material Icons";
  content: "chevron_right";
  color: #32373c;
  font-size: 14px;
  vertical-align: middle;
  padding-right: 2px;
}
.top_block2 .ul_pc3_sp1 ul ul {
  padding-left: 0px;
  padding-top: 10px;
}
.top_block2 .ul_pc3_sp1 ul ul li::before {
  color: #9079b6;
}
@media only screen and (max-width: 767px) {
  .top_block2 .ul_pc3_sp1 {
    width: 96%;
    float: none;
    margin: 0 auto 25px;
  }
  .top_block2 .ul_pc3_sp1 h3 {
    font-size: 18px;
    padding-left: 15px;
  }
}

/* お知らせリスト全体の微調整 */
.custom-news-list {
  list-style: none;
  padding: 0;
  border-top: 1px solid #eee;
}

/* 各記事のまとまり */
.custom-news-list li {
  padding: 20px 0; /* 余白を広めにとって「呼吸」させる */
  border-bottom: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* 縦の中央で揃える */
  transition: all 0.3s ease;
}

/* ホバー時の演出：少し右に動かす */
.custom-news-list li:hover {
  padding-left: 10px;
  background-color: #f9f9f9;
}

/* 日付：幅を固定して、タイトルの開始位置を揃える */
.custom-news-list .wp-block-latest-posts__post-date {
  display: inline-block;
  width: 120px; /* 縦のラインを揃える魔法の数字 */
  font-size: 13px;
  color: #999; /* 少し薄くしてタイトルを引き立てる */
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin-right: 20px;
  margin-bottom: 0;
  flex-shrink: 0; /* 日付が潰れないように固定 */
}

/* タイトル：色と太さの調整 */
.custom-news-list a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #333 !important; /* 通常時は黒に近い色で読みやすく */
  text-decoration: none;
  flex: 1;
  line-height: 1.4;
  transition: color 0.2s;
}

/* ホバー時にブランドカラーにする */
.custom-news-list li:hover a {
  color: #16a893 !important;
}

/* 本文（抜粋）：少し引っ込めて、色を薄くする */
.custom-news-list .wp-block-latest-posts__post-excerpt {
  width: 100%;
  margin-top: 10px;
  margin-left: 140px; /* 日付(120px) + 余白(20px) 分ずらす */
  font-size: 14px;
  color: #777;
  line-height: 1.6;
}

/* スマホ対応 */
@media screen and (max-width: 600px) {
  .custom-news-list li {
    align-items: flex-start;
    padding: 15px 0;
  }
  .custom-news-list .wp-block-latest-posts__post-date {
    width: 100%; /* スマホでは日付を上に戻す */
    margin-bottom: 5px;
  }
  .custom-news-list .wp-block-latest-posts__post-excerpt {
    margin-left: 0; /* スマホでは左余白を消す */
  }
}

.post {
  margin: 0 0 20px;
}
.post p {
  padding-right: 10px;
}
.post #date,
.post .dateLabel {
  font-size: 12px;
  padding-right: 10px;
  padding-left: 10px;
  margin-bottom: 5px;
  padding-bottom: 0;
}
.post ul li {
  margin-bottom: 5px;
  padding-left: 1.5em;
  background-image: url(images/list_arrow.svg);
  background-repeat: no-repeat;
  background-position: 0.2em 10px;
  background-size: 12px;
}

.wp-block-list.is-style-sme-list-arrow li,
.wp-block-list.is-style-sme-list-check li,
.wp-block-list.is-style-sme-list-remark li,
.wp-block-list.is-style-sme-list-times li,
.wp-block-list.is-style-sme-ordered-list-circle li,
.wp-block-list.is-style-sme-ordered-list-square li {
  padding-left: 0;
  background: none;
}
:root :where(.wp-block-list.is-style-sme-list-arrow) :where(li):before {
  top: calc(var(--_half-leading) * 1rem + 6px) !important;
}
:root :where(.wp-block-list.is-style-sme-list-arrow) :where(li):after {
  top: calc(var(--_half-leading) * 1rem + 8px) !important;
}
:root :where(.wp-block-list.is-style-sme-list-check) :where(li):before {
  top: calc(var(--_half-leading) * 1rem + 5px) !important;
}
:root :where(.wp-block-list.is-style-sme-list-times) :where(li):before {
  top: calc(var(--_half-leading) * 1rem + 10px) !important;
}
:root :where(.wp-block-list.is-style-sme-list-times) :where(li):after {
  top: calc(var(--_half-leading) * 1rem + 10px) !important;
}
:root
  :where(.wp-block-list.is-style-sme-ordered-list-circle)
  :where(li):before {
  top: calc(var(--_half-leading) * 1rem / 1) !important;
}
:root
  :where(.wp-block-list.is-style-sme-ordered-list-square)
  :where(li):before {
  top: calc(var(--_half-leading) * 1rem / 1) !important;
}

.post ol {
  margin: 0 0 10px 0;
}

.post
  ol.wp-block-list:not(.is-style-sme-ordered-list-circle):not(
    .is-style-sme-ordered-list-square
  ) {
  counter-reset: item;
}

.post
  ol.wp-block-list:not(.is-style-sme-ordered-list-circle):not(
    .is-style-sme-ordered-list-square
  )
  li {
  list-style: "";
  counter-increment: item;
  padding-inline-start: 1em;
}

.post
  ol.wp-block-list:not(.is-style-sme-ordered-list-circle):not(
    .is-style-sme-ordered-list-square
  )
  li::before {
  content: counter(item) ".";
  margin-inline-start: -1em;
}

.post table {
  border: 1px #ccc solid;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 10px 0 20px;
  font-size: 14px;
  line-height: 2em;
}
.post table th {
  padding: 10px;
  border: #ccc solid;
  border-width: 0 0 1px 1px;
  background: #fcfcfc;
}
.post table td {
  padding: 10px;
  border: 1px #ccc solid;
  border-width: 0 0 1px 1px;
}
.post table td p {
  margin-bottom: 0;
}
.post dt {
  font-weight: bold;
}
.post dd {
  padding-bottom: 10px;
}
.post img {
  max-width: 100%;
  height: auto;
}
/* 特徴用 */
.d-block {
  display: block;
}
.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
.col-12 {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 100%;
  -flexs-flex: 0 0 100%;
  max-width: 100%;
}
.bg-white {
  background-color: #fff !important;
}
.position-relative {
  position: relative;
}
.ml20 {
  margin-left: 10px !important;
}
.mb20 {
  margin-bottom: 20px !important;
}
.mb40 {
  margin-bottom: 40px !important;
}
.pt20 {
  padding-top: 20px !important;
}
.pt30 {
  padding-top: 30px !important;
}
.px15 {
  padding-left: 15px !important;
  padding-right: 15px !important;
}
.px30 {
  padding-left: 30px !important;
  padding-right: 30px !important;
}
.mb20 {
  margin-bottom: 20px !important;
}
.lh13 {
  line-height: 1.6 !important;
  font-size: 18px;
}

@media screen and (max-width: 767px) {
  .lh13 {
    line-height: 1.6 !important;
    font-size: 16px;
  }
}

.fz-md-18rem {
  font-size: 1.8rem !important;
}

@media screen and (max-width: 767px) {
  .fz-md-18rem {
    font-size: 1.3rem !important;
  }
}

.align-items-center {
  align-items: center;
}
.d-flex {
  display: flex;
}
.d-md-none {
  display: none;
}
.d-block {
  display: block;
}
.font-weight-bold {
  font-weight: 700 !important;
}
.fz05vw {
  font-size: 5vw !important;
}
.fz-md-18rem {
  font-size: 1.8rem !important;
}

@media screen and (max-width: 767px) {
  .fz-md-18rem {
    font-size: 1.3rem !important;
  }
}

.text-left {
  text-align: left !important;
}
.text-secondary {
  color: #002669 !important;
  font-weight: bold;
}
.text-center {
  text-align: center !important;
}
/* ---特徴用ここまで--- */

/* タイトルデザイン（脱・下線のみ） */
.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.section-title span {
  display: block;
  font-size: 14px;
  color: #16a893;
  margin-bottom: 10px;
  font-family: Arial, sans-serif;
  letter-spacing: 0.1em;
}

/* --- Flow --- */
.flow-section {
  background-color: #dfefec;
} /* 柔らかい色 */
.flow-list {
  display: flex;
  justify-content: space-between;
  position: relative;
}
/* 矢印ライン */
.flow-list::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ddd;
  z-index: 0;
}
.flow-item {
  background: #fff;
  width: 22%;
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.flow-step {
  background: #16a893;
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 15px;
}
.flow-head {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}
.flow-text {
  font-size: 13px;
  color: #666;
}

/* --- スマホ表示（767px以下）の調整 --- */
@media screen and (max-width: 767px) {
  /* 1. 横並びを縦並びに変更 */
  .flow-list {
    flex-direction: column;
    align-items: center; /* 中央寄せ */
    gap: 40px; /* ステップ間の隙間 */
  }

  /* 2. PC用の横線を隠す */
  .flow-list::before {
    display: none;
  }

  /* 3. アイテムの横幅を100%にする */
  .flow-item {
    width: 100%;
    max-width: 400px; /* 広がりすぎ防止（お好みで） */
    padding: 30px 20px;
  }

  /* 4. ステップ間に下向きの矢印（任意） */
  .flow-item:not(:last-child)::after {
    content: "▼";
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: #16a893;
    font-size: 20px;
  }
}

/* --- スプリットバナー全体の調整 --- */
.split-banner-section {
  display: flex;
  width: 100%;
  min-height: 300px; /* PCでの高さ */
}

/* 各バナーの基本設定 */
.banner-item {
  flex: 1; /* 50%ずつに分ける */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}

/* 左側：司法書士（画像URLと青いオーバーレイ） */
.shihoshoshi {
  background-image:
    linear-gradient(rgba(22, 107, 147, 0.8), rgba(22, 107, 147, 0.8)),
    url("画像のURLをここに入れる");
}

/* 右側：行政書士（画像URLと緑のオーバーレイ） */
.gyoseishoshi {
  background-image:
    linear-gradient(rgba(22, 168, 147, 0.8), rgba(22, 168, 147, 0.8)),
    url("画像のURLをここに入れる");
}

/* 中の文字エリア */
.banner-inner {
  z-index: 2;
}

.banner-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 0.1em;
}

.banner-subtext {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* ボタンのデザイン */
.banner-btn {
  display: inline-block;
  background-color: #fff;
  color: #333;
  padding: 10px 40px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.banner-btn:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

/* --- スマホ表示（縦に並べる） --- */
@media screen and (max-width: 767px) {
  .split-banner-section {
    flex-direction: column;
  }
  .banner-item {
    width: 100%;
  }
  .banner-title {
    font-size: 22px;
  }
}

/* 左側：司法書士（コピーしたURLを ' ' の中に貼り付け） */
.shihoshoshi {
  background-image:
    linear-gradient(rgba(22, 107, 147, 0.8), rgba(22, 107, 147, 0.8)),
    url("https://amagasaki-shiho.com/wp-content/uploads/2026/02/AdobeStock_405749353_700px.jpg");
}

/* 右側：行政書士（コピーしたURLを ' ' の中に貼り付け） */
.gyoseishoshi {
  background-image:
    linear-gradient(rgba(22, 168, 147, 0.8), rgba(22, 168, 147, 0.8)),
    url("https://amagasaki-shiho.com/wp-content/uploads/2026/02/AdobeStock_165240151.jpg");
}

/* お問い合わせエリア全体の背景と文字配置 */
.contact-section {
  background-color: #e6f2f0;
  text-align: center;
  padding: 60px 20px;
  color: #333;
}

.contact-section h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.contact-section .subtitle {
  font-size: 0.9rem;
  margin-bottom: 40px;
  color: #555;
}

/* 電話番号エリア */
.phone-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #55a89e;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 5px;

  /* ↓ これを追加（リンクの下線を消す） */
  text-decoration: none;
  /* ↓ これを追加（タップしやすいようにアニメーション準備） */
  transition: opacity 0.3s ease;
}

/* ↓ これを追加（指で触れたり、マウスが乗ったりした時に少しフワッとさせる） */
.phone-number:hover {
  opacity: 0.7;
}

.hours {
  font-size: 0.85rem;
  color: #555;
}

/* 区切り線 */
.divider {
  border: none;
  border-top: 1px solid #ccc;
  width: 60%;
  max-width: 400px;
  margin: 0 auto 20px auto;
}

.form-lead {
  font-size: 0.9rem;
  margin-bottom: 15px;
  color: #555;
}

/* 立体的なオレンジのボタン */
.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #fca048;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 15px 40px;
  border-radius: 5px;
  box-shadow: 2px 4px 0px #348a7f;
  /* 色の透過度だけを滑らかに変化させる */
  transition: opacity 0.3s ease;
}

/* マウスを乗せた時（ホバー時）の動き */
.btn-contact:hover {
  opacity: 0.8; /* 少しだけ明るく（薄く）する */
}

/* サイドバー */
.side2 section {
  margin-bottom: 1em;
}
.side2 section.widget h3 {
  margin-bottom: 0px;
  margin-top: 0;
  padding: 0px;
  background-color: none;
  border: none;
  border: solid 1px #5ab5b2;
  text-align: center;
}
.side2 section.widget h3 span {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  padding: 10px 10px 10px 10px;
  display: block;
  background-color: #5ab5b2;
}
.side2 section.widget ul {
  margin: 0px auto 10px;
  border-left: solid 1px #dfefec;
  border-right: solid 1px #dfefec;
  border-bottom: solid 1px #dfefec;
  background-color: #dfefec;
}
.side2 section.widget ul ul,
.side2 section.widget ul ul ul {
  border: none;
  padding-left: 10px;
  padding-right: 5px;
  margin-bottom: 0;
}
.side2 section.widget ul li {
  padding: 0px;
  border-bottom: solid 1px #5ab5b2;
  margin-left: 10px;
  margin-right: 10px;
}
.side2 section.widget ul li a span {
  display: inline;
}
.side2 section.widget ul li a br {
  display: none;
}
.side2 section.widget ul ul li,
.side2 section.widget ul ul ul li {
  border-bottom: none;
  margin-left: 0;
}
.side2 section.widget ul li:last-child {
  border-bottom: none;
}
.side2 section.widget ul li a {
  color: #333;
  font-size: 15px;
  display: block;
  padding: 9px 0 10px 25px;
  border-bottom: none;
  background-image: url("images/list2.svg");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: 5px center;
  font-weight: normal;
  line-height: 1.4;
}
.side2 section.widget ul li a:hover {
  outline: none;
  color: #5ab5b2;
  text-decoration: underline;
}
.side2 section.widget ul ul li a,
.side2 section.widget ul ul ul li a {
  background: none;
  position: relative;
}
.side2 section.widget ul ul li a::before,
.side2 section.widget ul ul ul li a::before {
  font-family: "Material Icons";
  content: "chevron_right";
  color: #0066ff;
  font-size: 18px;
  position: absolute;
  left: 6px;
  margin-top: -1px;
  top: 25%;
}
/* フッター*/
#footer {
  clear: both;
  padding: 10px 0 0;
  color: #fff;
  font-size: 14px;
  background-color: #5ab5b2;
}
#footer .inner {
  overflow: hidden;
  max-width: 1000px;
  margin: 0px auto;
  padding-top: 70px;
  padding-bottom: 70px;
}
#footer .inner a img {
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 6px 4px;
  -webkit-box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;
  -moz-box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;
}
#footer ul {
  margin-left: 0px;
  overflow: hidden;
}
#footer address {
  padding: 20px 0;
  text-align: center;
  font-style: normal;
  font-size: 13px;
  clear: both;
  display: block;
  color: #fff;
  background-color: #5ab5b2;
}
@media screen and (max-width: 767px) {
  #footer address {
    margin-bottom: 50px;
  }
}

/*フッターメニュー追加*/
#footer ul {
  display: flex;
  justify-content: center;
  max-width: 1000px;
  margin: 0px auto 0;
  height: auto;
  width: 96%;
}
#footer ul li {
  list-style: none;
  padding-left: 0;
  width: auto;
}
#footer ul ul,
#footer ul ul ul {
  width: 100%;
  padding-left: 10px;
  display: grid;
  justify-content: left;
  text-align: left;
}
#footer ul ul li,
#footer ul ul ul li {
  width: 100%;
  list-style: circle inside;
  font-size: 12px;
  padding-top: 5px;
}
#footer ul li a {
  border-right: solid 1px #333;
  padding: 5px 15px;
  color: #333;
}
#footer ul li:last-child a {
  border-right: none;
}
#footer ul li a:hover {
  text-decoration: underline;
}
#footer ul li a span {
  display: inline;
}
#footer ul li a br {
  display: none;
}
#footer ul ul li a,
#footer ul ul ul li a {
  border-right: none;
  padding-right: 0;
  padding-left: 0;
  background-image: none;
}

#footer-widget {
  margin: 0 auto;
  padding: 85px 0;
  width: 95%;
  max-width: 1000px;
  display: flex;
  flex-wrap: wrap;
}

@media screen and (max-width: 767px) {
  #footer-widget {
    display: block;
    padding: 30px 0 50px;
  }
}

#footer-widget .widget {
  width: 31%;
}

@media screen and (max-width: 767px) {
  #footer-widget .widget {
    width: 100%;
  }
}

#nav_menu-17,
#nav_menu-18,
#categories-3 {
  margin-left: 0px;
}

@media screen and (max-width: 767px) {
  #nav_menu-17,
  #nav_menu-18,
  #categories-3 {
    margin-left: 0;
  }
}

#text-4 {
  margin-top: 30px;
}

#footer-widget .widget-title {
  padding: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #626568;
  border-bottom: dashed 2px #626568;
}

@media screen and (max-width: 767px) {
  #footer-widget .widget-title {
    margin-top: 20px;
  }
}

#footer-widget .menu,
#footer-widget .cat-item-none,
#footer-widget .textwidget {
  margin-top: 15px;
}

#footer-widget .menu-item a,
#footer-widget .cat-item-none,
#footer-widget .textwidget {
  font-size: 17px;
  color: #29646a;
  padding-left: 15px;
}

#footer-widget .menu-item a {
  position: relative;
}

#footer-widget .menu-item a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(45deg);
}

/* ページナビ */
.pagenav {
  clear: both;
  width: 100%;
  height: 30px;
  margin: 5px 0 20px;
}
.pagenav .prev {
  float: left;
}
.pagenav .next {
  float: right;
}
#pageLinks {
  clear: both;
  color: #4f4d4d;
  text-align: center;
}
#page-top {
  position: fixed;
  bottom: 0px;
  display: block;
  margin: 0;
  right: 0px;
  width: 100%;
}
#page-top .pagetop_text2 {
  text-align: center;
  float: right;
  opacity: 0.7;
  filter: alpha(opacity=70);
  width: 60px;
  height: 60px;
  background-color: #333;
  margin-bottom: 10px;
  margin-right: 10px;
  border: solid 1px #fff;
}
#page-top .pagetop_text2 a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  display: block;
}
#page-top .pagetop_text2 a span {
  font-size: 46px;
  line-height: 60px;
}
#page-top .contact {
  display: none;
}
#page-top .contact_pc {
  background-color: #fff;
  padding: 10px 0;
  height: auto;
  width: auto;
  border-top: 3px solid #002669;
  clear: both;
  display: block;
  overflow: hidden;
}
#page-top .contact_pc li {
  width: 32%;
  padding-right: 2%;
  text-align: center;
  float: left;
}
#page-top .contact_pc li:last-child {
  padding-right: 0;
}
#page-top .contact_pc a {
  text-decoration: none;
}
/*メニュー*/
.main-navigation {
  height: 70px;
  width: 100%;
  margin-bottom: 0px;
  margin-top: 20px;
  clear: both;
  display: block;
  background-color: #5ab5b2;
}
.main-navigation ul {
  max-width: 1000px;
  margin: 0px auto;
  padding: 0px;
  display: none;
  list-style: none;
  height: 70px;
  background-color: #5ab5b2;
}
.main-navigation ul ul {
  box-shadow: none;
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
  width: 200px;
  background-color: #fff;
}
.main-navigation ul ul ul {
  left: -999em;
  top: 10%;
  right: -100%;
  background-color: #fff;
}
.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
  background-color: #fff;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
  display: block;
}
.main-navigation li {
  position: relative;
  text-align: center;
  border-right: solid 1px #fff;
  width: 100%;
}
.main-navigation li:last-child {
  border-right: none;
}
.main-navigation .sub-menu {
  border-bottom: solid 1px #fff;
}
.main-navigation .sub-menu li {
  text-align: left;
  border-top: solid 1px #fff;
  border-left: solid 1px #fff;
  border-right: solid 1px #fff;
  width: auto;
  background-color: #fff;
}
.main-navigation .sub-menu li:last-child {
  border-bottom: solid 1px #fff;
}
.main-navigation .sub-menu li a {
  color: #5ab5b2;
  width: auto;
  padding: 0px 0px;
}
.main-navigation li:hover,
.main-navigation .sub-menu li:hover {
  background-color: #dfefec;
}
.main-navigation a {
  text-decoration: none;
  color: #fff;
  font-size: 17px;
  line-height: 1.4;
  align-items: center;
  display: flex;
  height: 70px;
  justify-content: center;
  text-align: center;
}
.main-navigation a:hover {
  cursor: pointer;
  color: #5ab5b2;
}
.main-navigation .sub-menu a:hover {
  cursor: pointer;
  color: #5ab5b2;
}
.main-navigation a span {
  display: block;
}
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}
/* PC用 */
@media only screen and (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
  .main-navigation ul {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /*サイドのバナー固定*/
  .fixed {
    position: fixed;
    top: 60px;
  }
  /*PCメニュー固定*/
  .fixed2 {
    position: fixed;
    top: 0px;
    z-index: 1000;
    box-shadow: rgba(0, 0, 0, 0.5) 2px 2px 3px 0px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.5) 2px 2px 3px 0px;
    -moz-box-shadow: rgba(0, 0, 0, 0.5) 2px 2px 3px 0px;
    margin-top: 0;
  }
}
@media only screen and (max-width: 767px) {
  .pc_only {
    display: none;
  }
  body {
    font-size: 15px;
  }
  #site-navigation {
    display: none;
  }
  #wrapper {
    width: 100%;
  }
  .inner {
    width: 96%;
    margin: auto;
  }
  .left,
  .right {
    clear: both;
    text-align: center;
    display: block;
    margin: auto auto 10px;
    float: none;
  }
  #header {
    width: 100%;
    padding: 10px 2%;
  }
  #header img {
    max-width: 100%;
  }
  #header .sp_header {
    width: 100%;
    margin-bottom: 15px;
  }
  #header .sp_header th {
    text-align: center;
    vertical-align: middle;
    width: 80%;
  }
  #header .sp_header td {
    text-align: center;
    vertical-align: middle;
    width: 20%;
  }
  #header .sp_header h1 {
    width: 90%;
    margin: auto;
  }
  #header .sp_header_text {
    text-align: center;
    font-size: 11px;
  }
  #header .sp_header .btn {
    display: block;
    height: 50px;
    position: relative;
    cursor: pointer;
    z-index: 200;
    width: 60px;
    background-color: #5ab5b2;
    text-decoration: none;
    margin: auto;
    border: solid 1px #5ab5b2;
  }
  #header .sp_header .btn::before {
    font-family: "Material Icons";
    content: "dehaze";
    line-height: 50px;
    color: #fff;
    font-size: 38px;
  }
  #header .sp_header .peke::before {
    font-family: "Material Icons";
    content: "close";
    line-height: 50px;
    color: #002669;
    font-size: 38px;
  }
  #header .sp_header .menu-toggle {
    display: block;
    background: none;
    border: none;
    margin: 10px auto 0;
  }
  #header .sp_header .drawr {
    display: none;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100%;
    padding: 80px 0px 20px 0px;
    z-index: 100;
    height: auto;
    overflow: hidden;
  }
  #header .sp_header #menu {
    margin: 0;
    padding: 0;
    padding-top: 6em;
  }
  #header .sp_header #menu ul li {
    width: auto;
    list-style: none;
    text-align: left;
    border-top: 1px solid #fff;
  }
  #header .sp_header #menu ul li a {
    font-family: "Sawarabi Mincho";
    font-weight: 500;
    color: #fff;
    display: block;
    padding: 15px 5px 15px 20px;
    letter-spacing: 0.1em;
  }
  #header .sp_header #menu ul ul {
    padding-left: 30px;
  }
  #header .sp_header #menu ul ul li {
    border-top: none;
  }
  #header .sp_header #menu ul ul li::before {
    content: "-";
    color: #fff;
    float: left;
    padding-top: 13px;
  }
  #mainimg {
    width: 95%;
    margin: 10px auto 10px;
  }
  .sub_main {
    background-image: url("images/sub_main_sp.jpg");
    background-size: contain;
    line-height: 1.4;
  }
  .sub_main h1 {
    font-size: 22px;
    min-height: 100px;
  }
  #content h2,
  #content h2.pagetitle {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 20px;
    padding: 11px 5px 15px 12px;
  }
  #content h3 {
    font-size: 18px;
    line-height: 1.3;
    padding: 10px 10px 5px;
    margin-bottom: 10px;
  }
  #content h4 {
    font-size: 16px;
    line-height: 1.3;
    padding: 10px 10px 5px;
    margin-bottom: 10px;
  }
  #content,
  #sidebar,
  #content.content_lp {
    clear: both;
    width: 95%;
    float: none;
    margin: 0 auto;
    padding: 10px 0;
  }
  .top_block1 h2 {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .top_block1 h2 span {
    display: block;
  }
  .top_block1 h2:before,
  .top_block1 h2:after {
    display: none;
  }
  .top_block1 ul.banner_a {
  }
  .top_block1 ul.banner_a li {
    float: none;
    margin-bottom: 15px;
    width: 100%;
    margin-right: 0%;
  }
  .top_block1 ul.banner_b {
    display: block;
  }
  .top_block2 {
    padding-top: 2em;
    padding-bottom: 2em;
  }
  .top_block2 h2 {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .top_block2 h2 span {
    display: block;
  }
  .top_block2 .left {
    width: 100%;
    margin-right: 0%;
  }
  .top_block2 .right {
    width: 100%;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
  }
  .top_block2 h2:before,
  .top_block2 h2:after {
    display: none;
  }

  #footer ul {
    display: block;
    width: 80%;
  }
  #footer li {
    margin-bottom: 10px;
  }
  #footer ul li a {
    border-right: none;
    background-image: url(images/list2_sp.svg);
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: 10px center;
    padding-left: 25px;
  }
  #footer address {
    padding-bottom: 12em;
    padding-top: 10px;
    padding-left: 1em;
    padding-right: 1em;
  }
  #page-top .contact_pc {
    display: none;
  }
  #page-top .contact {
    background-color: #fff;
    padding: 2% 0% 2% 2%;
    height: auto;
    width: auto;
    border-top: 3px solid #002669;
    clear: both;
    display: block;
  }
  #page-top .contact img {
    width: 32%;
    padding-right: 2%;
  }
  #page-top .contact img:last-child {
    padding-right: 0;
  }
  #page-top .contact a {
    text-decoration: none;
  }
}
@media only screen and (max-width: 644px) {
  figure {
    clear: both;
    line-height: 0;
    text-align: center;
    z-index: 0;
    width: 95%;
    height: auto;
    margin: 0px auto 20px;
  }
  img.alignright,
  img.alignleft {
    display: block;
    margin: 5px auto;
  }
  .alignright,
  .alignleft {
    float: none;
  }
  #footer address {
    font-size: 12px;
    padding-bottom: 2em;
  }
}

/* ======================================================
// footerデザイン変更
// ====================================================== */
#footer {
  padding: 24px 0 clamp(80px, calc(80 / 375 * 100vw), 148px) 0;
}

#footer .inner {
  padding-block: 0;
}

#footer address {
  all: revert-layer;
}

.footer-wrap p {
  margin-bottom: 0;
  line-height: 1.5;
}

.footer-wrap {
  display: grid;
  row-gap: 32px;
}

.footer-contents-left {
  display: grid;
  row-gap: 32px;
}

.footer-office-name {
  font-size: 21px;
  font-weight: bold;
  line-height: 1.5;
  margin-block-start: 24px;
}

#footer .footer-wrap address {
  font-size: 14px;
  font-style: normal;
}

.footer-wrap address .footer-tel {
  margin-block-start: 32px;
}

.footer-map {
  display: grid;
  align-items: center;
}

iframe[src*="www.google.com/maps/embed"] {
  aspect-ratio: 16 / 9;
  inline-size: 100%;
  block-size: auto;
}

.footer-menu-wrap {
  margin-block-start: 32px;
  padding-block-start: 24px;
  padding-block-end: 32px;
  border-block-start: 1px solid #fff;
}

#footer #footer-menu {
  margin-inline: 0;
}

#footer #footer-menu li a {
  color: #fff;
}

.footer-copyright {
  font-size: 10px;
  display: block;
  inline-size: fit-content;
  margin-inline: auto;
}

@media (width >= 768px) {
  #footer {
    padding: 56px 0 24px 0;
  }

  .footer-wrap {
    grid-template-columns: 44% 1fr;
    column-gap: 88px;
    padding-inline: 16px;
  }

  .footer-map {
    align-self: start;
  }

  .footer-office-name {
    font-size: 30px;
    margin-block-start: 0;
  }

  #footer .footer-wrap address {
    font-size: 16px;
  }

  .footer-service-area {
    font-size: 16px;
  }

  iframe[src*="www.google.com/maps/embed"] {
    aspect-ratio: 442 / 282;
  }

  .footer-menu-wrap {
    max-inline-size: 1000px;
    margin-inline: auto;
    padding-block-start: 32px;
  }

  #footer ul li a {
    border-right: solid 1px #fff;
  }

  .footer-copyright {
    font-size: 14px;
    margin-block-start: 32px;
  }
}

/* ======================================================
// header.php ※SEO対策
// ====================================================== */
#header {
  all: revert;
  padding-block-start: 16px;
}

#header .sp_header .menu-toggle.btn {
  margin: 0;
  padding: 0;
  background: #5ab5b2;
}

#header .sp_header {
  margin-bottom: 0;
}

#header .sp_header .menu-toggle {
  background: #fff;
  border: solid 1px ##5ab5b2;
}

.is-sp-only {
  text-align: center;
}

.is-pc-only {
  display: none;
}

.header__column-2 {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  justify-items: center;
  gap: 16px;
}

.header__cta {
  margin-block-start: 16px;
}

.header__cta.is-sp-only img {
  inline-size: 100%;
}

@media (width > 767px) {
  .is-pc-only {
    display: block;
  }

  .is-sp-only {
    display: none;
  }

  .sp_header {
    display: none;
  }

  .header__site-title {
    font-size: 14px;
  }

  .header__title {
    justify-self: start;
  }

  .header__column-2 {
    grid-template-columns: 1fr 340px;
    margin-block-start: 16px;
  }

  .header__cta {
    margin-block-start: 0;
  }
}

/* ======================================================
// sidebar.php
// ====================================================== */
#sidebar img {
  width: 100%;
}

/* ======================================================
// page.php, single.php
// ====================================================== */
.sub_main {
  background-size: cover;
}

#sidebar {
  float: none;
}

#content {
  float: none;
  width: 95%;
}

.sub_main .post-title {
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  display: flex;
  align-items: center;
  height: inherit;
  padding-block: 16px;
  min-block-size: 100px;
  text-shadow: 2px 2px 4px #364f4e;
}
@media (width > 767px) {
  .sub_main .post-title {
    padding-block: 24px;
    font-size: 30px;
    min-block-size: 150px;
  }
}

.post-title {
  max-width: 1000px;
  margin-inline: auto;
  inline-size: 95%;
}

/* --- 768px以上は2カラム ---*/
.post-column-2 {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
}

@media (width > 767px) {
  .post-column-2 {
    grid-template-columns: 1fr minmax(0, 700px);
    column-gap: 16px;
  }

  #sidebar {
    order: 1;
    justify-self: start;
  }

  #content {
    order: 2;
    width: 100%;
  }
}

/* ======================================================
// archive.php
// ====================================================== */
.archive-post-title {
  color: inherit;
}

/* ======================================================
// 404.php
// ====================================================== */
.not-found-title {
  text-align: center;
  font-size: 20px;
}

@media (width > 767px) {
  .not-found-title {
    font-size: 28px;
  }
}

/* ======================================================
// パンくずリスト
// ====================================================== */
#content .breadcrumb {
  overflow: hidden;
  margin-bottom: 5px;
}
#content .breadcrumb span {
  float: left;
  font-size: 14px;
  margin-bottom: 0;
}
#content .breadcrumb span:not(:last-child)::after {
  font-family: "Material Icons";
  content: "chevron_right";
  color: #3858a1;
  font-size: 14px;
  vertical-align: middle;
  padding-right: 3px;
  padding-left: 3px;
}

/* ======================================================
// index.php
// ====================================================== */
/* --- 選ばれる理由 --- */
.pc-only {
  display: none;
}

@media (width > 767px) {
  .sp-only {
    display: none;
  }

  .pc-only {
    display: block;
  }
}

.top-consultation-column-3 {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  gap: 24px;
}
@media (width > 767px) {
  .top-consultation-column-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.top-consultation-column-3 a {
  display: block;
}

.top-consultation-column-3 img {
  display: block;
  inline-size: 100%;
}

/* --- 司法書士・行政書士 --- */
.split-banner-section {
  display: grid;
  grid-template-columns: 1fr;
  width: auto;
}
@media (width > 767px) {
  .split-banner-section {
    grid-template-columns: repeat(2, 1fr);
  }
}
