﻿/* --------------------------------

  CSS Reset

-------------------------------- */
/*! destyle.css v3.0.0 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */
/* ============================================ */
*,
::before,
::after {
    box-sizing: border-box;
    border-style: solid;
    border-width: 0;
}

/* Document */
/* ============================================ */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */
html {
    line-height: 1.15;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
    -webkit-tap-highlight-color: transparent;
    /* 3*/
}

/* Sections */
/* ============================================ */
/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
    margin: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Lists (definition) */
/* ============================================ */
dt {
    font-weight: bold;
}

dd {
    margin-left: 0;
}

/* Grouping content */
/* ============================================ */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
    border-top-width: 1px;
    margin: 0;
    clear: both;
    color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: inherit;
    /* 2 */
}

address {
    font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
    /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: inherit;
    /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Replaced content */
/* ============================================ */
/**
 * Prevent vertical alignment issues.
 */
svg,
img,
embed,
object,
iframe {
    vertical-align: bottom;
}

img {
    max-width: 100%;
}

/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */
button,
input,
optgroup,
select,
textarea {
    -webkit-appearance: none;
    /* 1 */
    -moz-appearance: none;
    appearance: none;
    vertical-align: middle;
    color: inherit;
    font: inherit;
    background: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
    text-align: inherit;
    text-transform: inherit;
    /* 2 */
}

/**
 * Reset radio and checkbox appearance to preserve their look in iOS.
 */
[type="checkbox"] {
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    appearance: checkbox;
}

[type="radio"] {
    -webkit-appearance: radio;
    -moz-appearance: radio;
    appearance: radio;
}

/**
 * Correct cursors for clickable elements.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
    cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */
:-moz-focusring {
    outline: auto;
}

select:disabled {
    opacity: inherit;
}

/**
 * Remove padding
 */
option {
    padding: 0;
}

/**
 * Reset to invisible
 */
fieldset {
    margin: 0;
    padding: 0;
    min-width: 0;
}

legend {
    padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the outline style in Safari.
 */
[type="search"] {
    outline-offset: -2px;
    /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/**
 * Clickable labels
 */
label[for] {
    cursor: pointer;
}

/* Interactive */
/* ============================================ */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/*
 * Remove outline for editable content.
 */
[contenteditable]:focus {
    outline: auto;
}

/* Tables */
/* ============================================ */
/**
1. Correct table border color inheritance in all Chrome and Safari.
*/
table {
    border-color: inherit;
    /* 1 */
}

caption {
    text-align: left;
}

td,
th {
    vertical-align: top;
    padding: 0;
}

th {
    text-align: left;
    font-weight: bold;
}

/* --------------------------------

  共通スタイル

-------------------------------- */
.main-heading {
    position: relative;
        font-family: "Noto Serif JP", serif;
    font-size: 4.64rem;
    font-weight: 500;
    line-height: 1.3;
    padding-left: 0.9em;
    margin-bottom: 1.5em;
}

@media screen and (max-width: 767.98px) {
    .main-heading {
        font-size: 3.2rem;
    }
}

.main-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.32rem;
    width: 0.8rem;
    bottom: 0;
    background: #34d0c5;
}

.main-heading::after {
    content: "";
    position: absolute;
    left: 0.8rem;
    top: 0.32rem;
    width: 0.8rem;
    bottom: 0;
    background: #84b978;
}

/* 共通見出し（h4相当）*/
.main-subheading {
    position: relative;
        font-family: "Noto Serif JP", serif;
    font-size: 3.52rem;
    font-weight: 500;
    line-height: 1.3;
    padding-bottom: 0.4em;
    margin-bottom: 1.2em;
    border-bottom: 3px solid #ddd;
}

@media screen and (max-width: 767.98px) {
    .main-subheading {
        font-size: 2.88rem;
    }
}

.main-subheading::before {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 70px;
    height: 3px;
    background: #34d0c5;
}

/* 共通見出し（h5相当）*/
.main-subsubheading {
    position: relative;
    color: #84b978;
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1em;
}

@media screen and (max-width: 767.98px) {
    .main-subsubheading {
        font-size: 2.88rem;
    }
}

.common-content:not(:last-child) {
    margin-bottom: 4em;
}

.common-content ul li {
    list-style: disc;
    margin-left: 1.3em;
}

.common-content ul li:not(:last-child) {
    margin-bottom: 1em;
}

.common-content ul li:not(:last-child) ul li {
    margin-top: 0.3em;
    margin-bottom: 0.3em;
}

.common-content ul li:not(:last-child) ol li {
    margin-top: 0.3em;
    margin-bottom: 0.3em;
}

.common-content ul li ul li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.common-content ul li ul li:first-child {
    margin-top: 0.7em;
    margin-bottom: 0.3em;
}

.common-content ul li ol li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.common-content ul li ol li:first-child {
    margin-top: 0.7em;
    margin-bottom: 0.3em;
}

.common-content ol li {
    list-style: decimal;
    margin-left: 1.3em;
}

.common-content ol li:not(:last-child) {
    margin-bottom: 1em;
}

.common-content ol li:not(:last-child) ul li {
    margin-top: 0.3em;
    margin-bottom: 0.3em;
}

.common-content ol li:not(:last-child) ol li {
    margin-top: 0.3em;
    margin-bottom: 0.3em;
}

.common-content ol li ul li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.common-content ol li ul li:first-child {
    margin-top: 0.7em;
    margin-bottom: 0.3em;
}

.common-content ol li ol li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.common-content ol li ol li:first-child {
    margin-top: 0.7em;
    margin-bottom: 0.3em;
}

.common-content ol>li {
    margin-left: 1.5em !important;
}

.common-content ol.list-number {
    counter-reset: list-counter;
}

.common-content ol.list-number li {
    position: relative;
    padding-left: 1.5em;
    margin-left: 0 !important;
    list-style: none;
}

.common-content ol.list-number li::before {
    counter-increment: list-counter;
    content: counter(list-counter);
    display: inline-block;
    position: absolute;
    top: 1.28rem;
    left: 0;
    border: 1px solid #555;
    border-radius: 50%;
    height: 18px;
    width: 18px;
    color: #333;
    font-size: 1.92rem;
    line-height: 2.4rem;
    text-align: center;
    background-color: transparent;
}

.common-block:not(:last-child) {
    margin-bottom: 4em;
}

.common-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3em;
}

@media screen and (max-width: 1099.98px) {
    .common-container {
        flex-direction: column;
    }
}

.common-main {
    flex: 1;
    margin: 0 0 2em 0;
}

@media screen and (min-width: 1100px),
print {
    .common-main {
        margin: 0 3em 0 0;
    }
}

.common-side {
    text-align: center;
}

.common-side img {
    max-width: 100%;
    height: auto;
}

.common-list {
    margin-bottom: 2em;
}

.case-box .common-list {
    margin-bottom: 0;
}

.common-list dl {
    margin-bottom: 2.5em;
}

.common-list dt {
    font-size: 2.88rem;
    margin-bottom: 0.5em;
}

.common-list li {
    line-height: 1.8;
    margin-left: 1.3em;
}

.common-list li:not(:last-child) {
    margin-bottom: 1em;
}

.common-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 3em;
}

