@charset "UTF-8";

/* 共通 */
html {
    overflow-y: scroll;
    scroll-behavior: smooth;
}

body {
    background-color: #fff;
    font-family: "Noto Sans JP", sans-serif;
}

body.modal-open {
    overflow: hidden;
}

.wrapper {
    width: 85%;
    margin: 0 auto;
    padding: 3rem 0;
}

a {
    text-decoration: none;
    font-weight: bold;
    color: #fff;
}

li {
    list-style: none;
    font-size: 20px;
}

p {
    font-size: 20px;
}
/* 紫の背景 */
.privacy-content,
.news-select,
.news-detail-text,
.about-company,
.company,
.product-detail-text-ol,
.case-detail-content {
    background-color: #F5F3FF;
    border-radius: 1.25rem;
    padding: 3rem 5rem;
    margin: 4rem 0;
    box-shadow: 0 8px 24px rgba(97, 97, 97, .4);
}

/*各ページの見出し*/
.contents-title h1 {
    font-weight: bold;
    margin-top: 4rem;
    font-size: 48px;
    line-height: 1.4;
    position: relative;
    display: block;
    padding-bottom: .5rem;
    width: 100%;
    margin-bottom: .5rem;
}

.contents-title h1::before,
.contents-title h1::after {
    content: "";
    position: absolute;
    left: 50%;
    height: 2px;
    background: #8689C3;
    left: 0;
    transform: none;
    width: 100%;
}

.contents-title h1::before {
    bottom: 0;
}

.contents-title h1::after {
    bottom: .25rem;
}

/* ページネーション */
.news-pagination,
.magazine-pagination {
    cursor: pointer;
    padding: .5rem;
}

.news-pagination-inner,
.magazine-pagination-inner {
    font-family: "Zen Maru Gothick",sans-serif;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-page-button,
.magazine-page-button {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #162D56;
    background: #fff;
    color: #162D56;
    text-decoration: none;
    margin-left: -2px;
}

.news-page-button:hover,
.magazine-page-button:hover {
    color: #8689C3;
    transition: .4 ease;
}

.news-pagination .is-active,
.magazine-pagination .is-active {
    background: #162D56;
    color: #fff;
}

/* 画像ズーム */
.zoom-target {
    max-width: 90%;
    max-height: 90vh;
    cursor: zoom-in;
    transition: transform .3s ease;
}

.zoom-target.is-zoom {
    transform: scale(1.9);
    transform-origin: top center;
    cursor: zoom-out;
}

/* バナー */
.contents-banner {
    margin-top: 4rem;
}

.contents-banner img {
    margin: 0 auto;
}

/* 丸いボタン */
.btn-next {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 1rem 0;
    gap: .5rem;
    font-weight: bold;
}

.btn-next p {
    margin: 0;
}

.btn-next a {
    width: 4.25rem;
    height: 4.25rem;
    display: block;
}

/*call-to-actionボタン*/
.cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 4rem 0;
}

.cta-button {
    width: 250px;
    display: inline-block;
    text-align: center;
    font-weight: bold;
}

/* ページトップに戻る */
.page-top {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #162D56;
    background: #fff;
    color: #162D56;
    transition:
        opacity .3s ease,
        transform .3s ease,
        visibility .3s ease,
        bottom .3s ease;
    z-index: 999;
}
/* ↑↑↑↑↑↑↑↑↑↑↑ ここまで共通 ↑↑↑↑↑↑↑↑↑↑↑ */

/* パンくずリスト */
.breadcrumb {
    margin-top: 90px;
    background-color: #dfdfdf;
}

.breadcrumb-list {
    display: flex;
}

.breadcrumb li {
    padding: .25rem;
}

.breadcrumb-item {
    font-size: 12px;
    color: #000;
}

.breadcrumb-item a {
    color: inherit;
    font-weight: inherit;
}

.breadcrumb-item a:hover {
    color: #9230ee;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    margin: 0 .5rem;
    color: #000;
}

/* ヘッダー header */
.header {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    padding: .25rem;
    background: rgba(22, 45, 86, .9);
    backdrop-filter: blur(5px);
    border-radius: 999px;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    margin: 0 1.5rem;
}

.header-nav {
    margin-left: auto;
    margin-right: 3rem;
}

.header-contentsbox {
    display: flex;
    color: #fff;
    align-items: center;
}

.header-contents {
    margin: 0 1rem;
}

.header-contents a {
    position: relative;
}

.header-contents a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transition: .3s;
}

.header-contents a:hover::after,
.header-contents a.current::after {
    transform: scaleX(1);
}

.hamburger {
  display: none;
}

.drawer {
  display: none;
}

