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

Underscores 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: clamp(1.4rem, 0.436rem + 1.82vw, 1.8rem);
	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;
  line-height: 1.2;

}


.clearfix::after {
    content:'';
    display: block; 
    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;
}




/*font フォント*/
big,.big {
	font-size: 125%;
}

.b{
	font-weight: bold;
}
.line-yellow{
background: linear-gradient(transparent 50%, #fff499 50%);
}

.line-pink{
background: linear-gradient(transparent 50%, #ff99ee 50%);
}


.frame-yellow{
  padding: 15px;
   background-color: #fcf8e3;
   border: 1px solid #faebcc;
    border-radius: 5px;
}

.frame-blue{
  padding: 15px;
   background-color: #e3e8fc;
   border: 1px solid #ccd5fa;
    border-radius: 5px;
}


.frame-white{
  padding: 15px;
   background-color: #ffff;
   border: 1px solid #d0d0d0;
    border-radius: 5px;
}


.red{
  color: #b75266;
}






.under-line{
  border-bottom: #808e94 solid 2px;

}

.bg-line{
  background-color: #ddebf6;
  display: inline-block;
  padding: 0.2e, 1em;
  border-radius: 8px;
}









.arrow-line {
    position: relative;
    padding-right: 25px; /* 余白を右側に変更 */
    display: inline-block;
}

/* 矢印（三角）を右側に配置 */
.arrow-line:before {
    position: absolute;
    content: '';
    bottom: -3px;
    right: 0; /* 左から右に変更 */
    left: auto;
    width: 0;
    height: 0;
    border: none;
    border-right: solid 15px transparent; /* 向きを反転 */
    border-bottom: solid 15px #4172ba;
}

/* 線を右側の三角に繋がるように調整 */
.arrow-line:after {
    position: absolute;
    content: '';
    bottom: -3px;
    left: -10px;
    right: 10px; /* 右側に隙間を作る（三角の重なり分） */
    width: auto; /* width: 100%だと突き抜けるのでautoに */
    border-bottom: solid 3px #4172ba;
}














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

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

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

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

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

figure {
	margin: 1em 0;
}

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

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

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

a:focus {
	outline: thin dotted;
}

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

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

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

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













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


.site-footer{
	border-top: solid 1px #b1b1b1;
  padding: 10px;
}



/* 3つのボックスを並べるグリッド設定 */
.footer-menu {
  display: flex;
  flex-wrap: wrap; /* スマホで折り返す設定 */
  gap: 30px; /* ボックス間の隙間 */
  justify-content: center;
 /*max-width: 1000px;*/
  margin: 0 auto;
}
.footer-menu-title{
  font-weight: bold;
  border-bottom: solid 2px #18649a;
}


.footer-menu ul{
  padding: 0;
  position: relative;
}

.footer-menu li{
  line-height: 1.5;
  padding: 0.5em 0.5em 0.5em 1.2em;
  list-style: none;
}
.footer-menu ul li:before {
  font-family: FontAwesome;
  content: "\f138";/*アイコンの種類*/
  position: absolute;
  left : 0;/*左端からのアイコンまでの距離*/
  color: #18649a;/*アイコン色*/
}

.footer-menu li a{
  text-decoration: none;
  color: #404040;
}


.footer-item{
  margin-top: 0.5em;
  display: flex;
  max-width: 380px;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-item li{
  font-size: 12px;
  padding: 0 0.9em 0 1.2em;
  position: relative;

}











/*--------------------------------------------------------------
# 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: 1em;
	margin-bottom: 1em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

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

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1em;
}






/*2列横並び　固定＆可変*/
.flex2 {
  display: flex;
  flex-wrap: wrap; /* 幅が足りない時に折り返しを許可 */
  gap: 10px;       /* 必要に応じて要素間の隙間を指定 */
  justify-content: center;
  align-items: center;
}

.flex2 img {
  flex-shrink: 0;  /* 固定幅が縮まないように設定 */
}

.convert{
  flex-grow: 1;    /* 残りのスペースをすべて埋める */
  flex-basis: 300px; /* この値（300px）を下回ると、次の行へ移動する */
}
@media (max-width: 768px) {
.sp_reverse{
  flex-direction: column-reverse;
}
}

/*3列横並び　固定＆可変(画像)*/
.flex3 {
  display: flex;      /* 中身を横並びにする魔法のコード */
  gap: 20px;          /* 画像と画像の間のすき間（お好みで調整してください） */
}

.flex3 img {
  flex: 1;            /* 3枚の幅を「1:1:1」で完全に均等にする */
  width: 100%;        /* 親の幅に合わせて柔軟に伸縮させる */
  height: auto;       /* 画像の縦横比を崩さないための設定 */
  object-fit: cover;  /* （※補足）もし3枚の画像のサイズや縦横比がバラバラの場合、これをいれると綺麗にトリミングされて揃います */
}








/*画像の横並び*/
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  justify-items: center;
}

.image-grid img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}













/*add katsukawa */
/* =============================================
   グッドライフ株式会社 - メインスタイルシート
   カラーパレット：深緑×金×白
   ============================================= */

:root {
  --color-primary: #2d5a27;      /* 深緑 */
  --color-primary-dark: #1a3a16; /* より深い緑 */
  --color-primary-light: #4a8a3f;
  --color-gold: #c8a94a;         /* 金 */
  --color-gold-light: #e8c96a;
  --color-white: #ffffff;
  --color-offwhite: #f8f6f0;
  --color-beige: #f0ebe0;
  --color-text: #2c2c2c;
  --color-text-light: #666666;
  --color-border: #d8cdb8;
  --font-main: 'Noto Sans JP', 'Yu Gothic', '游ゴシック', sans-serif;
  --font-heading: 'Noto Serif JP', 'Yu Mincho', '游明朝', serif;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --radius: 8px;
  --transition: 0.3s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.8;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul, ol { list-style: none; }

/* =============================================
   Typography
   ============================================= */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); line-height: 1.4; }
