/*!
Theme Name: Kofun-road
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: 会員・ポイント・地図機能を備えた暖色系テーマ。fukuyama400を基に作成。
Version: 1.1.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: kofun-road
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

kofun-road is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}
body {
    animation: fadeIn .4s ease-in 0s 1 normal;
}
@keyframes fadeIn {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}
/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #f5e5d2;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #000;
    text-decoration: none;
}

a:visited {
	color: #000;
}

a:hover,
a:focus,
a:active {
	color: #000;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}


.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #874529;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
/*カスタマイズ*/
.entry-content a {
    text-decoration: underline;
}
blockquote {
    margin: 0 1.5em;
    padding: 0.5em;
    display: inline-block;
    background-color: #eee;
}
blockquote p {
    margin: 0;
}
.post .btn-wrap {
    margin: 2em auto;
}
main#primary {
    margin-top: 130px;
}
.single main#primary {
    margin-top: 38em;
}
body.single, body.archive, body.category, body.page {
    background-color: #e7c39f;
    background: #fff;
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e7c39f));
    background: -webkit-linear-gradient(top, #fff 0%, #e7c39f 100%);
    background: linear-gradient(to bottom, #fff 0%, #e7c39f 100%);
}
body.lv2 {
    background-color: #e7c39f;
    background: #fff;
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e7c39f));
    background: -webkit-linear-gradient(top, #fff 0%, #e7c39f 100%);
    background: linear-gradient(to bottom, #fff 0%, #e7c39f 100%);
}
body.lv3 {
    background-color: #e7c39f;
    background: #fff;
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e7c39f));
    background: -webkit-linear-gradient(top, #fff 0%, #e7c39f 100%);
    background: linear-gradient(to bottom, #fff 0%, #e7c39f 100%);
}
.lv2 footer#colophon {
    background-color: #e7c39f;
}
.lv3 footer#colophon {
    background-color: #e7c39f;
}
article {
    background-color: #fff;
    width: 90%;
    margin: 0 auto 20px;
    max-width: 1000px;
    border-radius: 10px;
    padding: 1em;
    box-shadow: 1px 1px 3px black;
    position: relative;
}
.archive article {
    height: 0;
    padding-top: 22%;
    background-size: cover;
    background-position: center center;
    background-color: #000;
    position: relative;
    cursor: pointer;
}
.archive article::after{
  content: "";
  position: absolute;
  z-index: 1;
  width: 100%;
  height:100%;
  top: 0;
  left: 0;
  background-color: #000;
  opacity: 0.4;
    border-radius: 10px;
}
.archive header.entry-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 2px black;
    z-index: 2;
}
.archive footer.entry-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1em;
    color: #fff;
    text-shadow: 1px 1px 2px black;
    z-index: 2;
}
.single h1.entry-title {
    text-align: center;
    font-size: 24px;
    color: #fff;
    text-shadow: 1px 1px 2px black;
}
.single header.entry-header {
    margin-bottom: 10vh;
    z-index: 5;
    position: relative;
}
.single .post-thumbnail {
    text-align: center;
    position: absolute;
    top: -30em;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1;
}
ul.main-menu, .list-wrap ul {
    margin: 0;
    padding: 0;
    width: 100%;
    display: inline-block;
	list-style: none;
}
ul.main-menu li {
    width: 25%;
	float: left;
    aspect-ratio: 1;
    padding: 3%;
    box-sizing: border-box;
	text-align: center;
}
.archive-modal-close {
  display: block;
  position: relative;
  width: 30px;
  height: 30px;
  border: 2px solid #333; /* 枠の調整 */
  border-radius: 50%;  /* 丸みの度合い */
  background: #fff; /* ボタンの背景色 */
}
.archive-modal-close::before, .archive-modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px; /* 棒の幅（太さ） */
  height: 22px; /* 棒の高さ */
  background: #333; /* バツ印の色 */
}
.archive-modal-close::before {
  transform: translate(-50%,-50%) rotate(45deg);
}
.archive-modal-close::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}
ul.main-menu li a {
    font-weight: bold;
    text-shadow: 1px 1px 2px #808080;
    border-radius: 10px;
    display: block;
    width: 100%;
    height: 100%;
    padding: 18% 1%;
    border: 5px solid #a65332;
    background-color: #a65332;
    background: #ce9465;
    background: -webkit-gradient(linear, left top, left bottom, from(#ce9465), to(#ce9465));
    background: -webkit-linear-gradient(top, #ce9465 0%, #ce9465 100%);
    background: linear-gradient(to bottom, #ce9465 0%, #ce9465 100%);
    position: relative;
    font-size: 30px;
}
ul.main-menu li a:hover {
  background: -webkit-gradient(linear, left bottom, left top, from(#ce9465), to(#ce9465));
  background: -webkit-linear-gradient(bottom, #ce9465 0%, #ce9465 100%);
  background: linear-gradient(to top, #ce9465 0%, #ce9465 100%);
}
ul.main-menu li a span {
    position: absolute;
    width: 84%;
    height: 42%;
    left: 0;
    bottom: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 8%;
}
ul.main-menu li#list-page a span {
    background-image: url(./images/map.png);
}
ul.main-menu li#howto-page a span {
    background-image: url(./images/howto.png);
}
ul.main-menu li#my-page a span {
    background-image: url(./images/my.png);
}
ul.main-menu li#login-page a span {
    background-image: url(./images/login.png);
}
ul.main-menu li#info-page a span {
    background-image: url(./images/bell.png);
}
ul.main-menu li#new-page a span {
    background-image: url(./images/pen.png);
}
ul.main-menu li#config-page a span {
    background-image: url(./images/gear.png);
}
.home .main_content {
    position: relative;
    padding-top: 60%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.list-wrap {
    margin: 0 auto;
    max-width: 700px;
}
.list-wrap ul li {
    width: 100%;
    border-radius: 5px;
    box-sizing: border-box;
    float: left;
    margin-bottom: 0.5em;
    background-image: linear-gradient(90deg, rgba(48, 97, 96, 1), rgba(41, 191, 188, 1));
    overflow: hidden;
}
.list-wrap ul li.level2 {
    background-image: linear-gradient(90deg, #874529, #a65332);
}
.list-wrap ul li.level3 {
    background-image: linear-gradient(90deg, #874529, #e7c39f);
}
.list-wrap ul li.no-get {
    background-image: none;
    opacity: 0.7;
    background-color: #000;
}
.list-wrap ul a {
    display: block;
}
.list-r {
    width: 20%;
    float: left;
    height: 5em;
    position: relative;
    background-size: cover;
    background-position: center;
}
.list-r span {
    text-shadow: 1px 1px 2px black;
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
    top: 31%;
    font-size: 36px;
    color: #fff;
}
.list-m {
    width: 80%;
    float: left;
	padding-left: 5px;
    box-sizing: border-box;
}
.list-u, .list-b {
    width: 100%;
    float: left;
}
h1.entry-title, article h2 {
    color: #874529;
    text-align: center;
    font-size: 26px;
}
.category-info article h2 {
    color: #fff;
}
article h3, .entry-content #wpmem_login legend, .entry-content #wpmem_reg legend, #primary #wpmem_login legend {
    font-size: 20px;
    display: inline-block;
    background-color: #e7c39f;
    line-height: 30px;
    border-radius: 15px;
    padding: 0 2em;
    color: #333;
    position: relative;
    width: initial;
}
article h3::after {
    content: "";
    display: block;
    top: 14px;
    left: 100%;
    position: absolute;
    width: 70vw;
    max-width: 800px;
    height: 2px;
    background: #e7c39f;
    font-size: 20px;
}
article .post-wrap h3::after {
    display: none;
}
.entry-content #wpmem_login, .entry-content #wpmem_msg, .entry-content #wpmem_reg, .wpmem_msg {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}
.list-u h4 {
	color: #fff;
    margin: 0;
    padding: 5px;
    font-size: 14px;
}
.list-b {
    font-size: 12px;
    height: 2em;
    color: #fff;
    overflow: hidden;
}
.list-b p {
    text-align: center;
    margin: 0;
    font-size: 18px;
}
.car {
    top: 10%;
    width: 30%;
    left: 2%;
    position: absolute;
    max-width: 150px;
}
footer#colophon {
    clear: both;
    padding: 8em 1em 0.5em;
    text-align: center;
    font-size: 0.8em;
    background-color: #e7c39f;
}
header#masthead {
    background-image: url(./images/kawara.png);
    background-size: contain;
    background-repeat: repeat no-repeat;
    background-position-y: top;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    height: 150px;
}
article {
    width: 90%;
    margin: 0 auto 20px;
    max-width: 1000px;
}
li.page_item {
    background-color: #fff;
    padding: 0.5em;
    margin-right: 0.5%;
    border-radius: 5px;
    border: 1px solid #000;
}
.single .post-thumbnail, .single .entry-content, .single .comments-area {
    width: 100%;
    padding: 1em;
    margin: 0 auto;
    box-sizing: border-box;
    max-width: 800px;
}
.single .post-thumbnail {
    text-align: center;
    max-height: 40em;
    overflow: hidden;
}
.start {
	background: #FFF;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 9000;
}
.start p {
    text-align: center;
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: none;
	z-index: 9999;
	width: 90%;
max-width: 900px;
}
.home-wrap {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}
.back-wrap {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}
.home-wrap a, .back-wrap a {
    display: block;
    width: 50px;
    border: 2px solid #fff;
    height: 50px;
    border-radius: 50px;
    padding: 7px;
    background-color: #ce9465;
    box-shadow: 2px 2px 4px black;
}
.point-list-wrap {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-block;
    width: 100%;
}
.point-list-wrap li {
    width: 18%;
    float: left;
    margin: 1%;
    height: 0;
    padding-top: 18%;
    border-radius: 5px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    background: linear-gradient(0deg, rgba(48, 97, 96, 1), rgba(41, 191, 188, 1));
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.point-list-wrap li.level2 {
    background: linear-gradient(0deg, #a65332, #a65332);
}
.point-list-wrap li.level3 {
    background: linear-gradient(0deg, #a65332, #a65332);
}
.point-list-wrap li a {
    position: absolute;
    top: 0;
    font-size: 13px;
    padding: 5px;
    font-weight: bold;
    display: block;
    color: #fff;
    text-shadow: 1px 1px 2px black;
    height: 100%;
    width: 100%;
}
.point-list-wrap li a span {
    display: inline-block;
    position: absolute;
    left: 0;
    top: 36%;
    text-align: center;
    width: 100%;
    font-size: 35px;
}
.point-list-wrap li a span.date-str {
    font-size: 14px;
    bottom: 10px;
    top: initial;
}
a.btn, input.btn, input[type="submit"].buttons, #wpmem_reg form input[type="submit"].buttons,  #wpmem_login input[type="submit"].buttons {
    display: block;
    text-align: center;
    background-color: #fff;
    color: #874529;
    font-size: 18px;
    border: 2px solid #874529;
    padding: 11px;
    line-height: 20px;
    border-radius: 22px;
    max-width: 300px;
    width: 50%;
    margin: 0 auto 10px;
    font-weight: bold;
	text-decoration: none;
}
.btn:hover, .buttons:hover {
   opacity: 0.7;
}
#wpmem_login input[type="submit"].buttons {
    width: 63%;
}
.regist-wrap {
    position: fixed;
    bottom: 0;
    right: 37%;
    left: 37%;
    width: 26%;
    text-align: center;
    z-index: 999;
}
p#namae {
    text-align: center;
    font-weight: bold;
    margin: 3em 0;
}
.regist-wrap button {
    margin-bottom: 30px;
    width: 80px;
    height: 80px;
    border-radius: 40px;
    border: 5px solid #fff;
    font-size: 20px;
    padding-left: 0;
    padding-right: 0;
    font-weight: bold;
    box-shadow: 2px 2px 4px black;
    background-color: #a65332;
    background: #ce9465;
    background: -webkit-gradient(linear, left top, left bottom, from(#ce9465), to(#ce9465));
    background: -webkit-linear-gradient(top, #ce9465 0%, #ce9465 100%);
    background: linear-gradient(to bottom, #ce9465 0%, #ce9465 100%);
    text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px -1px 0 #FFF, 0px 1px 0 #FFF, 0-1px 0 #FFF, -1px 0 0 #FFF, 1px 0 0 #FFF;
}
.post-wrap {
    max-width: 500px;
    margin: 1em auto 5em;
    padding: 1em;
    border: 1px solid #874529;
}
input {
    max-width: 100%;
}
.regi-left {
    float: left;
    width: 30%;
    text-align: center;
    margin: 1.2em 0 2em;
}
.regi-right {
    width: 70%;
    float: left;
    margin: 1em 0 2em;
}
.regist-wrap button:hover {
    cursor: pointer;
}
#distance {
    position: absolute;
    font-size: 30px;
    text-align: center;
    width: 96%;
    padding: 1em 0;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px black;
}
a.no-get {
    opacity: 0.6;
    background-color: #000;
}
#level {
    padding: 1em;
    text-align: center;
}
.post-wrap #wpmem_login {
    width: 100%;
}
span.level {
    font-weight: bold;
    padding: 5px 20px;
    border-radius: 5px;
}
.counter {
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
}
#count-bar {
    width: 100%;
    height: 20px;
    border-radius: 10px;
    background-color: #000;
    overflow: hidden;
}
#count-bar-inner {
    background-color: #a65332;
    height: 20px;
    width: 0%;
    border-radius: 10px;
    background: -moz-linear-gradient(top, #a65332, #874529);
    background: -webkit-linear-gradient(top, #a65332, #874529);
    background: linear-gradient(to bottom, #a65332, #874529);
}
span.bronze {
background: #f5e5d2; /* Old browsers */
background: -moz-linear-gradient(top,  #f5e5d2 0%, #ce9465 50%, #a65332 51%, #e7c39f 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #f5e5d2 0%,#ce9465 50%,#a65332 51%,#e7c39f 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #f5e5d2 0%,#ce9465 50%,#a65332 51%,#e7c39f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5e5d2', endColorstr='#e7c39f',GradientType=0 ); /* IE6-9 */

}
span.silver {
background: #e2e2e2; /* Old browsers */
background: -moz-linear-gradient(top,  #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #e2e2e2 0%,#dbdbdb 50%,#d1d1d1 51%,#fefefe 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #e2e2e2 0%,#dbdbdb 50%,#d1d1d1 51%,#fefefe 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#fefefe',GradientType=0 ); /* IE6-9 */
}
span.gold {
background: #f5e5d2; /* Old browsers */
background: -moz-linear-gradient(top,  #f5e5d2 0%, #ce9465 50%, #a65332 51%, #e7c39f 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #f5e5d2 0%,#ce9465 50%,#a65332 51%,#e7c39f 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #f5e5d2 0%,#ce9465 50%,#a65332 51%,#e7c39f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5e5d2', endColorstr='#e7c39f',GradientType=0 ); /* IE6-9 */
}
div#comment-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}
.car2 {
    width: 30%;
    padding: 1em;
    box-sizing: border-box;
    float: left;
}
@keyframes bl {
  0% {
    border: 5px solid #fff;
  }
  100% {
    border: 5px solid #a65332;
  }
}
.bl {
  animation: bl 1s ease infinite alternate;
}
@keyframes yl {
  0% {
    border: 5px solid #fff;
  }
  100% {
    border: 5px solid #a65332;
  }
}
.yl {
  animation: yl 1s ease infinite alternate;
}
@keyframes rd {
  0% {
    border: 5px solid #fff;
  }
  100% {
    border: 5px solid #a65332;
  }
}
.rd {
  animation: rd 1s ease infinite alternate;
}
.fukisashi {
    width: 62%;
    float: left;
    margin: 4%;
    box-sizing: border-box;
    height: 6em;
    text-align: center;
    padding: 1em;
    position:relative;
    background:#ce9465;
    text-align:left;
    color:#333333;
    font-size:16px;
    font-weight:bold;
    border-radius:15px;
    -webkit-border-radius:15px;
    -moz-border-radius:15px;
}
.fukisashi:after{
    border: solid transparent;
    content:'';
    height:0;
    width:0;
    pointer-events:none;
    position:absolute;
    border-color: rgba(90, 230, 40, 0);
    border-top-width:10px;
    border-bottom-width:10px;
    border-left-width:30px;
    border-right-width:30px;
    margin-top: -10px;
    border-right-color:#ce9465;
    right:100%;
    top:50%;
}
.link-menu {
    margin: 1em auto;
    padding: 1em;
    list-style: none;
    width: 100%;
    display: flex;
    max-width: 300px;
}
.link-menu li {
    width: 31.3%;
    margin: 0 1%;
    float: left;
    padding: 0;
    text-align: center;
    border-radius: 3px;
    display: inline-block;
    border-bottom: 3px solid #e7c39f;
    box-shadow: 1px 1px 3px #000;
}
.link-menu li a {
    padding: 1em 0;
    display: block;
}
.slick-track {
  display: flex!important;
}
.slick-slide {
    position: relative;
    height: auto !important;
    max-height: 75vw;
}
.simple {
    position: relative;
}
.slick-slide p, .simple p {
    font-weight: 500;
    position: absolute;
    top: 10px;
    width: 100%;
    padding: 2%;
    font-size: 16px;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
}
.slick-dotted.slick-slider {
    margin: 3em 0 4em!important;
}
.howto dt {
    margin: 2em 0 1em;
}
.howto dd {
    border: 1px solid #874529;
    padding: 1em;
    margin: 0 0 3em;
    border-radius: 10px;
}
.howto dd a.btn {
    margin: 2em auto;
}
/* モーダル */
#info-modal {
    width: 50%;
    margin: 0;
    padding: 0;
    background: #fff;
    position: fixed;
    display: none;
    z-index: 9999;
    font-size: 14px;
    border-radius: 12px;
    overflow: hidden;
}
.archive-modal-content {
    width: 90%;
    min-height: 150px;
    left: 0;
    right: 0;
    top: 50px;
    margin: 0 auto;
    padding: 1em;
    background: #fff;
    position: fixed;
    display: none;
    z-index: 9999;
    font-size: 16px;
    border-radius: 12px;
    overflow: hidden;
}
#modal-overlay {
	z-index: 9998;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 120%;
	background-color: rgba( 0,0,0, 0.75 ) ;
}
#info-modal .status-wrap {
    background-size: cover;
    background-position: center;
    min-height: 115px;
    background-repeat: no-repeat;
    position: relative;
    padding: 50px 20px;
    background-color: #000;
    text-align: center;
    color: #fff;
    font-size: 22px;
    text-shadow: 1px 1px 2px black;
}
#info-modal .btn-wrap {
    padding: 20px;
}
.header-menu {
     width: 60%;
    position: fixed;
    right: 0;
    margin-top: 0;
    text-align: right;
    padding: 1em 0.4em 0 0;
    box-sizing: border-box;
    z-index: 4;
}
.header-menu a {
    padding: 5px 10px;
    color: #fff;
    line-height: 15px;
    border-radius: 15px;
    background-color: #59bb4bba;
}
p.site-image {
    width: 67%;
    margin: -10px 0 0 -10px;
    max-width: 300px;
}
.site-branding {
    width: 70%;
    position: fixed;
    left: 0;
    top: 0;
    padding: 1em 0 1em 1em;
    z-index: 3;
}
p.site-user {
    margin: 0;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000;
}
p.site-user a {
    color: #fff;
}
.wpmem_msg a {
    display: none;
}
 .wpmem_msg {
    margin: 0 auto;
}


@media screen and (max-width: 1200px) {
ul.main-menu li a {
    font-size: 24px;
}
}
@media screen and (max-width: 900px) {
#info-modal {
    width: 80%;
}
.single main#primary {
    margin-top: 35em;
}
.single .post-thumbnail {
    top: -25em;
    max-height: 36em;
}
.single header.entry-header {
    margin-bottom: 7em;
}
.slick-slide p {
    width: 82vw;
}
ul.main-menu li a {
    font-size: 20px;
}
}
@media screen and (max-width: 750px) {
.single main#primary {
    margin-top: 32em;
}
.single .post-thumbnail {
    top: -21em;
    max-height: 31em;
}
.single header.entry-header {
    margin-bottom: 6em;
}
article h3::after, #wpmem_login legend::after, #wpmem_reg legend::after {
    width: 68vw;
}
.point-list-wrap li a span.date-str {
    font-size: 12px;
    bottom: 6px;
}
.slick-slide p {
    width: 81vw;
}
ul.main-menu li a {
    font-size: 16px;
}
}
@media screen and (max-width: 640px) {
    ul.main-menu li {
        width: 33.3%;
    }
    article {
        padding: 1em 0.5em 2em;
    }
.point-list-wrap li {
    width: 23%;
    padding-top: 23%;
}
header#masthead {
    background-size: 15%;
}
#info-modal {
    width: 90%;
}
.single main#primary {
    margin-top: 70vw;
}
.single .post-thumbnail {
    max-height: 22em;
    top: -46vw;
}
.single header.entry-header {
    margin-bottom: 6vw;
}
h2 {
    font-size: 20px;
}
article h3::after, #wpmem_login legend::after, #wpmem_reg legend::after {
    width: 60vw;
}
h1.entry-title, article h2 {
    font-size: 22px;
}
.list-r span {
    font-size: 28px;
}
.point-list-wrap li a span {
    top: 46%;
    font-size: 26px;
}
.slick-slide p {
    font-size: 14px;
}
.map-wrap iframe {
    height: 400px;
}
}
@media screen and (max-width: 500px) {
    ul.main-menu li {
        width: 50%;
    }
a.btn, input.btn {
    width: 60%;
}
h2 {
    font-size: 16px;
}
.single .post-thumbnail {
    max-height: 19em;
}
article h3::after, #wpmem_login legend::after, #wpmem_reg legend::after {
    width: 50vw;
}
.point-list-wrap li a span {
    top: 35%;
}
h1.entry-title, article h2 {
    font-size: 20px;
}
.point-list-wrap li a {
    font-size: 11px;
}
.slick-slide p {
    width: 79vw;
    font-size: 13px;
}
.regi-left {
    font-size: 14px;
    margin: 1.5em 00;
}
a.btn, input.btn, input[type="submit"].buttons, #wpmem_reg form input[type="submit"].buttons,  #wpmem_login input[type="submit"].buttons {
    font-size: 16px;
}
#wpmem_login input[type="submit"].buttons {
    width: 68%;
}
.map-wrap iframe {
    height: 350px;
}
}
@media screen and (max-width: 400px) {
.point-list-wrap li {
    width: 31.3%;
    padding-top: 31.3%;
}
a.btn, input.btn {
    width: 70%;
}
.single .post-thumbnail {
    max-height: 17em;
}
article h3::after, #wpmem_login legend::after, #wpmem_reg legend::after {
    width: 45vw;
}
h1.entry-title, article h2 {
    font-size: 18px;
}
.list-r span {
    font-size: 28px;
}
.slick-slide p {
    width: 79vw;
    font-size: 12px;;
}
.header-menu {
    font-size: 14px;
}
.map-wrap iframe {
    height: 300px;
}
}
@media screen and (max-width: 350px) {
a.btn, input.btn {
    width: 80%;
}
.single main#primary {
    margin-top: 62vw;
}
.single .post-thumbnail {
    top: -43vw;
}
.single header.entry-header {
    margin-bottom: 0;
}
.single h1.entry-title {
    font-size: 20px;
}
h2 {
    font-size: 16px;
}
.single .post-thumbnail {
    max-height: 14em;
}
article h3::after, #wpmem_login legend::after, #wpmem_reg legend::after {
    width: 40vw;
}
h1.entry-title, article h2 {
    font-size: 16px;
}
.list-r span {
    font-size: 24px;
}
.map-wrap iframe {
    height: 250px;
}
}

