/*!
Theme Name: hanamaru
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hanamaru
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.

hanamaru 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;
}

/**
 * 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: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", 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: #fff9c0;
	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: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

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;
}

.post,
.page {
	margin: 0;
}

.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: #21759b;
	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;
}

/*--------------------------------------------------------------
# swiper
--------------------------------------------------------------*/

.swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*--------------------------------------------------------------
# main
--------------------------------------------------------------*/

html {
	font-size: 54%;
}

html body{
font-family: "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
background-color:#e1254b;
font-weight:normal;
margin:0;
}

html body img{
vertical-align: top;
}

#header_title{
height: 70px;
width: 100%;
max-width:600px;
position: fixed;
top: 0;
left: 0;
z-index: 999;
background: #fff;
}	
	
#header_title h1{
margin: 0;
padding: 0;
}
	
#header_title h1 a{
text-decoration: none;
display: flex;
align-items: center;
height: 70px;
margin: 0 .8rem;
}

#header_title h1 a img{
max-height: 5rem;
padding-right: 1rem;
}

#header_title h1 a span{
background-image: linear-gradient(to bottom, #ee7c10, #d7063a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-size: 2.1rem;
  font-weight:bold;
}

main{
padding-top:70px;
width: 100%;
max-width: 600px;
background-color: #fff;
margin: 0 auto;
}

.title h2{
font-size:2.2rem;
text-align:center;
letter-spacing:.2rem;
color:#111;
margin:0;
}

.title h2 span{
color:#e1254b;
display: block;
text-align: center;
letter-spacing: .2rem;
font-size: 1.6rem;
font-weight:bold;
margin-bottom: .4rem;
}

#top_img{
  background-color:#fbfae9;
}

#top_img .top_swiper .swiper-slide {
  position: relative;
}

#top_img .top_swiper .swiper-slide img{
transform:scale(1.0);
transition-delay: 1.2s;
}

#top_img .top_swiper .swiper-slide-visible img{
transform:scale(1.03);
transition:5s;
transition-delay: .6s;
}

#top_img .top_swiper .swiper-slide .top_img_contain{
  position: absolute;
  bottom: 8%;
  left: 5%;
}

#top_img .top_swiper .swiper-slide .top_img_contain h2 span{
  display: inline-block;
  background-color: #e0244a;
  margin-bottom: 1rem;
  padding: 0 2rem;
  line-height: 1.8;
  font-size: 2.4rem;
  letter-spacing: 6px;
  color: #fff;
}

#top_img .top_swiper .swiper-slide .top_img_contain p{
  letter-spacing: 3px;
  font-size: 1.4rem;
  color: #fff;
  line-height: 1.8;
  width:95%;
  font-weight:bold;
}

#top_shop_info {
  background-color:#fbfae9;
}


.top_shop_info_case {
  background-color: #fff;
  width: 92%;
  margin: 0 auto;
  transform:translateY(-2rem);
  padding: 3rem 0;
  border-radius: 8px;
  position:relative;
  z-index: 99;
}

.top_shop_info_case table{
margin: 2.4rem auto 0 auto;
border-collapse: collapse;
border-spacing: 0;
width: 90%;
font-weight: 500;
}

.top_shop_info_case table tr{
border-bottom: solid 1px #dfdfdf;
display: flex;
justify-content: space-between;
align-items: center;
padding: .4rem 0;
}

.top_shop_info_case table tr th {
color:#111;
font-size: 1.4rem;
text-align: left;
width: 37%;
display: block;
letter-spacing: 1px;
font-weight: 500;
}


.top_shop_info_case table tr td {
color: #e1254b;
font-size: 1.4rem;
text-align: right;
width: 9%;
display: block;
font-weight: 500;
}

.top_shop_info_case table tr td.holiday{
color: #111;
}

.top_shop_info_case table tr:nth-child(1) th {
letter-spacing: 2px;
}

.top_shop_info_case table tr:nth-child(1) td {
color: #111;
}


.top_shop_info_case .calender_text_1{
width: 90%;
color: #111;
font-size:1.2rem;
font-weight: 500;
letter-spacing:1px;
margin:1.2rem auto 0 auto;
}

