/*!
Theme Name: hybrid-theme
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: hybrid-theme
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.

hybrid-theme 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.
 */
:root {
    --color-main: #26B7BC;
    --color-bgMain: rgba(38, 183, 188, 0.5);
    --color-line: #06C755;
    --color-main-hover: #1a8a8e;
    --color-wh: #FFFFFF;
    --color-bg: #EEFBFB;
    --color-dgray: #AAAAAA;
    --color-lgray2: #ECECEC;
    --color-lgray: #FAFAFA;
    --color-dark: #383838;
    --color-dark075: #383838;
    --font-nunito: 'Nunito', sans-serif;
}
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
    font-family: 'Noto Sans JP', sans-serif;
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* 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 {
    vertical-align:top;
	border-style: none;
}
picture {
    display: inline-block;
    line-height: 1;
}
/* 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;
}
details {
	display: block;
}
summary {
	display: list-item;
}
template {
	display: none;
}
[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;
}

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #383838;
    font-family: 'Noto Sans JP', sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

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

p {
	/* margin-bottom: 1.5em; */
    letter-spacing: 0.05rem;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0;
}

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

body {
    margin: 0;
    background: #fff;
}
hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}
ul,
ol {
    margin: 0;
}
ul,li {
    list-style: none;
}
ol {
    list-style: none;
}
li > ul,
li > ol {
    margin-bottom: 0;
    /* margin-left: 1.5em; */
}
dt {
    font-weight: 700;
}
dd {
    margin: 0;
}
embed,
iframe,
object {
    max-width: 100%;
}
img {
    height: auto;
    max-width: 100%;
}
figure {
    margin: 1em 0;
}
table {
    margin: 0;
    width: 100%;
}
/* Links
--------------------------------------------- */
a {
    text-decoration: none;
    transition: .3s ease-in-out;
    color: #4169e1;
}
/* a:visited {
    color: #800080;
} */
a:hover,
a:focus,
a:active {
    /* color: #191970; */
}
a:focus {
    outline: thin dotted;
}
a:hover,
a:active {
    text-decoration: none!important;
    outline: 0;
}
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%;
}
.d-none {
    display: none;
}
.color-main {
    color: var(--color-main);
}
.h-full {
    height: 100%;
}
.img-sp-full {
    @media (768px > width) {
        width: 100vw;
        margin: 0 calc(50% - 50vw);
    }
}
.f_site__fixed .c_btn-fixed {
    justify-content: center;
    gap: 1rem;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.text-center {
    text-align: center;
}
.sp-text-left {
    @media (768px > width) {
        text-align: left!important;
    }
}
.menu-column {
    & .concept-item {
        width: 100%;
        margin: 0;
        background-color: var(--color-wh)!important;
        & .concept {
            align-items: flex-start;
            @media (768px > width) {
                align-items: center;
            }
            & .concept-box {
                padding: 0 calc(80 / 1440 * 100vw) 0 0;
                @media (768px > width) {
                    padding: 0;
                }
            }
        }
        > div {
            > img {
                width: 100%;
                margin: 0;
                @media (768px > width) {
                    margin-bottom: 2.5rem;
                }
            }
        }
    }
}
.inner {
    box-sizing: content-box;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 1.25rem;
    /* text-align: center; */
    &.concept {
        max-width: 1220px;
        @media (960px > width) {
            padding: 0;
        }
    }
}
.main-navigation {
	display: block;
    margin-left: auto;
    padding: 1.25rem 2.5rem 1.25rem 0;
    @media (768px > width) {
        padding: 1rem 1rem 1rem 0;
    }
}
.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation a {
	display: block;
	text-decoration: none;
    font-size: .8125rem;
    color: #000;
}
#menu-item-56.menu-item a {
    width: 190px;
    padding: .625rem 0;
    display: block;
    text-align: center;
    align-content: center;
	text-decoration: none;
    border-radius: 1.875rem;
    color: var(--color-wh);
    background-color: var(--color-main);
    font-size: .8125rem;
    @media (768px > width) {
        width: 100%;
        padding: 1.25rem 0;
    }
}
#menu-item-56.menu-item {
    @media (1360px > width) {
        margin-top: 3.125rem;
    }
}
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1000;
}
.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-main);
    margin: 6px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