/* =========================
   HOME アプリ風デザイン 上書き
========================= */

.home main#primary {
  margin-top: 72px;
}

.home .content,
.home .main_section {
  min-height: calc(100dvh - 72px);
}

.home .main_content {
  position: relative;
  min-height: calc(100dvh - 72px);
  padding-top: 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* 背景をアプリのホーム画面風に暗くして文字を見やすく */
.home .main_content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.08) 0%,
      rgba(0,0,0,.15) 35%,
      rgba(0,0,0,.58) 100%
    );
  pointer-events: none;
}

/* キャラクター */
.home .car {
  position: absolute;
  z-index: 2;
  top: 9%;
  left: 2%;
  width: 30%;
  max-width: 145px;
  animation: appCarFloat 2.6s ease-in-out infinite;
  will-change: transform;
  pointer-events: none;
}

@keyframes appCarFloat {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

/* メニュー全体 */
.home ul.main-menu {
  position: absolute;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 3;

  width: min(92vw, 430px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;

  margin: 0;
  padding: 0;
  list-style: none;
}

/* 既存の float / width を無効化 */
.home ul.main-menu li {
  float: none;
  width: auto;
  aspect-ratio: auto;
  padding: 0;
  margin: 0;
  text-align: center;
}

/* アプリアイコン風カード */
.home ul.main-menu li a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  height: 150px;
  min-height: 0;
  padding: 18px 10px 16px;

  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.65);

  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.36) 0%,
      rgba(255,193,7,.92) 45%,
      rgba(255,148,0,.95) 100%
    );

  box-shadow:
    0 12px 28px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.65),
    inset 0 -4px 10px rgba(180,90,0,.28);

  text-shadow: 0 2px 4px rgba(0,0,0,.35);
  overflow: hidden;

  transition:
    transform .16s ease,
    box-shadow .16s ease,
    filter .16s ease;
}