.top_shop_info_case .calender_text_2{
color: #b7b7b7;
width: 90%;
font-size:1.1rem;
font-weight: 500;
letter-spacing:1px;
margin:.6rem auto;
}

.shop_info_button {
padding:.8rem 0 4.8rem 0;
}

.shop_info_button ul{
list-style-type: none;
margin: 0 auto;
padding: 0;
display: flex;
width: 90%;
justify-content:space-between;
align-items:center;
}

.shop_info_button ul li{
width: 48%;
height: 5.4rem;
border-radius: 36px;
text-align: center;
background-color: #000;
padding-right:2.4rem;
position:relative;
}

.shop_info_button ul li.tel{
background-color:#e1254b;
}
.shop_info_button ul li.tel::after{
position: absolute;
  width: 2rem;
  height: 2rem;
  content: "";
  display: inline-block;
  top: 2px;
  bottom: 0;
  margin: auto 0;
  right: 3.1rem;
  background-image: url("https://seikotsuin-hanamaru.com//wp-content/themes/hanamaru/img/tel.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.shop_info_button ul li.line::after{
position: absolute;
  width: 2rem;
  height: 2rem;
  content: "";
  display: inline-block;
  top: 2px;
  bottom: 0;
  margin: auto 0;
  right: 3.1rem;
  background-image: url("https://seikotsuin-hanamaru.com//wp-content/themes/hanamaru/img/line.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.shop_info_button ul li.line{
background-color:#111;
}

.shop_info_button ul li a{
font-size: 1.4rem;
color: #fff;
font-weight: bold;
letter-spacing: 1px;
text-decoration: none;
line-height: 5.4rem;
display:block;
}


#about_us {
padding: 12.5rem 0;
width: 100%;
position: relative;
overflow: hidden;
}

#about_us::before {
  position: absolute;
  top: -2.5rem;
  left: 0;
  content: "";
  width: 100vw;
  max-width:600px;
  background: url("https://seikotsuin-hanamaru.com/wp-content/themes/hanamaru/img/bg_oval_top.png");
  height: 20rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top;
}

#about_us::after{
  position: absolute;
  bottom: -2.5rem;
  left: 0;
  content: "";
  width: 100vw;
  max-width:600px;
  background: url("https://seikotsuin-hanamaru.com/wp-content/themes/hanamaru/img/bg_oval_bottom.png");
  height: 20rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

#about_us .about_us_contents {
  width: 90%;
  margin: 0 auto;
}

#about_us .about_us_contents h2 {
font-size: 2rem;
text-align: center;
line-height: 1.8;
color: #111;
letter-spacing: 3px;
font-weight: bold;
margin: 2rem auto;
}

#about_us .about_us_contents h2 span{
display: inline;
background: linear-gradient(transparent 85%, #feefd1 50%);
position: relative;
}

#about_us .about_us_contents h2 span::after {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #fff;
  content: "";
  z-index:2;
  transform: translateX(0);
  transition :2s;
  transition-delay:0.2s;
}

#about_us .about_us_contents h2 span.bg::after {
  transform: translateX(600px);
}


#about_us .about_us_contents p {
font-size: 1.4rem;
text-align:left;
line-height:2;
color: #111;
letter-spacing: 2px;
font-weight:normal;
}

#shop_strengths{
margin:2rem auto 4rem auto;
}

#shop_strengths .shop_strengths_contents {
width: 90%;
margin: 2.4rem auto;
}

#shop_strengths .shop_strengths_contents p{
font-size: 1.4rem;
  letter-spacing: 2px;
  color: #111;
  padding-bottom: 1.6rem;
  margin-bottom: 0;
  padding-left: 2.4rem;
  background-image: linear-gradient(to right, #e1254b 5px, transparent 5px);
  background-size: 8px 1px;
  background-repeat: repeat-x;
  background-position: left bottom;
  margin-top: 1.6rem;
position:relative;
}