@media screen and (max-width: 1360px) {
    .hamburger-menu {
        display: block !important;
    }
    .main-navigation ul {
        display: none !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #FFFFFF;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 999;
        padding: calc(100 / 1440 * 100vw) 0 0 calc(390 / 1440 * 100vw);
    }
    .main-navigation.toggled ul {
        display: flex !important;
    }
    .main-navigation li {
        width: 100%;
        margin: 0;
    }
    .main-navigation a {
        position: relative;
        font-size: 1.125rem;
        padding: 1.125rem 0;
        &::after {
            content: '';
            position: absolute;
            right:.75rem;
            top: 50%;
            transform: translateY(-50%);
            width: 8px;
            height: 11px;
            background-image: url("data:image/svg+xml,%3Csvg width='5' height='8' viewBox='0 0 5 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L4 4L1 7' stroke='%2326B7BC' stroke-width='1'/%3E%3C/svg%3E");
            background-size: 8px 11px;
            background-repeat: no-repeat;
            background-position: center;
            transition: right 0.3s ease;
        }
    }
}
@media screen and (max-width: 1024px) {
    .main-navigation ul {
        padding: 8.125rem 1.25rem 0;
    }
    .main-navigation a {
        font-size: .875rem;
        padding: 1rem 0;
    }
}
@media screen and (max-width: 768px) {
    .main-navigation ul {
        justify-content: flex-start;
    }
    .main-navigation ul li {
        &:not(:last-of-type) {
            padding-left: 1.875rem;
        }
    }
}
@media screen and (min-width: 1361px) {
    .hamburger-menu {
        display: none;
    }
    .main-navigation ul {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.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%;
}
.sticky {
    display: block;
}
.post,
.page {
    margin: 0;
}
.updated:not(.published) {
    display: none;
}
.page-content,
.entry-content,
.entry-summary {
    margin: 0;
}
.page-links {
    clear: both;
    margin: 0 0 1.5em;
}
.comment-content a {
    word-wrap: break-word;
}
.bypostauthor {
    display: block;
}
.widget {
    margin: 0 0 1.5em;
}
.widget select {
    max-width: 100%;
}
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}
.site-logo {
    display: flex;
    align-items: center;
    margin: 0;
    line-height: 1;
}
.custom-logo-link {
    display: inline-block;
}
.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;
}
.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;
}
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}
.infinity-end.neverending .site-footer {
    display: block;
}
.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;
}
#primary[tabindex="-1"]:focus {
    outline: 0;
}
.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;
}
.pc-visible {
    display: block!important;
    @media (768px > width) {
        display: none!important;
    }
}
.sp-visible {
    display: none!important;
    @media (768px > width) {
        display: block!important;
    }
}
.wp-block-media-text>.wp-block-media-text__media {
    @media (768px > width) {
        margin: 0 0 1rem;
    }
}
.wp-block-media-text>.wp-block-media-text__content {
    @media (768px > width) {
        padding: 0!important;
    }
}
.site-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    & .site-branding {
        width: 220px;
        height: 220px;
        /* background: #26B7BC; */
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 9999;
        @media (1360px > width) {
            width: 160px;
            height: 160px;
        }
        @media (1024px > width) {
            width: 100px;
            height: 100px;
        }
    }
}
#fixed-header {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    /* padding: 1.25rem 2.5rem 1.25rem 1.625rem; */
    background-color: var(--color-wh);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: .5s;
}
.js-header {
    transition: .5s;
    z-index: 9999;
    top: 0;
    & .custom-logo-fixed {
        display: none;
    }
    & .custom-logo {
        display: block;
    }
    &.is-show {
        @media (768px > width) {
            padding: 1.125rem 1rem;
        }
        & .site-branding {
            position: static;
            width: auto;
            height: auto;
        }
        & .custom-logo {
            display: none;
        }
        & .custom-logo-fixed {
            display: block;
            width: 220px;
            @media (768px > width) {
                max-width: 200px;
            }
        }
    }
    /* 切り替え中の状態 */
    &.transitioning {
        pointer-events: none;
    }
}
/* Footer Styles */
:root {
	--footer-bg: #26B7BC;
	--footer-text: #FFFFFF;
	--footer-nav-text: #383838;
	--footer-nav-hover: #26B7BC;
	--footer-divider: #FFFFFF;
	--footer-link-hover: rgba(255, 255, 255, 0.8);
}
.site-footer {
	background-color: var(--footer-bg);
	color: var(--footer-text);
	font-family: 'Noto Sans JP', sans-serif;
	width: 100%;
}
.footer-navigation {
	background-color: #FAFAFA;
	padding: clamp(2rem, 4vw, 2.625rem) 0;
}
.footer-nav-container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 clamp(1rem, 4vw, 2rem);
}
.footer-nav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: clamp(1.5rem, 3vw, 2.5rem);
	justify-items: start;
	max-width: 975px;
	margin: 0 auto;
}
.footer-nav-item {
	color: var(--footer-nav-text);
	text-decoration: none;
	font-size: clamp(0.875rem, 1.5vw, 0.875rem);
	font-weight: 500;
	line-height: 1.857;
	letter-spacing: 0.05em;
    width: 100%;
    display: block;
	position: relative;
	transition: color 0.3s ease;
    &::before {
        position: absolute;
        left: 0;
        content: '';
        width: 100%;
        height: 1px;
        background: var(--color-main);
        bottom: -1px;               /*アンダーラインがaタグの下端から現れる*/
        transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
        transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
        transition: transform 0.3s; /*変形の時間*/
    }
    &::after {
        content: '';
        position: absolute;
        right:.75rem;
        top: 50%;
        transform: translateY(-50%);
        width: 8px;
        height: 11px;
        background-image: url("data:image/svg+xml,%3Csvg width='5' height='8' viewBox='0 0 5 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L4 4L1 7' stroke='%2326B7BC' stroke-width='1'/%3E%3C/svg%3E");
        background-size: 8px 11px;
        background-repeat: no-repeat;
        background-position: center;
        transition: right 0.3s ease;
    }
    &:hover {
        color: var(--footer-nav-hover);
        &::before {
            transform: scale(1, 1);
        }
        &::after {
            right: 0;
            opacity: 1;
        }
    }
}

