@charset "UTF-8";


/* body common
--------------------------------------------------------------------------- */
.pc-only {
    display: block;
}
.sp-only {
    display: none;
}
@media screen and (max-width:1024px) {
.pc-only {
    display: none;
}
.sp-only {
    display: block;
}
}

.content {
    background: none;
    background-size: 100%;
    position: relative;
    font-family: europa, Noto Sans JP, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.1em;
    color: #373737;
    font-weight: 400;
}

.content img {
    width: 100%;
    height: auto;
}

.content a img:hover {
    opacity: 0.7;
}





/* Page Title
--------------------------------------------------------------------------- */
#store__title {
    text-align: center;
    margin: 0 auto;
    background-image: url("../images/lineup_bkg_store.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left bottom;
    background-color: #f6e500;
}
#store__title::before {
    content: "";
    background: url("../images/project_character_left.webp") no-repeat center center;
    background-size: 100% auto;
    position: absolute;
    width: 134px;
    height: 174px;
    top: 1.2%;
    left: 15%;
    z-index: 1;
}
#store__title::after {
    content: "";
    background: url("../images/project_character_right.webp") no-repeat center center;
    background-size: 100% auto;
    position: absolute;
    width: 342px;
    height: 188px;
    top: 1.2%;
    right: 12%;
    z-index: 1;
}
#store__title h1 {
    margin: 0 auto;
    padding: 0 0 30px;
    max-width: 190px;
}
#store__title .character {
    display: none;
}

@media screen and (max-width:1680px) {
#store__title::before {
    top: 0.8%;
    left: 10%;
}
#store__title::after {
    top: 0.9%;
    right: 10%;
}
}

@media screen and (max-width:1200px) {
#store__title::before {
    width: 92px;
    height: 120px;
    left: 5%;
}
#store__title::after {
    width: 240px;
    height: 132px;
    right: 5%;
}
}

@media screen and (max-width:767px) {
#store__title::before, #store__title::after {
    display: none;
}
#store__title .character {
    display: block;
    background-image: url("../images/lineup_bkg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left bottom;
    margin: 0;
    padding: 0;
    background-color: #f6e500;
}
#store__title {
    background: none;
}
#store__title h1 {
    padding: 50px 0 0;
    max-width: 25%;
}
}



/* contents Area
--------------------------------------------------------------------------- */
#project {
    background-image: url("../images/archive_store_bkg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    text-align: center;
}

#project::before {
    display: none;
}
#project::after {
    display: none;
}

#project .lead__text {
    margin: 0 auto 50px;
    font-size: 16px;
    font-weight: 600;
}

#project h3 {
    padding: 0;
}

@media screen and (max-width:960px) {
#project .lead__text {
    padding: 30px 4% 50px;
    text-align: left;
    margin: 0 auto;
}
}

@media screen and (max-width:360px) {
#project {
    letter-spacing: 0;
}
#project .lead__text {
    font-size: 14px;
    line-height: 1.5;
}
}



/* MAP area ------------------------------------ */
#hosoku__text {
    text-align: center;
    font-size: 12px;
    max-width: 960px;
    margin: 20px 4%;
    line-height: 1.2;
}
.map {
    margin: 0 auto 60px;
    padding: 0;
    max-width: 960px;
}
.map_title{
    text-align: center;
    font-size: 24px;
    margin: 0 0 20px;
}

.map_button_container{
    display: flex;
    justify-content: center;
    gap: 0 20px;
}
.map_button {
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
background: #007bff;
color: #fff;
border: none;
border-radius: 50px;
}
button:hover {
background: #0056b3;
}
.manual-btn {
background: #a56209;
}
.manual-btn:hover {
background: #834e07;
}

@media screen and (max-width:960px) {
#hosoku__text {
    text-align: left;
max-width: 92%;
font-size: 12px;
}
}

@media screen and (max-width:767px) {
.map_title{
    font-size: 18px;
}
.map_button {
    font-size: 14px;
}
#map {
    width: 92%;
    padding: 0;
}
.store-item {
    width: 92%;
    margin: 0 auto 10px;
}
}

@media screen and (max-width:360px) {
.map_title{
    font-size: 15px;
}
.map_button {
    font-size: 12px;
}
h3.map_store_title {
    font-size: 15px;
}
.store-name, .store-address {
    font-size: 14px;
}
.show-on-map {
    font-size: 12px;
}
}