/* フッター footer */
.footer {
    background-color: #162D56;
    color: #fff;
    padding: 4rem 8rem 1rem;
    text-align: center;
    justify-content: center;
    display: flex;
    position: relative;
}

.footer-contentsbox {
    display: flex;
    margin: 1rem;
}

.footer-contentsbox a {
    font-size: 16px;
    font-weight: 400;
}

.footer-contents {
    padding: 0 1rem;
}

.footer-contents+.footer-contents {
    border-left: 1px solid #fff;
}

.footer-logo img {
    display: block;
    margin: 0 auto;
}

.footer-text {
    margin-top: 1rem;
    font-size: 14px;
}

.footer-inner small {
    display: block;
    margin: 2rem 0 .5rem;
    font-size: 12px;
}

.footer-privacymark {
    position: absolute;
    right: 3rem;
    bottom: 1rem;
}

.footer-privacymark img {
    width: 6rem;
}

/* キービジュアル hero */
.hero-swiper {
    height: 100vh;
}

.hero-swiper .swiper-slide {
    height: 100%;
}

.hero-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}

/* about_company */

.about-company p {
    margin: 1.5rem 0;
}

/* about-products */
.about-products {
    margin: 2rem 0;
}

.about-text {
    position: relative;
    padding: 0 5rem;
}

.about-text h1,
.about-text p {
    position: relative;
    z-index: 1;
}


.about-text h1 {
    font-size: 66px;
    position: relative;
    display: inline-block;
    margin-top: 5rem;
}

.about-text::before {
    content: "";
    position: absolute;
    width: 10rem;
    height: 10rem;
    border: 8px solid #8689C3;
    border-radius: 50%;
    top: 4rem;
    left: .5rem;
}

/* カード */
.about-products-content,
.products-content,
.case-content {
    width: 100%;
    margin: 0 auto;
}

.about-products-content .products-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.products-cards {
    gap: 2rem;
    margin: 3.5rem 0;
    justify-content: center;
}

.card {
    position: relative;
    width: 270px;
    height: 170px;
    overflow: hidden;
    border-radius: .75rem;
    box-shadow: 0 8px 24px rgba(97, 97, 97, .5);

}

.card-text,
.card img {
    position: absolute;
    inset: 0;
}

.card-text {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    background-color: rgba(100, 100, 100, .8);
    color: #fff;
    transition: transform .2s ease;
    z-index: 2;
    padding: .25rem;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: scale(1.3);
    transition: transform .6s ease;
}

.card-hover-text {
    position: absolute;
    inset: 0;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0;
    transition: opacity .4s ease;
    z-index: 3;
    font-size: 16px;
    font-weight: 450;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    opacity: 0;
    transition: opacity .2s ease;
    z-index: 1;
    pointer-events: none;
}

.card:hover {
    transform: scale(1.15);
    transition: transform .2s ease;
    z-index: 4;
}

.card:hover .card-text {
    transform: translateY(-100%);
}

.card:hover img {
    transform: scale(1);
}

.card:hover::before {
    opacity: 1;
}

.card:hover .card-hover-text {
    opacity: 1;
}

/* about-case */
/* swiper */
.about-casestudy-swiper {
    width: 600px;
    overflow: hidden;
    position: relative;
    background-color: #DBD5FF;
    padding: 1.75rem;
    margin: 3.5rem 0;
}

.about-casestudy-swiper .swiper-wrapper {
    transition-timing-function: linear;
}

.about-casestudy-swiper .swiper-slide {
    width: 500px;
    position: relative;
}

.about-casestudy-swiper .swiper-slide img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.swiper-slide {
    border-radius: .75rem;
    overflow: hidden;
}

.about-casestudy-swiper .swiper-slide p {
    font-size: 26px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    margin: 0;
    background: rgba(0, 0, 0, .7);
    color: #fff;
    text-align: center;
}

.slider-full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}

/* about-news */
.about-news {
    background-color: #F7F7F7;
    padding: 10rem 6rem 6rem;
}

.about-news-content {
    display: grid;
    grid-template-columns: 16rem minmax(0, 1fr);
    column-gap: 4rem;
    row-gap: 1.5rem;
    align-items: start;
    margin-bottom: 2rem;
}

.about-news h1 {
    margin: 0;
}

.news-list {
    width: 100%;
    margin: 0;
}

.news-item {
    position: relative;
    margin-bottom: 3rem;
    padding: .25rem;
}

.news-item::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.5px;
    background: #616161;
}

.news-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #8689C3;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .9s ease;
}

.news-item:hover::after {
    transform: scaleX(1);
}

.news-item a {
    color: #000;
    font-weight: 400;
    display: flex;
}

