/*
Theme Name: 吉良州司2025
Version: 0.0.15
*/
@charset "utf-8";

/*------------------------------------
 * Reset CSS
 *------------------------------------ */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    background: transparent;
    border: 0;
    font-size: 100%;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}
ul {
    list-style: none;
}
html {
    scroll-behavior: smooth;
}
div {
    box-sizing: border-box;
}
.img-box > img {
    display: block;
    width: 100%;
    height: auto;
}
a.tl:hover {
    opacity: .7;
    transition: .3s;
}
a.colored:hover {
    color: var(--primary-color-blue) !important;
    transition: .3s;
}
.align-center {
    text-align: center !important;
}
.align-right {
    text-align: right !important;
}
.spacer {
    padding: 10px 0 10px;
}
.m-top60 {
    margin-top: 60px;
}
.m-btm60 {
    margin-bottom: 60px;
}
.m-btm30 {
    margin-bottom: 30px;
}
.p-top60 {
    padding-top: 60px;
}
.border-top {
    border-top: 1px solid #000;
}
.relative {
    position: relative;
}


/* カラー変数定義 */
:root {
    /* メインカラー */
    --color-primary: #C7000B;        /* プライマリーカラー */
    --color-primary-dark: #003d7a;   /* プライマリーカラー（ダーク） */
    --color-secondary: #28a745;      /* セカンダリーカラー */
    --color-accent: #fd7e14;         /* アクセントカラー */

    --fill-primary: #C7000B;
    --fill-secondary: #fff;

    /* テキストカラー */
    --color-text: #333333;           /* 基本テキスト色 */
    --color-text-light: #707070;     /* 薄いテキスト色 */
    --color-text-dark: #222222;     /* 薄いテキスト色 */
    --color-text-white: #ffffff;     /* 白テキスト色 */

    /* 背景色 */
    --color-bg: #ffffff;             /* 基本背景色 */
    --color-bg-light: #F8F8F8;       /* 薄い背景色 */
    --color-bg-dark: #eeeeee;        /* 濃い背景色 */

    /* ボーダー色 */
    --color-border: #dddddd;         /* 基本ボーダー色 */
    --color-border-light: #E5E5E5;   /* 薄いボーダー色 */

    /* その他 */
    --color-success: #28a745;        /* 成功 */
    --color-info: #17a2b8;           /* 情報 */
    --color-warning: #ffc107;        /* 警告 */
    --color-danger: #dc3545;         /* 危険 */

    /* シャドウ */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
}


/* レスポンシブ対応の改行制御 */
/* PCのみ改行を表示 */
.br-pc {
    display: inline;
}
/* スマホのみ改行を表示 */
.br-sp {
    display: none;
}

.no-br-th-sp table th br,
.nbr-th-sp table th br {
    display: inline;
}

/* タブレット */
@media (max-width: 768px) {
    /* PCのみ改行を非表示 */
    .br-pc {
        display: none;
    }
    /* スマホのみ改行を表示 */
    .br-sp {
        display: inline;
    }
    .no-br-th-sp table th br,
    .nbr-th-sp table th br {
        display: none;
    }
}

/* PCのみ表示するコンテンツ */
.pc-only {
    display: block;
}
/* スマホのみ表示するコンテンツ */
.sp-only {
    display: none;
}

@media (max-width: 768px) {
    .pc-only {
        display: none;
    }
    .sp-only {
        display: block;
    }
}

/* ------------------------------------
 * 共通スタイル
 *------------------------------------ */
/* フォント設定 */
body {
    font-family: "Zen Kaku Gothic New", sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    margin: 0;
    padding: 0;
}

/* font / text */
html {
	font-size: 62.5%;
    /* font-size: 0.520vw; */
}

a.transition {
    transition: all 0.3s ease;
}
a.transition:hover {
    opacity: 0.7;
}

/* ボタンスタイル（共通） */
.button,
a.button {
  display: inline-block;
  padding: 8px 24px 8px 48px;
  background-color: transparent;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: normal;
  transition: all 0.3s ease;
  border: 1px solid var(--color-primary);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  /* box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1); */
}

/* ホバー効果 */
.button:hover,
a.button:hover {
  background-color: var(--color-primary);
  color: var(--color-text-white);
}

/* 矢印付きボタン */
.button:after,
a.button:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 16px;
    width: 20px; /* 矢印のサイズ */
    height: 14px;
    transform: translateY(-50%);
    background-image: url(img/arrow.svg); /* 矢印の画像を指定 */
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    /* transition: transform 0.3s ease; */
}

.button:hover:after,
a.button:hover:after {
    background-image: url(img/arrow-white.svg); /* 矢印の画像を指定 */
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* ボタンサイズバリエーション */
.button.large,
a.button.large {
    padding: 14px 30px;
    font-size: 1.8rem;
}

.button.small,
a.button.small {
    padding: 6px 16px;
    font-size: 1.4rem;
}

/* ブロック要素としてのボタン */
.button.block,
a.button.block {
    display: block;
    width: 100%;
}

/* 複数のボタンがある場合のセンタリング */
.button-center {
    text-align: center;
    margin: 20px 0;
}

/* ニュースコンテナ内のボタン配置 */
.news-container .button,
    .news-container a.button {
    margin-top: 15px;
    margin-bottom: 10px;
}

/* メインビジュアル内のボタン */
.main-visual .button,
.main-visual a.button {
}

.main-visual .button:hover,
.main-visual a.button:hover {
    background-color: var(--color-primary);
    color: white;
    border-color: white;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .button,
    a.button {
        font-size: 1.4rem;
        padding: .5em 2em .625em 3em;
    }

    .button.large,
    a.button.large {
        padding: 12px 26px;
        font-size: 1.7rem;
    }
    .button:after,
    a.button:after {
        top: 50%;
        left: 1em;
        width: 1.6em;
        height: 1em;
    }
}


.circle {
    position: relative;
    padding: 0 0 0 0.875em;
}
.circle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-image: url(img/circle.svg);
    background-repeat: no-repeat;
    width: 5px;
    height: 5px;
}

/* SNSリンク */
.sns-links {
    display: flex;
    align-items: center;
    gap: 20px; /* アイコン間のスペース */
}

.sns-links a {
    display: block;
    width: 37px; /* アイコンサイズ調整 */
    height: 37px;
    transition: opacity 0.3s;
}

.sns-links a.fb {
    width: 33px;
    height: 33px;
}

.sns-links a.yt {
    margin-top: 5px;
    width: 42px;
    height: auto;
}

.sns-links a:hover {
    opacity: 0.7;
}