.common-table tr:first-child th,
.common-table tr:first-child td {
    border-top: 1px solid #ccc;
}

.common-table tr th,
.common-table tr td {
    vertical-align: middle;
    padding: 0.9em 0.7em;
    border-bottom: 1px solid #ccc;
}

@media screen and (max-width: 767.98px) {

    .common-table tr th,
    .common-table tr td {
        font-size: 2.4rem;
    }
}

.common-table tr th {
    font-weight: 500;
        font-family: "Noto Serif JP", serif;
    width: 20em;
    background-color: #f7f7f7;
}

@media screen and (max-width: 479.98px) {
    .common-table tr th {
        width: 6.5em;
    }
}

.common-note {
    font-size: 2.4rem;
}

.common-text {
    line-height: 1.8;
    margin-bottom: 3em;
}

.common-text p:not(:last-child) {
    margin-bottom: 1.5em;
}

.common-heading {
    display: block;
    line-height: 1.2;
    font-size: 4.8rem;
    padding-bottom: 3.2rem;
    color: #34d0c5;
    text-align: center;
    border-bottom: 1px solid #34d0c5;
}

@media screen and (max-width: 1099.98px) {
    .common-heading {
        font-size: 3.84rem;
    }
}

@media screen and (max-width: 767.98px) {
    .common-heading {
        font-size: 3.2rem;
        padding-bottom: 2.4rem;
    }
}

@media screen and (max-width: 479.98px) {
    .common-heading {
        font-size: 2.88rem;
    }
}

