/*
Theme Name: Oketanicosmetics
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: oketanicosmetics
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.

Oketanicosmetics 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.
 */
@font-face {
  /* フォントに名前を付けます */
  font-family: "Noto Sans JP";
  /* フォントファイルを読み込みます */
  src: url("./font/NotoSansJP.woff2") format("woff2"),
       url("./font/NotoSansJP.woff") format("woff");
  /* Internet Explorerは考慮する必要が無くなってきていますので以下でも問題ありません */
  /* src: url("../font/MPLUS1-WebSubsetFont.woff2") format("woff2"); */
}
@font-face {
  /* フォントに名前を付けます */
  font-family: "Noto Serif JP";
  /* フォントファイルを読み込みます */
  src: url("./font/NotoSerifJP.woff2") format("woff2"),
       url("./font/NotoSerifJP.woff") format("woff");
  /* Internet Explorerは考慮する必要が無くなってきていますので以下でも問題ありません */
  /* src: url("../font/MPLUS1-WebSubsetFont.woff2") format("woff2"); */
}
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}
.himawari img{
	box-shadow: 1px 2px 2px #f2f2f2;

}

/* 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-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: #333;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    font-family: 'Noto Serif JP', serif;
}

p {
    margin-bottom: 1.5em;
    font-family: 'Noto Sans JP', sans-serif;
}

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 #707070;
    background: #707070;
    color: #fff;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 338px;
    width: 100%;
    height: 56px;
    margin: 0 auto;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background-color: #fff;
    color: #707070;
}

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: #333;
    border: 1px solid #ddd;
    padding: 10px;
    background-color: #F5F5F5;
    width: 100%;
}

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: #333;
}

select {
    border: 1px solid #ddd;
}

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;
}

.site-header {
    height: 56px;
    display: flex;
    align-items: center;
    padding-left: 15px;
    box-shadow: 1px 2px 3px rgba(226, 226, 226, .5);
    position: fixed;
    top: 0;
    background-color: #fff;
    width: 100%;
    z-index: 99;
}

.site-branding {
    width: 200px;
}

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

@media screen and (min-width: 880px) {

    .menu-toggle,
	.menu-toggle2 {
        display: none;
    }

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

/*hamburger start
 ---------------------------------*/

.main-navigation {
    display: block;
    position: fixed;
    right: 0;
    width: 100%;
    top: 0;
}

.main-navigation.toggled {
    background-color: #FCFCFC;
    box-shadow: -2px 2px 3px rgba(222, 222, 222, .4);
    overflow: scroll;
    padding: 50px 0 145px;
}

.main-navigation .menu-toggle {
    position: relative;
    background: #fff;
    cursor: pointer;
    width: 50px;
    height: 56px;
    margin: 0 0 0 auto;
}

.main-navigation.toggled .menu-toggle {
    background: #fff;
    position: absolute;
    bottom: 100px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 200px;
    height: 48px;
    border: 1px solid #707070;
}
.main-navigation.toggled .menu-toggle2 {
	display:block;
    position: relative;
    cursor: pointer;
    width: 50px;
    height: 50px;
    margin: 0 0 0 auto;
   position: fixed;
    top: 6px;
    right: 14px ;
}

.main-navigation.toggled .menu-toggle:before{
    content: '閉じる';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    color: #333;
    bottom: 0;
    font-size: 1rem;
}

button {
    border: none;
}

.main-navigation .menu-toggle span,
.main-navigation.toggled .menu-toggle2 span{
    display: inline-block;
    transition: all .4s;
    /*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 1px;
    border-radius: 2px;
    background: #333;
    width: 45%;
}

.main-navigation .menu-toggle span:nth-of-type(1) {
    top: 21px;
}

.main-navigation .menu-toggle span:nth-of-type(2){
    top: 27px;
}

.main-navigation .menu-toggle span:nth-of-type(3){
    top: 33px;
}

.main-navigation.toggled .menu-toggle span:nth-of-type(1){
    opacity: 0;
    /*真ん中の線は透過*/
}