.news-item time {
    display: block;
    width: 8rem;
    flex-shrink: 0;
}

.news-filters,
.news-list {
    grid-column: 2;
}

.news-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.news-filter-wrap {
    margin-bottom: 2rem;
}

.news-filter {
    padding: .5rem 1rem;
    border: 2px solid #162D56;
    border-radius: 999px;
    background-color: #fff;
    color: #162D56;
    font-size: 14px;
    cursor: pointer;
    transition: .3s;
}

.news-filter:hover {
    background-color: #6382b8;
    color: #fff;
}

.news-filter.is-active {
    background-color: #162D56;
    color: #fff;
}

.news-filter.is-active:hover {
    background-color: #162D56;
    color: #fff;
}

.news-item p {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.news-badge {
    display: inline-block;
    padding: .15rem .5rem;
    border-radius: 999px;
    background-color: #D93838;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .08em;
}

/*ここから要改善おしらせ*/
.news-archive {
    margin: 1rem 0;
}

.news-archive-year,
.news-archive-category {
    border-radius: 999px;
    color: #162D56;
    font-size: 12px;
    font-weight: 700;
}

.news-archive-category {
    margin-top: 4rem;
}
span.news-archive-category-mini {
    background: #F5F3FF;
    padding: .15rem .5rem;
    color: #000;
    border-radius: 999px;
    margin: 0;
    font-size: 12px;
    font-weight: 400;
}

.news-archive-year {
    margin-top: 1rem;
}

.news-archive-title {
    margin: 0 0 .75rem;
    color: #111;
    font-size: 24px;
    line-height: 1.6;
}

.news-archive-excerpt {
    margin: 0;
    color: #444;
    line-height: 1.8;
}
/*ここまで要改善おしらせ*/

/* 製品紹介 products */
.product-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin: 4rem 0;
}

.product-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin: 1rem 0;
    align-items: flex-start;
}

.products-content-card {
    width: 300px;
    height: 180px;
}

.product-description {
    flex: 1;
}

.product-description h2 {
    font-size: 22px;
    margin-bottom: .5rem;
    border-bottom: 1px solid #616161;
}

.products-content .card:hover {
    transform: scale(1);
    transition: transform .2s ease;
    z-index: 4;
}

/* 製品紹介-個々のページ peoduct-detail */
.product-detail-display h3,
.product-detail-text h3 {
    width: 30%;
    position: relative;
    display: inline-block;
    color: #fff;
    background: #8689C3;
    margin-top: 8rem;
    padding: 1rem;
    border-radius: 0 100vh 100vh 0;
    font-size: 34px;
}

.product-detail-display h3::before,
.product-detail-text h3::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    width: 100vh;
    background: #8689C3;
}

.product-detail-text-ol {
    margin-bottom: 0;
}

.product-detail-text-ol li img{
    margin-left: auto;
}

/* .product-detail-img {
    display: flex;
    gap: 3.5rem;
    justify-content: center;
    margin-top: 6rem;
}

.product-detail-img figure {
    margin: 0;
}

.product-detail-img img {
    width: 300px;
    height: 280px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(97, 97, 97, .5);
    border-radius: 3%;
} */

.product-detail-text,
.product-detail-display {
    width: 90%;
    margin: 0 auto;
}

.product-detail-text ol {
    margin: 0;
    padding: 0;
}

