@charset "UTF-8";

/* CSS Reset */
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
a,
p,
span,
em,
small,
strong,
sub,
sup,
mark,
del,
ins,
strike,
abbr,
dfn,
blockquote,
q,
cite,
code,
pre,
ol,
ul,
li,
dl,
dt,
dd,
div,
section,
article,
main,
aside,
nav,
header,
hgroup,
footer,
img,
figure,
figcaption,
address,
time,
audio,
video,
canvas,
iframe,
details,
summary,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: 400;
  font-style: normal;
}

article,
aside,
footer,
header,
nav,
section,
main,
figure,
figcaption {
  display: block;
}

* {
  box-sizing: border-box;
}

*:before,
*:after,
*::before,
*::after {
  box-sizing: inherit;
}

a {
  color: #203e97;
  border: none;
  text-decoration: none;
}

a:hover {
  color: #5471c8;
  text-decoration: underline;
}

img,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
  border: none;
  vertical-align: top;
}

b,
strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
blockquote::before,
blockquote::after,
q:before,
q:after,
q::before,
q::after {
  content: "";
  content: none;
}

a,
area,
button,
[role="button"],
input:not([type="range"]),
label,
select,
summary,
textarea {
  touch-action: manipulation;
}

button {
  border: none;
  background: none;
}

button:hover,
button:active,
button:focus {
  outline: none;
}

button:active,
button:focus {
  box-shadow: none;
}

.list-unstyled,
.list-style-none {
  list-style: none;
}

.text-left,
.text-start {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right,
.text-end {
  text-align: right;
}

.text-white {
  color: #fff;
}

.text-danger {
  color: #b22d00 !important;
}

.text-primary {
  color: #5471c8 !important;
}

.text-indent {
  text-indent: 1em;
}

.flex-1 {
  flex: 1;
}

.font-feature-settings {
  font-feature-settings: "palt" 1;
}

.font-gothic {
  font-family: "Noto Sans JP", sans-serif;
}

.font-mincho {
  font-family: "Noto Serif JP", sans-serif;
}

* {
  scroll-behavior: auto !important;
}

.inner {
  position: relative;
  max-width: 110rem;
  margin-right: auto;
  margin-left: auto;
}

.inner::after {
  content: "";
  display: table;
  clear: both;
}

.anchor-point::before {
  content: "";
  display: block;
  position: relative;
  height: 1px;
  margin-top: -81px;
  margin-bottom: 80px;
  background: transparent;
  pointer-events: none;
  z-index: -100;
}

@media screen and (min-width: 768px), print {
  .anchor-point::before {
    margin-top: -106px;
    margin-bottom: 105px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  vertical-align: top;
}

.btn-primary {
  position: relative;
  min-width: 22rem;
  height: 5rem;
  padding: 0 3rem 0 1.5rem;
  line-height: 1.2;
  color: #fff;
  text-align: left;
  letter-spacing: 0.025em;
  background-color: #203e97;
  transition: background-color 0.25s;
}

@media screen and (min-width: 1100px), print {
  .btn-primary {
    min-width: 26rem;
    height: 6rem;
    padding: 0 3.5rem 0 1.5rem;
    font-size: 1.8rem;
  }
}

.btn-primary::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 24px;
  height: 1px;
  margin: auto;
  background-color: #fff;
}

@media screen and (min-width: 1100px), print {
  .btn-primary::before {
    width: 30px;
  }
}

.btn-primary:hover {
  text-decoration: none;
  color: #fff;
  background-color: #5471c8;
}

/* html, body */
html,
body {
  height: 100%;
}

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -o-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media screen and (min-width: 1100px), print {
  html {
    overflow-y: scroll;
  }
}

body {
  min-width: 32rem;
  line-height: 1.8;
  font-size: 1.6rem;
  font-family: "Noto Sans JP", sans-serif;
  color: #000;
  text-align: left;
  background: #fff;
}

@media screen and (max-width: 1099.98px) {
  html.nav-open {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
  }
}

.wrapper {
  position: relative;
  overflow: hidden;
}

/* ヘッダー */
.header {
  padding-top: 6rem;
}

@media screen and (min-width: 1100px), print {
  .header {
    padding-top: 10rem;
  }
}

.header-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6rem;
  font-size: 100%;
  background-color: #fff;
  z-index: 900;
}

@media screen and (min-width: 1100px), print {
  .header-container {
    height: auto;
    background-color: transparent;
    z-index: 1010;
  }
}

.header-logo .site-logo a {
  display: block;
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 21rem;
}

@media screen and (min-width: 1100px), print {
  .header-logo .site-logo a {
    top: 2.4rem;
    left: 2.8rem;
    width: 30rem;
  }
}

.header-logo .site-logo img {
  display: block;
  width: 100%;
}

/* メールボタン */
.contact-btn {
  display: block;
  position: fixed;
  top: 1.1rem;
  right: 1rem;
  width: 3.8rem;
  height: 3.8rem;
  z-index: 1010;
}

@media screen and (min-width: 1100px), print {
  .contact-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 12rem;
    height: 10rem;
  }
}

.contact-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
  background-color: #b81c22;
  transition: background-color 0.25s;
}

@media screen and (min-width: 1100px), print {
  .contact-btn a {
    flex-direction: column;
  }
}

.contact-btn a::before {
  content: "";
  display: block;
  width: 1.8rem;
  height: 1.8rem;
  background: url(../img/icon-mail.svg) center no-repeat;
  background-size: contain;
}

@media screen and (min-width: 1100px), print {
  .contact-btn a::before {
    width: 4rem;
    height: 3rem;
    margin: 0 auto 1.3rem;
  }
}

.contact-btn a:hover {
  text-decoration: none;
  background-color: #df4247;
}

.contact-btn span {
  display: none;
}

@media screen and (min-width: 1100px), print {
  .contact-btn span {
    display: block;
    font-weight: 700;
    font-size: 1.4rem;
    text-align: center;
  }
}

/* スクロール時固定用 */
@media screen and (min-width: 1100px) {
  .is-fixed .header .header-container,
  .is-fixed .header .contact-btn {
    position: fixed;
    top: -60px;
    transform: translateY(60px);
    transition: transform 0.2s;
  }
}

/* ナビゲーション */
.nav {
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

@media screen and (max-width: 1099.98px) {
  .nav {
    transition: transform 0.4s ease-out;
  }
}

@media screen and (min-width: 1100px), print {
  .nav {
    position: absolute;
    right: auto;
    width: 100%;
    height: 10rem;
    background-color: #fff;
  }
}

@media screen and (max-width: 1099.98px) {
  .nav-open .nav {
    transform: translateX(-100%);
  }
}

.nav-container {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background-color: #fff;
  z-index: 10;
}

@media screen and (min-width: 1100px), print {
  .nav-container {
    padding-top: 5.5rem;
    padding-right: 14rem;
    background-color: transparent;
    overflow: visible;
  }
}

@media screen and (min-width: 1440px), print {
  .nav-container {
    padding-top: 3.75rem;
    padding-right: 40rem;
  }
}

.nav-btn {
  display: block;
  position: fixed;
  top: 1.1rem;
  right: 4.8rem;
  width: 3.8rem;
  height: 3.8rem;
  background-color: #a8a8a8;
  cursor: pointer;
  z-index: 1010;
}

@media screen and (min-width: 1100px), print {
  .nav-btn {
    display: none;
  }
}

.nav-btn-line {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 1.8rem;
  height: 0.1rem;
  margin: auto;
  background-color: #fff;
}

.nav-open .nav-btn-line {
  transition: all 0.8s;
}

.nav-btn-line1 {
  top: -1.2rem;
}

.nav-open .nav-btn-line1 {
  top: 0;
  transform: rotate(-45deg);
}

.nav-open .nav-btn-line2 {
  display: none;
}

.nav-btn-line3 {
  bottom: -1.2rem;
}

.nav-open .nav-btn-line3 {
  bottom: 0;
  transform: rotate(45deg);
}

.nav-info {
  padding: 3rem 0;
  text-align: center;
}

@media screen and (min-width: 1100px), print {
  .nav-info {
    display: flex;
    position: absolute;
    top: 1.5rem;
    right: 14rem;
    padding: 0;
    text-align: right;
  }
}

@media screen and (min-width: 1440px), print {
  .nav-info {
    display: block;
    position: absolute;
    top: 2.4rem;
    right: 14rem;
  }
}

@media screen and (min-width: 1440px), print {
  .nav-info dt {
    margin-bottom: 0.5rem;
  }
}

.nav-info dd {
  font-size: 1.4rem;
}

@media screen and (min-width: 1100px), print {
  .nav-info dd {
    margin: 0.3rem 0 0 1rem;
  }
}

@media screen and (min-width: 1440px), print {
  .nav-info dd {
    margin: 0;
  }
}

.nav-info a {
  line-height: 1em;
  font-weight: 500;
  font-size: 2.5rem;
}

.nav-info a:hover {
  text-decoration: none;
}

.nav-info .contact {
  max-width: 24rem;
  margin: 1.5rem auto 0;
}

@media screen and (min-width: 1100px), print {
  .nav-info .contact {
    display: none;
  }
}

.nav-info .contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 1rem 0;
  color: #fff;
  background-color: #b81c22;
  transition: background-color 0.25s;
}

