/* 基本のリセットとフォント設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
}

h2, p, ul {
    font-size: 1.05rem;
}

h2 {
    font-size: 2.50em;
    font-weight: bold;
}

h2 {
  scroll-margin-top: 900px;
}


/* ヘッダーのスタイル */
header {
    background-color: #286099;
    transition: top 0.3s ease-in-out, padding 0.3s;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header.scrolled {
    padding: 0.5rem 0;
}

.logo {
    height: 40px;
    margin: 0;
    transition: height 0.3s, margin 0.3s;
}

header.scrolled .logo {
    height: 35px;
}

/* ナビゲーションメニュー */
.navbar-nav .nav-item .nav-link {
    font-size: 14px;
    margin-left: 6px;
    color: white !important;
    transition: color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-weight: bold;
}

.navbar-nav .nav-item .nav-link:hover {
    color: #ddd !important;
}

.navbar-nav .separator {
    color: white;
    margin: 0 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* カスタムボタン */
.custom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
    width: 150px;
    height: 3rem;
    font-weight: bold;
    transition: color 0.3s;
}

.custom-btn img.icon {
    margin-right: 10px;
    width: 24px;
    height: 24px;
}

.custom-btn:nth-child(1) {
    background-color: #1e8248;
}

.custom-btn:nth-child(2) {
    background-color: #cd1323;
}

.custom-btn:hover {
    color: #ffeb3b !important;
}

/* コンセプトセクション */
.concept-section {
    background-image: url('https://via.placeholder.com/1200x800');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}

.concept-section h1 {
    font-size: 3em;
    font-weight: 900;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* スクロール時のヒーローセクション */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('../img/hero-background.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    transition: opacity 1s ease-in-out;
}

.hero-section h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-section p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.hero-section .btn {
    font-size: 1.2em;
    padding: 10px 30px;
}

/* イベントセクションのタイトル */
h2.title span {
    height: 36px;
    display: block;
    float: left;
    width: 18%;
    font-size: 36px;
    color: black;
}

h2.title em {
    height: 36px;
    color: #FFF;
    text-align: right;
    font-style: normal;
    display: block;
    float: right;
    width: 82%;
    font-size: 18px;
    line-height: 36px;
    background: url(../img/h_back00.png) no-repeat left center;
}

h2.title em i {
    display: block;
    width: 100%;
    background: url(../img/h_back02.png) no-repeat left bottom;
    height: 36px;
    line-height: 36px;
    font-style: normal;
}

h2.title em i b {
    display: block;
    width: 100%;
    background: url(../img/h_back01.png) no-repeat left center;
    height: 36px;
    line-height: 36px;
    padding-right: 10px;
}

h2.title.blue em {
    width: 75%;
    background: url(../img/h_back_blue.png) no-repeat left center;
}

h2.title.pink em {
    width: 75%;
    background: url(../img/h_back_pink.png) no-repeat left center;
}

/* セクションのタイトルのスタイル修正(下の余白) */
#more-events .container h2.title,
#events .container h2.title,
#events_ .container h2.title,
#picup .container h2.title,
#instagram .container h2.title {
    margin-top: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
}

/* イベントカードのスタイル */
.card-body {
    background-color: #f8f9fa;
}

.card-title {
    color: black;
    font-weight: bold;
}

.card-day {
    color: red;
    font-weight: bold;
}

.card-time {
    background-color: orange;
    color: white;
    font-weight: bold;
    border-radius: 10px;
    padding: 4px;
    display: inline-block;
}

.card-text {
    color: black;
}



/* ストーリーセクション */
.story-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.story-section h2 {
    font-size: 2.4em;
    margin-top: 20px;
    margin-bottom: 30px;
    font-weight: 700;
}

.story-section h3 {
    font-size: 1.75em;
    margin-bottom: 20px;
    font-weight: 600;
}

.story-section p {
    font-size: 1.1em;
    line-height: 1.6;
}

/* インスタグラムセクション */
.instagram-section {
    background-color: #f8f9fa;
    padding: 50px 0;
}

.instagram-section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    font-weight: 700;
    color: #286099;
}

.instagram-section img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.instagram-section .btn {
    margin-top: 20px;
    font-size: 1.2em;
    padding: 10px 30px;
}

/* フッターセクション */
footer.footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.05) 75%, rgba(255, 255, 255, 0.05));
    background-size: 10px 10px;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    color: #ddd;
}

/* ハンバーガーメニューアイコンのスタイル */
.navbar-toggler-icon {
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath stroke="rgba(255, 255, 255, 1)" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E') !important;
}

/* ハンバーガーメニューのボタン枠線 */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 1) !important;
}

/* ドロップダウンメニュー */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #286099;
    margin-top: 0;
    border: 1px solid white;
    font-size: 1.00rem;
}

.dropdown-menu {
    margin-top: 0;
    background-color: #286099;
    border: 1px solid white;
}

.dropdown-item {
    color: white !important;
    font-weight: bolder !important;
}

.dropdown-item:hover {
    color: #ffeb3b !important;
    background-color: transparent !important;
}

/* スマホ表示時のハンバーガーメニュー内の仕切り線 */
.separator-line {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0.5rem 0;
}

/* イベントセクションの余白調整 */
.events-section {
    padding-top: 60px;
}

/* 問い合わせのテーブルのスタイル */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.custom-table td {
    border: 1px solid #ddd;
    padding: 8px;
    vertical-align: top;
}

.custom-table-left {
    background-color: #00078e;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.3) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.3) 75%, rgba(255, 255, 255, 0.3)), linear-gradient(45deg, rgba(255, 255, 255, 0.3) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.3) 75%, rgba(255, 255, 255, 0.3));
    background-size: 2px 2px;
    white-space: nowrap;
    width: auto;
}

.custom-table td input[type="text"],
.custom-table td input[type="email"],
.custom-table td textarea {
    width: 100%;
    box-sizing: border-box;
}

.new-section .row {
    background-color: #f0f0f0;
}

.general-price {
    background-color: #e0f7fa;
}

.member-price {
    background-color: #fce4ec;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(10px, 1.2vw, 16px);
    text-align: center;
    color: white;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-section.fade-out {
    opacity: 0;
}

.hero-section.fade-in {
    opacity: 1;
}

.translucent-background {
    background-color: rgba(222, 225, 222, 0.5); /* 薄いホワイトの曇った透過背景 */
    padding: 20px;
    border-radius: 10px;
}