/*

TemplateMo 583 Festava Live

https://templatemo.com/tm-583-festava-live

*/


/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
    --white-color: #000000;
    --primary-color: #F8CB2E;
    --secondary-color: #EE5007;
    --section-bg-color: #f0f8ff;
    --custom-btn-bg-color: #EE5007;
    --custom-btn-bg-hover-color: #c01f27;
    --dark-color: #ffffff;
    --p-color: #717275;
    --border-color: #7fffd4;
    --link-hover-color: #B22727;

    --body-font-family: 'Outfit', sans-serif;

    --h1-font-size: 74px;
    --h2-font-size: 46px;
    --h3-font-size: 32px;
    --h4-font-size: 28px;
    --h5-font-size: 24px;
    --h6-font-size: 22px;
    --p-font-size: 18px;
    --btn-font-size: 14px;
    --copyright-font-size: 16px;

    --border-radius-large: 100px;
    --border-radius-medium: 20px;
    --border-radius-small: 10px;

    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-bold: 700;
}

body {
    background-color: var(--white-color);
    font-family: var(--body-font-family);
    overflow-x: hidden;
}


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h1 {
    color: black;
    margin-top: auto;
}

h2 {
    color: white;
}

h3 {
    color: black;
}

h2,
h4,
h5,
h6 {
    color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-weight-bold);
}

h1 {
    font-size: var(--h1-font-size);
}

h2 {
    font-size: var(--h2-font-size);
}

h3 {
    font-size: var(--h3-font-size);
}

h4 {
    font-size: var(--h4-font-size);
}

h5 {
    font-size: var(--h5-font-size);
}

h6 {
    font-size: var(--h6-font-size);
}

p {
    color: white;
    font-size: var(--p-font-size);
    /*font-weight: var(--font-weight-light);*/
    font-weight: var(--font-weight-bold);

}

ul li {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-light);
}

a,
button {
    touch-action: manipulation;
    transition: all 0.3s;
}

a {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover-color);
}

b,
strong {
    font-weight: var(--font-weight-bold);
}

.link-fx-1 {
    color: var(--white-color);
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 6px;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.link-fx-1:hover {
    color: var(--link-hover-color);
}

.link-fx-1:hover::before {
    transform: translateX(17px) scaleX(0);
    transition: transform .2s;
}

.link-fx-1:hover .icon circle {
    stroke-dashoffset: 200;
    transition: stroke-dashoffset .2s .1s;
}

.link-fx-1:hover .icon line {
    transform: rotate(-180deg);
}

.link-fx-1:hover .icon line:last-child {
    transform: rotate(180deg);
}

.link-fx-1::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform-origin: right center;
    transition: transform .2s .1s;
}

.link-fx-1 .icon {
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translateX(100%) rotate(90deg);
    font-size: 32px;
}

.icon {
    --size: 1em;
    height: var(--size);
    width: var(--size);
    display: inline-block;
    color: inherit;
    fill: currentColor;
    line-height: 1;
    flex-shrink: 0;
    max-width: initial;
}

.link-fx-1 .icon circle {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset .2s;
}

.link-fx-1 .icon line {
    transition: transform .4s;
    transform-origin: 13px 15px;
}

