/* ========== 各ページ共通 ========== */
.page-visual-ttl {
    position: relative;
    margin-bottom: 72px;
    overflow: hidden;
    height: 380px;
}

.page-visual-ttl .pho {
    position: relative;
    width: 100%;
    height: 100%;
}

.page-visual-ttl .pho img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-visual-ttl::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(6, 27, 56, .82) 0%, rgba(6, 27, 56, .42) 48%, rgba(6, 27, 56, .12) 100%);
    z-index: 1;
    pointer-events: none;
}

.page-visual-ttl::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    width: 4px;
    height: 72px;
    bottom: 52px;
    left: max(24px, calc((100vw - 1200px) / 2));
    background: var(--c-blue);
    z-index: 1;
    pointer-events: none;
}

.page-visual {
    position: absolute;
    bottom: 54px;
    left: max(48px, calc((100vw - 1200px) / 2 + 28px));
    z-index: 2;
    color: white;
    max-width: 600px;
}

.page-visual .jp h2 {
    margin: 0 0 12px;
    font-family: var(--font-sans);
    font-size: clamp(32px, 3.3vw, 44px);
    font-weight: 700;
    line-height: 1.3;
    text-shadow: none;
}

.page-visual .en h3 {
    color: #7bd6f4;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-shadow: none;
    margin: 0;
    text-transform: uppercase;
    opacity: 0.9;
}

.atena-page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content,
.content2,
.content5,
.content7,
.content8 {
    margin: 60px 0;
}

.box_line1 {
    background: var(--c-bg);
    border-left: 3px solid var(--c-blue);
    padding: 40px 30px;
    border-radius: 0;
    box-shadow: none;
    margin: 60px auto;
    text-align: center;
    max-width: 800px;
}

.box_line1 p {
    font-size: 26px;
    font-weight: 700;
    color: #07377f;
    line-height: 1.6;
    margin: 0;
}

.wrapbox,
.wrapbox2,
.wrapbox3,
.wrapbox4,
.wrapbox5 {
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 40px 0;
    list-style: none;
    padding: 0;
}

.wrapbox4,
.wrapbox2,
.wrapbox {
    flex-direction: row;
}

.wrapbox4 .wrap4,
.wrapbox2 .wrap4,
.wrapbox .wrap4 {
    flex: 1;
    order: 1;
}

.wrapbox4 .wrap6,
.wrapbox2 .wrap6,
.wrapbox .wrap6 {
    flex: 1;
    order: 2;
}

.wrapbox3 {
    flex-direction: row;
}

.wrapbox3 .wrap6 {
    flex: 1;
    order: 1;
}

.wrapbox3 .wrap4 {
    flex: 1;
    order: 2;
}

.atena-page-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.atena-page-content img:hover {
    transform: translateY(-2px);
}

.atena-page-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* ========== ボタン・見出し ========== */
.buttonbox,
.buttonbox2, 
.buttonbox3, 
.buttonbox4 {
    margin: 30px 0;
    text-align: center;
}

.button01, 
.button02, 
.button03 {
    display: inline-block;
}

.button01 a, 
.button02 a, 
.button03 a {
    display: inline-block;
    background: var(--c-blue);
    color: #fff;
    padding: 15px 32px;
    border-radius: var(--radius-s);
    text-decoration: none;
    font-weight: 700;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
    box-shadow: 0 4px 14px rgba(52, 152, 219, .35);
}

.button01 a:hover, 
.button02 a:hover, 
.button03 a:hover {
    background: var(--c-blue-600);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, .45);
    text-decoration: none;
    color: #fff;
}

.h3 h3, 
.h4 h4, 
.h5 h5 {
    font-size: 24px;
    font-weight: 700;
    color: #07377f;
    text-align: center;
    margin: 60px 0 40px 0;
    position: relative;
    padding-bottom: 15px;
}

.h3 h3::after, 
.h4 h4::after, 
.h5 h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #00a5df;
}

/* ========== テーブル ========== */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.table th {
    background: #f8f9fa !important;
    color: #333 !important;
    padding: 15px !important;
    text-align: left !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border: 1px solid #e9ecef !important;
    width: 25% !important;
}

.table td {
    padding: 15px !important;
    border: 1px solid #e9ecef !important;
    line-height: 1.6 !important;
    font-size: 14px !important;
    color: #555 !important;
}

.table a {
    color: #00a5df !important;
    text-decoration: none !important;
}

.table a:hover {
    text-decoration: underline !important;
}

.teljump {
    color: inherit !important;
    font-weight: normal !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.teljump:hover {
    text-decoration: underline !important;
    color: #333 !important;
}

/* ========== お問い合わせ ========== */
#contact {
    background: linear-gradient(135deg, #07377f 0%, #34495e 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 15px;
    margin: 80px 0;
    text-align: center;
}

.contxt1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #00a5df;
}

.center {
    margin: 30px 0;
}

.center .wcfontsize3 {
    font-size: 16px;
    color: #bdc3c7;
}

.center .wcfontsize5 {
    color: #bdc3c7;
}

.center .wcfontsize6 {
    font-size: 24px;
    font-weight: 700;
    color: #00a5df;
}

.add {
    margin: 40px 0;
    color: #ecf0f1;
    font-size: 14px;
    line-height: 1.6;
}