#shop_strengths .shop_strengths_contents p span{
  width: 1.6rem;
  height: 1.6rem;
  content: "";
  display: block;
  top: -1.4rem;
  bottom: 0;
  margin: auto;
  left: 0;
  position: absolute;
  background-image: url("https://seikotsuin-hanamaru.com//wp-content/themes/hanamaru/img/icon_check.png");
  background-size: 70%;
  background-repeat: no-repeat;
  background-color: #e1254b;
  background-position: center;
}

#shop_menu{
background-color: #e1254b;
padding: 4rem 0;
}

#shop_menu .title h2 {
  color: #fff;
}

#shop_menu .title h2 span {
  color: #fff;
}

#shop_menu .shop_menu_contents {
width: 90%;
  margin: 0 auto;
  padding-top: 2.4rem;
}

#shop_menu .shop_menu_contents figure{
background-color: #fff;
padding: 3.2rem;
border-radius: 8px;
margin-bottom:2.4rem;
}

#shop_menu .shop_menu_contents figure figcaption h2 {
  letter-spacing: 2px;
  text-align: center;
  color: #111;
  font-size: 1.6rem;
margin-top: 1.8rem;
font-weight: 500;
}

#shop_menu .shop_menu_contents figure figcaption p {
  letter-spacing: 2px;
  Text-align:left;
  color: #111;
  font-size: 1.4rem;
line-height:1.8;
margin-bottom:0;
}

#treatment_flow{
background-color: #fbfae9;
padding: 4rem 0;
}

#treatment_flow .treatment_flow_contents{
margin-top:6rem;
width:90%;
margin:0 auto;
padding-top: .4rem;
}

#treatment_flow .treatment_flow_contents figure{
border-radius: 8px;
background-color: #fff;
padding: 5.6rem 3.2rem 3.2rem 3.2rem;
margin-top: 6.8rem;
position:relative;
text-align:center;
}

#treatment_flow .treatment_flow_contents figure > p{
width: 6.4rem;
  height: 6.4rem;
  background-color: #e1254b;
  border-radius: 100%;
  display: inline-block;
  position: absolute;
  top: -3.2rem;
  left: 0;
  right: 0;
  margin: auto;
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-align: center;
  font-weight: bold;
}

#treatment_flow .treatment_flow_contents figure > p span {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: .8rem;
}

#treatment_flow .treatment_flow_contents figure > p span .num {
  font-size: 3rem;
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0.8;
}

#treatment_flow .treatment_flow_contents figure img {
  max-width: 84px;
  height: auto;
}

#treatment_flow .treatment_flow_contents figure figcaption h2{
letter-spacing: 2px;
text-align: center;
color: #111;
font-size:1.6rem;
font-weight: 500;
margin: 1.2rem auto 0 auto;
}

#treatment_flow .treatment_flow_contents figure figcaption p{
  letter-spacing: 2px;
  color: #111;
font-size:1.4rem;
line-height:1.8;
text-align: left;
}

#greeting{
width: 90%;
margin: 0 auto;
padding: 4rem 0;
}

#greeting .greeting_contents div{
margin:3.2rem auto 2.4rem auto;
}

#greeting .greeting_contents h2{
text-align: center;
  color: #111;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 3px;
}

#greeting .greeting_contents h2 span {
  font-size: 1.3rem;
  padding-right:.8rem;
  letter-spacing: 2px;
}

#greeting .greeting_contents h3 {
  text-align: center;
  color: #111;
  margin: -1.4rem;
  padding: 0;
  font-size: 1.1rem;
  letter-spacing: 4px;
  font-weight: 400;
}


#greeting .greeting_contents p {
line-height: 1.8;
  letter-spacing: 2px;
  color: #111;
  font-size: 1.4rem;
  padding-top: 2.2rem;
}

#treatment{
background-color: #fbfae9;
  padding: 4rem 0;
}

#treatment .swiper-pagination {
  position: static;
  display: flex;
  justify-content: center;
  width: 90%;
  margin: 0 auto;
  padding: 2.4rem 0;
}

#treatment .swiper-pagination .swiper-pagination-bullet {
  background-color: transparent;
  border: solid 1px #e1254b;
  font-size: 14px;
  width: 22%;
  max-width:80px;
  height: 30px;
  position: relative;
  color: #e1254b;
  border-radius: 18px;
  box-sizing: border-box;
  opacity: 1;
  margin: 0 .4rem;
}