/* 光沢 */
.home ul.main-menu li a::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 45%;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.45),
    rgba(255,255,255,0)
  );
  pointer-events: none;
}

/* タップ感 */
.home ul.main-menu li a:active {
  transform: scale(.94);
  box-shadow:
    0 6px 16px rgba(0,0,0,.35),
    inset 0 2px 8px rgba(0,0,0,.18);
  filter: brightness(.96);
}

/* アイコン */
.home ul.main-menu li a span {
  position: static;
  display: block;

  width: 64px;
  height: 64px;
  margin: 18px auto 0;

  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,.25));
}

/* 最後が1個だけなら中央寄せ */
.home ul.main-menu li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc((100% - 14px) / 2);
  justify-self: start;
}

/* ヘッダーを少しアプリバー風に */
header#masthead {
  height: 72px;
  background-size: auto 72px;
  box-shadow: 0 3px 12px rgba(0,0,0,.28);
}

.site-branding {
  padding: 8px 0 8px 10px;
}

p.site-image {
  width: 62%;
  max-width: 260px;
  margin: -4px 0 0 -8px;
}

.header-menu {
  padding: 12px 8px 0 0;
}

.header-menu a {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ce9465, #a65332);
  box-shadow:
    0 3px 8px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.45);
}

/* 下部の戻るボタンもアプリ風に */
.home-wrap,
.back-wrap {
  bottom: calc(18px + env(safe-area-inset-bottom));
}