.nav-info .contact a::before {
  content: "";
  display: block;
  width: 3rem;
  height: 3rem;
  margin-right: 1.5rem;
  background: url(../img/icon-mail.svg) center no-repeat;
  background-size: contain;
}

.nav-info .contact a:hover {
  text-decoration: none;
  background-color: #df4247;
}

.nav-info .contact span {
  display: block;
  font-weight: 700;
  font-size: 1.6rem;
}

/* メインナビ */
@media screen and (max-width: 1099.98px) {
  .global-nav {
    padding-top: 6rem;
  }
}

@media screen and (min-width: 1100px), print {
  .global-nav .nav-list {
    display: flex;
    justify-content: flex-end;
  }
}

.global-nav .nav-item {
  position: relative;
  margin-bottom: -1px;
}

@media screen and (min-width: 1100px), print {
  .global-nav .nav-item {
    margin-bottom: 0;
    padding-right: 2rem;
  }

  .global-nav .nav-item::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    height: 110%;
    margin: auto;
    background-color: #ddd;
    transform: rotate(30deg);
  }

  .global-nav .nav-item + .nav-item {
    margin-left: 2rem;
  }
}

.global-nav .nav-link,
.global-nav .nav-label {
  display: block;
  position: relative;
  padding: 1.75rem 2rem;
  line-height: 1em;
  color: #000;
  border-top: 1px solid #a8a8a8;
  border-bottom: 1px solid #a8a8a8;
}

@media screen and (min-width: 1100px), print {
  .global-nav .nav-link,
  .global-nav .nav-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 2.5rem;
    padding: 0;
    font-size: 1.2rem;
    border: none;
    transition: color 0.25s;
  }
}

.global-nav .nav-link:hover {
  text-decoration: none;
  color: #5471c8;
}

@media screen and (min-width: 1100px), print {
  .global-nav .nav-home,
  .global-nav .nav-contact {
    display: none;
  }
}

@media screen and (min-width: 1100px), print {
  .global-nav .nav-office .nav-link,
  .global-nav .nav-office .nav-label,
  .global-nav .nav-service .nav-link,
  .global-nav .nav-service .nav-label,
  .global-nav .nav-seminar .nav-link,
  .global-nav .nav-seminar .nav-label {
    padding-right: 1.5rem;
  }
}

/* メインナビ（第2階層）*/
@media screen and (max-width: 1099.98px) {
  .sub-nav {
    margin: 0 0 -1px;
    padding: 1rem 1rem 0;
    background-color: #203e97;
  }
}

@media screen and (min-width: 1100px), print {
  .sub-nav {
    position: relative;
    left: 50%;
    width: 22rem;
    margin: 0 0 0 -11rem;
    padding: 1rem 1rem 0;
    background-color: #203e97;
  }
}

.sub-nav li:not(:last-child) {
  border-bottom: 1px solid #adc1ff;
}

.sub-nav a {
  display: block;
  margin: 0 -1rem;
  padding: 1.5rem 0;
  line-height: 1.2;
  font-size: 1.4rem;
  color: #fff;
  text-align: center;
  transition: color 0.25s;
}

.sub-nav a:hover {
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .sub-nav a:hover {
    color: #adc1ff;
  }
}

.sub-nav a.sub-nav-label {
  position: relative;
  margin: 0;
  padding: 1.25rem 0;
  font-weight: 700;
  font-size: 1.6rem;
  color: #203e97;
  background-color: #fff;
}

.sub-nav a.sub-nav-label::before {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 22px 22px;
  border-color: transparent transparent #adc1ff transparent;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .sub-nav a.sub-nav-label:hover {
    color: #798ece;
  }
}

/* ドロップダウン */
.dropdown-toggle {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 5rem;
  background: transparent;
  z-index: 10;
}

@media screen and (min-width: 1100px), print {
  .dropdown-toggle {
    height: 100%;
    z-index: 30;
  }
}

.dropdown-toggle::before {
  content: "";
  display: block;
  position: absolute;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  transform: rotate(135deg);
}

@media screen and (max-width: 1099.98px) {
  .dropdown-toggle::before {
    top: 2rem;
    right: 2rem;
    width: 0.9rem;
    height: 0.9rem;
  }
}

@media screen and (min-width: 1100px), print {
  .dropdown-toggle::before {
    top: -0.25rem;
    right: 1.75rem;
    bottom: 0;
    width: 0.75rem;
    height: 0.75rem;
    margin: auto;
  }
}

.dropdown-toggle::after {
  display: none;
}

.dropdown-toggle.show::before {
  top: 2.25rem;
  transform: rotate(-45deg);
}

@media screen and (min-width: 1100px), print {
  .dropdown-toggle.show::before {
    top: 0.5rem;
  }
}

@media screen and (min-width: 1100px), print {
  .dropdown-toggle.show + .nav-link,
  .dropdown-toggle.show + .nav-label {
    color: #5471c8;
  }
}

.dropdown-toggle:hover {
  cursor: pointer;
}

@media screen and (min-width: 1100px) and (hover: hover) and (pointer: fine), print {
  .dropdown-toggle:hover + .nav-link,
  .dropdown-toggle:hover + .nav-label {
    color: #5471c8;
  }
}

.dropdown-menu {
  display: block !important;
  position: absolute;
  min-width: 0;
  width: 100%;
  margin: 0;
  margin-top: -10px !important;
  padding: 0;
  font-size: 100%;
  color: #000;
  text-align: left;
  list-style: none;
  border: none;
  border-radius: 0;
  background-color: transparent;
  background-clip: padding-box;
  z-index: 1000;
}

@media screen and (max-width: 1099.98px) {
  .dropdown-menu {
    position: static !important;
    margin-top: 0 !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }
}

@media screen and (min-width: 1100px), print {
  .dropdown-menu {
    margin-top: -20px !important;
    transition: margin-top 0.35s, opacity 0.35s;
    opacity: 0;
    pointer-events: none;
  }
}

@media screen and (max-width: 1099.98px) {
  .dropdown-menu.show {
    inset: auto !important;
    transform: none !important;
    max-height: var(--max-height);
  }
}

@media screen and (min-width: 1100px), print {
  .dropdown-menu.show {
    margin-top: 10px !important;
    opacity: 1;
    pointer-events: auto;
  }
}

/* スクロール時固定用 */
@media screen and (min-width: 1100px) {
  .is-fixed .nav {
    position: fixed;
    top: -60px;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.05);
    transform: translateY(60px);
    transition: transform 0.2s;
  }
}

/* メインコンテンツ */
/* フッター */
.footer {
  padding-top: 5rem;
}

@media screen and (min-width: 1100px), print {
  .footer {
    padding-top: 0;
  }
}

