/* 共通 */
body {
    background-color: white;
    font-size: 16px;
}

ul {
    list-style: none;
    padding: 0;
}

a:hover {
    text-decoration: none;
}

img {
    width: 100%;
}

.margin-t-20 {
    margin-top: 20px;
}

.margin-b-10 {
    margin-bottom: 10px;
}

.margin-r-5 {
    margin-right: 5px;
}

/* ヘッダータイトル */
.navbar-brand{
    font-size: 37px;
}
@media (max-width: 768px) {
    .navbar-brand{
        font-size: 26px;
    }
}

.navbar-right li{
font-weight: bold;
    text-shadow: 0 0 4px black;
    color: #fff !important;
}

/* フォント読み込み */
@import url('https://fonts.googleapis.com/css?family=Sacramento');

.top_back h2 {
    font-size: 50px;
    color:white;
    font-weight: bold;
    text-shadow: #000 0 0 5px;
    margin-top: 0.5em;
    margin-bottom: 0;
}
.top_back h3 {
    font-size: 30px;
    color:white;
    font-weight: bold;
    text-shadow: #000 0 0 5px;
    margin-top: 0;
    margin-bottom: 0.75em;
}  
.top_back span {
    font-size: 18px;
    color:white;
    font-weight: bold;
    text-shadow: #000 0 0 5px;
}

@media print, screen and (min-width: 768px) {
.sp-only {
    display: none !important;
    }
}
@media print, screen and (max-width: 768px) {
    .top_back h2 {
        font-size: 32px;
        line-height: 1.2;
        color:white;
        font-weight: bold;
        text-shadow: #000 0 0 5px;
        margin-bottom: 0.25em;
    }
    
    .top_back h3 {
        font-size: 19px;
        top: 11vh;
        margin-bottom: 0.5em;
    }
    .top_back span {
        font-size: 14px;
        top: 17vh;
    }
}

  

/* TOPページ */
#page-wrapper,
.container-fluid {
    padding: 0;
}

#page-wrapper {
    padding-top: 50px;
    background-image: url('../../../images/kabe_green.jpg');
    background-repeat: no-repeat; /* 背景画像を繰り返さない */
    background-position: center center; /* 画像の中心を要素の中心に合わせる */
    background-size: cover; /* 要素全体を覆うように拡大・縮小 */
}

#panel-top {
    text-align: center;
    position: fixed; /* これが要素を固定するプロパティ */
    top: 51px;          /* 画面の上端に配置 */
    left: 0;         /* 画面の左端に配置 */
    width: 100%;     /* 画面の幅いっぱいに広げる */
    background-color: #ffffffbf; /* 背景色 */
    color: white;      /* 文字色 */
    padding: 10px 20px; /* 内側の余白 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* 影 */
    z-index: 1000;
}

#main-contents {
    padding: 10px 4em;
}

#main-contents .category_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 3px;
    max-width: 1000px;
    margin: 210px auto 150px;
}

#main-contents .category_list li {
    width: calc(33.333% - 2px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

#main-contents .category_list li a img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* 体験一覧 */
#form-contents {
    width: 90%;
    margin: 0 auto;
    max-width: 1210px;
}

#form-contents h2 span {
    margin-left: 0.5em;
    font-size: smaller;
}

#form-contents .experience_list > li {
    border-top: 5px solid #e24848;
    border-right: 1px solid #dce0e0;
    border-left: 1px solid #dce0e0; 
    padding: 15px;
    background-color: white;
    margin-bottom: 10px;
}

#form-contents .experience_list > li:last-child {
    border-bottom: 1px solid #dce0e0;
    
}

#form-contents .experience_photo {
    border: 1px solid;
    height: 30vw;
    max-height: 316px;
    min-height: 316px;
    overflow: hidden;
    object-fit: cover;
}

#form-contents .experience_list {
    margin-bottom: 85px;
}

.margin-clear-xs {
    padding: 0px 8px 0px 0px;
}