#treatment .swiper-pagination .swiper-pagination-bullet-active{
  color: #fff;
  background-color: #e1254b;
}

#treatment .swiper-pagination .swiper-pagination-bullet::before {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  display: block;
  line-height: 28px;
  top: 0;
  bottom: 0;
}

#treatment .swiper-pagination .swiper-pagination-bullet:nth-child(1)::before {
  content: "首";
}

#treatment .swiper-pagination .swiper-pagination-bullet:nth-child(2)::before {
  content: "肩";
}

#treatment .swiper-pagination .swiper-pagination-bullet:nth-child(3)::before {
  content: "腰";
}

#treatment .swiper-pagination .swiper-pagination-bullet:nth-child(4)::before {
  content: "膝";
}

#treatment figure img{
border-radius:8px 8px 0 0;
}

#treatment figure figcaption{
border-radius:0 0 8px 8px;
background-color:#fff;
padding:2rem;
}

#treatment figure figcaption h2{
  letter-spacing: 2px;
  text-align: center;
  color: #111;
  margin-top:1.2rem;
font-size:1.6rem;
}


#treatment figure figcaption p{
color: #111;
line-height: 2;
letter-spacing: 2px;
font-size:1.2rem;
font-weight: 500;
}

footer{
padding-bottom:70px;
width: 100%;
max-width: 600px;
background-color: #fbfae9;
margin:0 auto;
}

footer h2,footer p{
margin: 0;
}

footer article{
width: 90%;
margin: 0 auto;
}

footer #footer_top .footer_top_title h2{
width: 60%;
padding:4rem 0 1.4rem 0;
}

footer #footer_top .footer_top_tel h2{
color: #111;
font-size: 11px;
font-weight: 600;
letter-spacing: 2px;
}

footer #footer_top .footer_top_tel h2 span{
display: block;
  font-size: 0.9rem;
  letter-spacing: 1px;
  line-height: 1.5;	
color: #b7b7b7;
}

footer #footer_top .footer_top_tel h2 a{
color: #e1254b;
font-size: 21px;
letter-spacing: 4px;
font-weight: bold;
display:block;
position: relative;
padding-left: 28px;
text-decoration: none;
}


footer #footer_top .footer_top_tel h2 a::before {
position: absolute;
width: 2.4rem;
height: 2.4rem;
content: "";
display: inline-block;
top: 3px;
bottom: 0;
margin: auto 0;
left:0;
background-image: url("https://seikotsuin-hanamaru.com//wp-content/themes/hanamaru/img/footer_tel.png");
background-size: contain;
background-repeat: no-repeat;
}

.footer_top_address{
padding:1.4rem 0;
}

.footer_top_address h2{
font-size: 1.2rem;
font-weight: 500;
font-stretch: normal;
line-height: 1.5;
letter-spacing: 2px;
color: #111;
}

.footer_top_address h2 span{
display:block;
}

.footer_top_address p {
font-size: 1.1rem;
font-weight: 500;
font-stretch: normal;
line-height: 1.5;
letter-spacing: 1px;
text-align: center;
color: #fff;
padding: 4px 8px;
border-radius: 4px;
background-color: #e1254b;
margin-top: 0.8rem;
display:inline-block;
}

footer #footer_top .footer_top_calendar table {
  margin:0 auto 1.6rem 0;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  font-weight: 500;
}

footer #footer_top .footer_top_calendar table tr {
  border-bottom: solid 1px #dfdfdf;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .4rem 0;
}

footer #footer_top .footer_top_calendar table tr th {
  color: #111;
  font-size: 1.4rem;
  text-align: left;
  width: 37%;
  display: block;
  letter-spacing: 1px;
  font-weight: 500;
}

footer #footer_top .footer_top_calendar table tr:nth-child(1) th {
  letter-spacing: 2px;
}

footer #footer_top .footer_top_calendar table tr td{
color: #e1254b;
font-size: 1.4rem;
text-align: right;
width: 9%;
display: block;
font-weight: 500;
text-align:center;
}

footer #footer_top .footer_top_calendar table tr:nth-child(1) td{
  color: #111;
}