@media screen and (min-width: 1100px), print {
  .footer-container {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media screen and (min-width: 1100px), print {
  .footer-head {
    width: 100%;
    padding: 8rem 3rem;
  }
}

@media screen and (min-width: 1100px), print {
  .footer-head-inner {
    display: flex;
  }
}

.footer-body {
  padding: 0 1.5rem;
}

@media screen and (min-width: 1100px), print {
  .footer-body {
    width: 100%;
    padding: 0 3rem;
  }
}

.footer-info {
  text-align: center;
}

@media screen and (min-width: 1100px), print {
  .footer-info {
    flex: 1;
    text-align: left;
    border-right: 1px solid #d9d9d9;
  }
}

.footer-info dt {
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

@media screen and (min-width: 768px), print {
  .footer-info dt {
    max-width: none;
  }
}

@media screen and (min-width: 1100px), print {
  .footer-info dt {
    margin: 0 0 3.2rem;
  }
}

.footer-info dd {
  line-height: 1.6;
  font-size: 1.4rem;
}

@media screen and (min-width: 768px), print {
  .footer-info dd {
    font-size: 1.6rem;
  }
}

.footer-info .tel-link {
  color: #000;
}

.footer-info .tel-link[href]:hover {
  color: #5471c8;
}

@media screen and (min-width: 1100px), print {
  .footer-info .access br {
    display: none;
  }
}

.footer-bnr {
  max-width: 40rem;
  margin: 2rem auto;
}

@media screen and (min-width: 768px), print {
  .footer-bnr {
    max-width: 64rem;
    margin: 3rem auto;
  }
}

@media screen and (min-width: 1100px), print {
  .footer-bnr {
    width: 50%;
    max-width: none;
    margin: 0;
  }
}

.footer-bnr-list {
  display: flex;
  flex-wrap: wrap;
}

@media screen and (min-width: 1100px), print {
  .footer-bnr-list {
    width: 46.5rem;
    margin-left: auto;
  }
}

.footer-bnr li {
  width: 50%;
}

@media screen and (min-width: 768px), print {
  .footer-bnr li {
    width: 25%;
  }
}

@media screen and (min-width: 1100px), print {
  .footer-bnr li {
    width: 50%;
  }
}

.footer-bnr a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 7rem;
}

@media screen and (min-width: 1100px), print {
  .footer-bnr a {
    height: 9.4rem;
  }
}

.footer-bnr img {
  width: 14rem;
}

@media screen and (min-width: 1100px), print {
  .footer-bnr img {
    width: 20.6rem;
  }
}

.footer-contents {
  display: block;
  position: relative;
  height: 100%;
  padding: 1.5rem;
  background-color: #ddd;
  transition: background-color 0.25s;
}

.footer-contents-container {
  max-width: 40rem;
  margin: auto;
}

@media screen and (min-width: 768px), print {
  .footer-contents-container {
    max-width: none;
    margin: 0;
  }
}

@media screen and (min-width: 1100px), print {
  .footer-contents-container {
    padding: 8rem 0;
  }
}

@media screen and (min-width: 768px), print {
  .footer-contents-wrap {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1.5rem -1.5rem 0;
  }
}

@media screen and (min-width: 1100px), print {
  .footer-contents-wrap {
    margin: 0 -3rem -3rem 0;
  }
}

@media screen and (min-width: 1280px), print {
  .footer-contents-wrap {
    margin: 0 -4rem -4rem 0;
  }
}

@media screen and (min-width: 768px), print {
  .footer-contents-item {
    width: 33.3333333333%;
    padding: 0 1.5rem 1.5rem 0;
  }
}

@media screen and (min-width: 1100px), print {
  .footer-contents-item {
    padding: 0 3rem 3rem 0;
  }
}

@media screen and (min-width: 1280px), print {
  .footer-contents-item {
    padding: 0 4rem 4rem 0;
  }
}

.footer-contents-item:not(:last-child) {
  margin-bottom: 1.5rem;
}

@media screen and (min-width: 768px), print {
  .footer-contents-item:not(:last-child) {
    margin-bottom: 0;
  }
}

@media screen and (min-width: 1100px), print {
  .footer-contents {
    padding: 2.2rem 0 2.2rem 2.2rem;
  }
}

.footer-contents::before {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 40px 40px;
  border-color: transparent transparent #ccc transparent;
  pointer-events: none;
  transition: border-bottom-color 0.25s;
}

@media screen and (min-width: 1100px), print {
  .footer-contents::before {
    border-width: 0 0 60px 60px;
  }
}

.footer-contents dt {
  margin-bottom: 1rem;
}

.footer-contents dd {
  position: relative;
  margin-top: 0.35rem;
  padding-left: 1.25em;
  font-size: 1.4rem;
}

.footer-contents dd::before {
  content: "・";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.footer-contents a {
  display: inline-block;
  vertical-align: top;
  line-height: 1.3;
  font-weight: 700;
  font-size: 1.8rem;
  color: #000;
}

@media screen and (min-width: 1100px), print {
  .footer-contents a {
    font-size: 2.2rem;
  }
}

.footer-contents a:hover {
  text-decoration: none;
}

.footer-contents a::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  z-index: 10;
}

.footer-contents .icon {
  display: block;
  position: absolute;
  top: 1.5rem;
  right: 1rem;
  width: 4rem;
  height: 4rem;
}

@media screen and (min-width: 1100px), print {
  .footer-contents .icon {
    top: 2rem;
    right: 2rem;
    width: 6rem;
    height: 6rem;
  }
}

@media screen and (min-width: 1280px), print {
  .footer-contents .icon {
    top: 2.5rem;
    right: 2.3rem;
    width: 8rem;
    height: 8rem;
  }
}

.footer-contents .ft-sm {
  display: block;
  font-weight: 700;
  font-size: 1.4rem;
}

@media screen and (min-width: 1100px), print {
  .footer-contents .ft-sm {
    font-size: 1.8rem;
  }
}

.footer-contents-taxation {
  background-color: #ffe0cb;
}

.footer-contents-taxation::before {
  border-bottom-color: #ffbf95;
}

.footer-contents-taxation a {
  color: #ff7f2b;
}

.footer-contents-taxation:hover {
  background-color: #ffbf95;
}

.footer-contents-taxation:hover::before {
  border-bottom-color: #ff7f2b;
}

.footer-contents-inheritance {
  background-color: #d5ffc6;
}

.footer-contents-inheritance::before {
  border-bottom-color: #aee898;
}

.footer-contents-inheritance a {
  color: #56ab36;
}

.footer-contents-inheritance:hover {
  background-color: #aee898;
}

.footer-contents-inheritance:hover::before {
  border-bottom-color: #56ab36;
}

.footer-contents-medical {
  background-color: #ceedff;
}

.footer-contents-medical::before {
  border-bottom-color: #a0d7f9;
}

.footer-contents-medical a {
  color: #1d85c4;
}

.footer-contents-medical:hover {
  background-color: #a0d7f9;
}

.footer-contents-medical:hover::before {
  border-bottom-color: #1d85c4;
}

.footer-nav {
  max-width: 40rem;
  line-height: 1.6;
}

.footer-nav-container {
  margin: 1.5rem -1.5rem 0;
  padding: 3rem;
  background-color: #dce5ff;
}

@media screen and (min-width: 1100px), print {
  .footer-nav-container {
    margin: 0 calc(50% - 50vw);
    padding: 8rem 3rem;
  }
}

@media screen and (min-width: 768px), print {
  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    max-width: none;
  }
}

@media screen and (min-width: 1100px), print {
  .footer-nav {
    justify-content: space-between;
    flex-wrap: nowrap;
    max-width: 110rem;
  }
}

.footer-nav::after {
  display: none;
}

@media screen and (min-width: 768px), print {
  .footer-nav .nav-list {
    width: 33.33333%;
  }
}

@media screen and (min-width: 1100px), print {
  .footer-nav .nav-list {
    width: auto;
  }
}

.footer-nav .nav-list:not(:last-child) {
  margin-bottom: 1rem;
}

@media screen and (min-width: 1100px), print {
  .footer-nav .nav-list:not(:last-child) {
    margin-bottom: 0;
  }
}

.footer-nav .nav-item:not(:last-child) {
  margin-bottom: 1rem;
}

@media screen and (min-width: 1100px), print {
  .footer-nav .nav-item:not(:last-child) {
    margin-bottom: 0.5rem;
  }
}

.footer-nav .nav-link {
  display: inline-block;
  vertical-align: top;
  position: relative;
  padding-left: 1.8rem;
  color: #000;
}

.footer-nav .nav-link:hover {
  color: #5471c8;
}

.footer-nav .nav-link::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1rem;
  height: 0.5rem;
  margin: auto;
  background-color: #203e97;
}

.footer-subnav {
  padding: 0 0 0 1.8rem;
}

.footer-subnav li {
  margin-top: 0.5rem;
}

.footer-subnav a {
  font-size: 1.4rem;
  color: #000;
}

@media screen and (min-width: 1100px), print {
  .footer-subnav a {
    font-size: 1.6rem;
  }
}

.footer-subnav a:hover {
  color: #5471c8;
}

.footer-map {
  position: relative;
  overflow: hidden;
}

.footer-map::before {
  content: "";
  display: block;
  padding-top: 30rem;
}

