
html {
    font-size: 15px;
}

body {
    line-height: 1.55;
    font-size: 15px;
}

h1{
    font-family: 'Josefin Sans', sans-serif;
    color: white;
}

h2,h3,h4,h5,h6{
    font-family: 'Kiwi Maru', serif;
    color: white;
    margin-top: 1.4rem;
    margin-bottom: 0.7rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.55rem;
}

h4 {
    font-size: 1.25rem;
}

a,small,li,p{
    font-family: 'Kiwi Maru', serif;
    color: white;
    font-size: 15px;
}

.double{
    width: auto !important;
    max-width: 300px !important;
}

.nav-link{
    font-family: 'Kiwi Maru', serif;
    color: white;
    font-size: 16px;
}

span{
    font-family: 'Shippori Mincho', serif;
    color: white;
}

i{
    vertical-align: top;
    color: white; 
}

.pam{
    max-width: 100px;
}

.next{
    font-family: 'Shippori Mincho', serif;
    color: #385535;
    font-size: 24px;
}

.souritu{
    font-family: 'Shippori Mincho', serif;
    color: #385535;
    font-size: 12px;
    color: white;
}

.date{
    font-size: 15px;
}

.dash_border{
    border: dashed;
    color: white;
}

.dash_border_bottom{
    border-bottom: 1px dashed white;
    padding-bottom: 5px;
}

.headline{
    display: inline-block;
    vertical-align: top;
}

.material-symbols-outlined{
    vertical-align: middle;
    font-size: 12px;
    color: white;
}

.row-eq-height{
    display: flex;
    flex-wrap: wrap;
}

.youtube{
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.youtube iframe {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    min-height: 240px;
    max-width: 100% !important;
}

.twitter-timeline,
a.twitter-timeline {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
}

img, iframe {
    display: block;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
}

img {
    width: auto !important;
    max-width: 640px !important;
    height: auto !important;
}

img.logo-img {
    width: auto !important;
    max-width: 220px !important;
}

iframe {
    aspect-ratio: 16 / 9;
    min-height: 220px;
    width: 100% !important;
    max-width: 720px !important;
    height: auto !important;
}

p, .history {
    margin-bottom: 1rem;
}

.activity{
    list-style-type: square;
}

.tothetop{
    font-family: 'Kiwi Maru', serif;
    font-size: 16px;
}

#tothetop{
    font-size: 48px;
}

#youtube_button{
    font-size: 20px;
    color: white;

}

#twitter_button{
    font-size: 20px;
    color: white;

}

#campaign{
    padding-bottom: 2px;
    vertical-align: top;
    font-size: 24px;
}

.accordion-collapse p{
    font-size: 13px;
}

/* ================================
   テラコッタカラー (#B85C38) を使用した
   アニメーション＆動き効果
   ================================ */

/* キーフレームアニメーション定義 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(184, 92, 56, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(184, 92, 56, 0.8);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ナビゲーション改善 */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Kiwi Maru', serif;
    color: white;
    font-size: 16px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #B85C38;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #B85C38;
    transform: scale(1.05);
}

.nav-link:hover::after {
    width: 100%;
}

/* ヘッダーアニメーション */
header {
    animation: slideInDown 0.8s ease;
}

/* ボタン改善 */
.btn {
    transition: all 0.3s ease;
    border-radius: 8px;
    font-family: 'Kiwi Maru', serif;
}

.btn-primary, .btn-success {
    background-color: #B85C38;
    border-color: #B85C38;
}

.btn-primary:hover, .btn-success:hover {
    background-color: #9d4a2d;
    border-color: #9d4a2d;
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 10px 25px rgba(184, 92, 56, 0.4);
}

.btn-primary:active, .btn-success:active {
    transform: scale(0.98);
}

/* リンク改善 */
a:not(.nav-link):not(.navbar-brand) {
    transition: all 0.3s ease;
    position: relative;
}

a:not(.nav-link):not(.navbar-brand):hover {
    color: #B85C38;
    text-decoration: underline;
}

/* カード効果 */
.card {
    transition: all 0.4s ease;
    border: none;
    border-radius: 10px;
    background-color: rgba(57, 85, 53, 0.8);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(184, 92, 56, 0.3);
}

/* 画像効果 */
img, iframe {
    display: block;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
}

img {
    transition: all 0.4s ease;
    border-radius: 8px;
    max-width: 720px;
    width: auto;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

img.logo-img {
    max-width: 220px;
    width: auto;
}

iframe {
    aspect-ratio: 16 / 9;
    min-height: 240px;
    width: 100% !important;
    max-width: 720px !important;
    height: auto !important;
}

img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(184, 92, 56, 0.3);
}

.carousel-item img {
    animation: fadeInUp 0.8s ease;
    max-width: none;
    width: 100%;
}

/* フェードイン効果（スクロール時） */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* セクション/コンテナ効果 */
.container-lg, .container-md {
    transition: all 0.4s ease;
}

.section-highlight {
    border-left: 5px solid #B85C38;
    padding-left: 20px;
    transition: all 0.3s ease;
}

.section-highlight:hover {
    border-left-width: 8px;
    transform: translateX(5px);
    box-shadow: inset 0 0 10px rgba(184, 92, 56, 0.1);
}

/* 見出し改善 */
h2 {
    position: relative;
    padding-bottom: 15px;
    transition: all 0.3s ease;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: #B85C38;
    border-radius: 2px;
    transition: width 0.4s ease;
}

h2:hover::after {
    width: 100%;
}

/* テラコッタ背景アクセント */
.accent-bg {
    background-color: rgba(184, 92, 56, 0.1);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.accent-bg:hover {
    background-color: rgba(184, 92, 56, 0.2);
}

/* グロー効果 */
.glow-text {
    animation: glow 2s ease-in-out infinite;
}

/* フローティング効果 */
.floating {
    animation: float 3s ease-in-out infinite;
}

/* ボタングループ */
.btn-group-hover .btn {
    transition: all 0.3s ease;
}

.btn-group-hover .btn:hover {
    background-color: #B85C38;
    color: white;
}

/* レスポンシブ最適化 */
@media (max-width: 768px) {
    .nav-link {
        font-size: 14px;
        padding: 10px 0 !important;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        background-color: rgba(184, 92, 56, 0.2);
        border-radius: 4px;
        padding-left: 10px;
    }

    h2::after {
        width: 40px;
    }

    .section-highlight {
        border-left-width: 4px;
        padding-left: 15px;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    .container-lg, .container-md {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    body {
        line-height: 1.45;
    }

    .nav-link {
        font-size: 12px;
    }

    h2 {
        font-size: 18px;
    }

    h3, h4, h5, h6 {
        font-size: 14px;
    }

    p, a, small, li {
        font-size: 12px;
    }

    p, .history {
        margin-bottom: 0.75rem;
    }

    .btn {
        font-size: 12px;
        padding: 8px 16px;
    }

    .section-highlight {
        border-left-width: 3px;
        padding-left: 12px;
    }

    img:hover {
        transform: scale(1.02);
    }
}