.product-detail-text li {
    display: flex;
    margin: .5rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

li.selforder-features {
    display: block;
}

.feature-title {
    display: flex;
    margin-bottom: .5rem;
}

.selforder-features-ul {
    font-size: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.selforder-features-ul li {
    margin-bottom: .5rem;
}

.feature-title::before,
.product-detail-text-ol > ol > li::before {
    content: "";
    flex-shrink: 0;
    background-color: #8689C3;
    width: 1rem;
    height: 1rem;
    margin-top: .5rem;
    margin-right: .5rem;
    border-radius: 50%;
}

.product-detail-text h4 {
    background-image: radial-gradient(circle, #909090 1.5px, transparent 1.5px);
    background-repeat: repeat-x;
    background-size: 8px 6px;
    background-position: left bottom;
    font-size: 26px;
    font-weight: 400;
    padding-bottom: 1rem;
}

.product-rendou {
    margin-top: 5rem;
}

.rendou-detail {
    width: 100%;
    display: flex;
    justify-content: left;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.rendou-detail img{
    width: 25%;
}

.rendou-detail p {
    line-height: 2rem;
    margin-left: 4rem;
}

.product-detail-display-wrap {
    display: flex;
    justify-content: center;
    padding: .5rem 0;
    margin-top: 4rem;
}

.product-detail-display-tab {
    width: 400px;
    display: flex;
    flex-direction: column;
    margin-right: 2rem;
}

/*.display-btn {
    background-color: #fff;
    border: 3px solid #DBD5FF;
    font-size: 20px;
    margin-bottom: 1.75rem;
    width: 300px;
    padding: 1.5rem;
    transition: .4s ease;
    clip-path: polygon(
        0 0,
        100% 0,
        100% 50%,
        100% 100%,
        0 100%
    );
    transition: margin-left .4s ease,
     clip-path .4s ease,
     background-color .4s ease;
}*/
.display-btn {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f7f4ff 100%);
    border: 2px solid #cfc7f5;
    border-radius: 1rem;
    color: #162D56;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 1.25rem;
    width: 300px;
    padding: 1.5rem 1.75rem;
    text-align: left;
    box-shadow:
        0 8px 18px rgba(22, 45, 86, .10),
        inset 0 1px 0 rgba(255, 255, 255, .9);
    transition:
        margin-left .35s ease,
        background .35s ease,
        box-shadow .35s ease,
        transform .25s ease,
        border-color .35s ease;
}

.display-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 1.25rem;
    width: .65rem;
    height: .65rem;
    border-top: 2px solid rgba(22, 45, 86, .45);
    border-right: 2px solid rgba(22, 45, 86, .45);
    transform: translateY(-50%) rotate(45deg);
    transition:
        transform .3s ease,
        border-color .3s ease,
        right .3s ease;
}

/*.display-btn.active {
    background-color: #DBD5FF;
    margin-left: 4rem;
    width: 300px;
    padding: 1.5rem;
    clip-path: polygon(
        0 0,
        85% 0,
        100% 50%,
        85% 100%,
        0 100%
    );
}*/

.display-btn.active {
    background: linear-gradient(135deg, #dbd5ff 0%, #cfdcff 100%);
    border: 2px solid #8689C3;
    border-left: 8px solid #162D56;
    border-radius: 1rem;
    color: #162D56;
    margin-left: 4rem;
    width: 300px;
    padding: 1.5rem 1.75rem;
    box-shadow:
        0 14px 28px rgba(74, 87, 160, .20),
        inset 0 1px 0 rgba(255, 255, 255, .7);
}

.product-detail-display-img {
    position: relative;
    width: 700px;
    aspect-ratio: 4 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111;
    border-radius: .75rem;
}

.product-detail-display-img-navi {
    position: relative;
    width: 700px;
    aspect-ratio: 4.5 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111;
    border-radius: .75rem;
}

.product-detail-display-img-ticket {
    position: relative;
    width: 700px;
    aspect-ratio: 4.5 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #d7d7d7;
    border-radius: .75rem;
}

.display-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-height: 90%;
    object-fit: contain;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease;
    pointer-events: none;
}

.display-img.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* 導入事例 */
.case-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    gap: 4rem;
    margin: 4rem 0;
}

.case-item {
    /*position: relative;
    border: 3px solid #8689C3;
    border-radius: 5px;
    padding: 2rem 1rem;
    text-align: center;*/
    position: relative;
    border: 2px solid #8689C3;
    background: #fff;
    border-radius: 5px;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 10px 24px rgba(22, 45, 86, .10);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.case-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}

.case-icon-img {
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #8689C3;
    border: 3px solid #fff;
    border-radius: 50%;
}

.case-icon-img img{
    width: 70%;
    height: 70%;
    display: block;
    object-fit: contain;
}

.case-item h2 {
    position: relative;
    border: none;
    border-bottom: 3px solid #616161;
    margin: 3rem auto 1rem;
    text-align: center;
    padding-bottom: .5rem;
    width: 80%;
}

.case-item h2::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 14px;
    height: 14px;
    border-right: 3px solid #616161;
    border-bottom: 3px solid #616161;
    background: #fff;
    transform: translateX(-50%) rotate(45deg);
}

.case-item h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    border-width: 12px 12px 0;
    border-style: solid;
    border-color: #fff transparent transparent;
}

.case-btn a {
    color: #162D56;
    font-weight: 400;
}

.case-btn {
    width: 70%;
    border-radius: 3px;
    padding: 1rem 1.5rem;
    font-size: 16px;
    font-weight: 400;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

/* 導入事例 個々のページ */
.case-detail-content {
    display: flex;
}

.case-detail-text {
    padding-right: 2rem;
    width: 70%;
}

.case-detail-content h2 {
    position: relative;
    margin-bottom: 1rem;
}

.case-detail-content h2::after {
    position: absolute;
    content: "";
    background: #616161;
    height: 2px;
    width: 100%;
    right: 0;
    margin: 1rem;
    bottom: -1.5rem;
}

.case-detail-content p {
    margin-bottom: 1rem;
}

.case-detail-content .p-info::before {
    position: relative;
    display: inline-block;
    content: "";
    flex-shrink: 0;
    background-color: #8689C3;
    width: 1rem;
    height: 1rem;
    top: 2.25px;
    margin-right: .5rem;
    border-radius: 50%;
}

.case-detail-content img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

/* 雑誌掲載事例 */
.magazine-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 4rem 0;
}