.footer-map iframe {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ページの先頭へ */
.pagetop {
  display: block;
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  width: 4rem;
  height: 4rem;
  background-color: transparent;
  z-index: 100;
}

@media screen and (min-width: 1100px), print {
  .pagetop {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    width: 6rem;
    height: 6rem;
    opacity: 0;
    transition: opacity 0.25s;
  }

  .is-fixed .pagetop {
    opacity: 1;
  }
}

.pagetop a {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid #fff;
  background-color: #203e97;
  transition: background-color 0.25s;
}

.pagetop a:hover {
  text-decoration: none;
  background-color: #5471c8;
}

.pagetop a::before {
  content: "";
  display: block;
  position: absolute;
  top: 1rem;
  right: 0;
  bottom: 0;
  left: 0;
  width: 1rem;
  height: 1rem;
  margin: auto;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(-45deg);
}

@media screen and (min-width: 1100px), print {
  .pagetop a::before {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 2px;
  }
}

/* コピーライト */
.copy {
  display: flex;
  align-items: center;
  height: 5rem;
  padding: 0 1.5rem;
  color: #fff;
  background-color: #203e97;
}

@media screen and (min-width: 480px), print {
  .copy {
    justify-content: center;
  }
}

@media screen and (min-width: 1100px), print {
  .copy {
    height: 8.4rem;
  }
}

.copy small {
  display: block;
  font-size: 1.2rem;
  text-align: center;
}

@media screen and (min-width: 480px), print {
  .copy small {
    letter-spacing: 0.025em;
  }
}

/* ページ内共通 */
.section {
  margin-bottom: 5rem;
}

@media screen and (min-width: 1100px), print {
  .section {
    margin-bottom: 8rem;
  }
}

.section-secondary {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

@media screen and (min-width: 1100px), print {
  .section-secondary {
    padding-right: 3rem;
    padding-left: 3rem;
  }
}

.section-bg {
  position: relative;
  padding: 0 1.5rem 5rem;
}

@media screen and (min-width: 1100px), print {
  .section-bg {
    padding: 0 5rem 8rem;
  }
}

.section-bg::before {
  content: "";
  display: block;
  position: absolute;
  top: 2.75rem;
  left: 0;
  width: 100%;
  height: calc(100% - 2.75rem);
}

@media screen and (min-width: 1100px), print {
  .section-bg::before {
    top: 3.5rem;
    height: calc(100% - 3.5rem);
  }
}

@media screen and (min-width: 1280px), print {
  .section-bg::before {
    width: calc(100% - 5rem);
  }
}

.section-bg-color1::before {
  background-color: #f5f8ff;
}

.section-bg-color2::before {
  background-color: #ecf1ff;
}

.section-bg-secondary::before {
  right: 0;
  left: auto;
}

.section-header {
  margin-bottom: 3rem;
}

@media screen and (min-width: 1100px), print {
  .section-header {
    margin-bottom: 4rem;
  }
}

.section-heading {
  line-height: 1.2;
  font-size: 2rem;
  font-family: "Noto Serif JP", sans-serif;
  color: #a8a8a8;
}

@media screen and (min-width: 1100px), print {
  .section-heading {
    font-size: 2.5rem;
  }
}

.section-heading .ft-en {
  display: block;
  margin-bottom: 1rem;
  line-height: 1em;
  font-size: 4.4rem;
  color: #000;
}

@media screen and (min-width: 1100px), print {
  .section-heading .ft-en {
    font-size: 5rem;
  }
}

.section-heading .ft-en::first-letter {
  color: #203e97;
}

.section-container {
  position: relative;
}

/* メインビジュアル */
.hero-movie {
  display: block;
  position: relative;
  overflow: hidden;
}

.hero-movie::before {
  content: "";
  display: block;
  padding-top: 45.138888%;
}

.hero-movie video {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
}

.hero-movie img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  -o-object-fit: cover;
  object-fit: cover;
}

.hero-movie.is-loading {
  opacity: 0;
}

.hero-movie.is-active {
  animation: fadeIn 1s forwards;
}

/* 新着情報 */
.news-list-index {
  margin-top: -1rem;
}

.news-item:not(:last-child) {
  border-bottom: 1px solid #a8a8a8;
}

.news-link {
  display: block;
  position: relative;
  padding: 1.5rem 0;
  color: #000;
}

@media screen and (min-width: 768px), print {
  .news-link {
    display: flex;
  }
}

@media screen and (min-width: 1100px), print {
  .news-link {
    padding: 2rem 0;
  }
}

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

.news-date {
  display: block;
  font-size: 1.4rem;
}

@media screen and (min-width: 768px), print {
  .news-date {
    width: 6.5em;
    font-size: 1.6rem;
  }
}

.news-title {
  display: block;
  word-break: break-all;
  word-wrap: break-word;
}

@media screen and (min-width: 768px), print {
  .news-title {
    flex: 1;
  }
}

.news-more {
  margin-top: 3rem;
}

.news-body {
  margin-top: 1rem;
  margin-bottom: 3rem;
  line-height: 1.8;
  word-break: break-all;
  word-wrap: break-word;
}

@media screen and (min-width: 1100px), print {
  .news-body {
    margin-bottom: 5rem;
    font-size: 1.8rem;
  }
}

.news-body * {
  word-break: break-all;
  word-wrap: break-word;
}

.news-body::after {
  content: "";
  display: table;
  clear: both;
}

.news-body h3 {
  margin-bottom: 1.5em;
  font-size: 2rem;
  font-family: "Noto Serif JP", sans-serif;
}

@media screen and (min-width: 768px), print {
  .news-body h3 {
    font-size: 1.5rem;
  }
}

@media screen and (min-width: 1100px), print {
  .news-body h3 {
    margin-bottom: 2rem;
    font-size: 1.85rem;
    padding: 0.2em 0.2em 0.5em 1em;
    border-left: 5px solid #203e97;
    border-bottom: 1px solid #203e97;
  }
}

.news-body h4 {
  margin-bottom: 1em;
  font-size: 1.8rem;
  font-family: "Noto Serif JP", sans-serif;
  padding: 0.5em;
  background-color: #f5f8ff;
}

/* 業務案内 */
.service-description {
  margin-bottom: 3rem;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  max-width: 40rem;
  margin: 0 auto -1.5rem;
}

@media screen and (min-width: 768px), print {
  .service-list {
    max-width: none;
    margin: 0 -1.5rem -1.5rem 0;
  }
}

@media screen and (min-width: 1100px), print {
  .service-list {
    margin: 0 -4rem -4rem 0;
  }
}

.service-item {
  width: 100%;
  padding: 0 0 1.5rem;
}

@media screen and (min-width: 768px), print {
  .service-item {
    width: 33.3333333333%;
    padding: 0 1.5rem 1.5rem 0;
  }
}

@media screen and (min-width: 1100px), print {
  .service-item {
    padding: 0 4rem 4rem 0;
  }
}

.service-inner {
  display: flex;
  flex-direction: column-reverse;
  position: relative;
}

.service-title a:hover {
  text-decoration: none;
}

.service-title a::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  z-index: 10;
}

.service-title span {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4.5rem;
  color: #fff;
  background-color: rgba(32, 62, 151, 0.79);
  z-index: 1;
  transition: background-color 0.25s;
}

@media screen and (min-width: 1100px), print {
  .service-title span {
    font-size: 2rem;
  }
}

.service-img {
  display: block;
  position: relative;
}

.service-img::before {
  content: "";
  display: block;
  padding-top: 63.53%;
}

.service-img img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  -o-object-fit: cover;
  object-fit: cover;
  transition: transform 0.25s;
}

.service-img a:hover {
  opacity: 0.7;
}

.service-inner:hover .service-title span {
  background-color: rgb(32, 62, 151);
}

.service-inner:hover .service-img img {
  transform: scale(1.05);
}

/* ページ紹介 */
.menu-section {
  margin-bottom: 0;
}

@media screen and (max-width: 767.98px) {
  .menu-item {
    display: flex;
    flex-direction: column-reverse;
  }
}

.menu-main {
  position: relative;
  margin: -15% 1.5rem 0;
  padding: 2rem;
  background-color: #fbfbfb;
  box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.125);
  z-index: 1;
}

@media screen and (min-width: 768px), print {
  .menu-main {
    display: flex;
    flex-direction: column;
    align-self: center;
    margin: 0;
  }
}

@media screen and (min-width: 992px), print {
  .menu-main {
    height: 34.4rem;
    padding: 2.5rem;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
  }
}

.menu-title {
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-size: 2.8rem;
}

@media screen and (min-width: 992px), print {
  .menu-title {
    margin-bottom: 2rem;
    font-size: 3.5rem;
  }
}

.menu-title::first-letter {
  color: #203e97;
}

.menu-description {
  flex-grow: 1;
}

.menu-description .br {
  display: block;
}

.menu-more {
  margin-top: 3rem;
  text-align: center;
}

@media screen and (min-width: 768px), print {
  .menu-more {
    text-align: right;
  }
}

@media screen and (min-width: 1100px), print {
  .menu-more {
    margin-top: 0;
  }
}

@media screen and (max-width: 767.98px) {
  .menu-img {
    position: relative;
    overflow: hidden;
  }

  .menu-img::before {
    content: "";
    display: block;
    padding-top: 40%;
  }

  .menu-img img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    -o-object-fit: cover;
    object-fit: cover;
  }
}

@media screen and (min-width: 768px), print {
  .menu-img {
    width: 50%;
  }
}

@media screen and (min-width: 1100px), print {
  .menu-img {
    width: 48.9rem;
  }
}

.menu-primary {
  margin-bottom: 4rem;
}

@media screen and (min-width: 768px), print {
  .menu-primary {
    display: flex;
    flex-direction: row-reverse;
  }
}

