/* ==========================================================================
   パンくずリスト
   ========================================================================== */

.breadcrumb {
    width: 90%;
    margin-bottom: 20px;
    padding: 10px 0;
    position: absolute;
    left: 8%;
    top: 0;
    z-index: 5000   ;
}

.breadcrumb-list {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: ">";
    margin-left: 8px;
    color: var(--footer_text_color);
    font-weight: normal;
}

.breadcrumb-link {
    color: var(--footer_text_color) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--sub_corp_co) !important;
    text-decoration: underline;
}

.breadcrumb-current {
    color: var(--footer_text_color);
    font-weight: normal;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.breadcrumb-item--current {
    color: var(--footer_text_color);
    width: 60%;
}

/* レスポンシブ対応 */
@media screen and (max-width: 840px) {
    .main_box .breadcrumb {
        margin-bottom: 15px;
        padding: 8px 0;
    }
    
    .breadcrumb-list {
        font-size: 12px;
        gap: 6px;
    }
    
    .breadcrumb-item{
        margin-right: 0 !important;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin-left: 6px;
    }
    

}

@media screen and (max-width:480px) {
    .main_box .breadcrumb{
        left: 3%;
    }

    .breadcrumb-item--current{
        width: 60%;
    }
}

/* ==========================================================================
   新イベント カスタムセクション表示用スタイル
   ========================================================================== */

.custom-sections {
    margin: 30px 0;
}

.custom-section {
    margin: 0 20%;
    border-radius: 8px;
}

.custom-section:last-child {
    margin-bottom: 0;
}

.custom-section-title {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--main_color_black);
    margin: 0 0 15px 0;
    padding-bottom: 10px;
		display: flex;
		align-items: center;
}
.custom-section-title::before{
	content: "";
	display: block;
	width: 1em;
	height: 1em;
	background-color: var(--main_corp_color);
	margin-right: 10px;
}

.custom-section-image {
    margin: 15px 0;
    text-align: center;
}

.custom-section-image .section-img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.custom-section-content {
    margin: 20px 0 25px 0;
}

.custom-section-content p {
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .custom-section {
        padding: 15px;
        margin-bottom: 25px;
    }
    
    .custom-section-title {
        font-size: 1.3em;
    }
    
    .custom-section-image {
        margin: 10px 0;
    }
}


/* ==========================================================================
   新イベント 概要セクション表示用スタイル
   ========================================================================== */

.event-overview {
    margin: 0 20%;
    padding: 5% 7% 3%;
    background: var(--background_gray);
    border-radius: 10px;
    position: relative;
}

.event-overview-title {
    display: flex;
    position: relative;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--main_color_black);
    text-align: center;
}
.event-overview-title::after{
	content: "summary";
	text-transform: uppercase;
    display: flex;
	font-size: 4.5rem;
	font-weight: 700;
	color: var(--main_corp_color);
	opacity: 0.1;
	position: absolute;
	bottom: -10px;
	left: 0;
}

.overview-items {
    display: flex;
    flex-direction: column;
    margin-top: 50px;
}

.overview-item {
    background: transparent;
    display: flex;
    align-items: center;
    height: max-content;
    margin-top: 10px;
    border-bottom: 1px solid var(--footer_text_color);
}

.overview-label {
    width: 100px;
    margin-right: 80px;
    font-weight: bold;
    color: #333;
    font-size: 1.1em;
    flex-shrink: 0;
}

.overview-value {
    color: #555;
    line-height: 1.6;
}

/* Googleマップ専用スタイル */
.overview-map {
    height: max-content;
    width: 100%;
    border-bottom: none;
}

.overview-map .overview-label {
    display: none;
}

.overview-map .overview-value {
    padding-top: 20px;
    width: 100%;
}

.google-map-container {
    transition: width 0.3s ease;
    margin: 0 auto;
}

.google-map-container iframe {
    width: 100%;
    box-shadow: none;
    border-radius: 6px;
}


/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .event-overview {
        padding: 15px;
        margin: 20px 0;
    }
    
    .event-overview-title {
        font-size: 1.4em;
        margin-bottom: 15px;
    }
    
    .overview-items {
        gap: 0;
    }
    
    .overview-item {
        padding: 0;
    }
    
    .google-map-container {
        width: 100% !important; /* モバイルでは常に100% */
    }
    
    .google-map-container iframe {
        height: 250px;
    }
}

@media (max-width:480px) {
    .event-overview{
        padding: 30px 2% 50px;
        margin: 20px 0;
    }
    .event-overview-title{
        font-size: 1em;
        margin-top: 40px;
    }
    .event-overview-title::after{
        font-size: 4rem;
        bottom: -0.3em;
    }
    .overview-label{
        margin-right: 0;
        width: 80px;
    }

    .google-map-container iframe{
        height: 100%;
    }

    .google-map-container{
        height: 300px;
    }

    .place-card{
        display: none;
    }

    .l-form_title{
        margin: 0;
    }

    .l-form_attention{
        text-align: left;
        padding: 0 4%;
    }
}


/* 拡大倍率適用時のスタイル調整 */
.google-map-container > div {
    border-radius: 6px;
    overflow: hidden;
}

/* レスポンシブ対応でiframe調整 */
@media screen and (max-width: 768px) {
    .google-map-container {
        width: 100% !important; /* モバイルでは常に100% */
    }
    
    .google-map-container iframe {
        width: 100% !important;
        min-height: 250px;
    }
    
    /* 拡大倍率をモバイルでリセット */
    .google-map-container > div {
        transform: none !important;
        width: 100% !important;
    }
}