.link-fx-1 .icon line:last-child {
    transform-origin: 19px 15px;
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-bg {
    /*background-color: var(--section-bg-color);*/
    background-color: black;
}

.section-overlay {
    background-color: var(--dark-color);
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
    opacity: 0.35;
    display: flex;
}


.section-overlay + .container {
    position: relative;
}

.tab-content {
    background-color: var(--white-color);
    border-radius: var(--border-radius-medium);
    padding: 45px;
}

.nav-tabs {
    background-color: var(--section-bg-color);
    border-radius: var(--border-radius-large);
    border-bottom: 0;
    padding: 15px;
}

.nav-tabs .nav-link {
    border-radius: var(--border-radius-large);
    border: 0;
    padding: 15px 25px;
    transition: all 0.3s;
}

.nav-tabs .nav-link:first-child {
    margin-right: 15px;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
    background: ivory;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
    color: var(--primary-color);
}

.nav-tabs h5 {
    color: var(--p-color);
    margin-bottom: 0;
}

.nav-tabs .nav-link.active h5,
.nav-tabs .nav-link:focus h5,
.nav-tabs .nav-link:hover h5 {
    color: var(--primary-color);
}


/*---------------------------------------
  CUSTOM ICON COLOR               
-----------------------------------------*/
.custom-icon {
    color: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
    background: var(--custom-btn-bg-color);
    border: 2px solid transparent;
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-size: var(--btn-font-size);
    font-weight: var(--font-weight-bold);
    line-height: normal;
    transition: all 0.3s;
    padding: 10px 20px;
}

.custom-btn:hover {
    background: var(--custom-btn-bg-hover-color);
    color: var(--white-color);
}

.custom-border-btn {
    background: transparent;
    border: 2px solid var(--custom-btn-bg-color);
    color: var(--custom-btn-bg-color);
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn:hover,
.custom-border-btn:hover {
    background: var(--custom-btn-bg-hover-color);
    border-color: transparent;
    color: var(--white-color);
}

.custom-btn-bg-white {
    border-color: var(--white-color);
    color: var(--white-color);
}


/*---------------------------------------
  VIDEO              
-----------------------------------------*/
.video-wrap {
    z-index: -100;
}

.custom-video {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}


/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
    background-color: var(--primary-color);
    padding-top: 12px;
    padding-bottom: 12px;
}


/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.sticky-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    /*margin-top: 51px;*/
}

.sticky-wrapper.is-sticky .navbar {
    background-color: black;
}

.navbar {
    background: transparent;
    z-index: 9;

    display: flex;             /* flexbox */
    justify-content: space-between;
    align-items: center;       /* 中央揃え */
}

.navbar-brand,
.navbar-brand:hover {
    color: white;
    font-size: var(--h5-font-size);
    font-weight: var(--font-weight-bold);
}

.navbar-expand-lg .navbar-nav .nav-link {
    border-radius: var(--border-radius-large);
    margin: 10px;
    padding: 10px 20px;
}

.navbar-nav .nav-link {
    display: inline-block;
    color: white;
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-normal);
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

.navbar-toggler {
    border: 0;
    padding: 0;
    cursor: pointer;
    margin: 0;
    width: 30px;
    height: 30px;
    outline: none;
    display: flex;
    align-items: center;       /* アイコンを縦中央 */
    justify-content: center;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
    background: var(--white-color);
    transition: background 10ms 300ms ease;
    display: block;
    width: 30px;
    height: 2px;
    position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
    transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
    position: absolute;
    right: 0;
    left: 0;
    background: var(--white-color);
    width: 30px;
    height: 2px;
    content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
    top: -8px;
    margin-top: auto;
}

.navbar-toggler .navbar-toggler-icon::after {
    top: 8px;
    margin-top: auto;
}


/*---------------------------------------
  HERO        
-----------------------------------------*/
.hero-section {

    position: relative;
    /*overflow: hidden;*/
    padding-top: 100px;
    height: calc(100vh - 51px);

}

.hero-section small {
    color: var(--white-color);
    text-transform: uppercase;
}

.hero-section .section-overlay {
    z-index: 2;
    opacity: 0.45;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding-bottom: 50px;
}

.hero-section .container .row {
    height: 50%;
}
.hero-section .col-lg-12.d-flex {
    justify-content: center;
    align-items: center;
    gap: 24px; /* ←←← 間隔を調整するところ！ */
    flex-wrap: wrap; /* ← スマホ用に折り返し許可 */
}

/* Steamボタン */
.hero-section .date-wrap {
    display: inline-block;
    width: auto !important;
    margin: 0;
    padding: 0;
}

.hero-section .date-wrap a {
    display: inline-block;
    width: auto !important;
    padding: 0;
    margin: 0;
    line-height: 0;
    text-align: center;
}