@media screen and (min-width: 768px), print {
  .menu-primary .menu-main {
    margin-left: -25%;
  }
}

@media screen and (min-width: 1100px), print {
  .menu-primary .menu-main {
    margin-left: -26rem;
  }
}

.menu-secondary {
  margin-bottom: 4rem;
}

@media screen and (min-width: 768px), print {
  .menu-secondary {
    display: flex;
  }
}

@media screen and (min-width: 768px), print {
  .menu-secondary .menu-main {
    margin-right: -25%;
  }
}

@media screen and (min-width: 1100px), print {
  .menu-secondary .menu-main {
    margin-right: -26rem;
  }
}

.menu-recruit {
  position: relative;
}

@media screen and (min-width: 768px), print {
  .menu-recruit {
    padding: 8.6rem 3rem;
    background-color: #ccc;
  }
}

@media screen and (min-width: 1100px), print {
  .menu-recruit {
    margin: 15.8rem calc(50% - 50vw) 0;
  }
}

@media screen and (min-width: 768px), print {
  .menu-recruit .menu-main {
    max-width: 72rem;
    height: 32.5rem;
    margin: auto;
  }
}

@media screen and (min-width: 768px), print {
  .menu-recruit .menu-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .menu-recruit .menu-img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
}

/* ローディング */
.loader {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f5f8ff;
  z-index: 100;
  pointer-events: none;
}

@media screen and (min-width: 1100px), print {
  .loader {
    height: 100%;
  }
}

@media screen and (max-width: 1099.98px) {
  .loader::before {
    content: "";
    display: block;
    padding-top: 56.25%;
  }
}

.loader.is-loaded {
  animation: out 0.5s forwards;
}

/* アニメーション */
.box-init {
  pointer-events: none;
}

.box-init.is-active {
  pointer-events: auto;
}

.box-init.fadeIn {
  opacity: 0;
}

.box-init.fadeIn.is-active {
  animation: fadeIn 1s forwards;
}

.box-init.fadeInUp {
  opacity: 0;
  transform: translateY(75px);
}