.sns-links img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .sns-links a {
        /* width: 25px;
        height: 25px; */
    }
}


/*------------------------------------
 * sp menu
 *------------------------------------ */
/* ハンバーガーメニュー */
.modal-navbar-header {
    text-align: center;
}
.modal-hamburger {
    position: fixed;
    z-index: 4;
    top: 0;
    display: block;
    box-sizing: content-box;
    width: 4rem;
    padding: 0;
    padding: 18px .75rem 30px;
    -webkit-transition: all .6s cubic-bezier(.19,1,.22,1);
    transition: all .6s cubic-bezier(.19,1,.22,1);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    border: 0;
    outline: 0;
    background-color: transparent;
}
.modal-hamburger, .modal-open .modal-hamburger {
    right: 0;
}
.sr-only {
    position: absolute;
    overflow: hidden;
    clip: rect(0,0,0,0);
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}
.modal-hamburger-icon {
    position: relative;
    display: block;
    margin-top: 10px;
}
.modal-hamburger-icon,
.modal-hamburger-icon::after,
.modal-hamburger-icon::before {
    width: 100%;
    height: 2px;
    -webkit-transition: all .6s cubic-bezier(.19,1,.22,1);
    transition: all .6s cubic-bezier(.19,1,.22,1);
    background-color: #000000;
}
.modal-hamburger-icon::after,
.modal-hamburger-icon::before {
    position: absolute;
    top: -7px;
    left: 0;
    content: ' ';
}
.modal-hamburger-icon::after {
    top: 7px;
}
.modal-open .modal-hamburger-icon {
    background-color: transparent;
}
.modal-open .modal-hamburger-icon::before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.modal-open .modal-hamburger-icon::after,
.modal-open .modal-hamburger-icon::before {
    top: 0;
}
.modal-open .modal-hamburger-icon::after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
/* 960px以上 */
@media screen and ( min-width: 900px ) {
    .modal-navbar .modal-hamburger {
        display: none;
    }
    .modal-navbar .modal-brand {
        display: none;
    }
}

/* モーダル */
.modal-container {
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 100%;
    padding: 0 0 62px;
}

.modal-container {
    position: fixed;
    z-index: 2;
    top: 0;
    overflow: hidden;
    width: 100vw;
    height: 100%;
    color: #222;
    background-color: var(--fill-secondary);
}
.modal-open .modal-container {
    display: block;
}

/* modal overwrite */
.modal-hamburger {
    margin: 8px 0 0 0;
    padding: 20px 10px 30px;
}

.modal-hamburger {
    position: absolute;
}

/* ページのスクロールを防止 */
body.modal-open {
    height: 100vh;
    overflow-y: hidden;
}

/* fade in, fade out */
.modal-open .modal-container {
    animation: fadeIn .4s ease 0s 1 normal;
    -webkit-animation: fadeIn .4s ease 0s 1 normal;
}

@keyframes fadeIn {
    0% { opacity: 0 }
    100% { opacity: 1 }
}

@-webkit-keyframes fadeIn {
    0% { opacity: 0 }
    100% { opacity: 1 }
}

/* modal menu */
.modal-container {
    width: 100%;
    height: 100%;
    overflow: scroll;
    color: #000000;
}

.modal-open .modal-hamburger-icon::after,
.modal-open .modal-hamburger-icon::before {
    background-color: #000000;
}

.modal-brand {
    display: none;
}

.modal-open .modal-brand {
    display: block;
    max-width: 226px;
    margin: 7px 11px 7px 11px;
}

.modal-brand:hover {
    opacity: .5;
    transition: .3s;
}

.modal-brand-img {
    width: 100%;
    height: auto;
}

.modal-nav {
    margin: 26px 0 0;
}

.modal-menu {
    width: 100%;
}

/* a */
.modal-nav .menu-item a {
    display: block;
    margin: 0 0 0 40px;
    padding: 14px 20px 14px 0;
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 0.82;
    letter-spacing: -0.2px;
    color: var(--black);
    text-decoration: none;
}

.modal-nav .menu-item a > span {
    display: block;
    margin: 2px 0 0;
    font-size: 1.4rem;
    font-weight: normal;
    line-height: 1.36;
    letter-spacing: 0.4px;
    color: #666666;
}

.modal-container .header-util a {
    margin: 30px 0 0 40px;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.51px;
    color: var(--black);
    text-align: left;
}

.modal-container .header-util a::before {
    width: 16px;
    height: 21px;
    background-size: cover;
}


/**
 * modal sub-menu
 * ---------------------------- */
/* サブナビあり */
.menu-item {
    position: relative;
}

.modal-nav .menu-item.has-sub-menu {
    margin-left: 0;
}

.modal-nav .menu-item.has-sub-menu::before {
    position: absolute;
    top: 14px;
    left: 21px;
    content: "";
    width: 10px;
    height: 10px;
    border: 1px solid var(--black);
    border-color: transparent transparent var(--black) var(--black);
    transform: rotate(-45deg);
}

.modal-nav .sub-menu {
    position: relative;
    top: auto;
    left: auto;
    margin-left: 16px;
}

.modal-nav .sub-menu-item a {
    padding: 12px 20px 12px 0;
    font-size: 1.8rem;
}
/*
.sub-menu-item a > span {
    text-align: left;
}

.sub-menu-item a:hover,
.sub-menu-item a:hover > span {
    color: var(--yellow-orange);
    transition: .3s;
}
*/

.menu-item:focus .sub-menu,
.menu-item:focus-within .sub-menu,
.menu-item:hover .sub-menu {
    box-shadow: none;
}


@media (max-width: 900px) {
    /* modal overwrite */
    .modal-hamburger {
        margin: 20px 0 0 0;
    }
}

@media (max-width: 480px) {
    /* modal overwrite */
    .modal-hamburger {
        margin: 8px 0 0 0;
    }
}


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