.home-wrap a,
.back-wrap a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.9);
  background: linear-gradient(180deg, #ce9465, #a65332);
  box-shadow:
    0 8px 18px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.55);
}

/* スマホ調整 */
@media screen and (max-width: 500px) {
  .home main#primary {
    margin-top: 72px;
  }

  .home .main_content {
    min-height: calc(100dvh - 72px);
  }

  .home ul.main-menu {
    bottom: calc(18px + env(safe-area-inset-bottom));
    gap: 12px;
    width: calc(100vw - 26px);
  }

  .home ul.main-menu li a {
    height: 150px;
    border-radius: 14px;
    font-size: 16px;
  }

  .home ul.main-menu li a span {
    width: 66px;
    height: 66px;
    margin-top: 18px;
  }

  .home .car {
    top: 10%;
    width: 31%;
  }
}
.home .car.car-start {
  animation:
    carStartMove 1.2s ease-out forwards,
    appCarFloat 2.6s ease-in-out 1.2s infinite;
}

@keyframes carStartMove {
  from {
    left: -24%;
    opacity: 0;
  }
  to {
    left: 2%;
    opacity: 1;
  }
}
.home ul.main-menu li a {
  height: 128px;
}

.home ul.main-menu li a span {
  width: 58px;
  height: 58px;
}
@media screen and (max-width: 380px) {
  .home ul.main-menu li a {
    height: 132px;
    font-size: 14px;
  }

  .home ul.main-menu li a span {
    width: 56px;
    height: 56px;
  }
}