.box-init.fadeInUp.is-active {
  animation: fadeInUp 1s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(75px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes in {
  0% {
    transform-origin: 0 0;
    transform: scale3d(0, 1, 1);
  }

  100% {
    transform-origin: 0 0;
    transform: scale3d(1, 1, 1);
  }
}

@keyframes out {
  0% {
    transform-origin: 100% 0;
    transform: scale3d(1, 1, 1);
  }

  100% {
    transform-origin: 100% 0;
    transform: scale3d(0, 1, 1);
  }
}

/* ページタイトル */
.page-title {
  line-height: 1.2;
  font-size: 2.6rem;
  text-align: center;
  letter-spacing: 0.015em;
}

@media screen and (min-width: 768px), print {
  .page-title {
    font-size: 4rem;
  }
}

@media screen and (min-width: 1100px), print {
  .page-title {
    font-size: 5rem;
    letter-spacing: 0.035em;
  }
}

.page-title::first-letter {
  color: #203e97;
}

.page-title-container {
  margin-bottom: 5rem;
  border-top: 3px solid #d9d9d9;
}

@media screen and (min-width: 768px), print {
  .page-title-container {
    margin-bottom: 8rem;
  }
}

.page-title-bg {
  display: block;
  margin: 0 -30% 3rem;
}

@media screen and (min-width: 768px), print {
  .page-title-bg {
    margin: 0 0 6rem;
  }
}

.page-title-bg img {
  width: 100%;
}

/* ページネーション */
.pagination {
  display: block;
  margin-top: 3rem;
}

@media screen and (min-width: 768px), print {
  .pagination {
    margin-top: 5rem;
  }
}

.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination .page-numbers {
  display: block;
  margin: 0 0.3rem;
  padding: 1rem 1.4rem;
  line-height: 1.2;
  color: #fff;
  font-size: 1.4rem;
  text-align: center;
  border-radius: 0.35rem;
  background-color: #aaa;
  letter-spacing: 0.05em;
  transition: background-color 0.25s;
}

@media screen and (max-width: 767.98px) {
  .pagination .page-numbers {
    margin: 0.2rem;
    padding: 0.75rem 1rem;
    font-size: 1.3rem;
  }
}

.pagination .page-numbers:hover {
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .pagination .page-numbers[href]:hover {
    background-color: #203e97;
  }
}

.pagination .current {
  background-color: #203e97;
}

.pagination .screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* 下層見出し */
.heading {
  position: relative;
  max-width: 110rem;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.2;
  font-feature-settings: "palt" 1;
}

.heading.h2 {
  margin-bottom: 3rem;
  font-size: 2rem;
  font-family: "Noto Serif JP", sans-serif;
}

@media screen and (min-width: 768px), print {
  .heading.h2 {
    font-size: 2.4rem;
  }
}

@media screen and (min-width: 1100px), print {
  .heading.h2 {
    margin-bottom: 4rem;
    font-size: 2.8rem;
  }
}

.heading.h3 {
  margin-bottom: 1.5em;
  font-size: 1.6rem;
  font-family: "Noto Serif JP", sans-serif;
}

@media screen and (min-width: 768px), print {
  .heading.h3 {
    font-size: 1.5rem;
  }
}

@media screen and (min-width: 1100px), print {
  .heading.h3 {
    margin-bottom: 2rem;
    font-size: 1.85rem;
    padding: 0.2em 0.2em 0.5em 1em;
    border-left: 5px solid #203e97;
    border-bottom: 1px solid #203e97;
  }
}

.heading.h4 {
  margin-bottom: 1em;
  font-size: 1.6rem;
  font-family: "Noto Serif JP", sans-serif;
  padding: 0.5em;
  background-color: #f5f8ff;
}

/*下層共通*/
.content-item {
  margin-bottom: 7em;
}

.content-item:last-child {
  margin-bottom: 0em;
}

.list-secondary {
  list-style-type: square;
}

.list-secondary li {
  font-weight: bold;
  color: #203e97;
}

.list-secondary li::marker {
  font-size: 2rem;
}

/* プリント */
@media print {
  html,
  body {
    width: 110rem;
    background: none;
  }
}

/* 修正・追加用 */
/* お問い合わせ */
.contact.h2 {
  margin-bottom: 0.7em;
  font-size: 2rem;
  padding: 0.2em 0.2em 0.5em 0.5em;
  border-left: 5px solid #203e97;
  border-bottom: 2px solid #203e97;
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  line-height: 1.5;
}

@media screen and (min-width: 768px), print {
  .contact.h2 {
    font-size: 3rem;
    padding-left: 1em;
  }
}

.contact-description {
  border: 2px solid #c1272d;
  border-radius: 5px;
  padding: 10px;
}

.contact-form table {
  width: 100%;
}

.contact-form table tr {
  display: block;
}

@media screen and (min-width: 768px), print {
  .contact-form table tr {
    display: table;
    width: 100%;
  }
}

.contact-form table tr:not(:last-child) {
  margin-bottom: 1.5em;
}

@media screen and (min-width: 768px), print {
  .contact-form table tr:not(:last-child) {
    margin-bottom: 0;
  }
}

.contact-form table th {
  position: relative;
  display: block;
  margin-bottom: 0.5em;
}

@media screen and (min-width: 768px), print {
  .contact-form table th {
    display: table-cell;
    vertical-align: middle;
    width: 15em;
    margin-bottom: 0;
    padding: 0.8em 1em;
  }
}

.contact-form table th .title {
  font-weight: bold;
}

.contact-form table th .require,
.contact-form table th .option {
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  font-size: 0.9em;
  color: #fff;
  width: 3em;
  margin: 0 auto;
  text-align: center;
  transform: translateY(-50%);
}

.contact-form table th .require {
  background-color: #f56d36;
}

.contact-form table th .option {
  background-color: #999;
}

.contact-form table td {
  display: block;
}

@media screen and (min-width: 768px), print {
  .contact-form table td {
    display: table-cell;
    vertical-align: middle;
    padding: 0.8em 0 0.8em 1em;
  }
}

.contact-form table td input[type="text"],
.contact-form table td input[type="email"],
.contact-form table td input[type="tel"] {
  padding: 8px;
  border: 1px solid #999;
  border-radius: 3px;
  font-size: 1em;
}

.contact-form table td input::-moz-placeholder {
  font-size: 0.9em;
  color: #ccc;
}

.contact-form table td input::placeholder {
  font-size: 0.9em;
  color: #ccc;
}

.contact-form table td .full {
  width: 100%;
}

.contact-form table td .per60 {
  width: 100%;
}

@media screen and (min-width: 768px), print {
  .contact-form table td .per60 {
    width: 60%;
  }
}

.contact-form table td select {
  padding: 8px 4px;
  border-radius: 3px;
}

.contact-submit {
  margin-top: 1em;
  text-align: center;
}

.contact-submit .btn {
  display: block;
  border: 1px solid #f56d36;
  background-color: #fff;
  color: #f56d36;
  text-decoration: none;
  font-weight: bold;
  padding: 20px;
  width: 150px;
  margin: 0 auto;
  cursor: pointer;
}

.contact-submit .btn:hover {
  color: #fff;
  background-color: #f56d36;
}

/*# sourceMappingURL=styles.css.map */

/*============================================================*/
/* 下層ページ
/*============================================================*/

/* box layout */
.flt-r {
  float: right;
  margin-left: 30px;
}

.flt-l {
  float: left;
  margin-right: 42px;
}

.flt-r + *,
.flt-r + * {
  margin-top: 0 !important;
}

.flt-r img,
.flt-l img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 780px) {
  .greeting .flt-r {
    float: none;
    margin: 0 auto;
    text-align: center;
  }

  .flt-r,
  .flt-l {
    float: none;
    margin: 4rem auto;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .flt-r,
  .flt-l {
    float: none;
    margin: 2rem auto;
    text-align: center;
  }
}

.flt-r-txt {
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  text-align: center;
  font-size: 2rem;
  padding: 1em;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.clearfix {
  margin-bottom: 2rem;
}

.ttl-name {
  font-size: 3rem;
  font-weight: 400;
}

/***** 事務所紹介 *****/
/* 事務所紹介 */
.content-items .content-item .greeting-txt p,
.profile-txt p,
.biblio-txt p {
  line-height: 2;
}

.greeting-txt {
  padding-left: 3px;
}

.office.h2 {
  margin-bottom: 0.7em;
  font-size: 2rem;
  padding: 0.2em 0.2em 0.5em 0.5em;
  border-left: 5px solid #203e97;
  border-bottom: 2px solid #203e97;
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  line-height: 1.5;
}

@media screen and (min-width: 768px), print {
  .office.h2 {
    font-size: 3rem;
    padding-left: 1em;
  }
}

.office.h3 {
  margin-bottom: 1em;
  padding: 15px 1.2em;
  font-size: 2rem;
  background-color: #dce5ff;
}

.office.h3:not(:first-of-type) {
  margin-top: 3em;
}

.office.h4 {
  margin-bottom: 1em;
  font-size: 2rem;
  padding: 9px 10px;
  border-bottom: 2px solid #203e97;
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.greeting-img {
  width: 537px;
  margin: 4em auto 0;
}

.greeting-img img {
  width: 100%;
}

.profile-txt {
  padding-left: 10px;
}

.biblio {
  display: flex;
  flex-direction: row;
  padding-left: 3px;
  overflow: hidden;
}

.biblio:first-child {
  margin-bottom: 5em;
}

.biblio-img {
  margin-right: 42px;
}

.biblio-txt {
  width: 100%;
  padding-bottom: 6em;
}

.biblio-head {
  border-bottom: solid 2px #d9d9d9;
  padding-bottom: 10px;
}

.biblio-head-ttl {
  font-size: 2rem;
  color: #203e97;
}

@media screen and (max-width: 640px) {
  .biblio {
    flex-direction: column;
    align-items: center;
  }

  .biblio-head {
    padding-top: 1em;
    margin-bottom: 1em;
  }
}

/* スタッフ紹介 */
.introduction-catch {
  width: 100%;
  text-align: center;
}

.introduction.h2 {
  font-size: 2.8rem;
  margin-bottom: 1.3em;
  margin-top: 3rem;
  line-height: 1.5;
}

@media screen and (max-width: 1100px) {
  .introduction.h2 .br {
    display: block;
  }
}

@media screen and (max-width: 680px) {
  .introduction.h2 .br2 {
    display: block;
  }
}

@media screen and (max-width: 480px) {
  .introduction.h2 {
    font-size: 2rem;
  }
}

.introduction-main p {
  line-height: 2;
}

.introduction.staff-container {
  margin-top: 6.5em;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25em;
}

.introduction.staff-item {
  margin: 0.5em 1em 3em;
  text-align: center;
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.introduction.staff-ttl {
  width: 6em;
  margin: 0.75em auto 0.6em;
  padding: 0.22em;
  background-color: #ecf1ff;
}

@media screen and (max-width: 680px) {
  .introduction.staff-container {
    flex-direction: column;
  }
}

@media screen and (min-width: 681px) and (max-width: 910px), print {
  .introduction.staff-container {
    gap: 2em;
  }
}

/* 会社概要・アクセス */
.map.h3 {
  margin-bottom: 1em;
  padding: 15px 1.2em;
  font-size: 2rem;
  background-color: #dce5ff;
}

.office-main table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.office-main table tr {
  display: flex;
  width: 100%;
}

.office-main table th {
  vertical-align: top;
  display: inline-block;
  padding: 0;
  border-bottom: 1px solid #d9d9d9;
  letter-spacing: 0.05em;
}

.office-main table td {
  padding: 0.5em 0 1em 0.5em;
  letter-spacing: 0.05em;
  line-height: 2;
}

.office-main table td a {
  color: #000;
  text-decoration: underline;
}

@media screen and (max-width: 639.999px) {
  .office-main table tr {
    flex-direction: column;
  }
}

@media screen and (min-width: 640px), print {
  .office-main table th,
  .office-main table td {
    display: table-cell;
  }

  .office-main table th {
    width: 118px;
    border-bottom: 1px solid #dce5ff;
    padding: 1em;
    margin-right: 0.7em;
    color: #333;
  }

  .office-main table td {
    width: 100%;
    border-bottom: 1px solid #d9d9d9;
    padding: 1em;
  }
}

.map {
  margin-bottom: 60px;
}

.promise ol {
  margin-bottom: 2em;
}

.promise ol li {
  margin-left: 1.5em;
  padding-left: 0.5em;
}

.promise ol li::marker {
  font-weight: bold;
  color: #203e97;
}

.seminar-txt ul {
  margin-top: 2em;
  margin-bottom: 2em;
}

.seminar-txt ul li {
  margin-top: 0.5em;
  margin-left: 1.5em;
  padding-left: 0.5em;
}

.seminar-txt ul li::marker {
  font-weight: bold;
  color: #203e97;
}

/***** 業務案内 *****/
/*業務案内 一覧*/
.service-title-secondary {
  margin-bottom: 0.5em;
  font-size: 1.8rem;
  padding: 9px 10px;
  font-weight: bold;
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  text-align: center;
  background-color: #ddd;
}

.link-site.right {
  width: fit-content;
  margin-left: auto;
}

/*業務案内 子ページ*/
.page h2 {
  margin-bottom: 0.7em;
  font-size: 2rem;
  padding: 0.2em 0.2em 0.5em 0.5em;
  border-left: 5px solid #203e97;
  border-bottom: 2px solid #203e97;
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  line-height: 1.5;
}

@media screen and (min-width: 768px), print {
  .page h2 {
    font-size: 3rem;
    padding-left: 1em;
  }
}

.page h2:not(:first-of-type) {
  margin-top: 3em;
}

.page > h3 {
  margin-top: 1.5em;
  margin-bottom: 1em;
  padding: 15px 1.2em;
  font-size: 2rem;
  background-color: #dce5ff;
}

/* .page h3:not(:first-of-type) {
  margin-top: 1.5em;
} */

.page h4 {
  margin-bottom: 1em;
  font-size: 2rem;
  padding: 9px 10px;
  border-bottom: 2px solid #ddd;
}

.page h4:not(:first-of-type) {
  margin-top: 1em;
}

.page ol {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

.page ol li {
  margin-left: 1.5em;
  padding-left: 0.5em;
}

.page ol li::marker {
  font-weight: bold;
  color: #203e97;
}

.page > ul {
  margin-top: 2em;
  margin-bottom: 2em;
}

.page > ul > li {
  margin-top: 0.5em;
  margin-left: 1.5em;
  padding-left: 0.5em;
}

.page > ul > li::marker {
  font-weight: bold;
  color: #203e97;
}

.ta {
  text-align: center;
}

.page .bg {
  padding: 1em;
  background-color: #eee;
  border-radius: 1em;
}

/* .page p {
  text-indent: 1em;
}

.page #contact p {
  text-indent: 0;
} */

/* 無料サービス */
.free {
  display: flex;
  flex-direction: row;
  padding-left: 3px;
  overflow: hidden;
  margin: 2em 3px 6em;
}

.free-img {
  margin-right: 45px;
}

.free-img img {
  width: 100%;
}

.free-txt {
  flex: 1;
  line-height: 1.7;
}

@media screen and (max-width: 550px) {
  .free {
    flex-direction: column;
  }

  .free-img {
    margin: 0 auto;
  }

  .free-img img {
    width: auto;
  }

  .free-txt {
    margin-top: 0.5em;
  }
}

.free-txt ol {
  margin-bottom: 2em;
}

.free-txt ol li {
  margin-left: 1.5em;
  padding-left: 0.5em;
}

.free-txt ol li::marker {
  font-weight: bold;
  color: #203e97;
}

/* DX推進 */
#service-content .seminar-intro-txt {
  padding: 3.05em 0 2.1em;
}

@media screen and (max-width: 1000px), print {
  #service-content .flt-l {
    float: none;
    margin: 0 auto 3em;
    text-align: center;
  }

  #service-content .seminar-intro-txt {
    text-align: center;
    border-bottom: none;
    border-top: solid 4px #d9d9d9;
    padding-bottom: 0;
    padding-top: 2.1em;
    margin-bottom: 0;
    margin-right: 0;
  }
}

@media screen and (max-width: 580px), print {
  .seminar-intro-txt .br {
    display: block;
  }
}

.service-content.h2 {
  margin: 1.3em 0 0.7em;
  font-size: 3rem;
  padding: 0.2em 0.2em 0.3em 1em;
  border-bottom: 2px solid #203e97;
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  line-height: 1.5;
}

span.ttl-number {
  color: #203e97;
  font-size: 4rem;
  padding-right: 0.2em;
  vertical-align: -7%;
}

@media screen and (max-width: 660px), print {
  span.ttl-number {
    display: block;
  }
}

/***** セミナー *****/
/* セミナー　共通 */
.seminar-intro .flt-r {
  margin-left: 42px;
  margin-bottom: 2em;
  margin-top: 1em;
}

@media screen and (max-width: 840px), print {
  .seminar-intro .flt-r {
    float: none;
    margin: 3em 0;
    text-align: center;
  }
}

.seminar-txt {
  line-height: 1.7;
  padding-left: 3px;
}

.seminar-link {
  color: #333;
  text-decoration: underline;
}

.seminar.h4 {
  margin-top: 2em;
  margin-bottom: 1em;
  font-size: 2rem;
  padding: 9px 10px;
  border-bottom: 2px solid #203e97;
  font-family: "Noto Sans JP", sans-serif, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
}

/* セミナー */
.seminar-intro-txt {
  font-size: 1.8rem;
  line-height: 1.7;
  margin-right: 1em;
  padding: 3.4em 0 2.1em;
  border-bottom: solid 4px #d9d9d9;
}

@media screen and (max-width: 1000px), print {
  #seminar .flt-l {
    float: none;
    margin: 0 auto 3em;
    text-align: center;
  }

  #seminar .seminar-intro-txt {
    text-align: center;
    border-bottom: none;
    border-top: solid 4px #d9d9d9;
    padding-bottom: 0;
    padding-top: 2.1em;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 340px), print {
  .seminar-intro-txt {
    font-size: 1.7rem;
  }
}

.seminar-subtitle {
  margin: 1em 0 1em;
  font-size: 1.8rem;
  color: #203e97;
  line-height: 1.7;
}

.detail-link a {
  position: relative;
  display: inline-block;
  width: 259px;
  height: 60px;
  font-size: 1.8rem;
  background-color: #203e97;
  color: #fff;
  text-align: left;
  text-decoration: none;
  line-height: 1.2;
  padding: 1em 15px;
  margin-top: 2.5em;
}

.detail-link a:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 30px;
  height: 1px;
  background-color: #fff;
  transform: translateY(-50%);
}

.seminar-detail {
  line-height: 2;
  margin-bottom: 5em;
}

@media screen and (max-width: 1000px), print {
  #seminar .seminar-intro .flt-r {
    float: none;
    margin: 3em 0;
    text-align: center;
  }
}