.common-subheading {
    position: relative;
    font-size: 2.72rem;
    line-height: 1.2;
    padding-left: 1.2em;
    margin-bottom: 1.2em;
}

@media screen and (min-width: 640px),
print {
    .common-subheading {
        font-size: 2.88rem;
    }
}

.common-subheading::before {
    content: "";
    position: absolute;
    top: 0.48rem;
    left: 0;
    width: 10px;
    height: 17px;
    background-color: #34d0c5;
    transform: skewX(-30deg);
}

/* 注釈（※）用インデント */
.note {
    margin-left: 1em;
    text-indent: -1em;
}

.common-link {
    position: relative;
    display: block;
    line-height: 1.2;
    font-size: 2.56rem;
    font-weight: 500;
    z-index: 0;
}

@media screen and (max-width: 1099.98px) {
    .common-link {
        font-size: 2.24rem;
    }
}

@media screen and (max-width: 767.98px) {
    .common-link {
        font-size: 1.92rem;
    }
}

.common-link:hover::before {
    background: url("../img/base/icon-arrow_wht.png") no-repeat center/cover;
}

.common-link:hover::after {
    background-color: #fff;
}

.common-link:hover span {
    background-color: #34d0c5;
    color: #fff;
}

.common-link span {
    display: block;
    padding: 2.4rem 4em 2.4rem 3.2rem;
    background-color: #fff;
    color: #34d0c5;
    border: 1px solid #34d0c5;
    transition-timing-function: ease;
    transition-duration: 0.5s;
    transition-property: color, background-color;
}

@media screen and (max-width: 1099.98px) {
    .common-link span {
        padding: 1.92rem 8.8rem 1.92rem 2.08rem;
    }
}

.common-link::before {
    content: "";
    position: absolute;
    top: calc(50% - 0.8rem);
    right: 2.4rem;
    display: block;
    width: 42px;
    height: 7px;
    background: url("../img/base/icon-arrow_blk.png") no-repeat center/cover;
    transition-timing-function: ease;
    transition-duration: 0.5s;
    transition-property: all;
}

@media screen and (max-width: 1099.98px) {
    .common-link::before {
        width: 35px;
        height: 6px;
        top: calc(50% - 0.64rem);
    }
}

.common-link::after {
    content: "";
    position: absolute;
    top: 0.96rem;
    left: 0.96rem;
    width: 100%;
    height: 100%;
    border: 1px solid #34d0c5;
    background-color: #34d0c5;
    z-index: -1;
    transition-timing-function: ease;
    transition-duration: 0.5s;
    transition-property: background-color, border-color;
}

.link-button,
.link-button_w {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 15em;
    padding: 0.8em 3em 0.9em 2em;
    color: #fff;
    font-size: 2.24rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    background-color: #036;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
    border-radius: 5em;
    margin-top: 2.5em;
}

@media screen and (min-width: 768px),
print {

    .link-button,
    .link-button_w {
        font-size: 2.72rem;
        padding: 1.1em 3em 1.2em 3em;
    }
}

.link-button:hover,
.link-button_w:hover {
    background-color: #f09954;
    color: #fff;
}

.link-button_w {
    background-color: #fff;
    color: #036;
}

.link-button_w:hover {
    background-color: #f09954;
    color: #fff;
}

/* 共通リンクボタン（ホバー）*/
/* コンテンツ画面中央寄せ */
.inner {
    position: relative;
    max-width: 1250px;
    margin-right: auto;
    margin-left: auto;
}

.inner::after {
    content: "";
    display: table;
    clear: both;
}

/* アンカー位置調整 */
.anchor-point {
    display: block;
}

.anchor-point::before {
    content: "";
    display: block;
    position: relative;
    height: 1px;
    margin-top: -151px;
    padding-bottom: 150px;
    background: transparent;
    z-index: -100;
}

@media screen and (min-width: 1100px),
print {
    .anchor-point::before {
        margin-top: -209px;
        padding-bottom: 209px;
    }
}

.global-contact {
    display: flex;
    align-items: center;
}

@media screen and (min-width: 1100px),
print {
    .global-contact {
        display: none;
    }
}

.global-contact:has(.nav.fixed) {
    align-items: stretch;
}

.global-contact-tel {
    position: relative;
    z-index: 9999;
}