/* ==========================================================================
   CTA・プロモーション表示用スタイル
   ========================================================================== */

/* インライン CTAボタン（エディタ内で使用） */
.cta-button-container-inline {
    text-align: center;
    height: 60px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}

.cta-button-inline {
    width: 250px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--button_corp_color);
    color: var(--main_color_white);
    text-decoration: none !important;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: absolute;
    overflow: hidden;
    animation: ctaButtonAnime 1.5s infinite;
}


.cta-button-inline:hover {
    color: var(--main_color_white);
    text-decoration: none;
}

.cta-button-inline .cta_button_text {
    position: relative;
    z-index: 2;
    color: var(--main_color_white) !important;
}


/* 大型CTAボタン */
.cta-button-large {
    height: 80px;
    width: 300px;
    padding: 20px 50px;
    font-size: 18px;
    border-radius: 40px;
}


/* CTAセクション */
.cta-section {
    height: 200px;
    margin: 30px 0 20px 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 20px;
    background: transparent;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

/* マイクロコンバージョン */
.micro-conversion {
	width: max-content;
	position: relative;
    bottom: 5px;
	font-size: 16px;
	color: #333;
	margin-bottom: 10px;
    padding-bottom: 2px;
	font-weight: 500;
	line-height: 1.4;
	border-bottom: 1px solid var(--main_color_black);
}

.cut-arrow{
	height: 10px;
	width: 20px;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -10px;
	fill: var(--main_color_black);
}


/* CTAボタンコンテナ */
.cta-button-container {
	display: flex;
	position: absolute;
	width: 250px;
	height: 60px;
	top: 60px;
	justify-content: center;
	align-items: center;
	border-radius: 30px;
	background-color: var(--button_corp_color);
	color: var(--main_color_white);
    animation: ctaButtonAnime 1.5s infinite;
}

.cta-button{
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

@keyframes ctaButtonAnime {
    0% {
        transform: scale(1.2)

    }
    5% {
        transform: scale(1)
    }
    95% {
        transform: scale(1)
    }
    100% {
        transform: scale(1.2)
    }
}

.cta_button_text{
	align-items: center;
}

.cta-button .cta_button_text::after{
    content: "";
    position: absolute;
    width: 12px;
    height: 2px;
    left: 210px;
    top: 50%;
    background-color: var(--main_color_white);
    display: flex;
    animation: sectionButtonBar 5s infinite;
}

.cta-button-inline .cta_button_text::after{
    content: "";
    position: absolute;
    width: 12px;
    height: 2px;
    left: calc(105%);
    top: 50%;
    background-color: var(--main_color_white);
    display: flex;
    animation: sectionButtonBar 5s infinite;
}

@keyframes sectionButtonBar{
  0%{
    width: 2px;
  }
  50%{
    width: 12px;
  }
  60%{
    width: 12px;
  }
  90%{
    width: 2px;
  }
  100%{
    width: 2px;
  }
}

@media screen and (max-width: 480px) {
    .cta-section{
        height: 150px;
        margin: 0;
    }
}


/* プロモーションセクション（画像対応版） */
.promotion-section {
	height: max-content;
	margin: 50px 0;
	background: transparent;
	border-radius: 12px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.promotion-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="30" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.promotion-content {
	height: 100%;
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/* 画像のみの場合は中央配置 */
.promotion-content:has(.promotion-image):not(:has(.promotion-text)) {
    justify-content: center;
}

/* テキストのみの場合は中央配置 */
.promotion-content:has(.promotion-text):not(:has(.promotion-image)) {
    justify-content: center;
    text-align: center;
}

/* プロモーション画像 */
.promotion-image {
	height: 100%;
	width: 30%;
}

.promotion-img {
    width: 100%;
    height: auto;
}

/* プロモーションテキスト */
.promotion-text {
    flex: 1;
    text-align: left;
}

/* 画像のみの場合のテキスト中央寄せ */
.promotion-content:not(:has(.promotion-image)) .promotion-text {
    text-align: center;
}

.promotion-text h3,
.promotion-text h4 {
    color: white;
    margin: 0 0 15px 0;
    font-size: 1.6em;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.promotion-text p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 15px 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

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

.promotion-text strong {
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .promotion-section {
        margin: 30px 0;
        padding: 20px;
    }
    
    .promotion-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .promotion-text {
        text-align: center;
    }
    
    .promotion-image {
        max-width: 100%;
        width: 100%;
    }
    
    .promotion-text h3,
    .promotion-text h4 {
        font-size: 1.4em;
        margin-bottom: 12px;
    }
    
    .promotion-text p {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .promotion-section {
        padding: 15px;
    }
    
    .promotion-content {
        gap: 15px;
    }
    
    .promotion-text h3,
    .promotion-text h4 {
        font-size: 1.2em;
    }
}

.system_article  p > img{
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* フォームバリデーション状態表示 */
.form-validation-status {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 1000;
    transition: all 0.3s ease;
}


/* 古いイベントのスタイル */
.cnt_box.old {
    max-width: 910px;
    width: 100%;
    padding: 0 0;
    margin: 30px auto 0;
}

.cnt_box.old .system_article img.aligncenter{
    clear: both !important;
    display: block !important;
    margin: 0 auto !important;
    width: 70%;
}


/* レスポンシブ対応 */
@media screen and (max-width: 840px) {
    .cnt_box.old{
        max-width: 100%;
        padding: 20px;
        margin: 15px 0;
    }
    
    .cnt_box.old::before{
        font-size: 11px;
        padding: 3px 10px;
    }
}

