/* ——————————————————————————————
   Google Fonts 読込
—————————————————————————————— */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Noto+Sans+JP:wght@400;700&display=swap');

/* ——————————————————————————————
   リセット＆ベース（モバイルファースト）
—————————————————————————————— */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-text: #333;
}



html {
    width: 100%;
    font-size: 16px;
    /* 基本フォントサイズ */
    scroll-behavior: smooth;
}

body {
    width: 100%;
    margin: 0;
    padding-top: 80px;
    /* ← ヘッダーの高さ分の余白！高さに合わせて調整 */
    /* 英数字は Roboto、日本語は Noto Sans JP */
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    color: var(--color-text);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}



ul,
li{
    list-style: none;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* header.css */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    /* ← 白＋透過80% */
    backdrop-filter: blur(8px);
    /* ← 背景がぼやけてリッチ感✨ */
    padding: 1rem 1rem;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo-brand,
.header__logo-dept {
    display: block;
    max-width: 120px;
}

.header__logo-dept {
    margin-left: 0.5rem;
}

@media (min-width: 768px) {
    .header__inner {
        max-width: 720px;
        padding: 0 1rem;
    }

    /* .header__logo-brand,
    .header__logo-dept {
        height: 1.5rem;
    } */
}

/* mv.css */
/* mv.css */
.mv {
    width: 100%;
}

.mv__img {
    display: block;
    width: 100%;
    height: auto;
}

/* main-links.css */

/* 基本設定 */
.main-links {
    position: relative;
    width: 100%;
}

.main-links__bg-img {
    display: block;
    width: 100%;
    height: auto;
}

/* ボタンレイヤー共通 */
.main-links__inner {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: calc(100% - 2rem);
    left: 50%;
    transform: translateX(-50%);
}

/* モバイル：下1/3以内に配置 */
.main-links__inner {
    top: 66.666%;
    /* 画像の下1/3の位置 */
}

/* PC：右半分以内に配置 */
@media (min-width: 768px) {
    .main-links__inner {
        top: 50%;
        /* 縦中央 */
        left: 75%;
        /* 右半分の中央あたり */
        width: 50%;
        /* 右半分幅 */
        transform: translate(-50%, -50%);
        align-items: flex-start;
        padding-left: 1rem;
        /* 左余白で内側に */
    }
}

/* ボタンスタイル */
/* リンクの基本リセット */
.main-links__btn {
    display: block;
    text-decoration: none;
    color: #fff;
}

.btn-cut {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    background: transparent;
    width: 300px;
    /* 必要に応じて調整 */
    overflow: hidden;
    width: 80%;
    margin: 0 auto;
}

/* 🔧 右上に“斜めの切り込み”を乗せる */
.btn-cut::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 20px 0;
    border-color: transparent #fff transparent transparent;
    z-index: 2;
}

/* テキスト部分 */
.btn-cut__text {
    flex: 1;
    font-weight: bold;
    font-size: 1.125rem;
}

@media screen and (min-width: 768px) {
    .btn-cut__text {
        font-size: 1.3rem;
    }
}

/* 丸い矢印アイコン */
.btn-cut__icon {
    flex-shrink: 0;
    margin-left: 1rem;
    width: 2rem;
    height: 2rem;
    border: 2px solid #fff;
    border-radius: 50%;
    position: relative;
}

.btn-cut__icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* 親セクションは全幅に！ */
.contact-box {
    width: 100%;
    background-color: #e60012;
    color: #fff;
    text-align: center;
    padding: 1.5rem 1rem;
}


/* 中身だけ制限 */
.contact-box__inner {
    max-width: 600px;
    margin: 0 auto;
}


/* PC時にpadding調整（必要なら） */
@media screen and (min-width: 768px) {
    .contact-box__inner {
        padding: 2rem 1rem;
    }
}

.contact-box__label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 1.25rem;
}