.search-box-price {
    display: flex;
    align-items: center;
}

.search-box-priceleft {
    -webkit-box-flex: 0 0 60%;
    -ms-flex: 0 0 60%;
    -webkit-flex: 0 0 60%;
    flex: 0 0 60%;
}

.search-box-priceright {
    -webkit-box-flex: 0 0 40%;
    -ms-flex: 0 0 40%;
    -webkit-flex: 0 0 40%;
    flex: 0 0 40%;
    padding-right: 8px;
}

#form-contents .price {
    position: relative;
    display: inline-block;
    min-width: 200px;
    width: auto;
    max-width: 290px;
    margin: 8px 0px 4px;
    line-height: 1.4em;
}

#form-contents .price .list-price {
    font-weight: 700;
    color: #e24848;
    font-size: 1.75em;
}

#form-contents .price .discount-yen {
    font-size: 0.7em;
    font-weight: 700;
}

#form-contents .priceunit {
    display: block;
    font-size: 12px;
    margin-top: -5px;
    line-height: 1.4em;
    margin-bottom: 8px;
}

#form-contents .plan-date {
    margin: 5px auto;
}

#form-contents .intro {
    font-size: 12px;
    line-height: 1.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.btn {
    display: inline-block;
    font-size: 15px;
    padding: 12px 20px;
    white-space: normal;
    text-align: center;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    border-radius: 8px;
}

.btn-normal {
    font-weight: bold;
    background: #fff;
    color: #000;
    border: 1px solid;
}

.btn-normal:hover {
    background: #f5f5f5;
    color: #000;
}

.btn-red {
    font-weight: bold;
    background: #e24848;
    color: #fff;
}

.btn-red:hover {
    background: #ff7081;
    color: #fff;
}

/* 体験詳細 */
#plan-sp-top-slide img {
    /* height: 30vw; */
    max-height: 400px;
    /* min-height: 350px; */
    overflow: hidden;
    object-fit: cover;
    aspect-ratio: 1.8 / 1;
}

.plan-wrap {
    position: relative;
    background: #fff;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    border-radius: 8px;
    width: 90%;
    margin: 30px auto 80px;
    padding: 20px;
    max-width: 1210px;
}