#search-container {
    width: 80%;
    margin: 0 auto 50px;
    display: flex;
    justify-content: center;
}
#search-container input {
    width: 80%;
    margin-right: 10px;
}
.search-btn {
background: #28a745;
border-radius: 5px;
}
.search-btn:hover {
background: #218838;
}

@media screen and (max-width:767px) {
#search-container {
    width: 92%;
    margin: 0 auto 30px;
}
#search-container input {
    font-size: 14px;
}
.search-btn {
    padding: 8px 10px;
}
}



#status-message {
margin: 10px 0;
color: #0056b3;
text-align: center;
}
#map {
height: 600px;
border-radius: 16px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
margin: 0 auto;
padding: 0;
}

@media screen and (max-width:767px) {
    #map {
        height: 400px;
    }
}

h3.map_store_title {
    margin-top: 40px;
    font-size: 24px;
}

#store-list {
width: 100%;
margin: 20px auto 100px;
text-align: left;
}

.store-item {
padding: 15px;
margin-bottom: 15px;
background-color: #fff;
border-radius: 16px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
display: flex;
justify-content: space-between;
align-items: center;
}
.store-info {
flex-grow: 1;
}
.store-name {
font-weight: bold;
font-size: 16px;
margin-bottom: 5px;
}
.store-address {
color: #666;
    font-size: 14px;
}
.store-distance {
color: #007bff;
font-weight: bold;
margin-top: 5px;
}
.show-on-map {
padding: 8px 15px;
background: #28a745;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
}
.show-on-map:hover {
background: #218838;
}

@media screen and (max-width:767px) {
h3.map_store_title {
    font-size: 15px;
}
}

@media screen and (max-width:360px) {
#map {
height: 300px;
border-radius: 8px;
}
.store-item {
border-radius: 8px;
}
.store-name {
font-size: 15px;
}
.store-address {
    font-size: 12px;
}
}


.map-container {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 40px;
}

.map-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    padding: 32px 28px 28px 28px;
    min-width: 380px;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.map-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.map-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 18px;
    width: 100%;
}

.map-icon {
    font-size: 44px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-title {
    margin: 0;
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.05em;
}

.location-icon i {
    color: #f44336; 
}

.search-icon i {
    color: #2196f3;
}

.map-description {
    margin-bottom: 4px;
    text-align: left;
}

.map-note {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 12px;
    text-align: left;
}

.map-cookie-notice {
    font-size: 0.85em;
    color: #888;
    margin-bottom: 18px;
    text-align: left;
}

.map-button {
    background: #22b573;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(34,181,115,0.15);
    transition: background 0.2s;
    align-self: flex-end;
    margin-top: 8px;
}
.map-button:hover {
    background: #1a8e5a;
}

.map-search-input {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 16px;
    background: #f7f7f7;
    margin-bottom: 12px;
    font-size: 1em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06) inset;
    outline: none;
}

.map-button-area {
    width: 100%;
    text-align: right;
    margin-top: 16px;
}

@media (max-width: 900px) {
    .map-container {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .map-card {
        min-width: 0;
        width: 90%;
    }
}

/* Google Maps 情報ウィンドウの閉じるボタン - 全ブラウザ対応 */
.gm-ui-hover-effect {
    background: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    margin: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    position: relative !important;
}

.gm-ui-hover-effect::before {
    content: "×" !important;
    font-size: 16px !important;
    font-weight: bold !important;
    color: #333 !important;
    line-height: 1 !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

/* 情報ウィンドウ全体のスタイル調整 */
.gm-style .gm-style-iw-c {
    padding: 16px !important;
    border-radius: 8px !important;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
}

.gm-style .gm-style-iw-t::after {
    background: linear-gradient(45deg, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 51%, rgba(255,255,255,0) 100%) !important;
}


/* ページネーション */
.pagination-controls {
    margin-top: 20px;
    text-align: center;
}

.pagination-btn {
    padding: 8px 16px;
    margin: 0 5px;
    background-color: #e67e22;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.pagination-btn:hover {
    background-color: #d35400;
}

.pagination-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.store-distance {
    font-size: 12px;
    color: #e74c3c;
    margin-top: 5px;
}

.show-on-map-btn {
    padding: 8px 16px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.show-on-map-btn:hover {
    background-color: #229954;
}

@media (max-width: 768px) {
.store_hosoku {
    max-width: 80%;
    margin: 0 auto;
    text-align: left;
    font-size: 1.2rem;
    padding: 20px 0 0;
}
}