@charset "UTF-8";

:root {
    --primary: #0077B6;
    --secondary: #48CAE4;
    --accent: #FFA500;
    --dark-bg: #121212;
    --dark-card: #1E1E1E;
    --dark-card-hover: #2D2D2D;
    --text-primary: #F0F0F0;
    --text-secondary: #B0B0B0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

header {
    position: relative;
}

#navigation {
    transition: all 0.3s ease;
}


.gradient-bg {
    background: linear-gradient(135deg, #121212 0%, #1a1a2e 100%);
}

.accent-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-section {
    background: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.8)), url(../../images/rak/main-cover.webp) center/cover;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 119, 182, 0.3), rgba(0, 0, 0, 0));
    z-index: 1;
}

/* モックアップ全体のコンテナ */
.pc-mockup-container {
    position: relative;
    width: 100%;
    max-width: 660px;
    margin: 0 auto;
}

/* モックアップ画像 */
.pc-mockup {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    /* スクリーンショットの上に表示 */
}

.screen-area {
    position: absolute;
    top: 11.6%;
    left: 11.8%;
    width: 76.4%;
    height: 61.7%;
    overflow: hidden;
    z-index: 1;
    border-radius: 2px;
}

.screenshot-container {
    width: 100%;
    animation: scrollScreenshot 30s linear infinite;
}

.screenshot {
    width: 100%;
    display: block;
}

/* スクロールアニメーションの定義 */
@keyframes scrollScreenshot {
    0% {
        transform: translateY(0);
    }

    100% {
        /* 最初のスクリーンショットの高さ分だけスクロール */
        transform: translateY(-50%);
    }
}

/* アニメーションの一時停止と再開 */
.pc-mockup-container:hover .screenshot-container {
    animation-play-state: paused;
}