.row-flex {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.plan-header {
    border-bottom: 1px solid #fbfbfb;
    margin-bottom: 20px;
    padding-bottom: 30px;
}

.plan-header .plan-name {
    font-size: 24px;
    margin: 20px 0px 5px;
    color: #333;
    line-height: 1.3em;
    font-weight: 700;
}

.fixed-content-trig {
    padding: 10px;
    box-sizing: border-box;
}

.sp-basicdata ul {
    margin-bottom: 0px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.sp-basicdata li {
    margin-right: 12px;
    border: 1px solid #dce0e0;
    border-radius: 6px;
    -webkit-box-flex: 0 0 calc(33% - 10px);
    -moz-box-flex: 0 0 calc(33% - 10px);
    -ms-flex: 0 0 calc(33% - 10px);
    -webkit-flex: 0 0 calc(33% - 10px);
    flex: 0 0 calc(33% - 10px);
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: vertical;
    -moz-flex-direction: vertical;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    width: 100%;
}

@media print, screen and (max-width: 768px){
.sp-basicdata li {
    margin-right: 12px;
    border: 1px solid #dce0e0;
    border-radius: 6px;
    -webkit-box-flex: 0 0 calc(33% - 10px);
    -moz-box-flex: 0 0 calc(33% - 10px);
    -ms-flex: 0 0 calc(33% - 10px);
    -webkit-flex: 0 0 calc(33% - 10px);
    flex: 0 0 calc(100%);
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: vertical;
    -moz-flex-direction: vertical;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    width: 100%;
}
}

.plan-header .plan-header-summary {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    background-color: #fff;
    margin: 0px 0px;
    width: calc(100% - 11px);
    padding: 8px 8px;
    border-radius: 4px;
    height: 100%;
}

.sp-basicdata .sp-basicdata--title {
    font-size: 14px;
    width: 50%;
    margin-right: 12px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #898989;
    margin-bottom: 0px;
    word-wrap: break-word;
    -webkit-box-flex: 0 0 45%;
    -moz-box-flex: 0 0 45%;
    -ms-flex: 0 0 45%;
    -webkit-flex: 0 0 45%;
    flex: 0 0 45%;
}

.sp-basicdata .sp-basicdata--item {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: horizontal;
    -moz-flex-direction: horizontal;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-flex: 0 0 60%;
    -moz-box-flex: 0 0 60%;
    -ms-flex: 0 0 60%;
    -webkit-flex: 0 0 60%;
    flex: 0 0 60%;
}

.sp-basicdata .sp-basicdata--item>span {
    -webkit-box-flex: 1 0 100%;
    -moz-box-flex: 1 0 100%;
    -ms-flex: 1 0 100%;
    -webkit-flex: 1 0 100%;
    flex: 1 0 100%;
}

.sp-basicdata .sp-basicdata--item small {
    line-height: 22px;
    height: 17px;
    margin-top: 2px;
    font-weight: normal;
}

.plan-contents {
    margin-bottom: 50px;
}

.plan-contents .row {
    margin-right: -15px;
    margin-left: -15px;
}

.plan_intro {
    min-height: 200px;
    overflow: hidden;
}

.padding-t-10 {
    padding-top: 10px;
}

.plan-block {
    margin-bottom: 30px;
}

.plan-wrap h2 {
    font-size: 1.5em;
    font-weight: 700;
    margin: 34px 0px 24px;
    color: #111;
}

.plan-wrap p {
    font-size: 14px;
    line-height: 1.65em;
}

.calendar-cours {
    margin-bottom: 20px;
    padding: 9px;
    border-radius: 3px;
    min-height: 20px;
    background-color: #f5f5f5;
}

.calendar-cours-item {
    display: inline-block;
    font-weight: 400;
    padding: 3px 6px;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
}

.calendar_html_loading {
    /* ボタンを中央に */
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

#calender {
    width: 100%;
    display:flex;
    flex-wrap:wrap;
}

#calender > div {
    width: calc( 100% / 7 );
}

#calender .calendar_modal {
    width: 100%;
    padding: 15px 0;
    border: 0;
    background-color: transparent;
}

#calender .calendar_modal:disabled {
    background-color: #efefef;
}

#calender .day {
    background-color: #fff;
    border: 1px solid #dce0e0;
    box-sizing:border-box;
    text-align:center;
}

#calender .weekday_0 {
    background-color:#ffeded;
}

#calender .weekday_6 {
    background-color:#e5f6fe;
}

.plan-contents {
    padding-bottom: 24px;
    margin-bottom: 0px;
    border-bottom: 1px solid #dce0e0;
}

.plan-contents h2 {
    margin: 20px 0px;
    font-weight: 700;
    font-size: 24px;
    color: #333;
    line-height: 1.3em;
    border-left: 6px solid #e24848;
    padding: 14px 16px;
    background-color: #fbfbfb;
}

.plan-contents.price-table-block h3 {
    margin-top: 10px;
    font-weight: 700;
    font-size: 16px;
    color: #333;
    line-height: 1.5em;
}

.plan-contents .normal-table {
    font-size: .8em;
    width: 100%;
}

.delayload_normal_price_items_parent,
.delayload_option_price_items_parent {
    min-height: 100px;
    display: block;
}

.plan-contents .normal-table tr:not(:last-child) {
    border-bottom: 6px solid #fff;
}

.price-table tbody tr:first-child {
    border-top: 0px solid #dce0e0;
}

.price-table tr {
    display: block;
}

.price-table tbody tr td:first-child {
    padding: 16px 0px 2px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5em;
    width: 100%;
    border-top: 1px solid #dce0e0;
}