/* =========================
   footer.php アプリ風UI
========================= */

/* 下部固定ボタン共通 */
.home-wrap,
.back-wrap {
  position: fixed;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 1000;
}

.home-wrap {
  left: 18px;
}

.back-wrap {
  right: 18px;
}

.home-wrap a,
.back-wrap a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;
  padding: 12px;

  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.75);

  background:
    linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.12)),
    linear-gradient(180deg, #ce9465, #a65332);

  box-shadow:
    0 10px 24px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.65),
    inset 0 -4px 8px rgba(0,0,0,.12);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transition:
    transform .16s ease,
    box-shadow .16s ease,
    filter .16s ease;
}

.home-wrap a:active,
.back-wrap a:active {
  transform: scale(.9);
  box-shadow:
    0 5px 14px rgba(0,0,0,.3),
    inset 0 2px 8px rgba(0,0,0,.2);
  filter: brightness(.96);
}

.home-wrap img,
.back-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* 中央の検索／登録ボタン */
.regist-wrap {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: calc(18px + env(safe-area-inset-bottom));
  transform: translateX(-50%);

  width: auto;
  z-index: 1001;
  text-align: center;
}

.regist-wrap button {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0;
  padding: 0;

  border-radius: 50%;
  border: 4px solid rgba(255,255,255,.95);

  color: #593321;
  font-size: 18px;
  font-weight: 900;

  background:
    radial-gradient(circle at 35% 25%, #e7c39f 0%, #ce9465 35%, #a65332 100%);

  box-shadow:
    0 14px 30px rgba(0,0,0,.34),
    inset 0 2px 0 rgba(255,255,255,.8),
    inset 0 -6px 12px rgba(160,80,0,.28);

  text-shadow:
    1px 1px 0 rgba(255,255,255,.65);

  cursor: pointer;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    filter .16s ease;
}

.regist-wrap button::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 210, 0, .45);
  animation: appPulse 1.6s ease-out infinite;
}

