@charset "utf-8";

/* =====================================================
   第46回 日本アフェレシス学会北海道地方会
   第47回デザインを参考にしたスタイルシート
   ===================================================== */

/* Font Awesome */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/* 雪の結晶の透明度 */
.fa-snowflake:before {
    opacity: 0.7;
}

/* =====================================================
   アニメーション定義
   ===================================================== */
@keyframes slideIn {
    0% {left: -200px;}
    100% {left: 0px;}
}

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

/* 紅葉アニメーション */
@keyframes leaffall {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg) scale(1);
        opacity: 0.9;
    }
    50% {
        opacity: 1;
    }
    100% {
        top: 110%;
        transform: translateX(100px) rotate(360deg) scale(0.8);
        opacity: 0.6;
    }
}

@keyframes leaffall2 {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg) scale(1);
        opacity: 0.9;
    }
    50% {
        opacity: 1;
    }
    100% {
        top: 110%;
        transform: translateX(-80px) rotate(-360deg) scale(0.9);
        opacity: 0.6;
    }
}

@keyframes leaffall3 {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg) scale(1);
        opacity: 0.9;
    }
    50% {
        opacity: 1;
    }
    100% {
        top: 110%;
        transform: translateX(50px) rotate(360deg) scale(0.85);
        opacity: 0.6;
    }
}

/* =====================================================
   全体の設定
   ===================================================== */
* {
    box-sizing: border-box;
}

html, body {
    font-size: 15px;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Noto Serif JP", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", serif;
    -webkit-text-size-adjust: none;
    background: #fff;
    color: #555;
    line-height: 2;
    overflow-x: hidden;
}

/* リセット */
figure {margin: 0;}
dd {margin: 0;}
nav, ul, li, ol {margin: 0; padding: 0;}
nav ul {list-style: none;}
table {border-collapse: collapse;}
img {border: none; max-width: 100%; height: auto; vertical-align: middle;}
video {max-width: 100%;}
iframe {width: 100%;}
input {font-size: 1rem;}

/* リンク */
a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    filter: brightness(1.2);
}

/* =====================================================
   コンテナー
   ===================================================== */
#container {
    overflow-x: hidden;
    position: relative;
    animation: fadeIn 1s 0.4s both;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
}

/* =====================================================
   ヘッダー
   ===================================================== */