@media screen and (max-width: 1099.98px) {
    .global-contact-item {
        width: 50%;
        height: 60px;
    }
}

.global-contact-item.mail {
    position: relative;
    z-index: 9999;
}

.global-contact-item.mail a {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
    place-content: center;
    text-align: center;
    background-color: #036;
    color: #fff;
    line-height: 1.2;
    font-size: 2.24rem;
    transition: opacity 0.3s ease;
}

.global-contact-item.mail a:hover {
    opacity: 0.8;
}

.global-contact-item.mail a span {
    position: relative;
    display: inline-block;
    font-weight: 500;
    padding: 0 0 0 1.8em;
}

.global-contact-item.mail a span::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 20px;
    height: 15px;
    background: url("../img/base/icon-mail_wht.png") no-repeat center/contain;
}

.global-contact-item.tel .tel-link {
    display: block;
    text-align: center;
    width: 100%;
    height: 60px;
    background: #fff;
    place-content: center;
}

.global-contact-item.tel .tel-time {
    display: block;
    line-height: 1.2;
    font-size: 1.76rem;
    font-weight: 500;
}

.global-contact-item.tel .tel-num {
    position: relative;
    display: inline-block;
    padding: 0 0 0 3.2rem;
    line-height: 1.1;
    color: #222;
        font-family: "Noto Serif JP", serif;
    font-size: 4rem;
    font-weight: 500;
}

.global-contact-item.tel .tel-num::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-55%);
    width: 18px;
    height: 18px;
    background: url("../img/base/icon-tel_blk.png") no-repeat center/contain;
}

.mt-0 {
    margin-top: 0 !important;
}

/* --------------------------------

  html, body

-------------------------------- */
html,
body {
    height: 100%;
}

html {
    -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;
}


body {
    min-width: 320px;
    color: #111;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.4;
    text-align: left;
    background-color: #fff;
}

html.nav-open,
html.contact-open {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

/* --------------------------------

  アニメーション

-------------------------------- */
._anim-point {
    opacity: 0;
    transform: translateY(30px);
    transition-property: opacity, transform;
    transition-timing-function: ease;
    transition-duration: 0.6s;
    transition-delay: 0.3s;
}

@media screen and (min-width: 1100px),
print {
    ._anim-point {
        transition-duration: 0.6s;
        transition-delay: 0.3s;
    }
}

._anim-point.active {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------

  Lower page common

-------------------------------- */
:root {
    --lower-primary: #006fa8;
    --lower-primary-dark: #005792;
    --lower-accent: #34d0c5;
    --lower-text: #222;
    --lower-muted: #666;
    --lower-border: #ddd;
    --lower-bg: #f4f8fb;
}

.page-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 350px;
    overflow: hidden;
    background: url("../img/img_mv1.png") no-repeat center/cover;
    z-index: 1;
}

.page-title::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
}

.page-title-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 1250px);
    height: 100%;
    padding: 6.4rem 2rem;
    text-align: center;
}

.page-title-name {
    display: inline-block;
    color: #fff;
    font-family: "Zen Old Mincho", "Noto Serif JP", serif;
    font-size: clamp(2.4rem, 2.6vw, 3.84rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.05em;
    text-shadow: 0 3px 16px rgba(0, 37, 74, 0.32);
}

.main {
    position: relative;
    display: block;
    width: 100%;
    padding: 0 1em;
    background: #fff;
    z-index: 2;
}

@media screen and (min-width: 1100px),
print {
    .main {
        padding: 0 2em;
    }
}

.main>.inner {
    max-width: none;
}

.pankz {
    max-width: 1250px;
    margin: 0 auto;
    padding: 2.56rem 0 0;
    color: var(--lower-muted);
    font-size: 1.4rem;
    line-height: 1.8;
}

.pankz a {
    color: var(--lower-primary);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.pankz a:hover {
    color: var(--lower-primary-dark);
    text-decoration: none;
}

.pankz-area {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em 1.2em;
    max-width: 1250px;
    margin: 0 auto;
}

.pankz-item {
    position: relative;
    color: var(--lower-muted);
    list-style: none;
}

.pankz-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -0.8em;
    width: 0.45em;
    height: 0.45em;
    border-top: 1px solid #999;
    border-right: 1px solid #999;
    transform: translateY(-50%) rotate(45deg);
}

.section {
    width: 100%;
}

.secondary-section {
    padding: 4.8rem 0 0;
}

.secondary-section p {
    line-height: 1.8;
}

.secondary-section>.inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    max-width: 1100px;
    margin: 0 auto 4.8rem;
    text-align: center;
}