.regist-wrap button:active {
  transform: scale(.92);
  box-shadow:
    0 7px 18px rgba(0,0,0,.34),
    inset 0 4px 10px rgba(0,0,0,.18);
}

@keyframes appPulse {
  0% {
    transform: scale(.82);
    opacity: .9;
  }
  100% {
    transform: scale(1.22);
    opacity: 0;
  }
}

/* 距離による点滅をアプリ通知風に */
.regist-wrap button .rader,
.regist-wrap button #rader {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.bl,
.yl,
.rd {
  animation-duration: .85s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes bl {
  0% {
    box-shadow: 0 0 0 0 rgba(0,122,255,.45);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(0,122,255,0);
  }
}

@keyframes yl {
  0% {
    box-shadow: 0 0 0 0 rgba(255,230,0,.55);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(255,230,0,0);
  }
}

@keyframes rd {
  0% {
    box-shadow: 0 0 0 0 rgba(255,0,0,.5);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(255,0,0,0);
  }
}

/* フッター本体 */
footer#colophon {
  padding: 4em 1em calc(100px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 13px;

  background:
    linear-gradient(180deg, rgba(255,255,255,0), rgba(167,237,150,.9));
}

.site-info a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;

  color: #874529;
  font-weight: bold;
  text-decoration: none;

  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.7);

  box-shadow:
    0 4px 12px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.7);
}