.hero-section .date-wrap img {
    display: block;
    width: 160px;
    height: auto;
}

/* Xアイコン */
.hero-section .social-icon-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    text-decoration: none;
}

.hero-section .social-icon-link img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}


/*---------------------------------------
  ABOUT              
-----------------------------------------*/
.about-section {
    background-image: url('../images/ステージ1(近いver).png');
    background-color: #704010;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.about-section p {
    max-width: 100%;
    width: 100%;
    height: auto;
    font-size: 18px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.8;
}

.about-image-剣士 {
    border-radius: var(--border-radius-medium);
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    margin-left: 30px;!important;

}

/*.about-image-ガンナー {
  border-radius: var(--border-radius-medium);
  height: 50%;
  width: 70%;
  margin-top: -50px;
  margin-left: -10px;
}*/
.about-image-title {
    border-radius: var(--border-radius-medium);
    height: 50%;
    width: 70%;
    margin-top: -80px;
}

.about-image-icon {
    border-radius: var(--border-radius-medium);
    height: auto;
    width: 50%;
    margin-top: 0;
    /*margin-left: 100px;*/
}

.about-image-X-icon {
    max-width: 100px;
    height: auto;
    object-fit: contain;
    display: block;
}

.social-share {
    justify-content: center;
    text-align: center;
}

.social-share p {
    font-size: 40px;
    margin-top: 0;
    justify-content: center;
}

.about-image-icon:hover {
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* 影で立体感 */
    transform: scale(1.05); /* ホバーで少し拡大 */
}
.about-image-X-icon:hover{
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.0); /* 影で立体感 */
    transform: scale(1.10); /* ホバーで少し拡大 */
}

.about-text-wrap {
    position: relative;
    display: flex;
    margin-top: 100px;
    margin-left: 10px;
}

.about-text-icon {
    background: var(--primary-color);
    border-radius: 100%;
    font-size: var(--h3-font-size);
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
}

.about-text-info {
    backdrop-filter: blur(5px) saturate(180%);
    -webkit-backdrop-filter: blur(5px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: var(--border-radius-medium);
    border: 1px solid rgba(209, 213, 219, 0.3);
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 20px;
    padding: 35px;
}


/*---------------------------------------
  TICKET               
-----------------------------------------*/
.ticket-section {
    background-image: url('../images/nicholas-green-unsplash-blur.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding-top: 130px;
}

.ticket-form {
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    padding: 50px;
}

.ticket-form .form-check {
    position: relative;
    min-height: 52px;
    padding-left: 35px;
}

.ticket-form .form-check .form-check-label {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 12px;
    margin-left: 35px;
    width: 100%;
    height: 100%;
}


/*---------------------------------------
  ARTISTS              
-----------------------------------------*/
.artists-thumb {
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    display: flex;
    width: 80%;
    height: auto;
    flex-direction: column;
    justify-content: center;
}

.artists-thumb-剣士 {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    display: flex;
    /*width: 80%;*/
    height: auto;
    flex-direction: column;
    justify-content: center;

}

.artists-thumb-ガンナー {
    position: relative;
    overflow: hidden;
    margin-bottom: -20px;
    /*margin-left: 100px;*/
    display: flex;
    /*width: 85%;*/
    height: auto;
    flex-direction: column;
    justify-content: center;
    margin-top: 20px;
}
/*--------------------------------
 モーダル
---------------------------------*/
.modal {
    display: none;
    /*position: fixed;*/
    z-index: 1000;
    left: 10px;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.9);
!important; /* 背景黒＆透過 */

}

.modal-content {
    position: relative;
    max-width: 60%;
    max-height: 80%;
}

.modal-content img {
    width: 40%;
    height: 100%;
    /*border-radius: 8px;*/
    margin: 0 auto;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    font-size: 40px;
    padding: 10px;
    color: white;
    user-select: none;
}

.prev {
    left: -60px;
}

.next {
    right: -60px;
}

.counter {
    text-align: center;
    color: black;
    margin-top: 5px;
    font-size: 30px;
}

.enemy_name {
    text-align: center;
    color: black;
    margin-top: 10px;
    font-size: 30px;
    font-weight: var(--font-weight-bold);
}

button {
    position: relative;
    padding: 16px 32px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b); /* グラデーション */
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* 影で立体感 */
    transition: transform 0.2s, box-shadow 0.2s;
    margin: 0 auto;
    display: flex;

}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
    padding: 5px; /* パディングを少し調整 */
    text-align: center;
    margin: 0 auto;
}