.plan-contents .normal-table th,
.plan-contents .normal-table td {
    display: block;
}

.row-center.va-middle>[class*=col-] {
    vertical-align: middle;
}

.row-center>[class*=col-] {
    display: inline-block;
    letter-spacing: 0;
    vertical-align: top;
}

.price-table-priceunit {
    font-size: 14px;
    display: block;
}

.price-table-price {
    display: block;
    margin: 4px 0px 0px;
}

.price-table .pricenum {
    font-size: 22px;
    color: #333;
    font-weight: bold;
    margin-right: 4px;
}

.price-table tbody tr td.sp-text {
    font-size: 12px;
    margin: -6px 0px 0px;
    padding: 0px 0px 8px;
}

.price-table-note {
    line-height: 1.6em;
    font-size: .75em;
    padding-top: 10px;
    color: #646464;
}

.plan-contents .normal-table tr:not(:last-child) {
    border-bottom: 6px solid #fff;
}

.plan-contents .normal-table.table-2-col tr th,
.plan-contents .normal-table.table-2-col tr td {
    vertical-align: top;
    display: table-cell;
}

.plan-contents .normal-table.table-2-col tr th {
    width: 200px;
    font-size: 14px;
    font-weight: normal;
    padding: 20px;
    background-color: #fbfbfb;
}

.plan-contents .normal-table.table-2-col tr td {
    padding: 16px 0 20px 20px;
    font-size: 14px;
}

.plan-contents .caption-accordion {
    margin: 0;
    padding: 10px 0px;
    font-size: 20px;
    border-top: 0px solid #fbfbfb;
    border-bottom: 0px solid #fbfbfb;
    font-weight: bold;
}

.payment-list {
    list-style: disc;
    padding-left: 20px;
}

.payment-list>* {
    padding: 4px 0px;
    font-size: 16px;
}

.plan-contents .media .media-heading {
    font-weight: 700;
    margin-bottom: 0px;
    color: #333;
}

.fixed-side-pc {
    min-height: 100%;
    display: block;
    height: auto;
    background-color: #fff;
    margin-right: -5px;
}

.fixed-content {
    position: -webkit-sticky;
    position: sticky;
    top: 65px;
    max-width: 356.656px;
    width: 100%;
    background-color: #fff;
    max-height: 90vh;
    margin-top: 16px;
}

.fixed-side-pc .plan-contents {
    border-radius: 10px;
    box-shadow: 4px 10px 20px -10px #dce0e0;
    border: 1px solid #dce0e0;
    padding: 16px 16px 6px;
    margin-bottom: 30px;
}

.plan-block .price {
    padding: 6px 0px 0px 0px;
}

.price .discount {
    font-size: 1.5em;
    font-weight: 700;
    color: #333;
    line-height: .5em;
}

.wv--block_to_inline {
    display: inline !important;
}

.wv--font_xs {
    font-weight: normal;
}

.fixed-side-pc .plan-contents .plan-block {
    margin-bottom: 0;
}

/* マイページ */
.mypage-contents {
    padding-top: 20px;
    margin-bottom: 80px;
    z-index: 3;
    zoom: 1;
}

.mypage-name {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 24px;
    color: #111;
}

.mypage-column-wrap {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.mypage-column-wrap>*:first-child {
    -webkit-box-flex: 0 0 250px;
    -moz-box-flex: 0 0 250px;
    -ms-flex: 0 0 250px;
    -webkit-flex: 0 0 250px;
    flex: 0 0 250px;
}

.mypage-header {
    margin-bottom: -1px;
}

.mypage-nav {
    -webkit-flex-direction: vertical;
    -moz-flex-direction: vertical;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    padding: 0px;
    background-color: #fff;
    border-top: 1px solid #dce0e0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    border-bottom: 0;
}

.nav-tabs>li {
    float: left;
    margin-bottom: -1px;
    display: block;
    font-size: 1.2em;
}

.mypage-nav li:not(:first-child) {
    border-top: 1px solid #dce0e0;
}

.mypage-nav .is_active {
    font-weight: bold;
    background: #fff;
    color: #0b82ca;
    pointer-events: none;
}

.mypage-nav li a {
    color: #333;
    border: none;
    padding: 15px;
    background-color: #f5f5f5;
    margin: 0px;
    line-height: 1.42857143;
    border-radius: 4px 4px 0 0;
}

.btn-arrow-invert:before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto 16px auto auto;
    width: 10px;
    height: 10px;
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    border-top: 1px solid #898989;
    border-right: 1px solid #898989;
    transition: .3s;
}