.footer-main {
    background-color: var(--footer-bg);
    padding: clamp(3rem, 6vw, 3.75rem) 0;
    position: relative;
}
.footer-container {
    max-width: 696px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3rem);
}
.footer-logo {
    /* text-align: center; */
}
.footer-logo-img {
    max-width: clamp(200px, 30vw, 352px);
    height: auto;
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    width: 100%;
    max-width: 696px;
    margin: 0 auto;
}
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(0.5rem, 1vw, 1rem);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}
.contact-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(0.5rem, 1vw, 1rem);
    align-items: start;
}
.contact-label {
    font-size: clamp(0.875rem, 1.5vw, 0.875rem);
    font-weight: 400;
    line-height: 1.857;
    letter-spacing: 0.05em;
    border-left: 1px solid var(--footer-text);
    border-right: 1px solid var(--footer-text);
    text-align: center;
    min-width: 80px;
}
.contact-value {
    font-size: clamp(0.875rem, 1.5vw, 0.875rem);
    font-weight: 500;
    line-height: 1.857;
    letter-spacing: 0.05em;
}
.address-info {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
}
.address-text {
    font-size: clamp(0.875rem, 1.5vw, 0.875rem);
    font-weight: 400;
    line-height: 1.857;
    letter-spacing: 0.05em;
}
.view-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--footer-text);
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-size: clamp(0.75rem, 1.2vw, 0.75rem);
    font-weight: 400;
    line-height: 1.167;
    letter-spacing: 0.1em;
    text-align: right;
    transition: opacity 0.3s ease;
}
.view-map-link:hover {
    opacity: 0.8;
}
.map-arrow {
    width: 5px;
    height: 8px;
}
.footer-links {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2rem);
}
.social-section {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1vw, 1rem);
}
.social-icon {
    width: clamp(24px, 4vw, 32px);
    height: clamp(22px, 4vw, 30px);
    &.tiktok {
        width: clamp(20px, 4vw, 26px);
    }
}
.social-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.social-text {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(0.75rem, 1.2vw, 0.75rem);
    font-weight: 400;
    line-height: 1.167;
    letter-spacing: 0.1em;
    color: var(--color-wh);
}
.legal-links {
    display: grid;
    gap: clamp(0.5rem, 1vw, 1rem);
}
.legal-link {
    color: var(--footer-text);
    text-decoration: none;
    font-size: clamp(0.875rem, 1.5vw, 0.875rem);
    font-weight: 400;
    line-height: 1.857;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
}
.legal-link:hover {
    opacity: 0.8;
}
.page-top-btn {
    position: absolute;
    top: clamp(1rem, 3vw, 2rem);
    right: clamp(1rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    gap: .625rem;
    background: transparent;
    border: none;
    color: var(--footer-text);
    cursor: pointer;
    transition: all 0.3s ease;
}
.page-top-arrow {
    text-align: center;
    align-content: center;
    width: 32px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--color-wh);
    > img {
        display: inline-block;
        margin-top: .125rem;
        width: 12px;
        height: 12px;
    }
}
.top-text {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(0.875rem, 1.5vw, 0.875rem);
    font-weight: 800;
    line-height: 1.364;
    letter-spacing: 0.02em;
}
.footer-bottom {
    border-top: 1px solid var(--footer-divider);
    padding: clamp(1rem, 2vw, 1.5rem) 0;
}
.footer-copyright {
    text-align: center;
    font-size: clamp(0.75rem, 1.2vw, 0.75rem);
    font-weight: 400;
    line-height: 2.167;
    letter-spacing: 0.05em;
    max-width: 310px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .footer-content {
        grid-template-columns: 1fr auto;
        gap: clamp(2rem, 4vw, 3rem);
    }
    .footer-info {
        display: grid;
        align-items: flex-start;
        grid-template-columns: auto 1fr;
        gap: clamp(2rem, 4vw, 3rem);
    }
    .contact-info {
        margin-bottom: 0;
    }
}
@media (min-width: 1024px) {
    .footer-nav {
        grid-template-columns: repeat(5, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr auto;
    }
}
@media (min-width: 1440px) {
    .footer-nav-container,
    .footer-container {
        padding: 0 2rem;
    }
}
@layer components {
    .site-footer {
        @layer layout;
    }
    .footer-navigation {
        @layer layout;
    }
    .footer-main {
        @layer layout;
    }
    .footer-bottom {
        @layer layout;
    }
}
@layer utilities {
    .footer-nav-item {
        @layer typography;
    }
    .contact-label,
    .contact-value,
    .address-text,
    .legal-link {
        @layer typography;
    }
    .social-text,
    .top-text {
        @layer typography;
    }
    .footer-copyright {
        @layer typography;
    }
}
.error-404 {
    text-align: center;
    padding: 9.25rem 0;
    & h2 {
        margin-bottom: 1.5rem;
    }
    & p {
        margin-bottom: 2.5rem;
    }
}
.wp-pagenavi {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    margin-top: 5rem;
    @media (768px > width) {
        margin-top: 3.75rem;
    }
}
.news-pagination {
    text-align: center;
    margin-top: 5rem;
}
.news-pagination .page-numbers {
    display: inline-block;
    padding: .312rem .75rem;
    margin: 0 4px;
    text-decoration: none;
    border: 1px solid var(--color-lgray2);
    border-radius: .25rem;
    font-size: .875rem;
    color: var(--color-dark);
}
.news-pagination .page-numbers:hover {
    background-color: #f5f5f5;
}
.news-pagination .page-numbers.current {
    background-color: var(--color-wh);
    color: var(--color-main);
    border-color: var(--color-main);
}
.c-button {
    display: inline-block;
    background-color: var(--color-main);
    color: #FFFFFF;
    text-decoration: none;
    font-size: .9375rem;
    border-radius: 30px;
    padding: 1rem 0;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 350px;
    text-align: center;
    & span.text {
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 500;
        font-size: clamp(0.9375rem, 1.5vw, 0.9375rem);
        line-height: 1.733;
        letter-spacing: 0.05em;
        text-align: center;
    }
    &.line {
        background-color: var(--color-line);
    }
}
.c-button:hover {
    color: var(--color-wh);
    background-color: #1a8a8e;
    transform: translateY(-2px);
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
}
.c-title-en {
    display: inline-block;
    white-space: nowrap;
    font-family: "Nunito", sans-serif;
    font-size: clamp(2.625rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.083;
    letter-spacing: 0.02em;
    margin: 0 0 0.25rem 0;
}
.c-title-jp {
    font-size: clamp(0.8125rem, 1.5vw, 0.8125rem);
    font-weight: 500;
    line-height: 1.448;
    letter-spacing: 0.05em;
    margin: 0;
}
.c-title--light { color: #FFFFFF; }
.c-title--primary { color: #26B7BC; }
.c-title--dark { color: #383838; }