.footer img {
    max-width: 300px;
    height: auto;
    text-align: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: var(--border-radius-small);
}
.footer img:hover{
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* 影で立体感 */
    transform: scale(1.05); /* ホバーで少し拡大 */
}

.contact.copyright{
    color: white;
}

/*--------------------------------
 Contact
---------------------------------*/
.contact {
    text-align: center;
    padding: 10px 0 0 0;
    margin: 0 auto;
    background-color: gray;
    height: auto;
}

.contact-item:not(:last-child) {
    margin-right: 10px;
}

.contact-text {
    margin-top: 10px;
}

.contact .col-lg-12 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* ← 画像同士の間隔 */
    flex-wrap: wrap; /* ← スマホでも折り返し可能に */
}

.contact .date-wrap {
    display: inline-block !important;
    width: auto !important;
    margin-top: 10px;!important;
}

.contact .date-wrap a {
    display: inline-block !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    background-color: transparent !important;
    text-align: center;
}

.contact .date-wrap img {
    display: block !important;
    width: 160px !important;  /* ← 画像サイズここで指定（変更OK） */
    height: auto !important;
}

.spec-section {
    background: #f8f8f8;
    padding: 5px 10px;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 8px;
    font-family: 'Helvetica Neue', sans-serif;
}

.spec-section h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 0;
    letter-spacing: 2px;
}

.spec-section dl {
    display: grid;
    grid-template-columns: 150px 1fr;
    row-gap: 20px;
    column-gap: 20px;
    font-size: 16px;
}

.spec-section dt {
    font-weight: bold;
    color: #333;
}

.spec-section dd {
    margin: 0;
    color: #555;
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
    padding: 10px;

    /*background-color: white;*/
}

.copyright {
    font-size: 10px;
    text-align: center;
    color: #797979;
}
/*--------------------------------
 敵一覧ボタン
---------------------------------*/
button:hover {
    transform: scale(1.05); /* ホバーで少し拡大 */
    box-shadow: 0 10px 14px rgba(0, 0, 0, 0.4);
    justify-content: center;
    text-align: center;
}

.artists-thumb-stage1-enemy {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    justify-content: center;
}

.artists-thumb-stage2-enemy {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    justify-content: center;
}

.artists-thumb-stage3-enemy {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    justify-content: center;
}

.artists-image {
    border-radius: var(--border-radius-medium);
    display: block;
    flex: 1px;
    text-align: center;
    align-items: center;
    width: 100%;
!important;
    max-width: 100%;
!important;
    height: 100%;
}
.artists-image-wrap button {
    position: relative;
    z-index: 5; /* 最前面 */
}

.artists-thumb:hover .artists-hover {
    /*transform: translateY(0);
    opacity: 1;*/
}