.main-navigation.toggled .menu-toggle span:nth-of-type(2){
    opacity: 0;
    /*真ん中の線は透過*/
}

.main-navigation.toggled .menu-toggle span:nth-of-type(3){
    opacity: 0;
    /*真ん中の線は透過*/
}

.main-navigation.toggled .menu-toggle2 span:nth-of-type(1){
	 top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}
.main-navigation.toggled .menu-toggle2 span:nth-of-type(2){
	 opacity: 0;/*真ん中の線は透過*/
}
.main-navigation.toggled .menu-toggle2 span:nth-of-type(3){
	 top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

.main-navigation .ham_info {
    display: none;
}

.main-navigation.toggled .ham_info {
    display: block;
}

.menu-menu-container a {
    font-family: 'Noto Serif JP', serif;
    color: #333;
}

.menu-menu-container a:hover {
    color: #CE062D;
    text-decoration: underline;
}

.main-navigation.toggled ul {
    max-width: 304px;
    margin: 10px auto 0;
}

.main-navigation.toggled ul li {
    padding: 14px 13px;
    border-bottom: 1px solid #CCC;
}

.main-navigation.toggled ul li:first-child {
    border-top: 1px solid #CCC;
}

.ham_info {
    margin: 70px auto 32px;
    max-width: 200px;
}

.ham_info p {
    margin: 0;
}

.ham_info p:first-child {
    margin-bottom: 10px;
    text-align: center;
}

.ham_info p:nth-child(2) {
    text-align: center;
    padding-left: 18px;
}

.ham_info p:nth-child(2) a {
    font-size: 1.375rem;
    color: #333;
    font-weight: 600;
    position: relative;
}

.ham_info p:nth-child(2) a:before {
    content: url(https://oketanicosme.co.jp/cms/wp-content/uploads/2023/12/tel_icon.png);
    position: absolute;
    top: -15%;
    left: -10%;
    transform: scale(.5);
}

.ham_info p:nth-child(2) span {
    display: block;
    text-align: right;
    font-size: .9375rem;
    margin-right: 12px;
}

.site-main {
    margin-top: 56px;
}

@media screen and (min-width: 880px) {
    .site-main {
        margin-top: 110px;
    }

    .site-header {
        position: fixed;
        display: flex;
        align-items: center;
        top: 0;
        left: 0;
        width: 100%;
        height: 112px;
        /* スクロールしても他のコンテンツの下にならないようにする */
        z-index: 10;
        background-color: #fff;
        transition: all 0.8s ease;
        padding: 0;
    }

    .pc_nav {
        max-width: 960px;
        margin: 0 auto;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .pc_nav02 {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .main-navigation .ham_info {
        display: block;
        margin: 0;
        width: auto;
        width: 184px;
    }

    .main-navigation .ham_info p:first-child {
        display: none;
    }

    .site-branding {
        width: 247px;
    }

    .site-branding:hover {
        opacity: .7;
    }

    .main-navigation {
        position: static;
        max-width: 670px;
    }

    .main-navigation li {
        position: relative;
        padding: 0 14px;
        border-right: 1px solid #ccc;
    }

    .main-navigation li:nth-child(2) {
        border-left: 1px solid #ccc;
    }

    .main-navigation .hamburger_foot_only {
        display: none;
    }

    /* スクロールして「scroll-navクラス」がついたときのヘッダーデザイン */
    .site-header.scroll-nav {
        /* 高さを低くする */
        height: 72px;
        /* 背景を白にする */
        background: #fff;
        /* コンテンツの背景が白でもナビゲーションだと分かりやすいように影をつける */
        box-shadow: 1px 2px 3px rgba(226, 226, 226, .5);
    }

    .ham_info p:nth-child(2) {
        padding-left: 20px;
        padding-top: 18px;
    }

    .ham_info p:nth-child(2):hover {
        opacity: .7;
    }

    .site-header.scroll-nav .ham_info p:nth-child(2) {
        padding-top: 0;
    }
	.ham_info p:nth-child(2) a{
		font-size: 1.3125rem;
	}

    .ham_info p:nth-child(2) a:before {
        top: -15%;
    left: -5%;
		transform: scale(.45);
    }

    .ham_info p:nth-child(2) span {
        margin-right: 0;
    }
.ham_info p:nth-child(2) {
    text-align: right;
	}
}

/*hamburger end
 ---------------------------------*/

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

.post,
.page {
    margin: 0 0 1.5em;
}

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



.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;
}


/* パンくずリスト */
.bread {
    padding: 0 15px;
}

.bread ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bread li {
    display: inline;
    font-size: .75rem;
}

.bread li a {
    color: #CE062D;
    text-decoration: none;
    font-size: .75rem;
}

.bread li a:hover {
    text-decoration: underline;
}

.bread li+li:before {
    content: ">";
    margin: .5em;
}

@media screen and (min-width: 768px) {
    .bread {
        padding: 0;
        max-width: 900px;
        margin: 5px auto 0;
        width: 100%;
    }
}

/*footer start
 ---------------------------------*/
.site-footer {
    max-width: 300px;
    margin: 72px auto 40px;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.site-footer ul li {
    list-style: none;
    margin-bottom: 12px;
    padding: 0 15px;
    border-right: 1px solid #CCC;
}

.site-footer ul li:first-child {
    border-left: 1px solid #CCC;
}

.site-footer ul li a {
    text-decoration: none;
    font-size: .9375rem;
}

.site-footer ul li a:hover {
    color: #CE062D;
    text-decoration: underline;
}

.copyright {
    margin-top: 33px;
    font-size: .6875rem;
}

@media screen and (min-width: 768px) {
    .site-footer {
        max-width: 544px;
        margin: 120px auto 32px;
        width: 100%;
    }

    .copyright {
        margin-top: 38px;
        text-align: center;
    }
}

/*footer start
 ---------------------------------*/
/*top start
 ---------------------------------*/
.pc_only {
    display: none;
}

.top_contents {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.top_contents h2 {
    font-size: 1.25rem;
    letter-spacing: .02em;
    margin: 0;
}

.top_contents .item,
.top_contents .about {
    padding: 0 25px;
}

.top_contents .item {
    margin: 25px 0 100px;
}

.top_contents .item .box {
    margin: 16px 0 0;
}

.top_contents .item .box .img {
    max-width: 256px;
    width: 100%;
    margin: 0 auto 24px;
}
.top_contents .item .box .img .item_btn{
	height: 56px;
	display: flex;
	justify-content:center;
	align-items: center;
	font-size: 1rem;
	color: #333;
	text-decoration: none;
	width: 100%;
	border: 1px solid #707070;
	margin-top: 20px;
}

.top_contents .item .box .img img {
    max-width: 256px;
    width: 100%;
    height: 256px;
    object-fit: cover;
}
.top_contents .item .box h3{
	max-width: 300px;
	margin: 0 auto;
	padding-bottom: 5px;
	font-weight: 600;
}
.top_contents .item .box p {
    max-width: 300px;
    width: 100%;
    margin: 0 auto 27px;
    line-height: 1.75em;
}

.top_contents .item .box table {
    border-collapse: collapse;
}

.top_contents .item .box table th {
    width: 105px;
    font-weight: 400;
    padding: 25px 0 25px 20px;
    background-color: #F7F7F7;
    border-top: 1px solid #E6E6E6;
    border-bottom: 1px solid #E6E6E6;
    text-align: left;
}

.top_contents .item .box table td {
    padding: 25px 0 25px 14px;
    line-height: 1.1875em;
    border-top: 1px solid #E6E6E6;
    border-bottom: 1px solid #E6E6E6;
}

.top_contents .about h2 {
    margin-bottom: 30px;
}

.top_contents .about p {
    margin: 0 0 32px;
    line-height: 1.8125em;
    font-family: 'Noto Serif JP', serif;
}

.top_contents .about .box {
    width: 256px;
    padding-bottom: 5px;
    border-bottom: 1px solid #EEEEEE;
    margin: 0 auto 18px;
}

.top_contents .about .box:last-child {
    border-bottom: none;
}

.top_contents .about .box .img {
    position: relative;
}

.top_contents .about .box p {
    padding: 0;
}

.top_contents .about .box .img a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    background-color: #F5F5F5;
    font-size: 1.0625rem;
    font-weight: 600;
    position: absolute;
    bottom: -17px;
    left: 0;
    color: #333;
    text-decoration: none;
    font-family: 'Noto Serif JP', serif;
}

.top_contents .about .box .img a:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 278px;
}

.top_contents .about .box:hover {
    opacity: .7;
}

.top_news {
    padding: 0 15px;
    max-width: 960px;
    width: 100%;
    margin: 70px auto;
}

.top_news h2 {
    margin: 0 0 9px;
    font-size: 1.25rem;
}

.top_news p {
    margin: 0;
    line-height: 1.6em;
}

.top_news .news_line {
    padding: 21px 0;
    border-bottom: 1px solid #E6E6E6;
}

@media screen and (min-width: 768px) {
	.top_contents .item .box h3{
		max-width: 100%;
	}
	.top_contents .item .box .img .item_btn:hover{
		border: 1px solid #CE062D;
		background-color: #CE062D;
		color: #fff;
	}
    .top_contents .about .box {
        border: none;
        width: calc(100%/3);
        margin: 0;
        padding: 0 15px 16px;
        border-left: 1px solid #EEEEEE;
    }

    .top_contents .about .box:first-child {
        border-left: none;
    }

    .top_contents .about .box .img {
        max-width: 272px;
    }

    .top_contents .item .box {
        display: flex;
        justify-items: center;
    }

    .top_contents .item .box p {
        max-width: 616px;
    }

    .top_contents .item .box .text {
        margin: 0 0 0 45px;
    }

    .top_contents .item .box .img {
        max-width: 272px;
        margin: 0;
    }

    .top_contents .item .box .img img {
        max-width: 272px;
        height: 272px;
    }

    .top_contents .item .box table th {
        width: 194px;
        padding: 25px 0 25px 40px;
    }

    .top_contents .item .box table td {
        padding: 25px 0 25px 40px;
    }

    .top_news {
        margin: 124px auto 0;
        padding: 0;
    }

    .top_news h2 {
        font-size: 1.375rem;
    }

    .top_news .news_line {
        padding: 21px 0 21px 87px;
        display: flex;
    }

    .top_news p:first-child {
        width: 84px;
        margin-right: 51px;
    }

    .pc_only {
        display: block;
    }

    .sp_only {
        display: none;
    }

    .top_contents {
        padding: 0;
    }

    .top_contents h2 {
        font-size: 1.375rem;
        letter-spacing: 0;
    }

    .top_contents .item {
        margin: 72px 0 100px;
    }

    .top_contents .about p {
        margin-left: 87px;
        margin-bottom: 40px;
    }

    .top_contents .about .contents {
        display: flex;
        justify-content: space-around;
    }

    .top_contents .about p.title {
        margin: 0;
    }
}

/*top end
 ---------------------------------*/
/*thought start
 ---------------------------------*/
h1.entry-title {
    margin: 0;
    height: 96px;
    background-color: #F7F7F7;
    font-size: 1.625rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thought_contents {
    padding: 0 15px;
    max-width: 696px;
    width: 100%;
    margin: 41px auto 0;
}

.thought_contents p {
    font-family: 'Noto Serif JP', serif;
    line-height: 1.875em;
}

.thought_contents p,
.thought_contents .img {
    margin: 0 0 28px;
}

@media screen and (min-width: 768px) {
    .thought_contents {
        padding: 0;
    }

    .thought_contents p,
    .thought_contents .img {
        margin: 0 0 40px;
    }

    .thought_contents p.title {
        max-width: 696px;
        margin: 0 auto 40px;
        width: 100%;
    }

    h1.entry-title {
        height: 112px;
        font-size: 1.875rem;
    }
}

/*thought end
 ---------------------------------*/
/*about start
 ---------------------------------*/
.about_contents {
    padding: 0 15px;
    margin-top: 40px;
}

.about_contents table {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    line-height: 1.625em;
}

.about_contents table th {
    padding: 22px 0 22px 7px;
    width: 93px;
    background-color: #F7F7F7;
    border-top: 1px solid #E6E6E6;
    border-bottom: 1px solid #E6E6E6;
    font-weight: 400;
    text-align: left;
}

.about_contents table td {
    padding: 22px 5px 22px 18px;
    border-top: 1px solid #E6E6E6;
    border-bottom: 1px solid #E6E6E6;

}

.about_contents .yuubin {
    display: block;
}

.about_contents td a {
    color: #333;
    text-decoration: none;
}

.about_contents td a:hover {
    text-decoration: underline;
    color: #CE062D;
}

.about_contents td .hours {
    font-size: .8125rem;
    margin-left: 10px;
}

.about_contents h2 {
    font-size: 1.25rem;
    margin: 0 auto 16px;
    max-width: 800px;
    width: 100%;
    padding-top: 64px;
	text-align: center;
}

@media screen and (min-width: 768px) {
    .about_contents {
        padding: 0;
        margin-bottom: -32px;
    }

    .about_contents table th {
        padding: 28px 0 28px 40px;
        width: 160px;
    }

    .about_contents table td {
        padding: 28px 0 28px 32px;
    }

    .about_contents h2 {
        font-size: 1.375rem;
        margin: 0 auto 16px;
        padding-top: 72px;
    }
}

/*about end
 ---------------------------------*/
/*404 start
 ---------------------------------*/
.error-404-contents {
    text-align: center;
    padding: 0 15px;
    margin-top: 40px;
}

.error-404-contents .top_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 440px;
    width: 100%;
    height: 72px;
    border: 1px solid #333333;
    color: #333;
    font-size: 1.25rem;
    text-decoration: none;
    margin: 60px auto 0;
}

.error-404-contents .top_btn:hover {
    border: 1px solid #CE062D;
    color: #fff;
    background-color: #CE062D;
}

/*404 end
 ---------------------------------*/

/*contact start
 ---------------------------------*/
.contact_contents {
    padding: 0 15px;
    margin: 25px auto 83px;
    max-width: 900px;
    width: 100%;
}

.contact_contents .message {
    margin: 0 0 43px;
    line-height: 1.75em;
    text-align: center;
}

.contact_contents h2 {
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0 0 30px;
    padding-left: 3px;
    border-left: 6px solid #9F9F9F;
}

.contact_contents .line_content {
    padding-bottom: 30px;
    border-bottom: 1px solid #DDD;
    margin-bottom: 48px;
}

.contact_contents .line_content p {
    margin: 0;
}

.contact_contents .line_content a {
    padding-left: 45px;
    color: #333;
    font-size: 1.375rem;
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.contact_contents .line_content a:before {
    content: url(https://oketanicosme.co.jp/cms/wp-content/uploads/2023/12/tel_icon.png);
    position: absolute;
    top: -15%;
    left: 4%;
    transform: scale(.5);
}

.contact_contents .line_content span {
    padding-left: 17px;
    font-size: .9375rem;
}

.contact_contents .line_content a:hover {
    text-decoration: underline;
    color: #CE062D;
}

.form_box {
    margin-bottom: 26px;
}

.form_box p {
    margin: 0;
}

.form_box .title {
    margin: 0 0 5px;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.form_box .title span {
    margin-left: 10px;
    font-size: .6875rem;
    width: 30px;
    height: 18px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #CE062D;
    font-weight: 400;
}

.contact_contents .p_text {
    max-width: 176px;
    margin: 20px auto;
    font-weight: 300;
}

.contact_contents .p_text a {
    color: #3B599A;
    padding-right: 15px;
    position: relative;
    text-decoration: none;
    font-weight: 300;
}

.contact_contents .p_text a:after {
    content: url(https://oketanicosme.co.jp/cms/wp-content/uploads/2023/12/p_icon.png);
    position: absolute;
    top: 8%;
    right: -1%;
    transform: scale(.5);
}

.contact_contents .p_text a:hover {
    text-decoration: underline;
}

textarea {
    height: 281px;
}

.post-40 h1.entry-title {
    font-size: 1.25rem;
}

.thanks_contents {
    margin: 40px 0 58px;
    padding: 0 15px;
}

.thanks_contents p {
    margin: 0 0 59px;
    line-height: 1.75em;
}

.thanks_contents a {
    max-width: 440px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #333;
    text-decoration: none;
    height: 56px;
    margin: 0 auto;
    color: #333;
}

.thanks_contents a:hover {
    border: 1px solid #CE062D;
    color: #fff;
    background-color: #CE062D;
}

@media screen and (min-width: 768px) {
    .thanks_contents a {
        height: 72px;
        font-size: 1.25rem;
    }

    .thanks_contents p {
        margin: 0 0 79px;
        text-align: center;
    }

    .post-40 h1.entry-title {
        font-size: 1.875rem;
    }

    .contact_contents {
        padding: 0;
    }

    .contact_contents .message {
        margin: 0 0 45px 0;
    }

    .contact_contents .line_content {
        padding-bottom: 39px;
        margin-bottom: 40px;
    }

    .form_box .title span {
        margin-left: 10px;
        font-size: .75rem;
        width: 40px;
        height: 20px;
    }

    .form_box {
        margin-bottom: 62px;
        display: flex;
        align-items: flex-start;
    }

    .form_box .title {
        width: 220px;
    }

    .form_box p:last-child {
        max-width: 680px;
        width: 100%;
    }

    textarea {
        height: 240px;
    }

    .contact_contents .p_text {
        max-width: 100%;
        margin: 0 auto 40px;
        font-weight: 300;
        text-align: center;
    }

    button, input[type="button"], input[type="reset"], input[type="submit"] {
        max-width: 440px;
        height: 80px;
        font-size: 1.375rem;
        cursor: pointer;
    }
}

/*contact end
 ---------------------------------*/
.privacy_contents {
    max-width: 900px;
    width: 100%;
    padding: 0 15px;
    margin: 50px auto 80px;
}

.accordion-003 {
    margin-bottom: 7px;
    border-bottom: 2px solid #e6e6e6;
}

.accordion-003 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 2rem;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
max-width: 786px;
    margin: 0 auto;
}
.accordion-003 summary h3{
		font-family:"Noto Sans JP", sans-serif;
	font-weight: 500;
}
.accordion-003 summary h3 span{
	font-weight: 400;
	color: #707070;
	margin-right: 5rem;
}
.accordion-003 summary::-webkit-details-marker {
    display: none;
}

.accordion-003 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .3s;
}

.accordion-003[open] summary::after {
    transform: rotate(225deg);
}

.accordion-003 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.accordion-003[open] p {
    transform: none;
    opacity: 1;
}

@media screen and (max-width: 768px) {
.accordion-003 summary h3 span{
	display: block;
}
	.accordion-003 summary{
		padding: 0;
	}
}