@media screen and (max-width: 840px), print {
  .detail-link {
    text-align: center;
  }
}

/* 会計王セミナー */
.kk-seminar-txt {
  padding-left: 3px;
  line-height: 1.7;
}

.kk-seminar-txt a {
  color: #000;
  text-decoration: underline;
}

.kk-seminar-main {
  display: flex;
  flex-direction: row;
}

.kk-seminar-img img {
  width: 100%;
  padding-left: 39px;
  padding-bottom: 11px;
}

@media screen and (max-width: 1000px) {
  .kk-seminar-main {
    flex-direction: column;
  }

  .kk-seminar-img {
    display: flex;
    justify-content: center;
  }

  .kk-seminar-img img {
    padding: 1em;
  }

  .kk-seminar-txt {
    padding-bottom: 2em;
  }
}

@media screen and (max-width: 640px) {
  .kk-seminar-img {
    flex-direction: column;
  }
}

/* みらい経営塾 */
.keiei-seminar {
  padding: 0 0 1.5em 1em;
}

.seminar-txt p span.keiei-ttl {
  display: inline-block;
  margin-bottom: 1.5em;
}

/* キャッシュフローコーチ */
.cashflow-seminar {
  list-style: none;
  line-height: 2;
}

.cashflow-seminar li {
  color: #203e97;
  font-size: 1.8rem;
}

.cashflow-yt {
  display: block;
  margin: 5em auto 0;
}

/* 経営発表会 */
.content-img.col4 {
  display: flex;
  gap: 27px;
  justify-content: center;
  margin: 4em auto;
  flex-direction: row;
  flex-wrap: wrap;
}

.content-img.col4 img {
  max-width: 240px;
}

@media screen and (min-width: 840px) and (max-width: 1150px) {
  .content-img.col4 {
    width: 790px;
    gap: 41px;
  }
}

@media screen and (max-width: 840px), print {
  .content-img.col4 {
    flex-direction: column;
    align-items: center;
  }
}

.content-img.col2 {
  display: flex;
  gap: 41px;
  justify-content: center;
  margin: 4em auto;
  align-items: center;
}

@media screen and (max-width: 960px), print {
  .content-img.col2 {
    flex-direction: column;
  }

  .content-img.col2 img {
    width: 200px;
  }

  .content-img.col2:nth-child(2) img {
    width: 400px;
  }
}

span.blue-txt {
  display: inline-block;
  font-size: 1.8rem;
  color: #203e97;
  margin-top: 1em;
}

/* お客様の声 */
.small-txt {
  font-size: 2rem;
}

@media screen and (max-width: 1000px) {
  .small-txt {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .small-txt {
    font-size: 1.6rem;
  }
}

.voice-container {
  display: flex;
  flex-direction: row;
  padding-left: 3px;
  overflow: hidden;
  margin: 2em 3px 6em;
}

.voice-img img {
  width: 100%;
}

.voice-txt {
  flex: 1;
  line-height: 1.7;
  margin-right: 2.2em;
}

@media screen and (max-width: 840px) {
  .voice-container {
    flex-direction: column-reverse;
  }

  .voice-img {
    margin: 0 auto;
  }

  .voice-img img {
    width: auto;
    padding-bottom: 1em;
  }

  .voice-txt {
    margin-top: 0.5em;
    margin-right: 0;
  }
}

/* よくある質問 */
.faq-container {
  background: #f5f8ff;
  margin: 0 2px 28px;
  padding: 1.25em 1.62em;
}

.faq-question,
.faq-answer {
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.faq-question {
  padding: 0 0 20px 46px;
  border-bottom: solid 1px #ddd;
  position: relative;
}

.faq-question .faq-question-txt:before {
  position: absolute;
  content: "Q.";
  top: 0;
  left: 0;
  font-size: 3rem;
  font-weight: 700;
  color: #203e97;
  transform: translateY(-12px);
}

.faq-answer {
  padding: 20px 0 0 46px;
  position: relative;
}

.faq-answer .faq-answer-txt p:before {
  position: absolute;
  content: "A.";
  top: 0;
  left: 0.25%;
  font-size: 3rem;
  font-weight: 700;
  color: #ff7f2b;
  transform: translateY(12px);
}

a.faq-link {
  display: inline-block;
  margin-top: 2em;
  text-decoration: underline;
}

@media screen and (max-width: 540px), print {
  .faq-question {
    padding: 3em 0 1.5em;
  }

  .faq-answer {
    padding: 4em 0 1.5em;
  }
}

/* リンク */
.link-container {
  margin: 2.5em 0 5em;
}

.link-site {
  position: relative;
  padding: 0 0 1em 1.2em;
  vertical-align: middle;

  font-size: 18px;
  color: #203e97;
}

.link-site a:before {
  content: "";
  position: absolute;
  top: -15px;
  bottom: 0;
  left: 3px;
  margin: auto;
  width: 10px;
  height: 10px;
  border-top: 2px solid #203e97;
  border-right: 2px solid #203e97;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  vertical-align: middle;
}

.link-site a:hover::before {
  border-top: 2px solid #5471c8;
  border-right: 2px solid #5471c8;
}

.link-txt {
  padding-bottom: 3em;
  line-height: 1.7;
}

.link-flex-container {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}

.link-banner {
  display: flex;
  align-items: flex-start;
  gap: 35px;
}

.link-banner img {
  width: 100%;
  max-width: 177px;
}

.link-banner a:hover {
  opacity: 0.8;
}

@media screen and (max-width: 1000px), print {
  .link-flex-container {
    flex-direction: column;
  }

  .link-banner {
    margin: 0 auto 3em;
  }

  .link-txt {
    padding-bottom: 2em;
  }
}

@media screen and (max-width: 480px), print {
  .link-banner {
    flex-direction: column;
  }
}

/*税務コンテンツ*/
/*医療コンテンツ*/
/*相続コンテンツ*/
.mgnb50 {
  margin-bottom: 50px;
}

.mgnb30 {
  margin-bottom: 30px;
}

/*お役立ち情報*/
/* TOPページ */
.knowledge-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  margin-bottom: 2em;
}

.knowledge-item {
  max-width: 350px;
  flex: 0 0 calc(33.333% - 1em);
  background-color: #f5f8ff;
}

@media (max-width: 860px) {
  .knowledge-item {
    flex: 0 0 calc(50% - 1em);
  }
}

@media (max-width: 680px) {
  .knowledge-item {
    flex: 0 0 100%;
  }
}

.knowledge-thumbnail {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 3 / 2; /* 450px : 300px の比率を維持 */
  overflow: hidden;
  display: block;
  position: relative;
}

.knowledge-thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center; /* 中央を基準にトリミング */
}