footer #footer_top .footer_top_calendar table tr td.holiday {
  color: #111;
}

footer #footer_top .footer_top_calendar p{
color: #b7b7b7;
font-size: 1.1rem;
font-weight: 500;
letter-spacing: 1px;
margin: .6rem auto;
}

footer #footer_map {
position: relative;
  width: 90%;
  height: 0;
  padding-top: 75%;
  margin: 4rem auto 1rem auto;
}

footer #footer_map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

footer #footer_copyright{
padding:2rem 0;
}

footer #footer_copyright h2{
font-size: 1rem;
font-weight: 500;
letter-spacing: 1px;
color: #777;
text-align:center;
}

#fixed_menu {
position:fixed;
z-index: 998;
width: 100%;
max-width: 600px;
bottom: 0;
left: 0;
right: 0;
margin: auto;
}

#fixed_menu ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 100%;
}

#fixed_menu ul li {
  width: 50%;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#fixed_menu ul li.tel{
  background-color: #e0244a;
}

#fixed_menu ul li.line{
  background-color: #222;
}

#fixed_menu ul li a {
display: flex;
text-decoration: none;
height: 7rem;
line-height: 7rem;
letter-spacing: 3px;
font-size: 1.4rem;
font-weight: bold;
color: #fff;
position: relative;
justify-content: center;
align-items: center;
}

#fixed_menu ul li a span {
  width: 2rem;
  height: 2rem;
  content: "";
  display: inline-block;
  background-size: contain;
  margin-left: 0.8rem;
}

#fixed_menu ul li.tel a span{
  background-image: url("https://seikotsuin-hanamaru.com//wp-content/themes/hanamaru/img/tel.png");
}

#fixed_menu ul li.line a span{
  background-image: url("https://seikotsuin-hanamaru.com//wp-content/themes/hanamaru/img/line.png");
}

#fixed_menu{
transform: translateY(70px);
transition: .2s;
}

#fixed_menu.fixed{
transform: translateY(0px);
transition: .2s;
}

#sns{
  background-color: #e1254b;
  padding: 4rem 0;
}

#sns .sns_title h2,#sns .sns_title h2 span{
color:#fff;
}

#sns .sns_contents {
  width: 90%;
  margin: 0 auto;
  margin-top: 2.4rem;
}

#sns .sns_contents #sb_instagram #sbi_images .sbi_item{
border-radius: 8px;
}

#sns .sns_contents #sb_instagram #sbi_load .sbi_load_btn {
  position: relative;
  border: 1px solid #fff;
  width: 80%;
  max-width: 30rem;
  height: 5.2rem;
  line-height: 5.2rem;
  padding: 0;
  border-radius: 2.6rem;
  margin-top:2.4rem;
}


#sns .sns_contents #sb_instagram #sbi_load .sbi_load_btn .sbi_btn_text{
letter-spacing: 2px;
position: relative;
font-weight: 500;
}

#sns .sns_contents #sb_instagram #sbi_load .sbi_load_btn .sbi_btn_text::after{
position: absolute;
  width: 21px;
  height: 21px;
  content: "";
  display: inline-block;
  top: 1px;
  bottom: 0;
  margin: auto 0;
  right: -21px;
  background-image: url("https://seikotsuin-hanamaru.com//wp-content/themes/hanamaru/img/insta_icon.png");
  background-size: contain;
  background-repeat: no-repeat;
}

#sns .sns_contents #sb_instagram #sbi_load .sbi_load_btn:hover {
  outline: none;
  box-shadow: none;
}

#menu_btn_erea {
width:7rem;
height:7rem;
max-width:600px;
position:fixed;
z-index: 1000;
top:0;
right:0;
}

#menu_btn_erea #menu_btn{
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1000;
  margin: 0;
  padding: 0;
  width: 46px;
  height: 46px;
  background-color: #e1254b;
  display: flex;
  border-radius: 100%;
  justify-content: center;
  align-items: center;
}


#menu_btn_erea #menu_btn span{
	width: 18px;
	height: 1px;
  	background-color: #fff;
  	display: block;
  	position: relative;
	transition:.2s;
}