.logo-image {
    height: 40px; 
    filter: brightness(0) invert(1); /* 画像を白色に変換 */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.card {
    background-color: var(--dark-card);
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background-color: var(--dark-card-hover);
}

.statistics-card {
    background: linear-gradient(135deg, #1E1E1E 0%, #2D2D2D 100%);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary);
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid var(--dark-bg);
}

.price-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* カスタムボタンのスタイル */
.custom-btn {
    display: inline-block;
    padding: 12px 24px;
    background-image: linear-gradient(to right, #3B82F6, #22D3EE);
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.custom-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
}

.custom-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(59, 130, 246, 0.3);
}

/* アウトラインバージョン */
.custom-btn-outline {
    background-image: none;
    background-color: transparent;
    color: #3B82F6;
    border: 2px solid #3B82F6;
    box-shadow: none;
}

.custom-btn-outline:hover {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.2);
}

/* アクセントカラー背景 */
.bg-accent {
    background-color: #FF7F00; /* オレンジ色 */
}

.price-popular {
    border: 2px solid var(--accent);
}

.faq-item {
    border-bottom: 1px solid #333;
}

.faq-question {
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 300px;
}

.animated-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

/* BeerSlider カスタマイズ */
.beer-slider {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.beer-slider[data-beer-label]:after,
.beer-reveal[data-beer-label]:after {
    background: rgba(0, 83, 138, 0.8);
    color: white;
    border-radius: 3px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 12px;
    padding: 4px 8px;
}

.beer-handle {
    background: rgba(0, 83, 138, 0.8);
    color: white;
    border: 2px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.beer-range:focus~.beer-handle {
    background: rgba(0, 120, 200, 0.85);
}

/* プロセスフロー */
.process-container {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.flow {
    padding-left: 120px;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.flow::before {
    content: "";
    width: 3px;
    height: 100%;
    background: rgba(59, 130, 246, 0.3); /* 青色の透過バージョン */
    margin-left: -8px;
    display: block;
    position: absolute;
    top: 0;
    left: 120px;
}

.flow > li {
    position: relative;
}

.flow > li:not(:last-child) {
    margin-bottom: 8vh;
}

.flow > li .icon {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to right, #3B82F6, #22D3EE); 
    padding: 8px 20px;
    border-radius: 4px;
    display: block;
    position: absolute;
    top: 0;
    left: -120px;
    z-index: 40;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.flow > li .icon::after {
    content: "";
    border-style: solid;
    border-width: 5px 0 5px 10px;
    border-color: transparent transparent transparent #22D3EE; 
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
}

.flow > li dl {
    padding-left: 70px;
    position: relative;
}

.flow > li dl::before,
.flow > li dl::after {
    content: "";
    display: block;
    position: absolute;
    top: 15px;
}

.flow > li dl::before {
    width: 10px;
    height: 10px;
    margin-top: -5px;
    background: #3B82F6; /* Tailwindのブルー */
    border-radius: 50%;
    left: -5.5px;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}

.flow > li dl::after {
    width: 50px;
    border-bottom: 2px dashed rgba(156, 163, 175, 0.6); 
    position: absolute;
    left: 12px;
    top: 13px;
}

.flow > li dl dt {
    font-size: 22px;
    font-weight: 700;
    color: #3B82F6; /* Tailwindのブルー */
    margin-bottom: 12px;
}


/* footer
------------------------------------------------------------------*/
footer {
	width: 100%;
	margin: 0 auto;
	padding-top: 35px;
	background-color: #008CA6;
}

footer .widthBox {
	margin: 0;
}

footer .widthBox .widthBoxInner {
	border-radius: 0;
	background-color: transparent;
}

footer h3 {
	font-size: 30px;
	line-height: 1.3em;
	text-align: center;
	font-weight: 800;
	color: #fff;
	margin-top: 0;
	margin-bottom: 20px;
}

footer p {
	text-align: center;
	color: #fff;
}

footer .footerBox {
	display: flex;
	justify-content: center;
	gap: 250px;
	margin-top: 40px;
	margin-bottom: 100px;
}

footer h3 a {
	color: #fff;
	text-decoration: none;
}

footer h3 a:hover {
	color: #fff;
}

.footerLeft,
.footerRight {
	text-align: center;
	max-width: 350px;
}

.footerLeft p {
	margin: 0;
}

.footerLeft figure,
.footerLeft figure img {
	max-width: 120px;
	height: auto;
}

.footerLeft h4 {
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	margin-bottom: 5px;
}

address {
	margin: 0 auto;
	display: block;
	font-size: 16px;
	line-height: 1.5em;
	font-style: normal;
	margin-bottom: 5px;
	color: #fff;
}

.footerLeft figure {
	margin: 0 auto;
}

.footerRight h4 {
	text-align: left;
	font-size: 16px;
	font-weight: bold;
	color: #7BCFDE;
	margin-bottom: 10px;
}

.footerRight ul {
	width: 350px;
	padding: 0;
}

.footerRight li {
	text-align: left;
	color: #fff;
	margin-bottom: 1em;
}

.footerRight li a {
	text-decoration: none;
	color: #fff;
}

.footerRight li a:hover {
	color: #fff;
}

.footerRight li:last-child {
	border-top: solid 1px #fff;
	margin-top: 5px;
	padding-top: 10px;
}

small {
	padding: 20px 10px 10px;
	display: block;
	font-size: 14px;
	line-height: 1.5em;
	text-align: center;
	color: #fff;
}

/*-----------
スマートフォン表示
-------------------------------------------*/
@media screen and (max-width: 1000px) {

	footer .footerBox {
		gap: 60px;
	}

	footer .noBr {
		display: inline;
	}

}

@media screen and (max-width: 780px) {

	footer .footerBox {
		flex-direction: column-reverse;
	}

	.footerLeft,
	.footerRight {
		margin: 0 auto;
	}

	.footerRight h4 {
		text-align: center;
	}

	.footerRight li {
		text-align: center;
	}
}

@media (max-width: 767px) {
    #navigation {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    /* モバイルビューでの表示時にアニメーションを追加 */
    #navigation:not(.hidden) {
        animation: slideDown 0.3s ease forwards;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}


/* 768px 以下 */
@media (max-width: 768px) {
    .pc-mockup-container {
        max-width: 400px;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
        transform: none;
    }

    .timeline-content {
        margin-left: 60px;
    }

    .flow {
        padding-left: 60px;
    }

    .flow::before {
        left: 60px;
    }

    .flow>li .icon {
        font-size: 12px;
        padding: 6px 12px;
        left: -60px;
    }

    .flow>li dl {
        padding-left: 40px;
    }

    .flow>li dl::after {
        width: 30px;
    }

    .flow>li dl dt {
        font-size: 18px;
    }

    .beer-slider[data-beer-label]:after,
    .beer-reveal[data-beer-label]:after {
        font-size: 11px;
        padding: 3px 6px;
    }

    .custom-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ダークモード考慮 */
@media (prefers-color-scheme: dark) {
    .custom-btn {
        box-shadow: 0 4px 10px rgba(59, 130, 246, 0.5);
    }

    .custom-btn-outline {
        border-color: #3B82F6;
        box-shadow: none;
    }

    .custom-btn-outline:hover {
        background-color: rgba(59, 130, 246, 0.15);
    }
}