.mypage-nav .is_active:before {
    display: none
}

.mypage-column-wrap>*:nth-child(2) {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -ms-flex-preferred-size: calc(100% - 270px);
    flex-basis: calc(100% - 270px);
    margin-left: 20px;
    background-color: #f5f5f5;
}

.mypage-container {
    background-color: #fff;
    min-height: 50vh;
}

.mypage-container .h2 {
    margin: 20px 10px 10px 0px;
    font-size: 1.8em;
    font-weight: 700;
    color: #111;
    line-height: 1.4em;
}

/* 予約一覧 */
.mypage-contents .reservation-box table {
    width: 100%;
}

.mypage-contents .reservation-box table tr th {
    background: rgba(229, 241, 246, 1.00);
    border-bottom: 2px solid rgba(1, 150, 216, 1.00);
    color: rgba(1, 150, 216, 1.00);
    font-size: 1em;
    line-height: 1.15em;
    font-weight: 500;
    white-space: nowrap;
    border-top: none;
    padding: 1.375em 0.75em;
}

.mypage-contents .reservation-box table tr td {
    padding: 8px;
    line-height: 1.5;
    vertical-align: middle;
    border-top: 1px solid #d5d5d5;
    background-color: #fff;
}

.mypage-contents .reservation-box table tr:first-of-type td {
    border-top: none;
}

/* ユーザー登録情報 */
.mypage-contents .profile-box .table {
    width: 100%;
    font-size: 1em;
}

.mypage-contents .profile-box .table th,
.mypage-contents .profile-box .table td {
    border-top: 1px solid #dce0e0;
    padding: 0.8em;
    vertical-align: top;
}

.mypage-contents .profile-box .table th {
    background: rgba(229, 241, 246, 1.00);
    width: 26%;
}

.mypage-contents .profile-box .table td {
    background: #fff;
}

.btn.btn-sm {
    padding: 6px 12px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
}

.f-short {
    width: 200px;
}

.error-message {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #e24848;
    font-weight: 700;
    font-size: .9em;
}

/* 退会する */
.mypage-contents h1 {
    font-weight: 700;
    color: #111;
    font-size: 1.7em;
}

.mypage-contents .discription {
    font-size: 1.2em;
}

.mypage-contents .message {
    text-align: center;
	font-size: 1.2em;
	font-weight: 700;
	color: rgba(250, 79, 79, 1.00);
}

/* 追加CSS　TOPページ */
.head_bg {
    background-image: url('../../../images/top_head02long.png');
    background-size: cover;
}

.navbar-brand{
    font-weight: bold;
    text-shadow: 0 0 5px black; /* 水平0、垂直0、ぼかし5px、色黒 */
    color:#fff !important;
}

.navbar-inverse .navbar-brand:focus,
.navbar-inverse .navbar-brand:hover {
    color: #ffed89 !important;
    background-color: transparent
}

.navbar-inverse .navbar-nav>li>a {
    font-weight: bold;
    color: #ffffff;
}

.navbar-inverse .navbar-nav>li>a:focus,
.navbar-inverse .navbar-nav>li>a:hover {
    color: #ffed89;
    background-color: transparent
}

/* TOP動画 */
  