#menu_btn_erea #menu_btn.open span{
  	background-color: #e1254b;
	transition:.2s;
}


#menu_btn_erea #menu_btn span::before{
	width: 18px;
	height: 1px;
  	background-color: #fff;
  	display: block;
  	position: absolute;
	content:"";
	top:0;
	left:0;
	transform: translateY(-7px);
	transition:.2s;
}


#menu_btn_erea #menu_btn.open span::before{
	transform:translateY(0px) rotate(-45deg);
	transition:.2s;
}

#menu_btn_erea #menu_btn span::after{
	width: 18px;
	height: 1px;
  	background-color: #fff;
  	display: block;
  	position: absolute;
	content:"";
	top:0;
	left:0;
	transform: translateY(7px);
	transition:.2s;
}

#menu_btn_erea #menu_btn.open span::after{
	transform:translateY(0px) rotate(45deg);
	transition:.2s;
}


nav#menu{
width: 100vw;
height: 100vh;
position: fixed;
z-index: 999;
top: 0;
left: 0;
background-color: #e1254b;
overflow: hidden;
transform:translateX(100vw);
transition: 0.2s;
}

nav#menu.open{
transform:translateX(0vw);
transition: 0.2s;
}

#nav_top{
  padding-top: 9rem;
}

#nav_top a{
cursor: pointer;
}

#nav_top .shop_info_button {
  padding: 1.6rem 0 .8rem 0;
}

#nav_top .nav_title{
width: 90%;
margin:0 auto;
}

#nav_top .nav_title h2{
margin:0;
padding:0;
}

#nav_top .nav_title h2 img{
max-width: 200px;
height:auto;
}

#nav_top .top_shop_info_case{
padding:2rem 0;
}

#nav_top .footer_top_address{
width:90%;
margin:0 auto;
padding:0;
}

#nav_top .footer_top_address h2{
margin: 0.8rem 0 .2rem 0;
padding:0;
}

#nav_top .shop_info_content{
margin-bottom: 1.2rem;
}

#nav_top .top_shop_info_case table {
  margin:0 auto;
}

#nav_top .top_shop_info_case table tr th{
font-size: 1.2rem;
}

#nav_top .top_shop_info_case table tr td{
font-size: 1.2rem;
}

#nav_top .top_shop_info_case .calender_text_1{
font-size: 1.1rem;
}

#nav_top .shop_info_button ul li {
  height: 4.4rem;
}

#nav_top .shop_info_button ul li a {
  font-size: 1.3rem;
  color: #fff;
  font-weight: bold;
  letter-spacing: 2px;
  text-decoration: none;
  line-height: 4.4rem;
  display: block;
}

#nav_top .nav_menu_content {
  width: 90%;
  margin: 2rem auto;
}

#nav_top .nav_menu_content ul{
  margin: 0;
  padding: 0;
}

#nav_top .nav_menu_content ul li{
  list-style-type: none;
}

#nav_top .nav_menu_content ul li a{
  color: #111;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 2px;
  display: block;
  padding: .6rem 0 1.2rem 0;
  margin: .6rem 0;
  border-bottom: solid 1px #dfdfdf;
}

#nav_top .shop_info_button ul li::after {
  width: 1.8rem;
  height: 1.8rem;
  content: "";
  top: 1px;
  right: 2.6rem;
}

@media screen and (min-width:370px) {
html {
	font-size: 62.5%;
}
}

@media screen and (min-width:600px) {
#header_title{
max-width:1000px;
}
}


@media screen and (min-width:1000px) {
main {
  margin: 0;
  max-width: 600px;
}

footer {
margin: 0;
padding-bottom: 0;
max-width: 600px;
}

#menu_btn_erea #menu_btn{
display:none;
}

nav#menu {
  width: calc(100vw - 600px);
  transform: translateX(600px);
  min-width:400px;
  max-width:600px;
}

nav#menu.open {
  transform: translateX(600px);
  transition: 0;
}

#nav_top{
  padding-top: 4rem;
}

#header_title {
position: absolute;
max-width:600px;
}

#fixed_menu.fixed {
  transform: translateY(70px);
  transition: .2s;
}


}