body {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* ------------------------------------
 * header
 *------------------------------------ */
.header {
    position: relative; /* SNSリンクの配置基準点にする */
    padding: 20px 0 0;
}

.header-inner{
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative; /* 子要素の配置基準点 */
}

/* SNSリンクを右上に配置 */
.header .sns-links {
    position: absolute;
    top: 20px; /* 上からの位置調整 */
    right: 3%; /* 右からの位置調整 */
}

@media (max-width: 900px) {
    .header .sns-links {
        display: none; /* デフォルトで非表示 */
    }

    /* SNSリンク（SPメニュー）*/
    .header .modal-container .sns-links {
        display: flex;
        position: relative;
        top: 0;
        right: 0;
        margin: 3% 6% 3% 6%;
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    /* .header .sns-links {
        top: 10px;
        right: 10px;
    } */
}

/* 特に小さい画面での対応 */
@media (max-width: 480px) {
    .header .sns-links {
        /* position: static; */
        /* display: flex; */
        /* justify-content: center; */
        /* margin-top: 15px; */
    }
}

.header-logo-link {
    display: block;
    width: 100%;
    height: auto;
    text-decoration: none;
}

.header .header-title {
    display: flex;
    justify-content: center;
    align-items: center;
}
.header .title {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
}
.header .title .text1 {
    display: block;
    letter-spacing: 0.08em;
    font-size: 2.0rem;
    color: var(--color-primary);
}
.header .title .text2 {
    display: block;
    letter-spacing: 0.08em;
    font-size: 1.653rem;
    color: var(--color-primary);
}
.header-logo {
    display: block;
    margin: 0 0 0 1%;
}
.header-logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 900px) {
    .header{
        padding: 20px 0 20px
    }
    .header-inner {
        padding: 0 20px;
    }
    .header .header-title {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .header .title .text1 {
        font-size: 1.3rem;
    }
    .header .title .text2 {
        font-size: 1.1rem;
    }
    .header-logo {
        width: 40vw;
        margin: 0 0 0 3%;
    }
}

/* グローバルナビゲーション */
.gnav {
    display: flex;
    justify-content: center;
    background-color: #fff;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    margin: 1% 0 0 0;
}

.gnav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gnav > ul > li {
position: relative; /* ドロップダウンの配置の基準点 */
}

.gnav a {
    display: block;
    padding: 15px 20px;
    color: #000;
    text-decoration: none;
    transition: background-color 0.4s;
    font-size: 1.8rem;
    font-weight: bold;
}

.gnav a.no-link {
    cursor: default;
}

.gnav > ul > li > a:hover {
    /* background-color: #e9e9e9; */
    color: var(--color-primary);
}

.gnav li:hover > a {
    color: var(--color-primary);
}

/* ドロップダウンメニュー */
.gnav ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: max-content;
    background-color: var(--color-primary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 100;

    /* 以下のプロパティを変更 */
    display: block; /* displayプロパティはトランジションできないので常に表示 */
    opacity: 0; /* 初期状態は透明 */
    visibility: hidden; /* 初期状態は非表示 */
    transform: translateY(-10px); /* 少し上に配置 */
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease; /* アニメーション設定 */
}

.gnav ul ul li {
    width: 100%;
}

.gnav ul ul a {
    padding: 10px 20px;
    /* border-bottom: 1px solid #eee; */
    color: #fff
}

.gnav ul ul a:hover {
    background-color: #fff;
    color: var(--color-primary);
}

/* ホバー時のドロップダウン表示 */
.gnav li:hover > ul {
    display: block;
    opacity: 1; /* 完全に表示 */
    visibility: visible; /* 表示状態に */
    transform: translateY(0); /* 元の位置に戻す */
}

/* アクティブ状態 */
.gnav .active > a {
    background-color: #e0e0e0;
    padding: 15px 20px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

@media (max-width: 900px) {
    .gnav {
        display: none; /* デフォルトで非表示 */
    }
    .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .gnav {
        display: none; /* デフォルトで非表示 */
    }
    .menu-toggle {
        display: block;
    }
}






/* ------------------------------------
 * footer
 *------------------------------------ */
.footer {
    position: sticky;
    top: 100vh;
    background-color: var(--color-primary);
    margin: 150px 0 0 0;
    padding: 0 0 0 0;
    color: var(--color-text-white);
}

.footer::before {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
}
.footer a {
    color: var(--color-text-white);
    text-decoration: none;
}

.footer .footer-inner {
    display: flex;
    width: 100%;
    margin: 0 auto;
    padding: 0 0;
}

.footer .footer-photo {
    background-image: url(img/footer-image.jpg);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    width: 30%;
    height: auto;
    padding: 0;
}

.footer .footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    width: 70%;
    padding: 5% 5% 20px 0;
}

.footer .footer-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.footer .footer-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 58%;
    height: auto;
    padding: 0;
    gap: 24px;
}

.footer .footer-banner .banner-item {
    width: calc(50% - 12px); /* 2カラムレイアウト */
    max-width: 300px;
    height: auto;
    padding: 0;
    margin: 0;
}
.footer .footer-banner a {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 3;
    background-color: #fff;
    overflow: hidden; /* はみ出した部分を隠す */
    transition: all 0.3s;
}
.footer .footer-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer .footer-banner a:hover {
    opacity: 0.7;
}

.footer .sns-links {
    gap: 20px; /* アイコン間のスペース */
    margin: 0 0 7% 0;
}

.footer .site-title {
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--color-text-white);
    margin: 7% 0 0 0;
}

.footer .address {
    font-size: 1.6rem;
    font-weight: normal;
    line-height: 1.25;
    color: var(--color-text-white);
    margin: 1em 0 20px 0;
}

.footer .copyright {
    font-size: 1.2rem;
    font-weight: normal;
    color: var(--color-text-white);
}

@media (max-width: 768px) {
    .footer .footer-inner {
        flex-direction: column;
    }
    .footer .footer-photo {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
    }
    .footer .footer-content {
        justify-content: normal;
        align-items: flex-start;
        width: 100%;
        padding: 20px 20px 20px;
    }
    .footer .footer-banner {
        width: 100%;
        /* justify-content: space-between; */
        justify-content: center;
        gap: 12px;
    }
    .footer .footer-banner .banner-item {
        width: 48%;
    }
    .footer .reverse-block {
        display: flex;
        flex-direction: column-reverse;
    }
    .footer .site-title {
        font-size: 1.8rem;
    }
    .footer .address {
        font-size: 1.4rem;
    }
    .footer .copyright {
        font-size: 1.1rem;
    }
    .footer .sns-links {
        margin: 12% 0 5% 0;
    }
}

/*------------------------------------
 * main
 *------------------------------------ */

/* メインコンテンツ */
/* メインビジュアル */
.main-visual {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 12 / 5; /* アスペクト比を16:9に設定 */
    min-height: 750px; /* 最小高さを設定 */
    color: #fff;
    overflow: hidden; /* はみ出した部分を隠す */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.main-visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* コンテンツの背後に配置 */
}

.main-visual-bg > img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像をコンテナに合わせて拡大・縮小 */
    object-position: center; /* 画像の位置を中央に設定 */
}

/* オーバーレイ効果を追加（任意） */
.main-visual-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.4); */
}

.main-visual-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: 1240px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    z-index: 1; /* オーバーレイより上に配置 */
}

