@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: #3d99a8;
}
a:hover {
  outline: none;
  color: #086977;
  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: #3D99A8;
  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: #fff;
  font-size: 30px;
  font-weight: bold;
  display: flex;
  align-items: center;
  height: inherit;
  min-height: 150px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.sub_main h2 {
  position: relative;
    padding: .5em .7em;
    background-color: #28a5b2;
    color: #fff;
}

.sub_main h2:before {
    position: absolute;
    top: 100%;
    left: 0;
    border-bottom: solid 10px transparent;
    border-right: solid 20px #1895a2;
    content: '';
}

#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;

  /* --- リボンデザインのメインカラー --- */
  position: relative;
  background: #3D99A8; /* 水色 */
  border-bottom: none; /* 元のボーダーを削除 */
}

/* 左下の折り返しパーツ */
#content h2::before {
  content: '';
  position: absolute;
  top: 100%; /* 見出しのすぐ下に配置 */
  left: 0;
  width: 0;
  height: 0;
  /* 三角形を作成（右向きの三角形で影を表現） */
  border-top: 10px solid #3B8489; /* 指定の色 */
  border-left: 10px solid transparent;
  display: block !important; /* 他の打ち消し設定を上書き */
}

/* --- 特殊設定（元のCSSを継承） --- */
#content h2.pagetitle {
  margin-top: 0px;
}

#content h2:first-child {
  margin-top: 0;
}

/* pagetitleなどのクラスで擬似要素を消す設定が元コードにあった場合、リボンを表示させるために上書き */
#content h2.sub_title::before,
#content h2.pagetitle::before {
  display: block;
}
#content h3 {
  color: #3D99A8;
  font-size: 26px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  width: auto;
  padding: 0.5em;
  background: #DBEBEB; /*背景色*/
  border-bottom: 6px solid #3D99A8;
}
#content h4 {
  color: #3D99A8;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  padding: 0 0.5em;
  border-bottom: 3px dotted #3D99A8;
}
#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_DDEDED {
  background-color: #DDEDED;
}
.top_block1 {
  padding-top: 2em;
  padding-bottom: 5em;
}
.top_block1 {
  padding-top: 2em;
  padding-bottom: 2em;
}
.top_block1 h2 {
  text-align: center;
  font-weight: bold;
  font-size: 32px;
  color: #333;
  line-height: 52px;
  letter-spacing: 3px;
  position: relative;
  display: block;
  padding: 0 55px;
  margin-bottom: 1.5em;
}
.top_block-1 {
  padding-top: 2em;
  padding-bottom: 2em;
  margin-bottom: 2em;
}
.top_block1 h2 {
  text-align: center;
  font-weight: bold;
  font-size: 32px;
  color: #333;
  line-height: 52px;
  letter-spacing: 3px;
  position: relative;
  display: block;
  padding: 0 55px;
  margin-bottom: 1.5em;
}
/* 見出し：他の要素を邪魔しないように設定 */
.top_block_1 h2 {
    position: relative;
    display: block;        /* inline-blockから変更 */
    width: fit-content;    /* 文字幅に合わせる（最新の書き方） */
    margin: 0 auto 50px;   /* 上0、左右中央、下50pxの余白を確実に作る */
    padding-bottom: 10px;
    color: #333;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
}

/* 下の直線 */
.top_block_1 h2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;           /* 線の長さ */
    height: 3px;
    background-color: #3d99a8;
}

/* V字の折れ曲がり */
.top_block_1 h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    margin-left: -25px;    /* V字を少し左へ */
    width: 12px;
    height: 12px;
    border-left: 3px solid #3d99a8;
    border-bottom: 3px solid #3d99a8;
    background-color: #fff;
    transform: rotate(-45deg);
    z-index: 1;            /* 他の要素より上に表示 */
}

/* バナー部分：回り込みを防止して並べる */
.banner_a, .banner_b {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0 auto 30px;
    clear: both;           /* 【重要】上の要素の回り込みを強制解除 */
}


/* スマホの時は縦並びにする */
@media (max-width: 768px) {
    .banner_a {
        flex-direction: column;
        align-items: center;
    }
}
@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;
  }
}

.top_block1 ul.banner_a {
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 767px) {
  .top_block1 ul.banner_a {
    display: block;
  }
}
.top_block1 ul.banner_a li {
  margin-bottom: 15px;
  width: 32%;
}
@media screen and (max-width: 767px) {
  .top_block1 ul.banner_a 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;
  }
}