.contact-box__tel {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.contact-box__tel a {
    color: #fff;
    text-decoration: none;
}

.contact-box__fax {
    font-size: 1.25rem;
}

/* 💻 PC時の調整（中身だけ幅制限＆padding調整） */
@media screen and (min-width: 768px) {
    .contact-box {
        padding: 2rem 1rem;
        /* 上下ちょい広めに */
    }

    .contact-box>* {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* about sendai */
.about-sendai {
    padding: 3rem 1rem;

}

@media screen and (min-width: 768px) {
    .about-sendai {
        padding: 5rem 1rem;

    }
}


.section-tohoku {
    padding: 3rem 1rem;
    background-color: #F1F1F1;
}

@media screen and (min-width: 768px) {
    .section-tohoku {
        padding: 5rem 1rem;
    }
}

.section-tohoku__body {
    max-width: 700px;
    margin: 0 auto;
}

/* ===============================================
# 東北出身者
=============================================== */
.tohoku_flex-box {
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media screen and (min-width: 768px) {
    .tohoku_flex-box-table {
        display: flex;
        flex-direction: row;
        margin-bottom: 5rem;
    }
}




img.tohoku_map {
    display: block;
    max-width: 70%;
    margin: auto;
}

@media screen and (min-width: 768px) {


    img.tohoku_map {
        max-width: 40%;
    }
}

.tohoku_flex-box-staff{
    display: flex;
    justify-content: space-between;
}

@media screen and (min-width: 768px) {
    .tohoku_flex-box-staff{
        justify-content: center;
    }  
}
.tohoku_flex-box>p{
    margin: 1rem 0;
    text-align: justify;
}

@media screen and (min-width: 768px) {
    .tohoku_flex-box>p{
        max-width: 40%;
        margin: 2rem auto;
        line-height: 2;
    } 
    .tohoku_flex-box>p::after{
        content: "";
        display: block;
        background-color: #333;
        width: 100%;
        height: 1px;
        margin-top: 1rem;
    }
}

img.staff_img{
    display: block;
    max-width: 50%;
}

.staff_prof{
    padding: 1rem;
}


.about-sendai__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: left;
}

.about-sendai__img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.about-sendai__text {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}



.about-sendai__lead {
    font-size: 1.125rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.section-tohoku__body {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1rem;
    color: #333;
}

.section-tohoku__subtitle {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}

.section-tohoku__smalltitle {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 3rem 0 0.5rem;
    text-align: center;
}

/* 共通：セクションタイトル */
.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title__icon-row {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 0.3rem;
}

.section-title__icon {
    width: 32px;
    height: auto;
}

.section-title__en {
    font-size: 1.25rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: #666;
}

.section-title__label {
    display: block;
    font-size: 2.25rem;
    font-weight: bold;
    color: var(--color-text);
    padding-top: 1rem;
}

.section-tohoku__redline {
    width: 60px;
    height: 3px;
    background-color: #e60012;
    margin: 0.5rem auto 1.5rem;
}

.section-tohoku__table {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-collapse: collapse;
    text-align: center;
    background-color: #fff;
}

.section-tohoku__table th,
.section-tohoku__table td {
    border: 1px solid #999;
    padding: 0.5rem;
}

.section-tohoku__table thead {
    background-color: #e6e4e4;
    font-weight: bold;
}

/* table集計行 */
.summary-row {
    font-weight: bold;

}

/* access */
.section-access {
    padding: 3rem 1rem;
}

@media screen and (min-width: 768px) {
    .section-access {
        padding: 5rem 1rem;
    }
}

.section-access__info {
    text-align: center;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.section-access__info span {
    font-size: 1.125rem;
    font-weight: bold;
}

.section-access__maparea {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    margin: 3rem auto;
}

.section-access__mapwrap {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
}

.section-access__mapwrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.section-access__detail {
    line-height: 1.7;
    text-align: left;
    padding-left: 0;
    margin: 0;
}

/* 💻 PC時に地図＋テキストを横並び */
@media screen and (min-width: 768px) {
    .section-access__maparea {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 2rem;
    }

    .section-access__mapwrap,
    .section-access__detail {
        max-width: 400px;
    }
}

/* contact CTA wide */
.contact-box--access {
    width: 100vw;
    margin-left: calc(-1rem);
    margin-right: calc(-1rem);
}

/* footer */
.section-access__copyright {
    max-width: 700px;
    margin: 3rem auto 0;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}


.footer {
    display: none;
}

/* pagetop */
.pagetop {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 1.5rem;
    bottom: 2rem;
    width: 48px;
    height: 48px;
    background-color: #70a6e0;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
    /* ← 最初はちょっと下に */
    transition: all 0.4s ease;
}

.pagetop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    /* ← 上に戻る！ */
}

.pagetop:hover {
    background-color: #1f72cb;
    /* 少し濃いブルー */
    transform: translateY(-4px);
}