/* モーダル背景 */
#modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,.48);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  z-index: 9998;
}

/* モーダルをアプリのボトムシート風に */
#info-modal {
  position: fixed !important;
  left: 50% !important;
  top: auto !important;
  bottom: calc(18px + env(safe-area-inset-bottom)) !important;
  transform: translateX(-50%);

  width: min(92vw, 430px);
  margin: 0;
  padding: 0;

  border-radius: 28px;
  overflow: hidden;

  background: rgba(255,255,255,.94);
  box-shadow:
    0 18px 45px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.9);

  z-index: 9999;
}

/* ボトムシート上部のつまみ */
#info-modal::before {
  content: "";
  display: block;
  width: 48px;
  height: 5px;
  margin: 10px auto 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
}

/* モーダル内の画像エリア */
#info-modal .status-wrap {
  position: relative;
  min-height: 170px;
  padding: 48px 22px 34px;

  background-size: cover;
  background-position: center;
  background-color: #222;

  color: #fff;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
}

#info-modal .status-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.58));
  z-index: 0;
}

#info-modal .status-wrap > * {
  position: relative;
  z-index: 1;
}

#info-modal .point-name {
  font-size: 18px;
  font-weight: 800;
}

#info-modal .point-dist {
  margin-top: 10px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: .04em;
}

/* 詳細を見る／閉じるボタン */
#info-modal .btn-wrap {
  padding: 18px 20px 22px;
  background: rgba(255,255,255,.96);
}

#info-modal a.btn,
#info-modal input.btn,
#modal-close {
  width: 100%;
  max-width: none;
  margin: 0 0 10px;
  padding: 14px 16px;

  border-radius: 16px;
  border: none;

  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;

  box-shadow:
    0 5px 14px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.65);

  transition: transform .16s ease, filter .16s ease;
}

#info-modal a.btn {
  color: #fff;
  background: linear-gradient(180deg, #a65332, #874529);
}

#info-modal input.btn,
#modal-close {
  color: #874529;
  background: #f5e5d2;
}

#info-modal a.btn:active,
#info-modal input.btn:active,
#modal-close:active {
  transform: scale(.97);
  filter: brightness(.96);
}

/* ポイント詳細ページの吹き出しモーダル */
#comment-wrap {
  padding: 18px 18px 6px;
}

.car2 {
  width: 28%;
  padding: 8px;
}

.fukisashi {
  width: 64%;
  margin: 4% 0 4% 4%;
  min-height: 86px;
  height: auto;

  display: flex;
  align-items: center;

  background: linear-gradient(180deg, #e7c39f, #ce9465);
  border-radius: 20px;

  box-shadow:
    0 6px 16px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.65);
}