.artists-hover {
    background-color: var(--primary-color);
    background-color: rgba(248, 203, 46, 0.75);
    border-radius: var(--border-radius-medium);
    backdrop-filter: blur(5px) saturate(180%);
    -webkit-backdrop-filter: blur(5px) saturate(180%);
    margin: 40px;
    padding: 30px;
    transition: all 0.5s ease;
    /*transform: translateY(100%);*/
    position: absolute;
    bottom: 80px;
    right: 0;
    left: 0;
    /*opacity: 0;*/
}
.artists-hover p{
    color: black;
    margin-left: -20px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.artists-hover p strong {
    color: var(--white-color);
    display: inline-block;
    min-width: 180px;
    text-align: center;
    justify-items: center;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.artists-hover p a {
    color: var(--secondary-color);
}

.artists-hover p a:hover {
    color: var(--white-color);
}

.artists-hover hr {
    margin: 1.5rem 0;
}

.artists-hover-Gunner {
    background-color: var(--primary-color);
    background-color: rgba(248, 203, 46, 0.75);
    border-radius: var(--border-radius-medium);
    backdrop-filter: blur(5px) saturate(180%);
    -webkit-backdrop-filter: blur(5px) saturate(180%);
    margin: 40px;
    padding: 30px;
    transition: all 0.5s ease;
    /*transform: translateY(100%);*/
    position: absolute;
    bottom: 90px;
    right: 0;
    left: 0;
    /*opacity: 0;*/
}
.artists-hover-Gunner p{
    color: black;
    margin-left: -20px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.artists-hover-Gunner p strong {
    color: var(--white-color);
    display: inline-block;
    min-width: 180px;
    text-align: center;
    justify-items: center;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.artists-hover-Gunner p a {
    color: var(--secondary-color);
}

.artists-hover-Gunner p a:hover {
    color: var(--white-color);
}

.artists-hover-Gunner hr {
    margin: 1.5rem 0;
}

/*--------------------------------
 レリック
---------------------------------*/
.relic-section {
    background: black;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 80px 0;
}

.relic-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* PCでは横4 */
    gap: 24px;
    justify-items: center;
}

.relic-card {
    width: 230px;
    background: rgba(30,30,50,0.7);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 10px rgba(255,255,255,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.relic-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0,255,255,0.3);
}

.relic-image {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    object-fit: contain;
}

.relic-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.relic-rarity {
    font-weight: bold;
    margin-bottom: 5px;
}

.rarity-コモン { color: #aaa; }
.rarity-アンコモン { color: #00bfff; }
.rarity-ユニーク { color: #ff66ff; }
.rarity-ボス { color: #ffcc00; }

.relic-effect {
    font-size: 0.9rem;
    color: #ddd;
}
/* 💻 iPad / タブレット対応（768px〜991px） */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .relic-carousel {
        grid-template-columns: repeat(2, 1fr); /* 横2列に */
        justify-items: center; /* カードを中央に整列 */
        gap: 20px;
    }

    .relic-card {
        width: 290px;  /* 少し小さめにしてバランス調整 */
        padding: 15px;
        justify-content: center;
    }

    .relic-image {
        width: 70px;
        height: 70px;
    }

    .relic-name {
        font-size: 1.1rem;
    }

    .relic-effect {
        font-size: 0.85rem;
    }
}

/* 📱 スマホ対応（768px以下） */
@media screen and (max-width: 768px) {
    .relic-carousel {
        grid-template-columns: repeat(2, 1fr); /* 横2 */
        gap: 16px;
    }

    .relic-card {
        width: 150px;        /* カード幅を小さく */
        padding: 10px;       /* 内側余白を減らす */
        border-radius: 10px; /* 角を少し丸く */
    }

    .relic-image {
        width: 60px;
        height: 60px;
        margin-bottom: 6px;
    }

    .relic-name {
        font-size: 1rem;
    }

    .relic-rarity {
        font-size: 0.9rem;
    }

    .relic-effect {
        font-size: 0.8rem;
    }
}
/*--------------------------------
 デベロッパー（レリック風）
---------------------------------*/
.developers-section {
    background: black;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.developer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* PC: 横4 */
    gap: 24px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
    margin-left: 0;
}

.developer-item {
    width: 300px;                 /* 横幅固定 */
    height: 180px;                /* 高さ固定 */
    background: rgba(30,30,50,0.7);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 10px rgba(255,255,255,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
}

/* ホバー時 */
.developer-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0,255,255,0.3);
}

/* 名前 */
.developer-name {
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.4rem); /* 最小1rem～最大1.4rem、画面幅に応じて自動 */
    margin-bottom: 5px;
    text-align: center;
}

/* 役職 */
.developer-role {
    font-size: clamp(0.8rem, 1.5vw, 1.1rem); /* 最小0.8rem～最大1.1rem、画面幅に応じて自動 */
    opacity: 0.8;
    text-align: center;
}

/* タブレット: 横2列 */
@media screen and (min-width: 768px)and (max-width: 1199px) {
    .developers-section .container {
        max-width: none !important;
        padding: 0 !important;
    }

    .developers-section .row {
        justify-content: flex-start !important;
        margin-left: 0 !important;
    }

    .developer-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: flex-start !important;
        justify-items: flex-start !important;
        align-items: start;
        gap: 20px;
        margin-left: -100px !important; /* 左余白を少しだけ確保 */
    }

    .developer-item {
        width: 200px;
        height: 200px;
        padding: 15px;
    }
}

/* ✅ iPad Pro 対応（1024px〜1366px） */
@media screen and (min-width: 1024px) and (max-width: 1366px) {
    .developer-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* PCと同じ4列 */
        justify-content: center; /* 🔹中央寄せ */
        justify-items: center;   /* 🔹各カードも中央 */
        margin: 0 auto;          /* 🔹左右中央揃え */
        width: 100%;
        max-width: 1200px;       /* 🔹必要に応じて調整 */
    }

    .developer-item {
        width: 250px;
        height: 170px;
        margin-left: 220px;
    }
}

/* スマホ: 横1列 */
@media screen and (max-width: 480px) {
    .developer-container {
        grid-template-columns: 1fr;
    }
    .developer-item {
        width: 100%;
        height: auto; /* 自動調整 */
        padding: 12px;
    }
}


/*---------------------------------------
  SCHEDULE              
-----------------------------------------*/
.schedule-section {
    /*background-image: url('../images/');*/
    background-color: darkgray;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.table-responsive {
    filter: drop-shadow(2px 2px 4px #606060);
}

.schedule-table {
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
}

.schedule-table .bg-warning {
    background: #f0a5a5 !important;
}

.schedule-table thead th {
    background-color: var(--secondary-color);
}

.schedule-table th,
.schedule-table tr,
.schedule-table td {
    border-bottom-color: #363a3e;
    padding: 30px;
}

.schedule-table tr:last-child th,
.schedule-table tr:last-child td {
    border-bottom-color: transparent;
}

.schedule-table thead th {
    border-right: 1px solid #c7460a;
    border-bottom-color: transparent;
}

.schedule-table th + td {
    border-bottom: 0;
}

.schedule-table thead th:last-child {
    border-right-color: transparent;
}

.schedule-table .pop-background-image {
    background-image: url('../images/artists/joecalih-UmTZqmMvQcw-unsplash.jpg');
}

.schedule-table .rock-background-image {
    background-image: url('../images/artists/abstral-official-bdlMO9z5yco-unsplash.jpg');
}

.schedule-table .country-background-image {
    background-image: url('../images/artists/soundtrap-rAT6FJ6wltE-unsplash.jpg');
}

.table-background-image-wrap {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: none;
    position: relative;
}

.schedule-table h3,
.schedule-table p {
    color: var(--white-color);
    position: relative;
    z-index: 2;
}


/*---------------------------------------
  PRICING              
-----------------------------------------*/
.pricing-thumb {
    border: 5px dotted navy;
    /*border: 5px dotted var(--dark-color);*/
    border-radius: var(--border-radius-medium);
    position: relative;
    padding: 50px;
}

.pricing-thumb h3 small {
    display: inline-block;
    font-size: var(--p-font-size);
    margin-right: 15px;
}

.pricing-list {
    column-count: 2;
    padding-left: 20px;
}

.pricing-list-item {
    line-height: normal;
    margin-right: 10px;
    margin-bottom: 10px;
}

.pricing-tag {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-weight: var(--font-weight-bold);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 120px;
    position: absolute;
    top: 0;
    right: 0;
    margin: 20px;
}

.pricing-tag span {
    font-size: 500%;
    line-height: normal;
}

.pricing-thumb .link-fx-1 {
    color: var(--primary-color);
}

.pricing-thumb .link-fx-1:hover {
    color: var(--link-hover-color);
}


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.google-map {
    border-radius: var(--border-radius-medium);
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
    color: var(--p-color);
    margin-bottom: 24px;
    padding-top: 13px;
    padding-bottom: 13px;
    outline: none;
}

.custom-form button[type="submit"] {
    background: var(--custom-btn-bg-color);
    border: none;
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-medium);
    transition: all 0.3s;
    margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
    background: var(--custom-btn-bg-hover-color);
    border-color: transparent;
}


/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
    background-color: var(--dark-color);
    position: relative;
    overflow: hidden;
    padding-bottom: 30px;
}

.site-footer-top {
    background-color: var(--secondary-color);
    background-image: url('../images/nainoa-shizuru-NcdG9mK3PBY-unsplash.jpg');
    background-repeat: no-repeat;
    margin-bottom: 70px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.site-footer-bottom {
    border-top: 1px solid #1f1c1c;
    margin-top: 60px;
}

.site-footer-title {
    color: var(--primary-color);
}

.site-footer-link,
.copyright-text {
    color: var(--white-color);
}

.site-footer-links {
    padding-left: 0;
}

.site-footer-link-item {
    list-style: none;
    display: inline-block;
    margin-right: 15px;
}

.copyright-text {
    font-size: var(--copyright-font-size);
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
    margin: 0;
    padding: 0 10px;
}

.social-icon-item {
    list-style: none;
    display: inline-block;
    vertical-align: top;
}

.social-icon-link {
    /*background: black;*/
    border-radius: var(--border-radius-large);
    /*color: var(--white-color);*/
    font-size: var(--copyright-font-size);
    display: flex;
    /*margin-right: 150px;*/
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    line-height: 80px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.social-icon-link:hover {
    /*background: var(--primary-color);*/
    /*color: var(--white-color);*/
}

.social-icon-link span {
    /*display: block;*/
    font-size: 50px;
}

.social-icon-span {
    font-size: 50px;
}

.span {
    font-size: 50px;
}

.social-icon-link span:hover::before {
    /*animation: spinAround 2s linear infinite;*/
}

@keyframes spinAround {
    from {
        transform: rotate(0deg)
    }
    to {
        transform: rotate(360deg);
    }
}


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (max-width: 991px) {
    h1 {
        font-size: 62px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 32px;
    }

    h4 {
        font-size: 28px;
    }

    h5 {
        font-size: 20px;
    }

    h6 {
        font-size: 18px;
    }

    .section-padding {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .navbar {
        background-color: black;
    }

    .navbar-expand-lg .navbar-nav {
        padding-bottom: 30px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 0;
    }

    .hero-section {
        /*padding-top: 150px;*/
        /*min-height: 100vh;*/
    }

    .pricing-thumb {
        padding: 35px;
    }

    .schedule-table h3 {
        font-size: 22px;
    }

    .schedule-table th {
        padding: 20px;
    }

    .schedule-table tr,
    .schedule-table td {
        padding: 25px;
    }

    .ticket-section {
        padding-top: 130px;
    }

    .ticket-form {
        padding: 30px;
    }
    /* PCやタブレットでは横並び */
    .genre .break {
        display: inline;
    }

    /* スマホ（幅768px以下）のときだけ縦並びにする */
    @media (max-width: 768px) {
        .genre {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            font-size:14px ;
        }

        .genre .break {
            display: block;   /* 改行される */
            margin: 4px 0;    /* 行間を少し空ける（任意） */
        }
    }


    @media screen and (max-width: 767px) {
        .custom-btn {
            font-size: 14px;
            padding: 10px 20px;
        }
    }

    @media screen and (max-width: 480px) {
        h1 {
            font-size: 52px;
        }

        h2 {
            font-size: 28px;
        }

        h3 {
            font-size: 26px;
        }

        h4 {
            font-size: 22px;
        }

        h5 {
            font-size: 20px;
        }
    }
}