.section-title {
  font-size: 2rem;
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
}
.section-title-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.section-title-line::before,
.section-title-line::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--color-gold);
}

/* =============================================
   Layout Utilities
   ============================================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-bg { background: var(--color-offwhite); }
.section-dark { background: var(--color-primary-dark); color: var(--color-white); }

/* Grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  letter-spacing: 0.05em;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-primary:visited {
	color: var(--color-white);
}



.btn-gold {
  background: var(--color-gold);
  color: var(--color-primary-dark);
  border-color: var(--color-gold);
}
.btn-gold:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-gold:visited {
  color: var(--color-primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white) !important;
}
.btn-outline:visited {
  color: var(--color-primary);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-primary-dark) !important;
}
.btn-outline-white:visited {
  color: var(--color-white);
}



.btn-lg { padding: 18px 48px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* =============================================
   Header / Navigation
   ============================================= */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-weight: 900;
  font-size: 1.2rem;
  font-family: var(--font-heading);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text strong {
  font-size: 1rem;
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  letter-spacing: 0.05em;
}
.logo-text span {
  font-size: 0.7rem;
  color: var(--color-text-light);
  letter-spacing: 0.08em;
}
.global-nav { display: flex; align-items: center; gap: 4px; }
.global-nav a {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.global-nav a:hover { color: var(--color-primary); background: var(--color-offwhite); }
.global-nav .nav-cta {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 20px;
  margin-left: 8px;
}
.global-nav .nav-cta:hover { background: var(--color-primary-dark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary-dark);
  transition: var(--transition);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 16px 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  color: var(--color-text);
}
.mobile-nav a:last-child { border-bottom: none; }

/* =============================================
   Hero
   ============================================= */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, #3a7a30 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero-badge {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
}
.hero h1 {
  font-size: 3rem;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero h1 em {
  font-style: normal;
  color: var(--color-gold-light);
}
.hero p {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* =============================================
   Feature / Stats Banner
   ============================================= */
.stats-bar {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 24px 0;
}
.stats-bar-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
}
.stat-item .num {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-gold-light);
  display: block;
  line-height: 1;
}
.stat-item .label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