.bn_contact a {
    display: inline-block;
    background: #00a5df;
    color: white;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.bn_contact a:hover {
    background: #008abe;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

/* ========== ニュースボックス ========== */
.news-scroll-container {
    max-width: 1200px;
    width: 100%;
    margin: 40px auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.news-scroll-list {
    max-height: 500px;
    overflow-y: auto;
    padding: 30px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f7fafc;
}

.news-scroll-list::-webkit-scrollbar {
    width: 12px;
}

.news-scroll-list::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 10px;
}

.news-scroll-list::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.news-scroll-list::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.news-scroll-item {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.news-scroll-item:last-child {
    margin-bottom: 0;
}

.news-scroll-item:hover {
    text-decoration: none !important;
    transform: translateY(-3px);
}

.news-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 35px;
    border: 1px solid #e2e8f0;
    position: relative;
    text-align: center !important;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 150px;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #00a5df, #008abe);
    border-radius: 20px 20px 0 0;
}

.news-scroll-item:hover .news-card {
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.2);
}

.news-card.news-important::before {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.news-card.news-important {
    background: linear-gradient(135deg, #fff5f5 0%, #fef2f2 100%);
    border-color: #fecaca;
}

.news-card-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.news-date {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 20px;
}

.news-important .news-date {
    background: #fef2f2;
    color: #dc2626;
}

.news-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.5;
    margin-bottom: 20px;
}

.news-important .news-card-title {
    color: #dc2626;
}

.address-preview {
    border-radius: 12px;
    padding: 16px;
    margin: 20px 0;
    font-size: 16px;
}

.address-label {
    font-weight: 600;
    color: #07377f;
    margin-right: 8px;
}

.address-text {
    color: #34495e;
    font-weight: 500;
}

.news-card-arrow {
    font-size: 16px;
    font-weight: 600;
    color: #00a5df;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.news-important .news-card-arrow {
    color: #dc2626;
}

.news-scroll-item:hover .news-card-arrow {
    transform: translateX(5px);
}

/* ========== 個別ページ専用 ========== */
.balloon1-right,
.balloon1-left {
    position: relative;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    margin: 15px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* 右向きバルーンの矢印（境界線付き） */
.balloon1-right::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -14px;
    width: 0;
    height: 0;
    border-left: 12px solid #e9ecef; /* 境界線の色 */
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    z-index: 1;
}

.balloon1-right::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -12px;
    width: 0;
    height: 0;
    border-left: 12px solid #f8f9fa; /* 背景色 */
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    z-index: 2;
}

.balloon1-left {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #90caf9;
}

/* 左向きバルーンの矢印（境界線付き） */
.balloon1-left::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -14px;
    width: 0;
    height: 0;
    border-right: 12px solid #90caf9; /* 境界線の色 */
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    z-index: 1;
}

.balloon1-left::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -12px;
    width: 0;
    height: 0;
    border-right: 12px solid #e3f2fd; /* 背景色 */
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    z-index: 2;
}

.block4 {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 450px;
}

.content8 .wrapbox {
    display: flex;
    align-items: center;
    gap: 40px;
}

.content8 .wrap7 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content8 .wrap3 {
    flex: 0 0 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col1 {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
}

.col1 img {
    width: 100%;
    max-width: 1050px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.wrapar1 {
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%2050'%3E%3Cpath%20d='M10%2025%20L80%2025%20M70%2015%20L80%2025%20L70%2035'%20stroke='%233498db'%20stroke-width='3'%20fill='none'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center center no-repeat;
    background-size: 80px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.h5_2 {
    margin-top: 15px;
    text-align: center;
}

.h5_2 h5 {
    background: linear-gradient(135deg, #00a5df 0%, #008abe 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
}

.content2 ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

.col2 {
    margin-bottom: 60px !important;
    padding-bottom: 40px !important;
    border-bottom: 1px solid #e9ecef !important;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 0 40px 0 !important;
    transition: none !important;
}

.col2:hover {
    transform: none !important;
    box-shadow: none !important;
}

.col2:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

.col2 p.center.noto400.fontsize18.mb10 {
    font-size: 18px !important;
    font-weight: 400 !important;
    text-align: center !important;
    margin-bottom: 10px !important;
    color: #333 !important;
}

.col2 .center.mb20 {
    text-align: center !important;
    margin-bottom: 20px !important;
    height: auto !important;
    display: block !important;
}

.content2 .col2 img[width="90"][height="90"] {
    width: 90px !important;
    height: 90px !important;
    max-width: 90px !important;
    max-height: 90px !important;
}

.content2 .col2 img[width="400"][height="70"] {
    width: 400px !important;
    height: 70px !important;
    max-width: 400px !important;
    max-height: 70px !important;
}

.content2 .col2 img[width="66"][height="70"] {
    width: 66px !important;
    height: 70px !important;
    max-width: 66px !important;
    max-height: 70px !important;
}

.content2 .col2 img {
    object-fit: contain !important;
    border-radius: 5px !important;
    display: block !important;
    margin: 0 auto !important;
    box-shadow: none !important;
    transition: none !important;
}

.content2 .col2 img:hover {
    transform: none !important;
}

/* ========== ユーティリティ ========== */
.mb40 { margin-bottom: 40px; }
.mb50 { margin-bottom: 50px; }
.mb10 { margin-bottom: 10px; }
.mb20 { margin-bottom: 20px; }
.mt20 { margin-top: 20px; }
.center { text-align: center; }
.fontsize18 { font-size: 18px; }
.fontsize24 { font-size: 24px; }
.fontsize26 { font-size: 26px; }
.noto700 { font-weight: 700; }
.noto400 { font-weight: 400; }
.ft15, .ft16, .ft21 { margin-top: 15px; }
.txt_c { text-align: center; }
.linecolor { color: #e74c3c; font-weight: 700; }
.sp { display: none; }
.u-text-left { text-align: left; }
.u-visually-hidden { position: absolute; left: -9999px; }

#contact .tel-link {
    color: inherit;
    text-decoration: none;
}

#contact .tel-link:hover {
    text-decoration: underline;
}