.magazine-card {
    display: block;
    color: #000;
    margin-bottom: 1.5rem;
}

.magazine-open {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.magazine-card img {
    width: 250px;
    margin-bottom: 1rem;
    box-shadow: 0 6px 20px rgba(42, 64, 103, 0.4);
}

.magazine-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 5vh 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease;
}

.magazine-viewer {
    width: 100%;
    flex: 1;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overscroll-behavior: contain;
    min-height: 0;
}

#magazine-content-image {
    max-width: 90%;
    max-height: 90vh;
}

.magazine-modal.is-open #magazine-content-image {
    opacity: 1;
}

.magazine-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.magazine-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.magazine-card h3,
.magazine-card p {
    font-weight: 400;
}

.magazine-link {
    margin-left: 3rem;
}

/* サポート体制 support */
.oldnews-content,
.support-content {
    margin: 4rem 0;
}

.oldnews-item,
.support-section {
    margin-bottom: 2rem;
}

.oldnews-detail,
.support-section-item {
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    margin-top: 2rem;
}

.support-section-item {
    display: flex;
}

.oldnews-item h2,
.support-section h2 {
    font-size: 28px;
    background: #F5F3FF;
    border-radius: 999px;
    padding: 1rem 2rem;
}

.support-section h3 {
    margin-bottom: .5rem;
    font-size: 24px;
}

.support-section p {
    margin-bottom: 2rem;
}

.support-section-text ol{
    padding: 0;
}

.support-section-text li::before {
    position: relative;
    display: inline-block;
    content: "";
    flex-shrink: 0;
    background-color: #8689C3;
    width: 1rem;
    height: 1rem;
    top: 2.25px;
    margin-right: .5rem;
    border-radius: 50%;
}

.support-section-item img {
    width: 350px;
}

/* 会社情報 company ただ採用情報も同じ感じなので統一してもよいかも */
.information-btn {
    display: flex;
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    align-items: center;
    gap: .5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: .3s;
    z-index: 999;
}

.information-btn.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.information-btn .page-top {
    position: static;
}

.information-btn.is-stop {
    position: absolute;
}

a.contact-btn {
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-btn {
    background: #162D56;
    border: 2px solid #fff;
    align-items: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 6rem;
}

.company-table tr {
    border-bottom: 1px solid #616161;
}

.company-table th,
.company-table td {
    padding: 2rem 0;
    vertical-align: top;
}

.company-table th {
    width: 16rem;
    padding-right: 4rem;
    text-align: left;
    font-size: 26px;
    line-height: 1.5;
}

img.president-img,
img.company-logo {
    width: 70%;
    margin-bottom: 1rem;
}

img.company-logo {
    width: 70%;
}

img.president-img {
    width: 100%;
}


/*入力フォーム用*/
.info-table-wrap {
    width: 80%;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin-top: 4rem;
}

.info-table-wrap a {
    color: #000;
}

.required {
    color: #b40000;
    font-weight: 700;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border: 2px solid #162D56;
    background: #f7f7f7;
    margin: 2rem 0;
}

.info-table th,
.info-table td {
    border: 2px solid #162D56;
    padding: 14px 20px;
    vertical-align: middle;
}

.info-table th {
    width: 32%;
    background-color: #fdfdfd;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.info-table td {
    background-color: #fff;
    font-size: 14px;
    color: #222;
    line-height: 1.8;
}

.info-table input[type="text"],
.info-table select,
.info-table textarea {
    border: 1px solid #66779b;
    background: #fff;
    padding: .2rem .65rem;
    font-size: 16px;
    box-sizing: border-box;
}

.info-table select,
.info-table #textfield18,
.info-table #textfield19,
.info-table #textfield20,
.info-table textarea {
    width: 100%;
    max-width: 520px;
}

.info-table textarea {
    min-height: 160px;
    resize: vertical;
}

.info-table-wrap p {
    margin-bottom: 1rem;
}

.info-table-wrap .button {
    margin: 1.5rem 0;
    width: 200px;
    padding: .25rem;
}

.info-table-wrap a {
    color: #447fff;
}

.ac {
    width: 80%;
    margin: 0 auto;
}

.ac img,
.ac input[type="image"] {
    display: inline-block;
    vertical-align: middle;
}

.ac a {
    color: #447fff;
}

.thunder-bg {
    width: 80%;
    margin: 4rem auto 13rem;
}
/*ここまで入力フォーム用けしてよい*/
/* お知らせ news */
/* ここから要改善 */
.content-title-news {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: .5rem;
    margin-bottom: .5rem;
}

.content-title-news h1 {
    padding: 0;
    margin-bottom: 0;
}

.content-title-news::before,
.content-title-news::after {
    content: "";
    position: absolute;
    left: 0;
    height: 2px;
    background: #8689C3;
    width: 100%;
}

.content-title-news::before {
    bottom: 0;
}

.content-title-news::after {
    bottom: .25rem;
}

.content-title-news h1::before,
.content-title-news h1::after {
    display: none;
}

.content-title-news .btn-next {
    margin-bottom: .5rem;
}

.content-title-news .btn-next a {
    width: 2.75rem;
    height: 2.75rem;
    display: block;
}

.news-header,
.magazine-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
}