.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: #3D99A8 !important;
  font-weight: bold;
}
.text-center {
  text-align: center !important;
}
/* ---特徴用ここまで--- */
/* サイドバー */
.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 #3D99A8;
  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: #3D99A8;
}
.side2 section.widget ul {
  margin: 0px auto 10px;
  border-left: solid 1px #DBEBEB;
  border-right: solid 1px #DBEBEB;
  border-bottom: solid 1px #DBEBEB;
  background-color: #DBEBEB;
}
.side2 section.widget ul ul,
.side2 section.widget ul ul ul {
  border: none;DBEBEB
  padding-left: 10px;
  padding-right: 5px;
  margin-bottom: 0;
}
.side2 section.widget ul li {
  padding: 0px;
  border-bottom: solid 1px #3D99A8;
  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: #002669;
  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: #3D99A8;
}
#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: #3B8489;
}
@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 #fff;
  padding: 5px 15px;
  color: #fff;
}
#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: 25px;
}

@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: #3D99A8;
}
.main-navigation ul {
  max-width: 1000px;
  margin: 0px auto;
  padding: 0px;
  display: none;
  list-style: none;
  height: 70px;
  background-color: #3D99A8;
}
.main-navigation ul ul {
  box-shadow: none;
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
  width: 200px;
  background-color: #3D99A8;
}
.main-navigation ul ul ul {
  left: -999em;
  top: 10%;
  right: -100%;
  background-color: #3D99A8;
}
.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
  background-color: #3D99A8;
}
.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: #3D99A8;
}
.main-navigation .sub-menu li:last-child {
  border-bottom: solid 1px #fff;
}
.main-navigation .sub-menu li a {
  color: #fff;
  width: auto;
  padding: 0px 0px;
}
.main-navigation li:hover,
.main-navigation .sub-menu li:hover {
  background-color: #DBEBEB;
}
.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: #333;
}
.main-navigation .sub-menu a:hover {
  cursor: pointer;
  color: #333;
}
.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: #fff;
    text-decoration: none;
    margin: auto;
    border: solid 1px #3B8489;
  }
  #header .sp_header .btn::before {
    font-family: "Material Icons";
    content: "dehaze";
    line-height: 50px;
    color: #3B8489;
    font-size: 38px;
  }
  #header .sp_header .peke::before {
    font-family: "Material Icons";
    content: "close";
    line-height: 50px;
    color: #3B8489;
    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;
    width: fit-content; 
    margin-left: auto;
    margin-right: auto;
  }
  .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;
  }
}

/* ======================================================
// CTA
// ====================================================== */
.cta-bg-white {
  background-color: #fff;
  border-radius: 20px;
  padding: 16px;
  margin-block-end: 40px;
}
.cta-title {
  color: #333;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 0;
}

.cta-contents-title {
  background-color: #efefef;
  color: #333;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  padding: 8px;
  margin-bottom: 0;
}

.cta-contents-wrap-pc {
  display: none;
}

.cta-contents-tel,
.cta-contents-mail,
.cta-free-consultation {
  padding-block: 24px;
  display: grid;
  row-gap: 16px;
}

.cta-contents-tel {
  border-block: 4px dotted #3b8489;
}

.cta-contents-mail {
  border-block-end: 4px dotted #3b8489;
}

.cta-contents-tel-link {
  min-block-size: 96px;
  block-size: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ddeded;
  padding: 8px 16px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 4px 4px 0 rgb(12 68 71 / 80%);
  transition: box-shadow 0.3s ease;
}

.cta-contents-tel-number {
  font-size: 34px;
  color: #3d99a8;
  font-weight: bold;
  margin-bottom: 0;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: calc(1em / 4);
}

.cta-contents-tel-time {
  line-height: 1.5;
}

.cta-contents-tel-number::before {
  content: "";
  display: inline-block;
  background: url(./images/icon_tel.svg) center / contain no-repeat;
  inline-size: 1em;
  aspect-ratio: 1;
}

.cta-contents-tel-time {
  color: #333;
  margin-bottom: 0;
}

.cta-contents-mail-link {
  min-block-size: 96px;
  block-size: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: max(calc(1em / 4), 8px);
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  padding: 8px 16px;
  background-color: #3d99a8;
  border-radius: 16px;
  box-shadow: 4px 4px 0 rgb(12 68 71/ 80%);
  transition: box-shadow 0.3s ease;
}

.cta-contents-tel-link:hover {
  text-decoration: none;
  box-shadow: 0 0 0 rgb(12 68 71/ 80%);
}

.cta-contents-mail-link:hover {
  text-decoration: none;
  color: #fff;
  box-shadow: 0 0 0 rgb(12 68 71/ 80%);
}

.cta-contents-mail-link::before {
  content: "";
  display: inline-block;
  inline-size: 1.5em;
  aspect-ratio: 49 / 35;
  background: url(./images/icon_mail.svg) center / contain no-repeat;
}

.cta-free-consultation {
  display: grid;
  justify-items: center;
  align-items: center;
  row-gap: 16px;
}

.cta-free-consultation p {
  margin-bottom: 0;
}

.cta-free-consultation p:first-child {
  background-color: #ffa04a;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  display: inline-block;
  inline-size: 80%;
  padding: 16px 24px;
  margin-inline: auto;
  border-radius: 45px;
  box-shadow: 3px 3px 0 rgb(124 63 3 / 80%)
}

