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

cf 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: #4A3D35;
}

/* 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 0 1.5em;
}

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


/* Custom styles for Confidence theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: #2F2A26;
    background-color: #FFF7F0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ヘッダー */
header {
    background: rgba(255, 247, 240, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(212, 165, 116, 0.1);
    border-bottom: 1px solid rgba(245, 236, 220, 0.8);
    backdrop-filter: blur(10px);
    /* レイヤーを分離して揺れを抑える */
    transform: translateZ(0);
    will-change: transform;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #B08A4A;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    margin: 0;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #2F2A26;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
}

.nav-menu a:hover {
    color: #D4A574;
    background-color: rgba(245, 236, 220, 0.5);
}

/* お問い合わせボタン */
.nav-menu .contact-btn {
    background: linear-gradient(135deg, #D4A574, #C19A5B);
    color: white !important;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    box-shadow: 0 3px 12px rgba(212, 165, 116, 0.3);
    transition: all 0.3s ease;
}

.nav-menu .contact-btn:hover {
    background: linear-gradient(135deg, #C19A5B, #B08A4A) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(212, 165, 116, 0.4);
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}




/* ヒーローセクション */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 72px;
    background-size: cover;       
    background-position: center;  
    background-repeat: no-repeat; 
    color: #333;
    padding: 180px 20px;
    text-align: center;
    height: calc(100vh - 144px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
background: 
    linear-gradient(135deg, rgba(255,247,240,0.9) 0%, rgba(245,236,220,0.8) 50%, rgba(230,215,199,0.7) 100%),
    url('<?php echo get_template_directory_uri(); ?>/assets/images/hero.png');
  background-size: cover;
  background-position: center;
}

.hero .container {
  position: relative;
  z-index: 1; /* テキストを前面に */
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2.5rem;
    color: #2F2A26;
    text-shadow: 0 2px 10px rgba(212, 165, 116, 0.2);
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 500;
    color: #504b48;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #D4A574, #C19A5B);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #C19A5B, #B08A4A);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
    background: white;
    color: #D4A574;
    border: 2px solid #D4A574;
}

.btn-secondary:hover {
    background: #D4A574;
    color: white;
    transform: translateY(-2px);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 236, 220, 0.6);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #2F2A26;
    font-weight: 600;
}

.feature-card p {
    color: #D4A574;
    font-weight: 600;
}

/* セクション共通 */
section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2F2A26;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #504b48;
    margin-bottom: 4rem;
    /* max-width: 630px; */
    margin-left: auto;
    margin-right: auto;
}

/* 事業内容セクション */
.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, #FFF7F0 0%, #f5ecdc 50%, #e6d7c7 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid rgba(245, 236, 220, 0.8);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.15);
    border-color: #D4A574;
}

.service-icon {
    width: 80px;
    height: 80px;
    /* background: linear-gradient(135deg, #D4A574, #C19A5B); */
    background: #FFF;
    border: 2px solid #D4A574;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2F2A26;
    text-align: center;
}

.service-card p {
    color: #504b48;
    line-height: 1.6;
}