.section-heading {
    display: block;
    color: var(--lower-text);
    font-family: "Zen Old Mincho", "Noto Serif JP", serif;
}

.section-heading .jp {
    display: block;
    font-size: clamp(2.88rem, 3vw, 4.8rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.05em;
}
@media screen and (min-width: 1025px) {
    .secondary-section .section-heading .jp {
        font-size: clamp(2.6rem, 2.6vw, 4.2rem);
    }
}

.section-heading .en {
    display: block;
    margin-top: 0.7em;
    color: var(--lower-primary);
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.18em;
}

.list-style-none {
    list-style: none;
}

.news-list {
    border-top: 1px solid var(--lower-border);
}

.news-topics {
    border-bottom: 1px solid var(--lower-border);
}

.news-link {
    position: relative;
    display: grid;
    grid-template-columns: 8.5em 1fr;
    gap: 2.4rem;
    align-items: center;
    padding: 2.4rem 4rem 2.4rem 0;
    color: var(--lower-text);
    transition: color 0.3s ease;
}

.news-link::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.8rem;
    width: 1.04rem;
    height: 1.04rem;
    border-top: 2px solid #aaa;
    border-right: 2px solid #aaa;
    transform: translateY(-50%) rotate(45deg);
    transition: border-color 0.3s ease, right 0.3s ease;
}

.news-link:hover {
    color: var(--lower-primary);
}

.news-link:hover::after {
    right: 0;
    border-color: var(--lower-primary);
}

.news-date {
    color: var(--lower-muted);
        font-family: "Noto Serif JP", serif;
    font-size: 1.52rem;
    font-weight: 500;
    line-height: 1.2;
}

.news-title {
        font-family: "Noto Serif JP", serif;
    font-size: 1.68rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.03em;
}

.category-text {
    margin-bottom: 4.8rem;
    line-height: 1.8;
}

.category-text h2,
.category-text h3 {
    margin: 1.25em 0 0.5em;
    font-weight: 700;
}

.category-text p:not(:last-child) {
    margin-bottom: 1em;
}

.category-list ul,
.taxonomy-list ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem;
}

.category-list li,
.taxonomy-list li {
    min-width: 0;
}

.category-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.8rem;
    overflow: hidden;
    padding: 2.4rem;
    background: #fff;
    border: 1px solid var(--lower-border);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.category-list li:hover {
    border-color: var(--lower-primary);
    transform: translateY(-2px);
}

.category-link {
    display: block;
    flex: 1;
    min-width: 0;
    color: var(--lower-text);
    transition: color 0.3s ease;
}