.cta-free-consultation-desc {
  color: #333;
  font-size: 16px;
  line-height: 1.5;
  inline-size: fit-content;
  min-inline-size: 230px;
}

@media (width >= 768px) {
  .cta-contents-wrap-sp {
    display: none;
  }

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

  .inner:has(.cta-bg-white) {
    container-type: inline-size;
  }

  @container (width < 1000px) {
    .cta-bg-white {
      inline-size: calc(100% - 32px);
      margin-inline: auto;
    }
  }

  .cta-title {
    inline-size: fit-content;
    margin-inline: auto;
    border-block-end: 4px dotted #3b8489;
  }

  .cta-contents-wrap-pc {
    display: block;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 32px;
    position: relative;
  }

  .cta-contents-wrap-pc::before {
    content: "";
    display: inline-block;
    inline-size: 1px;
    block-size: 80%;
    border-inline-start: 4px dotted #3b8489;
    position: absolute;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    translate: -50% -50%;
  }

  .cta-contents-wrap-pc .cta-contents-tel {
    border-block: none;
  }

  .cta-contents-wrap-pc .cta-contents-tel-link {
    inline-size: 80%;
    min-inline-size: max-content;
    justify-self: center;
  }

  .cta-contents-wrap-pc .cta-contents-mail {
    border-block-end: none;
  }

  .cta-contents-wrap-pc .cta-contents-mail-link {
    inline-size: 80%;
    min-inline-size: max-content;
    justify-self: center;
    position: relative;
  }

  .cta-contents-wrap-pc .cta-contents-mail-link::after {
    content: "";
    display: inline-block;
    inline-size: 4em;
    aspect-ratio: 1;
    background: url(./images/icon_free.svg) center / contain no-repeat;
    position: absolute;
    inset-inline-end: 0;
    translate: 50% -70%;
  }
}

/* ======================================================
// お知らせとコラム
// ====================================================== */
/* サムネイル画像表示 */
.top_block2:has(.news-article-excerpt) {
  background-color: color-mix(in sRGB, #DDEDED, #fff 40%);
}

.news-article-excerpt {
  margin-bottom: 0;
  line-height: 1.5;
}

.news-article-wrap {
  --column-gap: 24px;
  --row-gap: 24px;
  --max-item-size: calc((1000px - 32px - var(--column-gap) * 2) / 3); 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--max-item-size), 100%), var(--max-item-size)));
  justify-content: center;
  column-gap: var(--column-gap);
  row-gap: var(--row-gap);
  padding-inline: 16px;
}

@media (width < 768px) {
  .news-article-wrap {
    padding-inline: 0;
  }
}

.news-article-link {
  --row-gap: 16px;
  display: grid;
  grid-template-rows: subgrid;
  justify-items: center;
  row-gap: var(--row-gap);
}

.news-article-link:hover {
  text-decoration: none;
}

.news-article-content {
  --row-gap: 8px;
  display: grid;
  row-gap: var(--row-gap);
  color: #333;
  transition: color 0.3s ease;
}

.news-article-link:hover .news-article-content {
  color: color-mix(in sRGB, #333, #fff 20%);
}

.news-article-title {
  font-size: 18px;
  line-height: 1.5;
  font-weight: bold;
}

.news-article-excerpt {
  font-size: 16px;
}

.news-article-link:hover .news-article-excerpt {
  text-decoration: underline;
}

.news-article-meta {
  font-size: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1em;
  justify-self: end;
  align-items: center;
}

.news-article-category {
  background-color: #ff6900;
  padding: 0.2em 0.3em;
  border-radius: 2px;
  color: #fff;
}

.news-article-thumbnail {
  order: 1;
}

.news-article-link:hover img {
  opacity: 1;
}

.news-article-thumbnail img:not([src*="no-image"]) {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-article-thumbnail img[src*="no-image"] {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.news-article-content {
  order: 2;
}

.news-article-more {
  text-align: center;
  margin-block-start: 32px;
}

.news-article-btn-more {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  background-color: #fff;
  color: #333;
  max-inline-size: 50%;
  min-inline-size: min(100%, 300px);
  margin-inline: auto;
  padding: 1em;
  border-radius: 8px;
  column-gap: 0.5em;
  font-size: 16px;
}

.news-article-btn-more:hover {
  color: #333;
}

.news-article-btn-more::before {
  content: "";
  display: inline-block;
  inline-size: 1em;
  aspect-ratio: 1;
}

.news-article-btn-more::after {
  content: "";
  display: inline-block;
  mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23000000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8 4L16 12L8 20" /></svg>');
  inline-size: 1em;
  aspect-ratio: 1;
  background-color: currentColor;
}

.news-article-btn-more:hover::after {
  translate: 1px 0;
}