header {
    z-index: 999;
    padding: 0;
    background-image: linear-gradient(135deg, #c97642 0%, #b8541e 50%, #8b3a1a 100%);
    color: #fff;
}

header a {
    color: inherit;
}

/* ヘッダー情報エリア */
.header-info {
    padding: 30px 20px;
    text-align: center;
}

.header-info h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.5;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header-info .subtitle {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.header-info .event-details {
    font-size: 1rem;
    line-height: 2;
    opacity: 0.9;
}

.header-info .event-details p {
    margin: 5px 0;
}

@media screen and (min-width: 900px) {
    .header-info h1 {
        font-size: 2.2rem;
    }
    
    .header-info .subtitle {
        font-size: 1.2rem;
    }
    
    .header-info .event-details {
        font-size: 1.1rem;
    }
}

/* =====================================================
   ヘッダーメニュー（PC・モバイル共通）
   ===================================================== */
.header-menu {
    background: rgba(255, 255, 255, 0.1);
}

.header-menu nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.header-menu nav ul li {
    flex: 1 1 auto;
    min-width: 120px;
}

.header-menu nav ul li a {
    display: block;
    padding: 15px 10px;
    color: #fff;
    font-size: 0.95rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.header-menu nav ul li:last-child a {
    border-right: none;
}

.header-menu nav ul li.current a,
.header-menu nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 599px) {
    .header-menu nav ul {
        flex-direction: column;
    }
    
    .header-menu nav ul li {
        min-width: 100%;
    }
    
    .header-menu nav ul li a {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 15px 10px;
    }
    
    .header-menu nav ul li:last-child a {
        border-bottom: none;
    }
}

/* =====================================================
   モバイルメニュー（非表示）
   ===================================================== */
.menubar-mobile {
    display: none !important;
}

/* ハンバーガーメニューボタン（非表示） */
#menubar-toggle {
    display: none !important;
}

/* =====================================================
   メインコンテンツエリア
   ===================================================== */
main {
    flex: 1;
}

.main-wrapper {
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.main-contents {
    width: 100%;
    padding: 20px;
}

/* =====================================================
   メインビジュアル
   ===================================================== */
.mainimg {
    position: relative;
    background: linear-gradient(135deg, #c97642 0%, #b8541e 50%, #8b3a1a 100%);
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -20px -20px 30px -20px;
    overflow: hidden;
    border-radius: 0 0 10px 10px;
}

.hero-text {
    position: relative;
    z-index: 10;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

.hero-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text .theme {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 500;
    opacity: 0.95;
}

.hero-info {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 1.1rem;
}

.hero-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

/* 雪の結晶アニメーション */
.snow, .snow2nd, .snow3rd {
    position: absolute;
    font-size: 3rem;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6), 0 2px 4px rgba(0, 0, 0, 0.3);
    filter: brightness(1.2);
}

.snow {
    left: 10%;
    animation: leaffall 12s linear infinite;
}

.snow2nd {
    left: 50%;
    animation: leaffall2 14s linear infinite;
    animation-delay: 2s;
    font-size: 2.5rem;
}

.snow3rd {
    left: 80%;
    animation: leaffall3 16s linear infinite;
    animation-delay: 4s;
    font-size: 2.8rem;
}

/* =====================================================
   札幌ランドマークシルエット
   ===================================================== */
/* クラーク博士銅像（右下） */
.landmark-clark {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 120px;
    height: 160px;
    opacity: 0.25;
    z-index: 1;
}

/* 時計台（左上） */
.landmark-clock {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 100px;
    height: 120px;
    opacity: 0.25;
    z-index: 1;
}

/* 山々と紅葉（右上） */
.landmark-mountain {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 150px;
    height: 100px;
    opacity: 0.3;
    z-index: 1;
}

/* レスポンシブ調整 */
@media screen and (max-width: 600px) {
    .landmark-clark {
        width: 80px;
        height: 110px;
        bottom: 20px;
        right: 15px;
    }
    
    .landmark-clock {
        width: 70px;
        height: 85px;
        top: 20px;
        left: 15px;
    }
    
    .landmark-mountain {
        width: 100px;
        height: 70px;
        top: 15px;
        right: 10px;
    }
}

/* =====================================================
   セクション
   ===================================================== */
.content-section {
    margin-bottom: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* 簡易版セクション */
.content-section-compact {
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.section-title-compact {
    font-size: 1.3rem;
    color: #b8541e;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #b8541e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title-compact i {
    font-size: 1.2rem;
}

.overview-simple {
    background: #fff8f0;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #b8541e;
}

.overview-simple p {
    margin: 10px 0;
    line-height: 1.8;
    color: #555;
}

.overview-simple p:first-child {
    margin-top: 0;
}

.overview-simple p:last-child {
    margin-bottom: 0;
}

.overview-simple i {
    color: #b8541e;
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.section-title {
    font-size: 1.8rem;
    color: #b8541e;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #b8541e;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    font-size: 1.6rem;
}

/* =====================================================
   お知らせセクション
   ===================================================== */
.notice-section {
    margin-bottom: 30px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    padding: 30px;
    border-radius: 10px;
}

.notice-box {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}

.notice-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ffa726;
}

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

.notice-item.important {
    border-left-color: #b8541e;
    background: #fff8f0;
}

.notice-item i {
    font-size: 1.5rem;
    color: #d97c40;
    flex-shrink: 0;
    margin-top: 3px;
}

.notice-item.important i {
    color: #b8541e;
}

.notice-item p {
    margin: 0;
    line-height: 1.8;
}

/* =====================================================
   情報テーブル
   ===================================================== */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.info-table th {
    background: #fff8f0;
    font-weight: 600;
    width: 180px;
    color: #b8541e;
}

.info-table th i {
    margin-right: 8px;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

.highlight {
    color: #ff6b35;
    font-size: 1.3rem;
}

/* =====================================================
   挨拶ボックス
   ===================================================== */
.greeting-box {
    padding: 20px;
}

.greeting-box h3 {
    font-size: 1.4rem;
    color: #b8541e;
    margin-bottom: 15px;
}

.greeting-author {
    text-align: right;
    font-weight: 600;
    color: #666;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.greeting-text p {
    margin-bottom: 20px;
    text-align: justify;
    text-indent: 1em;
}

.greeting-text p:last-child {
    margin-bottom: 0;
}

/* =====================================================
   更新情報
   ===================================================== */
.news-title {
    color: #ff6b35;
    border-bottom-color: #ff6b35;
}

.news-list {
    padding: 20px;
}

.news-list dt {
    float: left;
    clear: left;
    width: 120px;
    font-weight: 600;
    color: #b8541e;
}

.news-list dd {
    margin-left: 130px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

/* =====================================================
   サイドメニュー
   ===================================================== */
.side-contents {
    width: 280px;
    padding: 20px 20px 20px 0;
    display: none;
}

@media screen and (min-width: 900px) {
    .side-contents {
        display: block;
    }
}

.side-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 20px;
}

.side-box h4 {
    background: linear-gradient(90deg, #c97642, #b8541e);
    color: #fff;
    padding: 15px;
    margin: -20px -20px 20px -20px;
    border-radius: 10px 10px 0 0;
    text-align: center;
    font-size: 1.2rem;
}

.side-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu li {
    border-bottom: 1px solid #e0e0e0;
}

.side-menu li:last-child {
    border-bottom: none;
}

.side-menu li a {
    display: block;
    padding: 12px 15px;
    color: #555;
    transition: 0.3s;
}

.side-menu li.current a,
.side-menu li a:hover {
    background: #fff8f0;
    color: #b8541e;
    padding-left: 20px;
}

/* =====================================================
   大会事務局セクション（簡易表示）
   ===================================================== */
.contact-section-simple {
    background: #fff8f0;
    padding: 30px 20px;
    margin-top: 40px;
    border-top: 3px solid #b8541e;
}

.contact-section-simple .container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-title-simple {
    font-size: 1.3rem;
    color: #b8541e;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-simple {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-simple p {
    margin: 10px 0;
    color: #666;
    line-height: 1.8;
}

.contact-simple i {
    color: #b8541e;
    margin-right: 5px;
}

.contact-simple a {
    color: #b8541e;
}

.contact-simple a:hover {
    text-decoration: underline;
}

.btn-contact {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, #c97642, #b8541e);
    color: #fff;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 大会事務局セクション（詳細表示 - お問い合わせページ用） */
.contact-section {
    background: linear-gradient(135deg, #fff8f0 0%, #ffe8d0 100%);
    padding: 50px 20px;
    margin-top: 40px;
}

.contact-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-section .section-title {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 2rem;
    color: #b8541e;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    color: #b8541e;
    margin-bottom: 8px;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
}

.contact-item a {
    color: #b8541e;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* =====================================================
   閲覧カウンター
   ===================================================== */
.visitor-counter {
    position: fixed;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.7);
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.65rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 50;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.visitor-counter:hover {
    opacity: 1;
}

.visitor-counter i {
    font-size: 0.7rem;
    color: #bbb;
}

.visitor-counter #visitCount {
    font-family: 'Arial', sans-serif;
    font-weight: 500;
    color: #999;
}

/* モバイル表示調整 */
@media screen and (max-width: 800px) {
    .visitor-counter {
        bottom: 15px;
        left: 10px;
        font-size: 0.6rem;
    }
}

/* =====================================================
   フッター
   ===================================================== */
footer {
    background: linear-gradient(0deg, #8b3a1a, #b8541e);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    margin-top: auto;
}

footer p {
    margin-bottom: 15px;
    line-height: 1.8;
}

footer p:last-child {
    margin-bottom: 0;
}

.footer-highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: 3px;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 20px;
}

/* =====================================================
   NEWバッジ
   ===================================================== */
.new-badge {
    display: inline-block;
    background: #ff4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* =====================================================
   ページトップボタン
   ===================================================== */
.pagetop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #b8541e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 998;
}

.pagetop.active {
    opacity: 1;
    pointer-events: auto;
}

.pagetop a {
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.pagetop:hover {
    transform: translateY(-5px);
}

/* =====================================================
   ページヘッダー
   ===================================================== */
.page-header {
    background: linear-gradient(135deg, #c97642 0%, #b8541e 100%);
    color: #fff;
    padding: 30px;
    margin: -20px -20px 30px -20px;
    border-radius: 0 0 10px 10px;
}

.page-header h2 {
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* =====================================================
   ボタン
   ===================================================== */
.btn-back {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(90deg, #c97642, #b8541e);
    color: #fff;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.btn-back:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-external {
    display: inline-block;
    padding: 18px 50px;
    background: #fff;
    color: #b8541e;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.btn-external:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #fff;
    color: #8b3a1a;
}

.btn-external i {
    margin-right: 8px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(90deg, #c97642, #b8541e);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* =====================================================
   フォーム
   ===================================================== */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

.form-group label .required {
    color: #dc3545;
    margin-left: 5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: "Noto Serif JP", serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #b8541e;
    box-shadow: 0 0 0 3px rgba(184, 84, 30, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-help {
    font-size: 0.9rem;
    color: #999;
    margin-top: 5px;
}

/* メッセージ */
.message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.message i {
    font-size: 1.3rem;
}

.message-info {
    background: #e3f2fd;
    color: #0d47a1;
    border-left: 4px solid #2196f3;
}

.message-success {
    background: #e8f5e9;
    color: #1b5e20;
    border-left: 4px solid #4caf50;
}

.message-warning {
    background: #fff3e0;
    color: #e65100;
    border-left: 4px solid #ff9800;
}

.message-error {
    background: #ffebee;
    color: #b71c1c;
    border-left: 4px solid #f44336;
}

/* ローディング */
.loading {
    display: none;
    text-align: center;
    padding: 40px;
}

.loading.active {
    display: block;
}

.spinner {
    border: 4px solid #e0e0e0;
    border-top: 4px solid #b8541e;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =====================================================
   リンクカード
   ===================================================== */
.link-card {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #b8541e;
    transition: 0.3s;
}

.link-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.link-card.featured {
    border-left-color: #ff6b35;
    background: linear-gradient(135deg, #fff8f0 0%, #ffffff 100%);
}

.link-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #c97642, #b8541e);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
}

.link-card.featured .link-icon {
    background: linear-gradient(135deg, #d4a574, #c97642);
}

.link-content {
    flex: 1;
}

.link-content h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #17499d;
}

.link-content h4 a {
    color: #b8541e;
    text-decoration: none;
    transition: 0.3s;
}

.link-content h4 a:hover {
    color: #c97642;
    text-decoration: underline;
}

.link-card.featured .link-content h4 a {
    color: #d4a574;
}

.link-card.featured .link-content h4 a:hover {
    color: #c97642;
}

.link-description {
    margin-bottom: 12px;
    line-height: 1.8;
    color: #666;
}

.link-url {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 10px;
}

.link-url a {
    color: #b8541e;
    word-break: break-all;
}

.link-url a:hover {
    text-decoration: underline;
}

.link-url i {
    margin-right: 5px;
}

.link-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.link-info p {
    margin: 8px 0;
    font-size: 0.95rem;
    color: #666;
}

.link-info i {
    margin-right: 8px;
    color: #b8541e;
    width: 16px;
    text-align: center;
}

.link-info a {
    color: #b8541e;
}

.link-info a:hover {
    text-decoration: underline;
}

/* =====================================================
   レスポンシブ
   ===================================================== */
@media screen and (max-width: 899px) {
    .hero-text h2 {
        font-size: 1.6rem;
    }
    
    .hero-text .theme {
        font-size: 1rem;
    }
    
    .hero-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .info-table th {
        width: auto;
        display: block;
        background: #b8541e;
        color: #fff;
        border-radius: 5px 5px 0 0;
    }
    
    .info-table td {
        display: block;
        border-bottom: 2px solid #e0e0e0;
        margin-bottom: 15px;
        border-radius: 0 0 5px 5px;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 600px) {
    .main-contents {
        padding: 10px;
    }
    
    .mainimg {
        min-height: 350px;
        margin: -20px -10px 20px -10px;
    }
    
    .hero-text h2 {
        font-size: 1.4rem;
    }
    
    .content-section {
        padding: 15px;
    }
    
    .link-card {
        flex-direction: column;
        gap: 15px;
    }
    
    .link-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}