/* 小さめ端末 */
@media screen and (max-width: 400px) {
  .home-wrap,
  .back-wrap {
    bottom: calc(14px + env(safe-area-inset-bottom));
  }

  .home-wrap {
    left: 14px;
  }

  .back-wrap {
    right: 14px;
  }

  .home-wrap a,
  .back-wrap a {
    width: 52px;
    height: 52px;
    padding: 11px;
  }

  .regist-wrap button {
    width: 78px;
    height: 78px;
    font-size: 16px;
  }

  #info-modal {
    width: calc(100vw - 24px);
    border-radius: 24px;
  }
}

/* =========================
   ポイントリスト アプリ風デザイン
========================= */

.page-template-page-list main#primary,
.page-template-page_point_list main#primary {
  margin-top: 88px;
}

/* 記事カード全体 */
.page-template-page-list article,
.page-template-page_point_list article {
  width: min(94vw, 980px);
  padding: 18px 16px 110px;
  margin: 0 auto 24px;

  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.72);

  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.84));

  box-shadow:
    0 16px 38px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.9);

  overflow: hidden;
}

/* 上部レベルタブ */
.link-menu {
  position: sticky;
  top: 82px;
  z-index: 20;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;

  width: 100%;
  max-width: 520px;
  margin: 0 auto 28px;
  padding: 8px;

  list-style: none;

  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.8);

  box-shadow:
    0 8px 22px rgba(0,0,0,.13),
    inset 0 1px 0 rgba(255,255,255,.9);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.link-menu li {
  width: auto;
  margin: 0;
  padding: 0;

  border: none !important;
  border-radius: 999px;
  box-shadow: none;
  overflow: hidden;
}

.link-menu li a {
  display: block;
  padding: 12px 6px;

  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;

  background: linear-gradient(180deg, #ce9465, #a65332);
  box-shadow:
    0 5px 12px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.55);

  transition: transform .16s ease, filter .16s ease;
}

.link-menu li:nth-child(2) a {
  background: linear-gradient(180deg, #ce9465, #a65332);
}

.link-menu li:nth-child(3) a {
  background: linear-gradient(180deg, #e7c39f, #ce9465);
}

.link-menu li a:active {
  transform: scale(.94);
  filter: brightness(.96);
}

/* レベル見出し */
.single article h2, .list-page article h2 {
  position: relative;
  margin: 42px auto 22px;
  padding: 16px 18px;

  border-radius: 22px;

  color: #fff;
  font-size: 22px;
  font-weight: 900;
  text-align: left;

  background: linear-gradient(135deg, #ce9465, #a65332);
  box-shadow:
    0 10px 24px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.45);

  overflow: hidden;
}

.single article h2::before, .lst-page article h2::before {
  content: "";
  position: absolute;
  right: -28px;
  top: -34px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
}

.single article h2::after, .list-page article h2::after {
  content: "攻略レベル";
  position: absolute;
  right: 18px;
  bottom: 14px;

  color: rgba(255,255,255,.78);
  font-size: 12px;
  letter-spacing: .08em;
}

article h2#lv2 {
  background: linear-gradient(135deg, #ce9465, #a65332);
}

article h2#lv3 {
  background: linear-gradient(135deg, #e7c39f, #a65332);
}

/* 本丸・二の丸・三の丸 */
article h3 {
  display: flex;
  align-items: center;
  gap: 8px;

  margin: 28px 0 14px;
  padding: 0;

  color: #874529;
  font-size: 18px;
  font-weight: 900;

  background: none;
  border-radius: 0;
}

article h3::before {
  content: "";
  width: 8px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ce9465, #a65332);
}

article h3::after {
  display: none;
}
/* Kofun-road: restrained warm surfaces; original application layout retained. */
:root { --kr-background:#fbf6ee; --kr-surface:#fffdf9; --kr-text:#382c24; --kr-accent:#98452d; --kr-border:#dfcdb9; }
body { background:var(--kr-background); color:var(--kr-text); }
a,a:visited { color:var(--kr-accent); }
a:hover,a:focus { color:#70301f; }
.site-header { background:#f1e3d2; color:var(--kr-text); box-shadow:none; }
.site-footer { background:#f1e3d2; color:var(--kr-text); }
article { color:var(--kr-text); }
.page-template-page-list article,.page-template-page_point_list article { background:var(--kr-surface); border:1px solid var(--kr-border); box-shadow:none; border-radius:10px; }
.link-menu { background:#f1e3d2; border:1px solid var(--kr-border); box-shadow:none; backdrop-filter:none; }
.link-menu li a { background:#98452d; color:#fff; box-shadow:none; }
.link-menu li:nth-child(2) a { background:#87532b; }
.link-menu li:nth-child(3) a { background:#723b2c; }
.single article h2,.list-page article h2 { background:#98452d; box-shadow:none; border-radius:8px; }
article h2#lv2 { background:#87532b; }
article h2#lv3 { background:#723b2c; }
article h3 { color:#593321; }
article h3::before { background:#a65332; }
.btn,.btn:visited,.header-menu a,.header-menu a:visited { background:#98452d; color:#fff; box-shadow:none; }
.btn:hover,.header-menu a:hover { background:#70301f; color:#fff; }
:focus-visible { outline:3px solid #98452d; outline-offset:3px; }