/* 画像プレースホルダー */
.image-placeholder {
    background: linear-gradient(45deg, #f8f8f8 25%, transparent 25%), 
                linear-gradient(-45deg, #f8f8f8 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f8f8f8 75%), 
                linear-gradient(-45deg, transparent 75%, #f8f8f8 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border: 2px dashed rgba(245, 236, 220, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #504b48;
    font-weight: 500;
    border-radius: 15px;
    min-height: 200px;
    margin: 1rem 0;
    background-color: white;
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
}

/* 想いセクション */
.vision {
    background: linear-gradient(135deg, #FFF7F0 0%, #f5ecdc 50%, #e6d7c7 100%);
}

.vision-content {
    max-width: 1000px;
    margin: 0 auto;
}

.vision-intro {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    line-height: 1.8;
    color: #2F2A26;
}

.vision-values {
    display: block;
    max-width: 1000px;
    margin: 0 auto;
    gap: 3rem;
}

.line-marker {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.line-marker::before {
  content: "";
  position: absolute;
  left: -0.2em;
  right: -0.2em;
  bottom: 0.1em;
  height: 0.6em;
  background: #ffe066;
  border-radius: 4px;
  z-index: -1;
  transform: rotate(-1deg); /* 少し傾けて手描き感 */
}

.value-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(245, 236, 220, 0.8);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

.value-card:last-child {
    margin-bottom: 0;
}

.value-left {
    text-align: center;
    min-width: 120px;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #D4A574, #C19A5B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.value-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2F2A26;
}

.value-mission h3 {
    font-size: 3rem;
}

.value-subtitle {
    color: #D4A574;
    font-weight: 600;
    font-size: 1rem;
}

.value-right {
    flex: 1;
}

.value-description {
    margin-top: 1rem;
}

.value-description p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #504b48;
}

.value-description p:last-child {
    margin-bottom: 0;
}

/* 基本の value-card スタイルは維持 */
.value-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(245, 236, 220, 0.8);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    margin-bottom: 3rem;
    display: grid;
    gap: 2rem;
    align-items: start;
}

/* 1番目: 左右レイアウト（アイコン左） */
.value-card:nth-child(1) {
    grid-template-columns: auto 1fr;
    text-align: left;
}

/* 2番目: 左右レイアウト（アイコン右） */
.value-card:nth-child(2) {
    grid-template-columns: 1fr auto;
    text-align: right;
}

.value-card:nth-child(2) .value-left {
    order: 2;
}

.value-card:nth-child(2) .value-right {
    order: 1;
    text-align: left;
}

/* 3番目: 中央レイアウト */
.value-card:nth-child(3) {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* アイコンのバリエーション */
.value-card:nth-child(1) .value-icon {
    background: linear-gradient(135deg, #F5E6D0, #EAD7B8);
}

.value-card:nth-child(2) .value-icon {
    background: linear-gradient(135deg, #F5D6C8, #F0E0C8);
}

.value-card:nth-child(3) .value-icon {
    background: linear-gradient(135deg, #EAD7B8, #F5E6D0);
    width: 80px;
    height: 80px;
}

/* ホバー時の動きにバリエーション */
.value-card:nth-child(1):hover {
    transform: translateX(10px);
}

.value-card:nth-child(2):hover {
    transform: translateX(-10px);
}

.value-card:nth-child(3):hover {
    transform: translateY(-5px) scale(1.02);
}

/* 会社概要セクション */
.company {
    background: white;
}

.company-content {
    max-width: 1000px;
    margin: 0 auto;
}

.company-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: start;
}

/* .company-info {
    background: linear-gradient(135deg, #FFF7F0 0%, #f5ecdc 50%, #e6d7c7 100%);
    padding: 1rem;
    border-radius: 20px;
    border: 2px solid rgba(245, 236, 220, 0.8);
} */

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table tr {
    border-bottom: 2px solid rgba(245, 236, 220, 0.8);
}

.company-table th,
.company-table td {
    padding: 1.2rem 1rem;
    text-align: left;
    vertical-align: top;
}

.company-table th {
    background: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    color: #D4A574;
    width: 35%;
    border-radius: 10px 0 0 10px;
}

.company-table td {
    color: #2F2A26;
    border-radius: 0 10px 10px 0;
}

.company-visual {
    max-width: 500px;
    text-align: center;
}

.map-placeholder {
    min-height: 300px;
    margin-top: 2rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.2);
    border: 2px solid rgba(245, 236, 220, 0.8);
}

.map-container iframe {
    border-radius: 15px;
    min-height: 300px;
}

/* お知らせセクション */
.news {
    background: linear-gradient(135deg, #FFF7F0 0%, #f5ecdc 50%, #e6d7c7 100%);
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    border-left: 4px solid #D4A574;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.news-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.2);
}

.news-date {
    color: #D4A574;
    font-weight: 700;
    white-space: nowrap;
    font-size: 0.9rem;
    background: white;
    padding: 0.3rem 0.8rem;
    border-radius: 10px;
}

.news-title {
    color: #2F2A26;
    font-weight: 500;
}

.news-more {
    text-align: center;
    margin-top: 2rem;
}

.news-more a {
    color: #D4A574;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.news-more a:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* お問い合わせセクション（柔らかい印象に変更） */
.contact {
    background: linear-gradient(135deg, #FFF7F0 0%, #f5ecdc 50%, #e6d7c7 100%);
    color: #2F2A26;
}

.contact .section-title {
    color: #2F2A26;
}

.contact .section-subtitle {
    color: #504b48;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(245, 236, 220, 0.8);
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2F2A26;
}

.required {
    color: #D4A574;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(245, 236, 220, 0.8);
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #2F2A26;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #D4A574;
    background: white;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(107, 100, 96, 0.7);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: #D4A574;
}

.checkbox-item label {
    margin: 0;
    color: #2F2A26;
}

.privacy-agreement {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(245, 236, 220, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(245, 236, 220, 0.8);
}

.privacy-agreement label {
    color: #504b48;
    font-size: 0.95rem;
}

.privacy-agreement input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: #D4A574;
}

.privacy-link {
    color: #D4A574;
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #D4A574, #C19A5B);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
    margin-top: 1rem;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #C19A5B, #B08A4A);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.contact-info {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 236, 220, 0.8);
    color: #504b48;
}

/* フッター */
footer {
    background: linear-gradient(135deg, #2F2A26 0%, #4A3D35 100%);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #D4A574;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: rgba(245, 236, 220, 0.9);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: rgba(245, 236, 220, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #4A3D35;
    color: rgba(245, 236, 220, 0.7);
    font-size: 0.9rem;
}

.for_sp {
    display: none;
}

.skip-link.screen-reader-text {
    display: none;
}


/* プライバシーポリシー */
/* パンくずリスト */
.breadcrumb {
    background: rgba(255, 255, 255, 0.6);
    margin-top: 72px;
    border-bottom: 1px solid rgba(245, 236, 220, 0.8);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6B6460;
    padding: 0.6rem 1rem;
}

.breadcrumb-list a {
    color: #D4A574;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: #C19A5B;
}

.breadcrumb-separator {
    color: #D4A574;
}

/* メインコンテンツ */
.page-header {
    text-align: center;
    margin: 3rem 0 1rem;
}
.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2F2A26;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #6B6460;
    max-width: 600px;
    margin: 0 auto;
}

.last-updated {
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem 2rem;
    border-radius: 10px;
    margin: 2rem auto;
    max-width: 400px;
    text-align: center;
    border: 1px solid rgba(245, 236, 220, 0.8);
    font-weight: 500;
    color: #D4A574;
}

/* プライバシーポリシー本文 */
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(245, 236, 220, 0.8);
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.1);
}

.section {
    margin-bottom: 3rem;
}

.section:last-child {
    margin-bottom: 0;
}

.section-title2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2F2A26;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #D4A574;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-number {
    background: linear-gradient(135deg, #D4A574, #C19A5B);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    flex-shrink: 0;
}

.section-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.section-content p:last-child {
    margin-bottom: 0;
}

.subsection {
    margin: 1.5rem 0;
}

.subsection-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #D4A574;
}

.info-list {
    margin: 0.5rem 0;
}

.info-list ul {
    padding-left: 1.5rem;
}

.info-list li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(245, 236, 220, 0.3));
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid rgba(212, 165, 116, 0.2);
    margin: 1.5rem 0;
}

.contact-info2 {
    text-align: center;
    margin-top: 5rem;
    border-top: 2px dashed #D4A574;
}

.contact-info2 h3 {
    color: #D4A574;
    margin-bottom: 1rem;
    margin-top: 4rem;
    font-size: 1.2rem;
}

.contact-info2 p {
    margin-bottom: 0.5rem;
}

.contact-info2 .company-name {
    font-weight: 700;
    color: #2F2A26;
    font-size: 1.1rem;
}

/* ナビゲーションボタン */
.page-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    gap: 2rem;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #D4A574, #C19A5B);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.nav-btn:hover {
    background: linear-gradient(135deg, #C19A5B, #B08A4A);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.nav-btn.secondary {
    background: white;
    color: #D4A574;
    border: 2px solid #D4A574;
}

.nav-btn.secondary:hover {
    background: #D4A574;
    color: white;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .privacy-content {
        padding: 1.8rem;
        margin: 0;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .page-navigation {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-btn {
        text-align: center;
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .info-list {
        padding-left: 0;
    }

    .info-list ul {
        padding-left: 0;
    }

    .sp_left {
        text-align: left;
    }
}

/* レスポンシブ */
@media (max-width: 768px) {
    section,
    .main-content {
        padding: 4rem 1.4rem;
        text-align: left;
    }
    header {
        padding: 0 1.2rem;
        height: 70px;
    }
    
    .hero {
        height: calc(100vh - 72px);
        padding: 50px 20px;
    }
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .company-grid {
        grid-template-columns: 1fr;
    }

    .company-table th,
    .company-table td {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .news-item {
        flex-direction: column;
        gap: 1rem;
    }

    .news-date {
        white-space: normal;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .value-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
        text-align: center;
    }
    
    .value-left {
        min-width: auto;
    }


    .vision-intro {
        font-size: 1.1rem;
    }


    .nav-menu {
        position: absolute;
        top: 60px;
        right: 20px;
        background: #fff;
        flex-direction: column;
        padding: 15px;
        border-radius: 8px;
        display: none; /* デフォルトは非表示 */
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }   
    .nav-menu.active {
      display: flex; /* ボタンで表示切替 */
    }   
    .hamburger {
        display: flex;
    }
    
    nav {
        padding: 1rem 0;
    }

    .map-container iframe {
        height: 250px;
    }

    .value-card:nth-child(1),
    .value-card:nth-child(2),
    .value-card:nth-child(3) {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .value-card:nth-child(2) .value-left,
    .value-card:nth-child(2) .value-right {
        order: unset;
    }

    .contact-form {
        padding: 1rem;
    }

    .value-mission h3 {
        font-size: 2rem;
    }
    .for_sp {
        display: block;
    }

    .page-header {
        text-align: left;
        margin: 2rem 0 1rem;
    }
    .section-title2 {
        font-size: 1.2rem;
    }
    .contact-info2 h3 {
        font-size: 1rem;
    }
    .page-subtitle {
        font-size: 1rem;
    }
}