.main-visual-inner .text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    padding: 0 0 0 0;
}
.main-visual-inner p {
    width: 100%;
    font-size: 4.8rem;
    font-weight: bold;
    margin-bottom: 30px;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
    line-height: 1.5;
    color: #000;
}

/* 新着メッセージのスタイリング */
.main-visual h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 10px;
    color: var(--color-primary);
    /* text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); */
    z-index: 1;
}

.new-message {
    background-color: rgba(255, 255, 255, 0.7); /* 半透明の背景 */
    padding: 20px;
    border-radius: 5px;
    max-width: 600px;
    width: 90%;
    z-index: 1;
}

.message-item {
    padding: 15px;
}

.message-item .date {
    font-size: 1.4rem;
    font-weight: normal;
    color: var(--color-text-light);
    margin-bottom: 5px;
}

.message-item .title {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.message-item .text {
    font-weight: normal;
    font-size: 1.75rem;
    color: var(--color-text);
    line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .main-visual {
        justify-content: normal;
        aspect-ratio: unset;
        /* min-height: 750px; */
        padding: 5vw 0 8vw;
    }
    .main-visual-bg {
        height: 100vw;
    }

    .main-visual-bg > img {
        object-position: 34% 50%;
    }
    .main-visual-inner .text-container {
        align-items: flex-end;
        max-width: none;
    }
    .main-visual-inner .text-container p {
        width: 50vw;
        /* color: #fff; */
    }
    .message-container {
        padding: 56vw 0 0;
    }
    .main-visual-inner p {
        font-size: 7vw;
    }
    .message-container h2 {
        border-bottom: 1px solid var(--color-primary);
        line-height: 2em;
        font-size: 1.4rem;
    }
    .new-message {
        padding: 0 16px;
        max-width: none;
        width: 100%;
    }
    .message-item {
        padding: 0;
    }
    .main-visual h2 {
        margin-top: 8vw;
        font-size: 1.8rem;
    }
    .message-item .date {
        font-size: 1.4rem;
    }
    .message-item .title {
        font-size: 1.6rem;
    }
    .message-item .text {
        margin-bottom: 1.5em;
        font-size: 1.6rem;
    }
}

/* ニュース
------------------------------------- */

/* ニュースコンテナ */
.news-container {
    display: flex;
    background-color: var(--color-bg-light);
    padding: 30px 0 50px
}

.news-container .inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* 2カラム設定 */
.home .news-container .news,
.home .news-container .message {
    flex: 1;
    width: 50%;
    min-width: 300px; /* 小さい画面でもある程度の幅を確保 */
    padding: 0 0 0;
}

/* 新着メッセージのスタイリング */
.news-container h2 {
    line-height: 2em;
    font-size: 2.0rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--color-primary);
    border-bottom: 1px solid #E5E5E5;
    /* text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); */
    z-index: 1;
}

.home .news-container .news-item {
    width: 100%;
    margin: 0 0 24px 0;
}

.home .news-container .news-item.sticky a.title::after {
    content: '';
    position: relative;
    top: .15em;
    left: .3em;
    width: 1.1em;
    height: 1.1em;
    display: inline-block;
    background-image: url('img/pin.svg');
    background-repeat: no-repeat;
    background-position: right top;
}

.news-container .news-item {
    width: 100%;
    margin: 0 auto; /* 中央寄せ */
    margin-bottom: 20px; /* アイテム間のスペース */
}

.news-container .news-item .article-info {
    display: flex;
    align-items: center;
    margin: 0 0 8px 0;
}

.news-container .news-item .article-info .date {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: normal;
    letter-spacing: 0;
    color: var(--color-text-light);
    line-height: 1;
    border: none;
    margin: 0 0 2px;
    padding: 0 0 0;
}

.news-container .news-item .article-info .category {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 0 10px;
}

.news-container .news-item .article-info .category .cat-label {
    display: block;
    margin: 0 0.25em 2px;
    padding: 0.25em 0.625em;
    background: #efefef;
    font-size: 1.3rem;
    color: var(--color-primary);
}

.news-container .news-item a.title {
    position: relative;
    display: block;
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: normal;
    margin-bottom: 10px;
    color: var(--color-text-dark);
    transition: all 0.3s;
}

.news-container .news-item a.title:hover {
    color: var(--color-primary);
}


/* SNSコンテナ */
.sns-container {
    display: flex;
    background-color: var(--color-bg-light);
    padding: 0 0 50px 0;
}

.sns-container .inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* 2カラム設定 */
.sns-container .facebook,
.sns-container .youtube {
    display: flex;
    align-items: center;
    flex-direction: column;
    flex: 1;
    width: 50%;
    min-width: 300px; /* 小さい画面でもある程度の幅を確保 */
    padding: 30px;
}

/* スタイリング */
.sns-container h2 {
    line-height: 2em;
    font-size: 2.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--color-primary);
    /* text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); */
    z-index: 1;
}

.sns-container .facebook #pagePlugin {
    /* display: flex; */
    /* justify-content: center; */
    width: 100%;
    max-width: 500px;
    height: auto;
    padding: 0;
}

.fb-page.fb_iframe_widget {
    display: block;
    margin: 0 auto;
    text-align: center;
}

.fb_iframe_widget iframe {
    width: 100%;
    height: auto;
    padding: 0;
}

.sns-container .youtube iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* アスペクト比を16:9に設定 */
    padding: 0;
}

.sns-container .youtube-channel {
    margin: 10% auto 0;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
    .sns-container .facebook #pagePlugin {
        width: auto;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .news-container {
        padding: 5vw 0 7vw;
    }
    .news-container .inner {
        padding: 0 20px;
        gap: 3vw;
    }
    .news-container h2 {
        font-size: 1.8rem;
        margin-top: 1em;
        margin-bottom: 1em;
    }
    .news-container .news-item .date {
        font-size: 1.4rem;
    }
    .news-container .news-item a.title {
        font-size: 1.6rem;
    }

    .sns-container .inner {
        flex-direction: column;
        padding: 0 20px;
    }
    .sns-container .facebook,
    .sns-container .youtube {
        width: 100%;
        min-width: unset;
        padding: 0;
    }
    .sns-container h2 {
        font-size: 2.2rem;
    }
}




 /* 2カラムレイアウト（左テキスト、右画像） */
.two-column {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1240px;
    margin: 100px auto;
    gap: 6%;
}

.two-column .text-content {
    /* flex: 1; */
    width: 30%;
    min-width: 300px; /* 最小幅を設定 */
}