/* =============================================
   Cards
   ============================================= */
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.card-body { padding: 24px; }
.card-img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}
.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.tag-shrine { background: #e8f0e6; color: var(--color-primary); }
.tag-sign { background: #fdf0d0; color: #8a6a00; }
.tag-machine { background: #e8eef8; color: #2a5090; }
.tag-car { background: #f0e8f8; color: #6a2090; }
.tag-wall { background: #f8e8e8; color: #902020; }
.tag-other { background: #f0f0f0; color: #555; }

/* =============================================
   Before / After
   ============================================= */
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.ba-item {
  position: relative;
}
.ba-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.ba-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  letter-spacing: 0.1em;
}
.ba-label.before { background: rgba(120,40,40,0.85); color: #fff; }
.ba-label.after { background: rgba(30,70,25,0.85); color: var(--color-gold-light); }

/* =============================================
   Product Feature
   ============================================= */
.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.feature-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.feature-box:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
}
.feature-box h3 {
  font-size: 1rem;
  font-family: var(--font-heading);
  margin-bottom: 8px;
  color: var(--color-primary-dark);
}
.feature-box p { font-size: 0.88rem; color: var(--color-text-light); }

/* =============================================
   NETIS Badge
   ============================================= */
.netis-banner {
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.netis-icon {
  width: 80px;
  height: 80px;
  background: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.netis-text h3 { font-size: 1.3rem; color: var(--color-gold-light); margin-bottom: 6px; }
.netis-text p { font-size: 0.9rem; color: rgba(255,255,255,0.85); }

/* =============================================
   Application Grid (適用対象)
   ============================================= */
.app-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}
.app-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.app-icon { font-size: 2.5rem; margin-bottom: 12px; }
.app-card h3 { font-size: 0.95rem; color: var(--color-primary-dark); font-family: var(--font-heading); }
.app-card p { font-size: 0.82rem; color: var(--color-text-light); margin-top: 6px; }

/* =============================================
   Steps
   ============================================= */
.steps {
  display: flex;
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}
.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 12px;
}
.step-num {
  width: 64px;
  height: 64px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin: 0 auto 16px;
  border: 4px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-primary);
}
.step h3 { font-size: 0.95rem; color: var(--color-primary-dark); margin-bottom: 6px; }
.step p { font-size: 0.83rem; color: var(--color-text-light); }

/* =============================================
   Works / Gallery Filter
   ============================================= */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-tab {
  padding: 8px 20px;
  border: 2px solid var(--color-border);
  border-radius: 40px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--color-white);
  color: var(--color-text);
  transition: var(--transition);
}
.filter-tab:hover,
.filter-tab.active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-white);
}

/* =============================================
   Blog
   ============================================= */
.blog-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.blog-card-img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  background: var(--color-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-card-body { padding: 20px; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 10px;
}
.blog-card h3 { font-size: 1rem; font-family: var(--font-heading); color: var(--color-primary-dark); margin-bottom: 8px; line-height: 1.5; }
.blog-card p { font-size: 0.85rem; color: var(--color-text-light); }

/* Article */
.article-header { background: var(--color-offwhite); padding: 60px 0; }
.article-header h1 { font-size: 2rem; color: var(--color-primary-dark); margin-bottom: 16px; }
.article-body { max-width: 780px; margin: 0 auto; padding: 60px 24px; }
.article-body h2 { font-size: 1.5rem; color: var(--color-primary-dark); margin: 2.5rem 0 1rem; padding-left: 16px; border-left: 4px solid var(--color-primary); }
.article-body h3 { font-size: 1.1rem; color: var(--color-primary); margin: 2rem 0 0.8rem; }
.article-body p { margin-bottom: 1.2rem; line-height: 1.9; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body blockquote { border-left: 4px solid var(--color-gold); padding: 16px 24px; background: var(--color-offwhite); margin: 2rem 0; font-style: italic; }

/* =============================================
   Dealer / CTA
   ============================================= */
.merit-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow);
}
.merit-num {
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 8px;
}
.merit-card h3 { font-size: 1.05rem; color: var(--color-primary-dark); margin-bottom: 8px; }
.merit-card p { font-size: 0.88rem; color: var(--color-text-light); }

/* Form */
.form-group { margin-bottom: 24px; }
.form-label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--color-primary-dark); }
.form-label .required { color: #c0392b; font-size: 0.75rem; margin-left: 6px; font-weight: 400; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-main);
  background: var(--color-white);
  color: var(--color-text);
  transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--color-primary); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { cursor: pointer; }

