@font-face {
    font-family: Emoji;
    src: local("Segoe UI Emoji"),
    local("Segoe UI Symbol"),
    local("Apple Color Emoji"),
    local("Noto Color Emoji"),
    local("Noto Emoji");
}
.emoji {
    font-family: Emoji;
    font-weight: normal;
}
*, *::before, *::after {
    box-sizing: border-box;
}
body {
    padding: 0;
    margin: 0;
    background-image: url('../images/bg02.jpg');
    color: #333;
    font-size: 14px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif !important;
}
#header {
    margin-top: 0;
    padding: 0;
    background-image: url('../images/town.png');
    background-color: rgba(255,255,255,0.6);
    background-blend-mode: lighten;
    color: black;
    height: 35px;
    background-size: cover;
    width: 1000px;
    margin-right: auto;
    margin-left : auto;
}
h1 {
    padding-top: 10px;
    text-align: right;
    font-size: 16px;
    margin: 0 auto;
}
#container {
    background-color: #e6e6e6;
    width: 1000px;
    margin-right: auto;
    margin-left : auto;
}

#content {
    width: 94%;
    margin: 0 auto;
    margin-right: auto;
    margin-left : auto;
}

#footer {
    display: contents;
    padding: 5px 0;
    width: 1000px;
    margin-right: auto;
    margin-left : auto;
    color: #222;
    background-color:  #a9ddca;
}
p {
    padding-left: 8px;
    padding-right: 5px;
}
h2, h3, h4 {
    padding: 3px 10px 3px 10px;
    border-bottom: solid 1px rgba(22, 22, 22, 0.5);
}
h2 {
    margin-top: 0;
    padding-top: 0.83em;
}
a { color: rgba(22, 22, 22, 0.8); }
a: hover { color: #888; }
#googlemap {
    border: 0;
    width: 940px;
    height: 400px;
}
a.tel {
    font-weight: bold;
    font-size: 120%;
    height: 46px;
    border-radius: 8px;
    padding: 15px 25px;
    text-decoration: none;
    vertical-align: middle;
    font-weight: normal;
    color: #222;
    &:hover {
	background-color: #fff;
	border-color: deepskyblue;
	color: deepskyblue;
    }
}
.pink {
    color: #fff;
    background: #ff3399;
}
.gray {
    color: #eee;
    background: dimgray;
}
.tall {
    width: 100%;
    color: #eee;
    background-color: #222;
    text-align: center;
    padding: 5px 0 5px 0;
    margin: 0;
    font-size: 15px;
    border-bottom: 1px solid #ddd;
}
.th, .td {
    margin: 0;
    font-size: 15px;
    border-bottom: 1px solid #ddd;
    align-items: center;
    display: flex;
}
.th {
    width: 5rem;
    color: #eee;
    background-color: dimgray;
    padding: 5px 0 5px 10px;
}

.td {
    background-color: #eee;
    padding: 5px;
    width: calc((100% - 5rem * 2) / 2);
}
.multi-line-th {
    display: flex;
    align-items: center;
}
.multi-line-td {
    width: calc(100% - 5rem);
}
.tabled {
    padding: 0;
    margin: 0;
    width: 100%;
    border-spacing: 0;
}
#formobile {
    width: 940px;
    display: flex;
    flex-wrap: wrap;
}
.zoom-button {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color:rgba(0,0,0,0.5);
    display:flex;
    justify-content:center;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    height: 60px;
    width: 60px;
    svg {
	stroke: white;
	margin: auto;
	width: 100%;
	/* height: 80%; */
    }
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right));
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    opacity: 0;
    pointer-events: none; /* 非表示時はクリックできないように */
    transition: opacity 0.4s ease;
}
.modal.show {
    opacity: 1;
    pointer-events: auto;
}
.modal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.modal__count-label {
    width: 100%;
    color: white;
    text-align: center;
    position: absolute;
    top: 20px;
    display: flex;
    justify-content: start;
    font-size: 1.375rem;
    /* padding-left: calc((100vw - 1000px) / 2); */
    max-width: 1000px;
    .modal__current-number, .modal__total-number {
	margin: auto 0;
    }
}
.modal__count-slash {
    margin: auto 0.3rem;
}
.modal__close-btn {
    width: 32px;
    height: 32px;
    z-index: 10001;
    cursor: pointer;
    background: transparent;
    position: absolute;
    right: 0;
    &:before, &:after {
	content: '';
	position: absolute;
	top: 50%;
	/* right: 0; */
	width: 24px;
	height: 2px;
	background-color: white; /* 色を必要に応じて変更 */
	transform-origin: center;
    }
    &:before {
	transform: translate(-50%, -50%) rotate(45deg);
    }
    &:after {
	transform: translate(-50%, -50%) rotate(-45deg);
    }
}
.modal__nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    user-select: none;
    z-index: 10000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    &:before {
	content: "";
	display: block;
	width: 15px;
	height: 15px;
	border-top: 3px solid white;
	border-right: 3px solid white;
    }
}
.modal__prev-btn {
    left: calc(50% - 500px - 40px); /* 中央から左にメイン幅の半分＋ボタン分 */
    &:before {
	transform: rotate(-135deg);
    }
}
.modal__next-btn {
    right: calc(50% - 500px - 40px);
    &:before {
	transform: rotate(45deg);
    }
}
.modal__content {
    position: relative;
    max-width: calc(100vw - 80px); /* 左右ボタン60px+60px+余白40px */
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
@media (hover: none) {
    /* タッチデバイス向け */
    #note { display: flex; }
    #notepc { display: none; }
}
@media (width < 999px) {
    select { font-size: 100%; }
    #ham {
	width: 100%;
	left: 0px;
    }
    .modal__count-label {
	padding-left: 10px;
    }
    .modal__close-btn {
	right: 10px;
    }
    .modal__prev-btn {
	left: 5px;
    }
    .modal__next-btn {
	right: 5px;
    }
    .zoom-button {
	width: 40px;
	height: 40px;
    }
    #formobile { width: 100%; }
    h1 { font-size: 12px; }
    #header, #container, #content, #footer { width: 100%; }
    #footer {
	padding: 5px 0 5px 0;
	font-size: 12px;
    }
    #googlemap {
	width: 100%;
	height: 280px;
    }
    h2 { font-size: 14px; }
}
@media (width < 767px) {
    .td {
	width: calc(100% - 5rem);
    }
}