.news-select {
    position: relative;
    max-height: 100px;
    overflow: hidden;
    transition: max-height .5s ease;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.news-select::after {
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F5F3FF;
    width: 100%;
    height: 1.5rem;
    border-radius: 1.25rem;
}

.news-select.open {
    max-height: 300px;
}

.news-select-inner {
    padding: 0;
}

.news-filters {
    margin: 1rem 0 0;
    padding: 0 1.5rem;
}

.news-select.open .news-filters {
    opacity:1;
}

.news-select-head {
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-select-head h2 {
    margin: 0;
}

button.down-btn {
    background-color: #8689C3;
    width: 50px;
    height: 50px;
    border-radius: 999px;
    margin-left: 2rem;
    border:none;
    display:flex;
    justify-content:center;
    align-items:center;
}

.down-btn i {
    color: #fff;
    transition:.4s ease;
}

.down-btn.active i {
    transform:rotate(180deg);
}
.news-archive-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.news-archive-item a {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    padding: 1.25rem;
    border-radius: 1rem;
    color: #000;
    box-shadow: 0 8px 24px rgba(97, 97, 97, .12);
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg,#162D56,#8689C3,#162D56) border-box;
    
    background-size:auto,200% 200%;
    border: 4px solid transparent;
    transition:
        background-position .6s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.news-archive-item a:hover {
    background-position:0 0,100% 100%;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 28px rgba(97, 97, 97, .18);
}

.news-archive-thumb {
    overflow: hidden;
    border-radius: .75rem;
    aspect-ratio: 4 / 3;
}

.news-archive-thumb img {
    border-radius: 3px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-archive-body {
    min-width: 0;
}

.news-archive-meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: .75rem;
    color: #333;
}
.news-detail-text a {
    color: #3d4aff;
}

.news-detail-text img {
    width: 50%;
    margin: 2rem auto 0;
}

.oldnews-text {
    display: flex;
    margin-bottom: 3rem;
}

.old-date {
    margin-right: 5rem;
}
/* プライバシーポリシー privacy */
/*.privacy-content p{
    font-size: 16px;
}*/
.privacy-content {
    line-height: 1.9;
}

.privacy-content p{
    font-size: 20px;
    line-height: 2;
    margin-bottom: 2rem;
}

.privacy-list {
 margin-top: 2rem;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.privacy-list ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: .75rem;
}

.privacy-list li {
    margin: 0;
    padding: 1.1rem 0 1.1rem 1rem;
    background: transparent;
    border-left: 4px solid #162D56;
    border-bottom: 1px solid #d7d7e8;
    border-radius: 0;
    box-shadow: none;
}

.privacy-list li strong {
    display: block;
    margin-bottom: .4rem;
    font-size: 20px;
    line-height: 1.6;
    color: #162D56;
}

.privacy-list li p {
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
    color: #222;
}

p.Registered {
    width: fit-content;
    margin: 2.5rem 0 0 auto;
    padding-top: 1.25rem;
    border-top: 1px solid #cfcfe3;
    text-align: left;
    font-size: 16px;
    line-height: 1.9;
    font-weight: 700;
    color: #333;
}

.small-p {
    margin-top: 2.5rem;
    padding: 1.5rem 1.75rem;
    background: rgba(255, 255, 255, .72);
    border-radius: 12px;
}

.small-p p{
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 1rem;
}

.small-p-title {
    margin-top: 1.5rem;
    margin-bottom: .2rem;
    font-size: 18px;
    font-weight: 700;
    color: #162D56;
}

.small-p-title:first-child {
    margin-top: 0;
}

.small-p-flex {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #d7d7e8;
}

.small-p-flex p {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
}

.small-p-flex img{
    width: 110px;
    margin-left: 0;
    flex-shrink: 0;
}

.privacy-link {
    margin-top: 2rem;
    text-align: center;
}

.privacy-link a {
    color: #1750b1;
    transition: color .3s ease;
}

.privacy-link a:hover {
    color: #3377ff;
}

.privacy-link-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .4rem;
}

.privacy-link-flex p {
    margin: 0;
    line-height: 1.6;
}

.privacy-link-dot {
    display: inline-block;
    color: #666;
    line-height: 1;
    transform: translateY(-1px);
}

/* ボタンホバー演出 他の要素に上書きされないように最終行*/
.case-btn,
.btn-next a,
.cta-button {
    position: relative;
    overflow: visible;
    background: transparent;
    border: none;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.case-btn > .button-face,
.btn-next a > .button-face,
.cta-button > .button-face {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    font-family: "Zen Maru Gothic",sans-serif;
    background-color: #fff;
    color: #162D56;
    border: 2px solid #162D56;
    overflow: hidden;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.73);
    transition:
        transform .4s ease,
        background-color .4s ease,
        color .4s ease,
        box-shadow .4s ease;
}

.case-btn > .button-face::before,
.btn-next a > .button-face::before,
.cta-button > .button-face::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all .5s ease;
    pointer-events: none;
}

.cta-button > .button-face {
    padding: 1.25rem 2.5rem;
    border-radius: 999px;
    font-weight: bold;
}

.case-btn > .button-face {
    padding: 1rem 1.5rem;
    border-radius: 3px;
    font-size: 16px;
    font-weight: bold;
}

.btn-next a > .button-face {
    border-radius: 50%;
    padding: 0;
}

.btn-next a > .button-face i {
    font-size: 16px;
    color: inherit;
}

.case-btn:hover > .button-face,
.cta-button:hover > .button-face,
.btn-next a:hover > .button-face {
    text-shadow: -6px 0px 15px rgba(255, 255, 240, 0.8),
        6px 0px 15px rgba(255, 255, 240, 0.8);
    background-color: rgb(22, 45, 86);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(42, 64, 103, 0.4);
}

.case-btn:hover > .button-face::before,
.cta-button:hover > .button-face::before,
.btn-next a:hover > .button-face::before {
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, .7);
    opacity: 0;
}