.two-column .image-content {
    flex: 1;
    overflow: hidden;;
    min-width: 300px; /* 最小幅を設定 */
    border-radius: 10px; /* 任意：画像の角を丸くする */
    border: 1px solid var(--color-border-light);
}

.two-column .image-content img {
    display: block;
    width: 100%;
    height: auto;
}

/* 見出しのスタイル */
.two-column .text-content h2 {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    line-height: 2;
    font-size: 4.8rem;
    font-weight: bold;
    margin: 40px 0 .5em 0;
    color: var(--color-primary);
    border-bottom: 2px solid #F4CCCE;
    width: fit-content;
}

.two-column .text-content h2 .en {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-primary)
}

.two-column .text-content h2::after {
    content: '';
    position: absolute;
    display: block;
    border-bottom: 2px solid var(--color-primary);
    bottom: -2px;
    left: 0;
    width: 80%;
    height: 2px;
}

/* テキストのスタイル */
.two-column .text-content p {
    font-size: 16px;
    line-height: 1.8;
    margin: 1em 0 2em;
}

/* モバイル対応 */
@media (max-width: 1260px) {
    .two-column {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    .section-container {
        padding: 0 0 11vw
    }
    .two-column {
        flex-direction: column;
        margin: 0 0 0;
        padding: 11vw 20px 0;
    }

    .two-column .text-content {
        order: 2; /* モバイル表示時は画像を上に */
        width: 100%;
    }
    .two-column.reverse .text-content {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    .two-column .image-content {
        order: 1; /* モバイル表示時は画像を上に */
        margin-bottom: 20px;
        width: 100%;
        height: auto;
        aspect-ratio: 5 / 3;
    }
    .two-column .image-content img {
        width: 100%;
        height: 100%; /* 高さを100%にすることが重要 */
        object-fit: cover;
        object-position: center;
    }
    #statement .two-column .image-content img {
        object-position: center top;
    }
    .two-column .text-content h2 {
        margin: 0 0 0;
        font-size: 3.2rem;
        line-height: 1.75;
    }
    .two-column.reverse .text-content h2 {
        text-align: right;
    }
    .two-column .text-content h2 .en {
        font-size: 1.6rem;
    }
    .two-column .text-content p {
        font-size: 1.6rem;
    }

}

/* 画像の右側、テキストの左側バージョン */
.two-column.reverse {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .two-column.reverse .text-content {
      order: 2;
    }

    .two-column.reverse .image-content {
      order: 1;
    }
}


/*------------------------------------
 * archive / news
 *------------------------------------ */
.page-template-archive-news .main .inner {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}

.archive-list {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}

.archive-list li {
    border-bottom: 1px solid #707070;
    margin: 0 0 0 0;
    padding: 24px 20px 20px 20px;
}

.archive-list li:first-child {
    border-top: 1px solid #707070;
}

.archive-list li::before {
    content: none;
}

.archive-list > li > a {
    display: block;
    border: none;
    text-decoration: none;
}

.archive-list > li > a:hover {
    transition: .3s;
    opacity: .5;
}

.archive-list .article-info {
    display: flex;
    align-items: center;
    margin: 0 0 16px 0;
}

.archive-list .article-info .date {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: normal;
    letter-spacing: 0;
    color: #707070;
    line-height: 1;
    border: none;
    margin: 0 0 2px;
    padding: 0 0 0;
}

.archive-list .article-info .category {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 0 10px;
}

.archive-list .article-info .category .cat-label {
    display: block;
    margin: 0 0.25em 2px;
    padding: 0.25em 0.625em;
    background: var(--color-bg-light);
    font-size: 1.4rem;
    color: var(--color-primary);
}

.archive-list .title {
    font-size: 2.8rem;
    color: #222222;
}

@media (max-width: 768px) {
    .archive-list .article-info {
        flex-direction: column;
        align-items: flex-start;
    }
    .archive-list .article-info .category {
        margin: 8px 0 0 0;
    }
    .archive-list .article-info .category .cat-label {
        margin: 0 0.25em 2px 0;
    }
}

/* ページ送り / アーカイブ */
.nav-links {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 100px auto 150px;
    font-size: 1.6rem;
}

.nav-links a {
    display: block;
    padding: 10px 10px;
    color: #C7000B;
    text-decoration: none;
    font-size: 1.6rem;
}

.nav-links .page-numbers {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    min-height: 19px;
    line-height: 1;
    border: 1px solid #C7000B;
    border-radius: 50%;
}

.nav-links .first.page-numbers,
.nav-links .last.page-numbers,
.nav-links .prev.page-numbers,
.nav-links .next.page-numbers,
.nav-links .dots.page-numbers {
    border: none;
    font-size: 2.3rem;
}
.nav-links .page-numbers.current {
    padding: 10px 10px;
    background-color: #C7000B;
    color: #fff;
    font-size: 1.6rem;
}

.nav-links .prev::after,
.nav-links .next::after,
.nav-links .first::after,
.nav-links .last::after,
.nav-links .first::before,
.nav-links .last::before {
    position: absolute;
    top: 50%;
    width: 0.6em;
    height: 0.6em;
    content: "";
    border: 1px solid #222222;
    border-bottom: 0;
    border-left: 0;
    rotate: 45deg;
    translate: -20% -50%;
}

.nav-links .prev::after {
    rotate: -135deg;
    translate: 20% -50%;
}

.nav-links .first::after {
    rotate: -135deg;
    translate: 50% -50%;
}

.nav-links .first::before {
    rotate: -135deg;
    translate: -30% -50%;
}

.nav-links .last::after {
    translate: 30% -50%;
}

.nav-links .last::before {
    translate: -50% -50%;
}

/*
archive-header
*/
.archive-header {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.archive-sub-header {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}
/*
 * year link
 */
.year-link {
    display: flex;
    margin: 0;
}

.year-link > li {
    padding: 0;
    margin: 0;
}

.year-link > li::before {
    content: none;
}

.year-link > li > a {
    border: none;
    padding: 0;
    text-decoration: none;
    font-size: 1.6rem;
    color: #222222;
}

.year-link li.current a {
    font-weight: bold;
}

/* マージン　*/
.year-link-container {
    margin: 100px 0 30px;
}

.year-link-container.bottom {
    margin: 80px 0 0;
}

/** flex **/
/* センタリングの場合 */
.year-link.flex-box.content-center {
    justify-content: center;
}

.year-link .flex-item {
    width: calc( 100% / 11 );
}

.year-link > li {
    border-right: 1px solid #1B1B1B;
    text-align: center;
    margin: 0 0 20px;
    padding: 0 18px 0;
}

.year-link > li:first-child {
    border-left: 1px solid #1B1B1B;
}

.year-link > li:nth-child(12n) {
    /* border-left: 1px solid #1B1B1B; */
}

/** a **/
.year-link > li > a {
    display: block;
    font-size: 16px;
    line-height: 2;
}

.year-link > li > a:hover {
    transition: .3s;
    opacity: .5;
}

/* pc original */
@media screen and ( max-width: 899px ) {
    .year-link.flex-box {
        display: flex;
        flex-wrap: wrap;
    }
    .year-link .flex-item {
        width: calc( 100% / 4 );
    }
    .year-link > li {
        border: none;
    }
    .year-link > li:first-child {
        /* border: none; */
    }
    .year-link > li {
        border-left: 1px solid #1B1B1B;
    }
    .year-link > li:nth-child(12n) {
        /* border-left: none; */
    }
    .year-link > li:nth-child(4n) {
        border-right: 1px solid #1B1B1B;
    }
    .year-link > li:last-child {
        border-right: 1px solid #1B1B1B;;
    }
    .hpi-fs .year-link-container,
    .post-type-archive-hpi-fs .year-link-container {
        margin: 50px 0 30px;
    }
}


/*
 * catgory-link
 */
.category-link {
    margin: 0;
}

.category-link > li {
    padding: 0;
}

.category-link > li::before {
    content: none;
}

.category-link > li > a {
    border: none;
    padding: 0;
}

/* マージン　*/
.category-link-container {
    margin: 20px 0 30px;
}

/** flex **/
.category-link .flex-item {
    display: inline-block;
    width: auto;
}

.category-link > li {
    /* border-right: 1px solid #1B1B1B; */
    margin: 0 10px 10px;
    /* padding: 0 12px 0; */
    /* border: 1px dotted #a2a2a2; */
    /* background: #f7f7f7; */
}

.category-link > li:first-child {
    /* border-left: 1px solid #1B1B1B; */
}

/** a **/
.category-link > li > a {
    display: block;
    margin: 0;
    padding: 0 12px 0;
    border: 1px solid #C7000B;
    background: #ffffff;
    text-decoration: none;
    font-size: 1.8rem;
    color: #C7000B;
    line-height: 2;
}

.category-link > li > a:hover {
    transition: .3s;
    opacity: .5;
}

.category-link > li > a.cat-item {
    background-color: #ffffff;
}

.category-link li.current a {
    background: var(--color-primary);
    color: #fff;
}

.category-link > li.current > a.cat-item {
    background: var(--color-primary);
    color: #fff;
}
.category-link > li > a.current.cat01,
.category-link > li > a.current.symposium {
    background-color: #ccae5c;
}

.category-link > li > a.current.cat02,
.category-link > li > a.current.awards {
    background-color: #638C0B;
}

.category-link > li > a.current.cat03,
.category-link > li > a.current.forum {
    background-color: #c76c6c;
}

.category-link > li > a.current.cat04,
.category-link > li > a.current.project-based-research {
    background-color: #42a2bf;
}

.category-link > li > a.current.cat05,
.category-link > li > a.current.individual-research,
.category-link > li > a.current.fellowship {
        background-color: #448aca;
}

.category-link > li > a.current.cat06,
.category-link > li > a.current.public-lecture-series {
        background-color: #9266bb;
}

.category-link > li > a.current.cat07,
.category-link > li > a.current.hiroshima-peace-seminar {
        background-color: #5cb974;
}

.category-link > li > a.current.cat08,
.category-link > li > a.current.etc {
        background-color: #90be6d;
}

.category-link > li > a.current.cat09 {
    background-color: #43aa8b;
}

.category-link > li > a.current.cat10 {
    background-color: #577590;
}

.category-link > li > a.current.cat00 {
    background-color: #1d3557;
}

/* 560px未満 */
@media screen and ( max-width: 559px ) {
    .category-link {
    }
}

/*------------------------------------
 * page
 *------------------------------------ */
.page .main .inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.page article {
    margin: 20px 0 100px;
}

.article-content {
    padding: 0 0;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}

article h1 {
    margin: 1em 0 .5em;
    font-weight: 500;
    font-size: 3.6rem;
    color: var(--color-primary)
}

article h2 {
    margin: 1em 0 .5em;
    font-weight: 500;
    font-size: 2.4rem;
    color: var(--color-primary)
}
article h3 {
    margin: 1em 0 .5em;
    font-weight: 500;
    font-size: 2.0rem;
    color: var(--color-primary)
}
article h4 {
    margin: 1em 0 .5em;
    font-weight: 500;
    font-size: 1.8rem;
    color: var(--color-primary)
}
article h5 {
    margin: 1em 0 .5em;
    font-weight: 500;
    font-size: 1.6rem;
    color: var(--color-primary)
}
article h6 {
    margin: 1em 0 .5em;
    font-weight: 500;
    font-size: 1.6rem;
    color: var(--color-primary)
}

article p {
    margin: 0 0 2em;
    line-height: 1.8;
    font-size: 1.6rem;
}

article table {
    margin: 10px 0 40px;
}

article th,
article td {
    font-size: 1.6rem;
    padding: 0.5em 1em !important;
}

article th {
    background-color: var(--fill-secondary) !important;
    border: 1px solid #ccc !important;
    font-weight: bold;
    color: var(--color-primary);
}

article td {
    /* background-color: #F4CCCE !important; */
    border: 1px solid #ccc !important;
}

article ul {
    margin: 1em 0 1em;
    padding-left: 1em;
    font-size: 1.6rem;
}

article ul li {
    margin: 0.5em 0;
    list-style: none;
    position: relative;
    padding-left: 0;
}

article ul li::before {
    content: "•";
    position: absolute;
    left: -0.75em;
    top: -0.1em;
    color: var(--color-primary);
    font-size: 1.2em;
    line-height: 1.3;
}

article ol {
    margin: 1em 0 1em;
    padding-left: 1.5em;
    font-size: 1.6rem;
}
article ol li {
    margin: 0.5em 0;
    list-style-type: decimal;
    padding-left: 0.4em;
}
/* 番号リストの数字を赤色に変更 */
article ol li::marker {
    color: var(--color-primary); /* 赤色（変数を使用） */
    font-weight: bold; /* 必要に応じて太字に */
    left: -0.5em;
}

/* 番号リストを（1）（2）形式に変更 */
article ol.kakko {
  margin: 1em 0 1em;
  padding-left: 0; /* パディングを少し減らす */
  counter-reset: item; /* カウンターをリセット */
  list-style-type: none; /* デフォルトの番号を削除 */
  font-size: 1.6rem;
}

article ol.kakko li {
  margin: 0.5em 0;
  position: relative;
  padding-left: 2.0em; /* 番号のためのスペース */
  list-style-type: none; /* デフォルトの番号を削除 */
}

article ol.kakko li::before {
  content: "（" counter(item) "）"; /* （1）形式の番号 */
  counter-increment: item; /* カウンターを増加 */
  position: absolute;
  left: -0.5em;
  color: var(--color-primary); /* 番号の色を赤色に */
  font-weight: bold;
}

article blockquote {
    margin: 1em 0 1em;
    padding: 0.5em 1em;
    overflow-wrap: break-word;
    background: #efefef;
    border-left: 4px solid var(--color-primary);
    color: #000;
    font-size: 1.6rem;
}

/* タブレット表示時の設定 */
@media (max-width: 940px) {
    .page .main .inner {
        padding: 0 20px; /* 両側に20pxの余白 */
    }
}

/* スマートフォン表示時の設定 */
@media (max-width: 480px) {
    .page .main .inner {
        padding: 0 15px; /* 両側に15pxの余白 */
        width: auto; /* 幅を自動調整 */
    }
}

/*------------------------------------
 * page / profile
 *------------------------------------ */
.profile-summary-title {
    position: relative;
    margin: 0 0 0.25em 0;
    /* padding: 0 0 0 0.875em; */
    padding: 0;
    font-size: 2.0rem;
    font-weight: 500;
    color: var(--color-primary);
}

/*
.profile-summary-title::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    transform: translateY(-50%);
    background-image: url(img/circle.svg);
    background-repeat: no-repeat;
    background-size: contain;
} */


/*------------------------------------
 * page
 *------------------------------------ */

/*
 * main visual
 */
.mv {
    position: relative;
    display: flex;
    height: 400px;
    margin-bottom: 100px;
}

.mv-noimg {
    height: 230px;
    text-align: center;

    /* margin-top: 55px; */
    background-color: #fff;
    border: none;
}

.mv-sticky {
    position: sticky;
    top: var(--height-header);
    z-index: 1;
    height: 100px;
    margin-top: 90px;
}

.mv-inner {
    display: flex;
    /* flex: 0 0 100%; */
    align-items: center;
    justify-content: flex-end;
    flex-direction: row-reverse;
    overflow: hidden;
    /* max-width: var(--max-width-inner); */
    width: 100%;
    height: 100%;
    margin: 0 auto;
    background-color: var(--fill-primary);
    border: 1px solid var(--fill-primary);
    border-radius: 10px;
    color: #ffffff;
}

.mv-noimg .mv-inner {
    flex: 0 1 auto;
    justify-content: center;
    background-color: #fff;
}

.mv-img {
    flex: 1 1 auto;
    width: 76%;
    height: 100%;
}

.mv-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mv .mv-h1 {
    width: 392px;
    margin: -0.5em 0 0;
    padding-left: 50px;
    font-size: 4.0rem;
    font-weight: 500;
    color: var(--color-blue);
    word-break: keep-all;
}

.mv .mv-h1 span.en {
    display: block;
    font-size: 1.6rem;
}

.mv.mv-noimg .mv-h1 {
    padding: 0;
}

.mv .mv-h1.mv-h1en {
    font-family: var(--font-en);
    font-size: 45px;
    font-weight: normal;
    letter-spacing: 0.08em;
}

.mv .mv-h1.mv-h1en span {
    display: block;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 0.01em;
}

.mv .mv-h1-contact span {
    display: block;
    margin-bottom: 0.5em;
    font-size: 30px;
    color: #909498;
}

.no-mv-h1 {
    width: 100%;
    max-width: 920px;
    margin: 0 auto 56px;
}

/* タブレット表示時の設定 */
@media (max-width: 900px) {
}

/* スマートフォン表示時の設定 */
@media (max-width: 480px) {
    .mv {
        height: auto;
        margin-bottom: 20px;
    }
    .mv-inner {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .mv .mv-h1 {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin: 0;
        padding: 2% 5% 2% 5%;
        font-size: 2.6rem;
        box-sizing: border-box;
    }
    .mv .mv-h1.no-reverse {
        flex-direction: column;
        align-items: flex-start;
    }
    .mv .mv-h1 span.jp {
        display: block;
    }
    .mv .mv-h1 span.en {
        display: block;
        font-size: 1.4rem;
    }
    .mv-img {
        width: 100%;
        height: 150px;
    }
}


/*------------------------------------
 * page / documents
 *------------------------------------ */
article ul.back-number-list {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
}

.back-number-list li {
    width: 30%;
    margin: 0 15px 24px;
    padding: 0;
    list-style: none;
}

article ul.back-number-list li::before {
    content: none;
}

.back-number-list li a {
    display: block;
    color: #222222;
    font-size: 1.6rem;
    text-decoration: none;
    text-align: center;
}

.back-number-list li a:hover {
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.back-number-list li a span {
    display: block;
    padding: 0 0;
    font-size: 1.6rem;
}

.back-number-list img {
    display: block;
    width: 100%;
    height: auto;
}


/*------------------------------------
 * single
 *------------------------------------ */
.single .main .inner {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}

.single article {
    margin: 100px 0 100px;
}

.single .article-info {
    display: flex;
    align-items: center;
    margin: 0 0 16px 0;
}

.single .article-info .date {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: normal;
    letter-spacing: 0;
    color: #707070;
    line-height: 1;
    border: none;
    margin: 0 0 2px;
    padding: 0 0 0;
}

.single .article-info .category {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 0 10px;
}

.single .article-info .category .cat-label {
    display: block;
    margin: 0 0.25em 2px;
    padding: 0.25em 0.625em;
    background: #efefef;
    font-size: 1.4rem;
    color: var(--color-primary);
}

.single article h1 {
    margin: 1em 0 1em;
    font-weight: bold;
    font-size: 3.6rem;
}

.single article p {
    margin: 1em 0 1em;
    font-size: 1.6rem;
}

/* ページ送り / sigle */
.single .pagination {
    width: 58.875%;
    margin: 0 auto;
}

.single .pagination a {
    position: relative;
    text-decoration: none;
    line-height: 1;
    letter-spacing: 0;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--primary-color-black);
}

.single .pagination ul {
    display: flex;
    justify-content: space-between;
    width: 100%;
    list-style: none;
}

.single .pagination .prev > a,
.single .pagination .next > a {
    position: relative;
    display: block;
    line-height: 60px;
    text-wrap: nowrap;
}

.single .pagination .prev > a {
    padding: 0 0 0 2em;
}

.single .pagination .next > a {
    padding: 0 2em 0 0;
}

.single .pagination .prev > a::before,
.single .pagination .next > a::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0.6em;
    height: 0.6em;
    content: "";
    border: 1px solid #222222;
    border-bottom: 0;
    border-left: 0;
    rotate: 45deg;
    translate: -20% -50%;
    font-size: 2.3rem;
}

.single .pagination .prev a::after {
    rotate: -135deg;
    translate: 20% -50%;
}

.single .pagination .next a::after {
    rotate: -135deg;
    translate: 50% -50%;
}

.single .pagination .first::before {
    rotate: -135deg;
    translate: -30% -50%;
}

.single .pagination .last::after {
    translate: 30% -50%;
}

.single .pagination .last::before {
    translate: -50% -50%;
}


.single .pagination .prev > a::before {
    transform: rotate(180deg);
}

.single .pagination .next > a::before {
    left: unset;
    right: 0;
}

.single .pagination .back {
    position: relative;
    top: -36px;
    width: fit-content;
    margin: 0 auto;
}

.single .pagination.back-only .back {
    top: auto;
    width: 100%;
    text-align: center;
    margin: 16px auto;
}

@media screen and (max-width:750px) {
    .single .pagination {
        width: 100%;
        margin: 0 auto;
    }
}

/* タブレット表示時の設定 */
@media (max-width: 900px) {
    .single .main .inner {
        padding: 0 20px; /* 両側に20pxの余白 */
    }
}

/* スマートフォン表示時の設定 */
@media (max-width: 480px) {
    .single article {
        margin: 20px 0 100px;
    }
    .single .main .inner {
        padding: 0 15px; /* 両側に15pxの余白 */
        width: auto; /* 幅を自動調整 */
    }
}


/*------------------------------------
 * wordpress
 *------------------------------------ */
article .wp-block-button,
article .wp-block-buttons > .wp-block-button {
    margin: 10px 10px 10px 10px;
}
article .wp-block-button__link {
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 1.2em 6em 1.2em 2em;
    font-size: 2.0rem;
    font-weight: bold;
    color: #fff;
    background-color: #ffffff;
    border: 1px solid var(--color-primary);
    border-radius: unset;
    text-decoration: none;
    text-align: left;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

article .wp-block-button__link::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 2em;
    width: 2em;
    height: 1em;
    background-image: url(img/arrow004.svg);
    background-repeat: no-repeat;
    background-size: cover;
    transform: translateY(-50%);
    opacity: 1;
}

article .wp-block-button__link::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 2em;
    width: 2em;
    height: 1em;
    background-image: url(img/arrow003.svg);
    background-repeat: no-repeat;
    background-size: cover;
    transform: translateY(-50%);
    opacity: 0;
}

article .wp-block-button__link:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

article .wp-block-button__link:hover::after {
    opacity: 1;
}

/* テーブルスタイリング - フレキシブルテーブルブロック */
.wp-block-flexible-table-block-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 1.6rem;
}