.panel-top-content {
    position: relative; /* z-indexを有効にするため */
    z-index: 1; /* 動画より手前に表示 */
    color: white; /* テキストが見えるように色を設定 */
    font-size: 2em; /* フォントサイズ例 */
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7); /* テキストのぼかし効果 */
    /* 必要に応じて、パディングやマージンで位置を調整 */
}
  
/* --- レスポンシブ対応 (重要) --- */
@media (max-width: 768px) { /* スマートフォンなど、画面幅が狭いデバイスの場合 */
    #page-wrapper {
        background-image: url('../../../images/kabe_spring.jpg');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        height: 100vh;
    }

    #panel-top {
        text-align: center;
        position: fixed;
        top: 50px;
        left: 0;
        width: 100%;
        /* background-color: #333; */
        color: white;
        padding: 10px 20px;
        box-shadow: 0 2px 5px #ffffffbf;
        z-index: 1000;
    }

    .panel-top-content {
        position: relative; /* z-indexを有効にするため */
        z-index: 1; /* 動画より手前に表示 */
        color: white; /* テキストの色 */
        text-shadow: 0 0 8px rgba(0, 0, 0, 0.7); /* テキストのぼかし */
    }

    #main-contents {
        padding: 10px 3px;
    }
}

.zzz{
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

.bgbgbg{
    height: 100vh; /* または height: 100%; (html, bodyもheight:100%が必要) */
    overflow: hidden; 
    height: calc(100vh - 50px); 
}

/* Google翻訳のツールバーを非表示にする */
body > .skiptranslate iframe {
  display: none !important;
}

.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* 必要に応じて調整 */
}

.dropdown-menu li {
    text-shadow: initial;
}

/* 翻訳後でもフォントが変わらないようにする */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.image-container {
    /* 親要素が必要な場合に設定 */
    overflow: hidden; /* 拡大した写真がはみ出さないように */
    display: inline-block; /* imgタグがブロック要素になるため */
  }
  
  .image-container img {
    max-width: 100%; /* 親要素の幅に合わせて画像が縮小されるように */
    height: auto;
    display: block; /* 画像の下に余白ができるのを防ぐ */
    transform: scale(1); /* 初期状態は1倍 (通常のサイズ) */
    transition: transform 0.8s ease-in-out; /* 0.3秒かけて滑らかに変化 */
  }
  
  .image-container img:hover {
    transform: scale(1.1); /* カーソルが乗ると1.05倍に拡大 */
  }

  #panel-footer{
    text-align: center;
    position: fixed;
    bottom: 0px;
    left: 0;
    width: 100%;
    background-color: #ffffffbf;
    color: white;
    padding: 0px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    height: 20px;
    vertical-align: middle;
    background-image: url(../../../images/top_head02long.png);
}

#panel-footer p{
    color: white;
    font-weight: bold;
    text-shadow: #00727d 0 0 5px;
}
#panel-footer a {
    color: inherit; /* 親要素の文字色を継承する */
    text-decoration: none; /* デフォルトの下線をなくす（任意） */
}

@media print, screen and (max-width: 768px){
    #main-contents .category_list{
        margin: 240px auto 150px;
    }
}
@media print, screen and (max-width: 521px){
    #panel-top{
        top: 100px;
    }
    #main-contents .category_list{
        margin: 290px auto 150px;
    }
}

/* 横並び複合検索バー */
#searchModal.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  background-color: #000000dd;
}

#searchModal .modal-content {
  width: 90%;
  max-width: 600px;
  margin: 10% auto;
  padding: 30px;
  border-radius: 20px;
  position: relative;
}

#searchModal .close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.search-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-form-wrapper label {
  font-size: 14px;
}

.search-form-wrapper select,
.search-form-wrapper input[type="date"],
.search-form-wrapper input[type="text"] {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  font-size: 16px;
}

.search-form-wrapper button {
  background: #0b82ca;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
}

.search-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: xx-large;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  cursor: pointer;
  z-index: 9999;
}