/* =============================================
   FAQ
   ============================================= */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 24px;
  background: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}
.faq-q:hover { background: var(--color-offwhite); }
.faq-q .q-icon {
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-q .arrow {
  margin-left: auto;
  transition: var(--transition);
  color: var(--color-primary);
  font-size: 0.85rem;
}
.faq-q.open .arrow { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 16px 24px 20px;
  background: var(--color-offwhite);
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-text-light);
  border-top: 1px solid var(--color-border);
}
.faq-a.open { display: block; }

/* =============================================
   CTA Section
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 { font-size: 2rem; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   Footer
   ============================================= */
#footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.8);
}
.footer-top {
  padding: 60px 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo strong { font-size: 1.1rem; color: var(--color-white); font-family: var(--font-heading); }
.footer-desc { font-size: 0.85rem; margin: 16px 0; color: rgba(255,255,255,0.65); line-height: 1.7; }
.footer-contact { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.footer-contact strong { color: var(--color-gold-light); font-size: 1.2rem; display: block; }
.footer-nav h4 { color: var(--color-gold-light); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.footer-nav a:hover { color: var(--color-white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* =============================================
   Breadcrumb
   ============================================= */
.breadcrumb {
  background: var(--color-offwhite);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}
.breadcrumb ol {
  display: flex;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--color-text-light);
}
.breadcrumb li + li::before { content: '›'; }
.breadcrumb a { color: var(--color-primary); }

/* =============================================
   Page Header
   ============================================= */
.page-header {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
  padding: 60px 0;
  text-align: center;
}
.page-header h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 1rem; }

/* =============================================
   Scroll Animation
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-title { font-size: 1.6rem; }
  .hero h1 { font-size: 2rem; }
  .hero { min-height: 60vh; padding: 60px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .global-nav { display: none; }
  .hamburger { display: flex; }
  .stats-bar-inner { gap: 24px; }
  .steps { flex-direction: column; gap: 24px; }
  .steps::before { display: none; }
  .netis-banner { flex-direction: column; text-align: center; padding: 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .before-after-grid { grid-template-columns: 1fr; }
  .cta-section h2 { font-size: 1.5rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.6rem; }
  .hero-btns { flex-direction: column; }
  .btn-lg { padding: 16px 32px; }
  .grid-4 { grid-template-columns: 1fr; }
}

















/*katsukawa add header*/

.global-nav ul{
  display:flex;
  margin: auto;
  align-items: center;
}


.global-nav .nav-cta {

  border-radius: 4px;

}
.global-nav .nav-cta a:hover { background: var(--color-primary-dark); }

.global-nav .nav-cta a{
  color: #FFF;
  padding: 8px 0;
}


.entry-content{
  margin: 0;
}

.post-date{
  font-size:0.82rem;color:var(--color-text-light);margin-left:12px;
}

.blog-card,
.works-card
{
  display: block;
}