/* テーブルの枠線 */
.wp-block-flexible-table-block-table {

}
.wp-block-flexible-table-block-table th,
.wp-block-flexible-table-block-table td {
    border: 1px solid #ddd;
}

/* 見出しセルのスタイル */
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th,
.wp-block-flexible-table-block-table th {
    padding: 12px 15px; /* 上下左右の余白 */
    text-align: left;
    font-weight: bold;
}

/* データセルのスタイル */
.wp-block-flexible-table-block-table td {
    padding: 10px 15px; /* 上下左右の余白 */
    background-color: #ffffff;
}

/* 偶数行の背景色を変更（オプション） */
.wp-block-flexible-table-block-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* ホバー時の行の背景色を変更（オプション） */
.wp-block-flexible-table-block-table tr:hover {
    background-color: #f1f1f1;
}

/* キャプションのスタイル */
.wp-block-flexible-table-block-table figcaption {
    text-align: center; /* センタリング */
    margin-top: 10px;
    font-size: 1.4rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .wp-block-flexible-table-block-table {
        display: block;
        overflow-x: auto; /* 横スクロール可能に */
    }
    .wp-block-flexible-table-block-table th,
    .wp-block-flexible-table-block-table td {
        padding: 8px 10px; /* モバイル用に余白を調整 */
    }
}