.taxonomy-link {
    display: block;
    height: 100%;
    padding: 2.4rem;
    color: var(--lower-text);
    background: #fff;
    border: 1px solid var(--lower-border);
    transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.category-list li:hover .category-link,
.taxonomy-link:hover {
    color: var(--lower-primary);
}

.taxonomy-link:hover {
    border-color: var(--lower-primary);
    transform: translateY(-2px);
}

.category-img {
    flex: 0 0 90px;
    width: 90px;
    height: 90px;
    overflow: hidden;
    background: #f5f5f5;
}

.category-img img {
    display: block;
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.category-title,
.taxonomy-title {
    margin-bottom: 1.04rem;
        font-family: "Noto Serif JP", serif;
    font-size: 1.84rem;
    font-weight: 700;
    line-height: 1.5;
}

.category-body,
.taxonomy-body {
    color: var(--lower-muted);
    font-size: 1.52rem;
    line-height: 1.8;
}

.detail-text {
    margin-bottom: 4.8rem;
    line-height: 1.8;
}

.detail-text h2,
.detail-text h3,
.detail-text h4 {
        font-family: "Noto Serif JP", serif;
    font-weight: 700;
    line-height: 1.5;
}

.detail-text h2 {
    margin: 2.8em 0 1em;
    padding-bottom: 0.45em;
    font-size: 2.64rem;
    border-bottom: 2px solid var(--lower-primary);
}

.detail-text h3 {
    position: relative;
    margin: 2.4em 0 1em;
    padding: 0.75em 1em 0.75em 1.1em;
    font-size: 2.16rem;
    background: var(--lower-bg);
    border-left: 5px solid var(--lower-primary);
}

.detail-text h4 {
    position: relative;
    margin: 2em 0 0.8em;
    padding-left: 1.1em;
    font-size: 1.84rem;
}

.detail-text h4::before {
    content: "";
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 0.55em;
    height: 0.55em;
    background: var(--lower-primary);
}

.detail-text p:not(:last-child) {
    margin-bottom: 1.2em;
}

.detail-text ul,
.detail-text ol {
    margin: 1.2em 0;
    padding-left: 1.4em;
}

.detail-text ul {
    list-style: disc;
}

.detail-text ol {
    list-style: decimal;
}

.detail-text li:not(:last-child) {
    margin-bottom: 0.6em;
}

.detail-text blockquote {
    margin: 1.8em 0;
    padding: 1.5em;
    background: var(--lower-bg);
    border-left: 4px solid var(--lower-primary);
}

.detail-text table {
    width: 100%;
    margin: 1.5em 0;
    border-collapse: collapse;
}

.detail-text th,
.detail-text td {
    padding: 0.75em 1em;
    border: 1px solid var(--lower-border);
}

.detail-text th {
    background: #f7f7f7;
    font-weight: 700;
}

.detail-paging {
    margin-top: 4.8rem;
}

.detail-paging-subsection:first-child {
    display: flex;
    justify-content: space-between;
    gap: 1.6rem;
    margin-bottom: 2.4rem;
}

.detail-paging-subsection a {
    color: var(--lower-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.detail-paging-subsection a:hover {
    color: var(--lower-primary-dark);
    text-decoration: none;
}

.detail-paging-subsection .back {
    text-align: center;
}

.pagination {
    margin-top: 4rem;
    text-align: center;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5em;
    min-height: 2.5em;
    margin: 0.32rem;
    padding: 0.45em 0.8em;
    color: #fff;
    line-height: 1.2;
    background: #aaa;
    border-radius: 0.4rem;
}

.pagination a:hover,
.pagination span.current {
    color: #fff;
    background: var(--lower-primary);
    text-decoration: none;
}

.privacy {
    line-height: 1.8;
}

.privacy h2,
.privacy h3 {
    margin: 2em 0 0.8em;
    font-weight: 700;
}

.privacy p:not(:last-child) {
    margin-bottom: 1em;
}

@media screen and (max-width: 767.98px) {
    .page-title {
        min-height: 190px;
        margin-top: 60px;
    }

    .page-title-inner {
        padding: 4.8rem 1.6rem;
    }

    .main {
        padding-right: 1.6rem;
        padding-bottom: 7.2rem;
        padding-left: 1.6rem;
    }

    .secondary-section {
        padding-top: 4rem;
    }

    .section-header {
        margin-bottom: 3.2rem;
    }

    .news-link {
        grid-template-columns: 1fr;
        gap: 0.96rem;
        padding: 2rem 3.2rem 2rem 0;
    }

    .category-list ul,
    .taxonomy-list ul {
        grid-template-columns: 1fr;
    }

    .detail-paging-subsection:first-child {
        flex-direction: column;
    }

    .detail-paging-subsection .next {
        text-align: right;
    }

    .common-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}


/* --------------------------------

  フォーム部品

-------------------------------- */
.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;
      font-family: "Noto Serif JP", serif;
  font-weight: 500;
  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;
      font-family: "Noto Serif JP", serif;
  font-weight: 500;
  width: 3em;
  margin: 0 auto;
  text-align: center;
  transform: translateY(-50%);
}

.contact-form table th .require {
  background-color: #1F4E79;
}

.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;
  border: 1px solid #999;
}

.contact-form table td textarea {
  padding: 8px 4px;
  border-radius: 3px;
  border: 1px solid #999;
}

.contact-submit {
  margin-top: 1em;
  text-align: center;
}

.contact-submit .btn {
  display: block;
  border: 1px solid #1F4E79;
  background-color: #1F4E79;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 20px;
  width: 150px;
  margin: 0 auto;
  cursor: pointer;
  transition: background-color 0.3s ease;
  transition-property: background-color, color;
  transition-timing-function: ease;
  transition-duration: 0.5s;
}

.contact-submit .btn:hover {
  color: #fff;
  background-color: #2E8B57;
}


/* --------------------------------

  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: 320px;
    color: #111;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
    line-height: 1.4;
    text-align: left;
    background-color: #fff;
}