.knowledge-link {
  display: block;
  padding: 2em;
}

.knowledge-link:hover {
  text-decoration: none;
}

.knowledge-item:hover {
  opacity: 0.6;
}

.knowledge-title {
  display: block;
  margin-top: 1em;
  padding: 0 0.8em;
  font-size: 1.8rem;
  font-weight: bold;
  border-left: solid 5px #203e97;
  color: #203e97;
}

@media (max-width: 860px) {
  .knowledge-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 680px) {
  .knowledge-title {
    font-size: 1.4rem;
  }
}

/*パンくずリスト*/
.has-bread {
  margin-bottom: 10px;
}
.breadcrumb {
  margin-bottom: 50px;
}
.breadcrumb span {
  margin: 0 5px;
}
.breadcrumb span:first-child {
  margin: 0 5px 0 0;
}
.tax-name {
  text-align: center;
  margin: 15px 0;
}
.tax-name:before,
.tax-name:after {
  content: " ー ";
  margin: 0 1em;
  color: #ccc;
}

/*アーカイブページ*/

.knowledge-item-secondary {
  max-width: 530px;
  flex: 0 0 calc(33.33333% - 2em);
  background-color: #f5f8ff;
  padding: 2em 2em 7em;
  position: relative;
}

@media (max-width: 980px) {
  .knowledge-item-secondary {
    flex: 0 0 calc(50% - 1em);
  }
}

@media (max-width: 680px) {
  .knowledge-item-secondary {
    flex: 0 0 100%;
  }
}

.knowledge-item-secondary > .knowledge-title {
  margin-top: 0;
}

.knowledge-item-secondary>.news-more{
  position: absolute;
  bottom: 2em;
}

.knowledge-link-secondary:hover {
  opacity: 0.6;
}

.knowledge-subtitle {
  padding: 0.5em 0;
  font-weight: bold;
  font-size: 1.6rem;
}

.knowledge-category-navi h2 {
  margin-top: 5em;
  margin-bottom: 0.7em;
  font-size: 2rem;
  padding: 0.2em 0.2em 0.5em 0.5em;
  border-left: 5px solid #203e97;
  border-bottom: 2px solid #203e97;
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  line-height: 1.5;
}

@media screen and (min-width: 768px), print {
  .knowledge-category-navi h2 {
    font-size: 3rem;
    padding-left: 1em;
  }
}

.knowledge-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  padding: 0 1em;
}

.knowledge-category-list li {
  padding-left: 1em;
  color: #203e97;
  position: relative;
  list-style: none;
}
.knowledge-category-list li::before {
  content: "";
  display: block;
  position: absolute;
  top: 1.15rem;
  left: 0em;
  width: 0.8rem;
  height: 0.8rem;
  margin: auto;
  border-top: 1px solid #203e97;
  border-right: 1px solid #203e97;
  transform: rotate(45deg);
}

/*詳細ページ*/
.knowledge-lead h1 {
  line-height: 1.2;
  font-size: 2.6rem;
  text-align: center;
  letter-spacing: 0.015em;
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

@media screen and (min-width: 768px), print {
  .knowledge-lead h1 {
    font-size: 4rem;
  }
}

@media screen and (min-width: 1100px), print {
  .knowledge-lead h1 {
    font-size: 5rem;
    letter-spacing: 0.035em;
  }
}

.knowledge-lead h1::first-letter {
  color: #203e97;
}

.knowledge-img-wrapper img {
  max-width: 650px;
  width: 100%;
  margin: 0 auto 20px;
}

.knowledge-img-wrapper img:hover{
  opacity: 0.6;
}

.knowledge-img-wrapper{
  text-align: center;
}

.knowledge-lead-wrapper {
  max-width: 650px;
  margin: 0 auto;
}

.knowledge-body h2 {
  margin-bottom: 0.7em;
  font-size: 2rem;
  padding: 0.2em 0.2em 0.5em 0.5em;
  border-left: 5px solid #203e97;
  border-bottom: 2px solid #203e97;
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  line-height: 1.5;
}

@media screen and (min-width: 768px), print {
  .knowledge-body h2 {
    font-size: 3rem;
    padding-left: 1em;
  }
}

.knowledge-body h3 {
  margin-bottom: 1em;
  padding: 15px 1.2em;
  font-size: 2rem;
  background-color: #dce5ff;
}

.knowledge-body p {
  margin-bottom: 1em;
}

.knowledge-body ol,
.knowledge-body ul {
  margin: 0 1em 1em 1.5em;
}

/*テーブル*/
#toc_container {
  background: #f5f5f5; /* 背景色 */
  /* border: 1px solid #ccc; 枠線 */
  box-sizing: border-box; /* スマホの横揺れ防止 */
  display: block !important;
  font-size: 95%; /* フォントサイズ */
  line-height: 2; /* 行間 */
  margin: 1em auto 5em auto; /* 外側の余白 */
  padding: 2em; /* 内側の余白 */
  width: 100% !important; /* 幅 */
}

@media screen and (min-width: 768px), print {
  #toc_container {
    width: 50% !important; /* 幅 */
  }
}

.toc_title {
  /* background: #eee; 背景色 */
  font-weight: bold; /* 太字 */
  padding: 0.4em 0; /* 内側の余白 */
  text-align: center; /* 中央寄せ */
}

.toc_toggle {
  font-size: 0.9em;
  font-weight: normal;
}

.toc_brackets {
  display: none;
}

.toc_list,
.toc_list * {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc_list {
  margin: 0 10px !important;
}

.toc_list a {
  display: block;
  text-decoration: none;
  color: #203e97; /* リンク色 */
  border-bottom: 1px dotted #eee; /* リンク下線 */
}

.toc_list > li > a {
  border-bottom: 1px dotted #ccc; /* 大見出しの下線 */
  font-size: 110%; /* 大見出しのフォントサイズ */
}

.toc_list ul {
  margin: 0 !important;
  padding: 1em 0 0 1em;
}

.toc_list li {
  margin: 1em 0 !important;
  padding-bottom: 0.4em !important;
}
.toc_list li ul {
  margin-bottom: 0 !important;
}
.toc_list li li {
  margin: 0 !important;
}

/*関連コンテンツ*/
.link-list-title {
  margin-bottom: 1em;
  padding: 15px 1.2em;
  font-size: 2.5rem;
  background-color: #f5f5f5;
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  margin-top: 5em;
}

.link-box {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: flex-start;
}

@media screen and (min-width: 768px), print {
  .link-box {
    flex-wrap: nowrap;
  }
}

.link-img {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3 / 2; /* 450px : 300px の比率を維持 */
  overflow: hidden;
  display: block;
  position: relative;
  flex-shrink: 0;
}

.link-img:hover {
  opacity: 0.6;
}

.link-img img {
  width: 300px;
  height: auto;
  object-fit: cover;
  object-position: center; /* 中央を基準にトリミング */
}

.link-list > ul > li:not(:last-child) {
  margin-bottom: 3em;
}

.link-detail-title {
  font-size: 1.8rem;
  margin-bottom: 0.5em;
}

.link-detail-btn {
  margin-top: 2em;
  text-align: center;
}

@media screen and (min-width: 768px), print {
  .link-detail-btn {
    text-align: left;
  }
}