/* office */
.map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.wp-element-caption,
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    font-size: 1.5rem !important;
}


/*
 * for Contact Form7
 * -------------------------------- */
.wpcf7 {
    margin: 65px 0 0;
}
.wpcf7 p {
    margin: 0 0 2.5em !important;
}
label,
select,
.wpcf7-form-control-wrap,
.wpcf7-form-control {
    width: 100%;
}
.your-name .wpcf7-form-control,
.your-email .wpcf7-form-control,
.your-tell .wpcf7-form-control,
.your-category .wpcf7-form-control {
    max-width: 800px;
}
.wpcf7-form-control {
    margin: 8px 0 0;
    min-height: 40px;
    padding: .5em 1em;
    /* height: 60px; */
    color: #000000;
    line-height: 1.5;
    letter-spacing: 0;
    font-size: 1.8rem;
    font-weight: 500;
    border: 1px solid var(--fill-primary);
    border-radius: 5px;
}
.wpcf7-form-control-wrap select {
    margin: 8px 0 0;
    padding: 1.5rem 1rem;
    border: 1px solid var(--fill-primary);
    border-radius: 5px;
}
.wpcf7-form-control-wrap textarea {
    margin: 8px 0 0;
    padding: .75em 1em;
    min-height: 20em;
}
.wpcf7-form-control.wpcf7-radio {
    padding: .5em 1em .5em 0;
    border: none;
}
.wpcf7-submit {
    display: block;
    width: 100%;
    max-width: 300px;
    height: 60px;
    margin: 40px auto 0;
    padding: 0;
    background: var(--fill-primary);
    border-radius: 30px;
    text-align: center;
    line-height: 43px;
    letter-spacing: 1.14px;
    font-size: 1.6rem;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
}
.wpcf7-submit:hover,
.wpcf7-submit:focus,
.wpcf7-submit:focus-within {
    transition: .4s;
    opacity: .7;
}
.wpcf7-response-output {
    margin: 40px 0 0;
    text-align: center;
}
.wpcf7 form .wpcf7-response-output {
    border-color: #caccda;
}
.wpcf7 form.sent .wpcf7-response-output {
    padding: 1em;
    border-color: #caccda;
}

@media (max-width: 768px) {
    .wpcf7-form-control {
        width: 80vw;
    }
}