.btn-next a:hover > .button-face::before {
    width: 70px;
    height: 70px;
}
/*ここまでボタンホバー演出*/

/* 管理ページ */
.edit-login {
  font-family: "Hina Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.login-error {
    color: #db0000;
}

.edit {
    width: 80%;
    margin: 0 auto;
    margin-top: 3rem;
}

.edit-header-flex {
    display: flex;
}

.content-edit,
.content-new {
    padding: 2rem;
}

.content-edit {
    background-color: #97fcd7;
}

.content-new {
    background-color: #afe8ff;
}

.edit-item {
    padding: .5rem 2rem;
}

.edit-btn-wrap {
    display: flex;
    margin-top: .25rem;
}

.edit-item-btn {
    margin-right: 1rem;
}

textarea[name="excerpt"] {
    width: 500px;
    resize: vertical;
}

.edit section {
    margin-top: 2rem;
}

a.management-link {
    display: block;
    background: #6fad86;
    padding: .5rem;
    margin: 1rem 0;
}

.logout button{
    color: #fff;
    display: block;
    background: #10528b;
    padding: .5rem;
    margin: 1rem 0;
}

.upload-error {
    color: #d00;
    margin-left: 1rem;
}

/* ピンクのボタン */
.btn-check-pink button {
    background: #ff6bc6;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 240px;
    padding: 10px 25px;
    color: #003067;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    border: 2px solid #000;
    z-index: 1;
    border-radius: 5px;
}
.btn-check-pink button:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    border: 2px solid #000;
    border-radius: 5px;
    background: hsl(335, 100%, 95%);
    background-image:
    linear-gradient(45deg, #ffc4ef 25%, transparent 0),
    linear-gradient(45deg, transparent 75%, #ffc4ef 0),
    linear-gradient(45deg, #ffc4ef 25%, transparent 0),
    linear-gradient(45deg, transparent 75%, #ffc4ef 0);
    background-position: 0 0, 15px 15px, 15px 15px, 30px 30px;
    background-size: 30px 30px;
}
.btn-check-pink button:after {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    content: '';
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transform: translate3d(0,0.40rem,-1rem);
    transform: translate3d(0,0.40rem,-1rem);
    border: 2px solid #000;
    border-radius: inherit;
    background: #de2b99;
    -webkit-box-shadow: 0 0.6rem 0 0 rgb(0 0 0 / 20%);
    box-shadow: 0 0.4rem 0 0 rgb(0 0 0 / 20%);
    z-index: -2;
}
.btn-check-pink button i {
    position: absolute;
    right: 9px;
}
.btn-check-pink button:hover {
    transform: translate3d(0,0.2rem,-1rem);
}
.btn-check-pink button:hover:after {
    transform: translate3d(0,0.2rem,-1rem);
    box-shadow: 0 0.2rem 0 0 rgb(0 0 0 / 20%);
}
/* ピンクのボタン　ここまで */
/* グレーのボタン */
.btn-check-gray button {
    background: #474747;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 240px;
    padding: 10px 25px;
    color: #ffffff;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    border: 2px solid #000;
    z-index: 1;
    border-radius: 5px;
}
.btn-check-gray button:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    border: 2px solid #000;
    border-radius: 5px;
    background: hsl(0, 0%, 72%);
    background-image:
    linear-gradient(45deg, #cacaca 25%, transparent 0),
    linear-gradient(45deg, transparent 75%, #cacaca 0),
    linear-gradient(45deg, #cacaca 25%, transparent 0),
    linear-gradient(45deg, transparent 75%, #cacaca 0);
    background-position: 0 0, 15px 15px, 15px 15px, 30px 30px;
    background-size: 30px 30px;
}
.btn-check-gray button:after {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    content: '';
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transform: translate3d(0,0.40rem,-1rem);
    transform: translate3d(0,0.40rem,-1rem);
    border: 2px solid #000;
    border-radius: inherit;
    background: #5f5f5f;
    -webkit-box-shadow: 0 0.6rem 0 0 rgb(0 0 0 / 20%);
    box-shadow: 0 0.4rem 0 0 rgb(0 0 0 / 20%);
    z-index: -2;
}
.btn-check-gray button i {
    position: absolute;
    right: 9px;
}
.btn-check-gray button:hover {
    transform: translate3d(0,0.2rem,-1rem);
}
.btn-check-gray button:hover:after {
    transform: translate3d(0,0.2rem,-1rem);
    box-shadow: 0 0.2rem 0 0 rgb(0 0 0 / 20%);
}
/* グレーのボタン　ここまで */
/* みどりのボタン */
.btn-green button {
    background: #93ff6b;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 240px;
    padding: 10px 25px;
    color: #00671f;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    border: 2px solid #000;
    z-index: 1;
    border-radius: 5px;
}
.btn-green button:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: #75ff6b;
    z-index: -1;
    border: 2px solid #000;
    border-radius: 5px;
}
.btn-green button:after {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    content: '';
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transform: translate3d(0,0.40rem,-1rem);
    transform: translate3d(0,0.40rem,-1rem);
    border: 2px solid #000;
    border-radius: inherit;
    background: #1aab24;
    -webkit-box-shadow: 0 0.6rem 0 0 rgb(0 0 0 / 20%);
    box-shadow: 0 0.4rem 0 0 rgb(0 0 0 / 20%);
    z-index: -2;
}
.btn-green button i {
    position: absolute;
    right: 9px;
}
.btn-green button:hover {
    transform: translate3d(0,0.2rem,-1rem);
}
.btn-green button:hover:after {
    transform: translate3d(0,0.2rem,-1rem);
    box-shadow: 0 0.2rem 0 0 rgb(0 0 0 / 20%);
}
/* みどりのボタン　ここまで */
/* あかのボタン */
.btn-red button {
    background: #ff6b6b;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 240px;
    padding: 10px 25px;
    color: #670000;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    border: 2px solid #000;
    z-index: 1;
    border-radius: 5px;
}
.btn-red button:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: #ff6b6b;
    z-index: -1;
    border: 2px solid #000;
    border-radius: 5px;
}
.btn-red button:after {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    content: '';
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transform: translate3d(0,0.40rem,-1rem);
    transform: translate3d(0,0.40rem,-1rem);
    border: 2px solid #000;
    border-radius: inherit;
    background: #ab1a1a;
    -webkit-box-shadow: 0 0.6rem 0 0 rgb(0 0 0 / 20%);
    box-shadow: 0 0.4rem 0 0 rgb(0 0 0 / 20%);
    z-index: -2;
}
.btn-red button i {
    position: absolute;
    right: 9px;
}
.btn-red button:hover {
    transform: translate3d(0,0.2rem,-1rem);
}
.btn-red button:hover:after {
    transform: translate3d(0,0.2rem,-1rem);
    box-shadow: 0 0.2rem 0 0 rgb(0 0 0 / 20%);
}
/* あかのボタン　ここまで */