/*
Theme Name: SheepDog Original Theme
Theme URI: https://sheep-dog.jp
Author: yuki
Author URI: https://sheep-dog.jp
Description: コーポレートサイト
Version: 1.0
*/

/***------------------------------------------
*
* reset
*
------------------------------------------***/
/*! destyle.css v2.0.2 | MIT License | https://github.com/nicolas-cusan/destyle.css */
*,
::before,::after {
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    border-style:solid;
    border-width:0
}
html {
    line-height:1.15;
    -webkit-text-size-adjust:100%
}
body {
    margin:0
}
main {
    display:block
}
p,table,blockquote,address,pre,iframe,form,figure,dl {
    margin:0
}
h1,h2,h3,h4,h5,h6 {
    font-size:inherit;
    line-height:inherit;
    font-weight:inherit;
    margin:0
}
ul,ol {
    margin:0;
    padding:0;
    list-style:none
}
dt {
    font-weight:bold
}
dd {
    margin-left:0
}
hr {
    -webkit-box-sizing:content-box;
    box-sizing:content-box;
    height:0;
    overflow:visible;
    border-top-width:1px;
    margin:0;
    clear:both;
    color:inherit
}
pre {
    font-family:monospace,monospace;
    font-size:inherit
}
address {
    font-style:inherit
}
a {
    background-color:rgba(0,0,0,0);
    text-decoration:none;
    color:inherit
}
abbr[title] {
    text-decoration:underline;
    -webkit-text-decoration:underline dotted;
    text-decoration:underline dotted
}
b,strong {
    font-weight:bolder
}
code,kbd,samp {
    font-family:monospace,monospace;
    font-size:inherit
}
small {
    font-size:80%
}
sub,sup {
    font-size:75%;
    line-height:0;
    position:relative;
    vertical-align:baseline
}
sub {
    bottom:-0.25em
}
sup {
    top:-0.5em
}
img,embed,object,iframe {
    vertical-align:bottom
}
button,input,optgroup,select,textarea {
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    vertical-align:middle;
    color:inherit;
    font:inherit;
    background:rgba(0,0,0,0);
    padding:0;
    margin:0;
    border-radius:0;
    text-align:inherit
}
[type=checkbox] {
    -webkit-appearance:checkbox;
    -moz-appearance:checkbox;
    appearance:checkbox
}
[type=radio] {
    -webkit-appearance:radio;
    -moz-appearance:radio;
    appearance:radio
}
button,input {
    overflow:visible
}
button,select {
    text-transform:none
}
button,[type=button],[type=reset],[type=submit] {
    cursor:pointer;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none
}
button[disabled],[type=button][disabled],[type=reset][disabled],[type=submit][disabled] {
    cursor:default
}
button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner {
    border-style:none;
    padding:0
}
button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring {
    outline:1px dotted ButtonText
}
select::-ms-expand {
    display:none
}
option {
    padding:0
}
fieldset {
    margin:0;
    padding:0;
    min-width:0
}
legend {
    color:inherit;
    display:table;
    max-width:100%;
    padding:0;
    white-space:normal
}
progress {
    vertical-align:baseline
}
textarea {
    overflow:auto
}
[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button {
    height:auto
}
[type=search] {
    outline-offset:-2px
}
[type=search]::-webkit-search-decoration {
    -webkit-appearance:none
}
::-webkit-file-upload-button {
    -webkit-appearance:button;
    font:inherit
}
label[for] {
    cursor:pointer
}
details {
    display:block
}
summary {
    display:list-item
}
[contenteditable] {
    outline:none
}
table {
    border-collapse:collapse;
    border-spacing:0
}
caption {
    text-align:left
}
td,th {
    vertical-align:top;
    padding:0
}
th {
    text-align:left;
    font-weight:bold
}
template {
    display:none
}
[hidden] {
    display:none
}

/* ==========================================================================
   基本設定
   ========================================================================== */
html {
	font-size: 62.5%; /* 10px */
}
body {
	min-width: 320px;
	font-family: 'Noto Sans JP', "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
	color: #333;
	font-size: 1.6rem;
	line-height: 1.8;
}
@media (max-width: 768px) {
	body {
		font-size: 1.4rem;
		line-height: 1.6;	
	}
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    height: 90px;  
    background-color: #000; 
    transition: background-color 0.3s ease, height 0.3s ease; 
}
.home .site-header {
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}
.site-header.is-scrolled {
    height: 60px; 
    background-color: #000; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); 
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 20px;
	max-width: 1200px;
    height: 100%;
}
.header_group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.header_group p {
    margin: 4px 0 0 0;
    padding: 0;
    font-size: 65%;
    color: #ccc;
    line-height: 1.2;
    opacity: 1;
    visibility: visible;
    max-height: 30px;
    transition: opacity 0.3s ease, visibility 0.3s ease, max-height 0.3s ease, margin 0.3s ease;
}
.site-header.is-scrolled .header_group p {
    opacity: 0;
    visibility: hidden; 
    max-height: 0;
    margin-top: 0;
}
.header-logo img {
    max-height: 40px;
    width: auto;
    transition: max-height 0.3s ease;
}
.site-header.is-scrolled .header-logo img {
    max-height: 32px; 
}
/* ヘッダーメニュー(PC) ---------------*/
.header-nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 100%;
	font-weight: 700;
    transition: opacity 0.2s ease, font-size 0.3s ease;
	transition: color 0.3s ease;
}
.header-nav a:hover {
	color: #fff;
}
.site-header.is-scrolled .header-nav a {
    font-size: 90%;
}
.header-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.header-nav li {
    margin-left: 24px;
}
.hamburger-btn {
    display: none;
}
/* ヘッダーメニュー(SP) ---------------*/
@media (max-width: 767px) {
	.home .site-header {
		background-color: #000;
	}
    .site-header {
        height: auto;
        min-height: 60px;
        padding: 10px 0;
    }
    .site-header.is-scrolled {
        height: auto;
        min-height: 50px;
        padding: 5px 0;
    }
    .header-inner {
        position: relative;
    }
    .header_group {
        max-width: 75%;
    }
    .hamburger-btn {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 110;
    }
    .hamburger-btn span {
        display: block;
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: #fff;
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
    }
    .hamburger-btn span:nth-child(1) { top: 0; }
    .hamburger-btn span:nth-child(2) { top: 10px; }
    .hamburger-btn span:nth-child(3) { top: 20px; }
    .hamburger-btn.is-active span:nth-child(1) {
        top: 10px;
        transform: rotate(45deg);
    }
    .hamburger-btn.is-active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-btn.is-active span:nth-child(3) {
        top: 10px;
        transform: rotate(-45deg);
    }
    .header-nav {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #000000;
        border-top: 1px solid #333; 
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height 0.3s ease, visibility 0.3s ease;
    }
    .header-nav.is-open {
        max-height: 400px;
        visibility: visible;
    }
    .header-nav ul {
        flex-direction: column;
        padding: 0;
    }
    .header-nav li {
        margin-left: 0;
        width: 100%;
        border-bottom: 1px solid #222;
    }
    .header-nav a {
        display: block;
        padding: 15px 20px;
        font-size: 100%;
        font-weight: bold;
        color: #fff;
        text-align: left;
    }
}


/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    position: relative;
    z-index: 10;
    background-color: #f7f7f7;
    padding: 20px;
    border-top: 1px solid #e5e5e5;
}
.footer-container {
	margin: 0 auto;
	width: 100%;
    max-width: 1200px;
    text-align: center;
}
.footer-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
	margin: 0 0 20px 0;
    padding: 0;
    list-style: none;
}
.footer-nav li {
    font-size: 90%;
    color: #999;
}
.footer-nav li:not(:last-child)::after {
    content: "/";
    margin: 0 15px;
    color: #999;
}
@media (max-width: 767px) {
    .footer-nav ul {
        gap: 10px 0;
    }
    .footer-nav li:not(:last-child)::after {
        margin: 0 8px;
    }
}
.footer-nav a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-nav a:hover {
    color: #000;
}
.copyright {
	margin: 0;
    font-size: 75%;
	font-family: "Josefin Sans", sans-serif;
    color: #333;
    letter-spacing: 0.02em;
}


/* ==========================================================================
   pageTop
   ========================================================================== */
#pageTop a {
	display: block;
	position: fixed;
	z-index: 9999;
	/*top: 90%;*/
	bottom: -60px;
	right: 10px;
}
#pageTop a span{
    /*描画位置*/
	position: absolute;
	left: -20px;
	top: 0;
    /*テキストの形状*/
	font-family: "Josefin Sans", sans-serif;
	color: #000;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
	/*縦書き設定*/
	-ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}
/* 矢印の描写 */
#pageTop a:before {
    content: "";
    /*描画位置*/
    position: absolute;
    top: 0;
    right: -6px;
    /*矢印の形状*/
    width: 1px;
    height: 20px;
    background: #000;
    transform: skewX(31deg);
}
#pageTop a:after{
	content:"";
    /*描画位置*/
	position: absolute;
	top: 0;
	right:0;
    /*矢印の形状*/
	width:1px;
	height: 70px;
	background: #000;
}


/* ==========================================================================
   MVセクション
   ========================================================================== */
.mv-section { 
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%; 
    height: 100vh; 
    overflow: hidden; 
    background-color: #000; 
    z-index: 1;
}
.mv-video { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    min-width: 100%; 
    min-height: 100%; 
    object-fit: cover; 
    z-index: 1;
}
.video-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}
.mv-content { 
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    color: #fff; 
    z-index: 3;
    box-sizing: border-box;
}
.mv-titles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}
.mv-titles h2 {
    margin: 0 0 10px 0;
	font-size: 300%;
	font-family: "Josefin Sans", sans-serif;
    letter-spacing: 0.05em;
}
.mv-titles p {
    margin: 0;
	font-size: 160%;
    color: #ccc;
}


/* ==========================================================================
   トップレイアウト
   ========================================================================== */
.container {
	margin: 0 auto;
	width: 100%;
    max-width: 1200px;
    padding: 80px 20px;
}
@media (max-width: 767px) {
    .container {
        padding: 50px 20px;
    }
}
.section-title {
	margin-bottom: 40px;
	font-size: 250%;
	font-family: "Josefin Sans", sans-serif;
    letter-spacing: 0.05em;
}
.section-title span {
	margin-left: 15px;
    font-size: 50%;
 	font-family: 'Noto Sans JP', sans-serif;   
}


/* ==========================================================================
   Service
   ========================================================================== */
.service-section {
    position: relative;
	margin-top: 100vh;
	background: linear-gradient(#2e2e2e, #000);
    z-index: 10;
}
.service-section .section-title {
	color: #fff;
}
.service-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}
.service-card { 
	margin-bottom: 20px;
	padding: 30px; 
	border-radius: 4px;
	background: rgba(255,255,255,0.05); 
}
@media (max-width: 767px) {
	.service-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}
}
.service-card { 
	margin-bottom: 0;
	display: table-cell;
	vertical-align: top;
}
.service-card h3 {
	font-size: 150%;
	color: #fff;
}
.service-card p {
	font-size: 100%;
	color: #fff;
}
.service-btn {
	margin: 0 auto;
	text-align: center;
}
.service-btn a.btn {
	position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
	margin: 30px auto 0;
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid #fff;
    color: #fff;
    font-size: 120%;
    transition: color .3s;
}
.service-btn a.btn:hover {
    color: #000;
}
.service-btn a.btn:before,
.service-btn a.btn:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;margin: auto;
    background-color: #fff;
    transition: width .3s;
}
.service-btn a.btn:before {
    right: 50%;
}
.service-btn a.btn:after {
    left: 50%;
}

.service-btn a.btn:hover:before, .service-btn a.btn:hover:after {
    width: 50%;
}
.service-btn a.btn span {
    position: relative;
    z-index: 1;
}


/* ==========================================================================
   Case
   ========================================================================== */
.case-section {
    position: relative;
	background-color: #fafafa; 
    z-index: 10;
}
.case-section .section-title {
	color: #000;
}
.case-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.case-list a:hover {
	color: #c39143;
	transition: color .3s;
}
.case-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}
.case-body {}
.case-body h3 {
	font-size: 120%;
}
.case-excerpt {
	font-size: 100%;
}
.case-img {
    width: 100%; 
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
@media (min-width: 768px) {
    .case-item {
        flex-direction: row;
        align-items: center;
    }
    .case-img {
        width: 40%; 
        aspect-ratio: 4 / 3;
    }
}


/* ==========================================================================
   About
   ========================================================================== */
.about-section {
    position: relative;
    z-index: 10;
    background-color: #ededed;
}
.about-section .section-title {
	color: #000;
}
.about-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}
@media (max-width: 767px) {
    .about-wrapper {
        display: block;
    }
    .about-image {
        max-width: 100%;
    }
}
.about-info {
    flex: 1;
}
.about-table {
    width: 100%;
    border-collapse: collapse;
}
.about-table th, 
.about-table td {
    padding: 15px 0;
    font-size: 100%;
	color: #333;
    line-height: 1.6;
    text-align: left;
    vertical-align: top;
}
.about-table th {
    width: 30%;
    font-weight: normal;
}
.about-table td {
    width: 70%;
}
.about-table tr:not(:last-child) {
    border-bottom: 1px solid #dbdbdb;
}
@media (max-width: 767px) {
	.about-table {
		margin-bottom: 24px;
		width: 100%;
		border-collapse: collapse;
	}
    .about-table th {
        width: 35%;
    }
	.about-table td {
		width: 65%;
	}
}
.about-image {
    flex: 1;
    max-width: 500px;
}
@media (max-width: 767px) {
    .about-image {
        max-width: 100%;
    }
}
/* スライダー全体の囲み（矢印の位置基準にするためrelativeに） */
.slider-container {
	position: relative;
	width: 100%;
}
/* スライダー内の画像サイズを統一・最適化 */
.about-slider img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover; /* 縦横比を維持して切り抜き（必要に応じて） */
}
/* 矢印ボタンの配置（カンプに合わせて数値を調整してください） */
.slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	cursor: pointer;
	/* ボタンの見た目（背景透過や枠線など）は元のCSSをそのまま引き継いでください */
}
.slider-arrow.prev {
	left: 10px; /* 左矢印の位置 */
}
.slider-arrow.next {
	right: 10px; /* 右矢印の位置 */
}


/* ==========================================================================
   Contact
   ========================================================================== */
.contact-section {
    position: relative;
    z-index: 10;
    background-image: url('./images/contact_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}
.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(230, 230, 230, 0.85);
    z-index: 1;
}
.contact-section .section-title {
	color: #000;
}
.contact-container {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 100px 20px;
}
.contact-lead {
	margin-bottom: 40px;
    font-size: 100%;
    color: #333;
}
.contact-btn-area {
    text-align: left;
}
.contact-btn-area a.btn-contact {
	position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
	margin: 0;
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid #000;
    color: #000;
    font-size: 100%;
    transition: color .3s;
}
.contact-btn-area a.btn-contact:hover {
    color: #fff;
}
.contact-btn-area a.btn-contact:before,
.contact-btn-area a.btn-contact:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;margin: auto;
    background-color: #000;
    transition: width .3s;
}
.contact-btn-area a.btn-contact:before {
    right: 50%;
}
.contact-btn-area a.btn-contact:after {
    left: 50%;
}
.contact-btn-area a.btn-contact:hover:before, .contact-btn-area a.btn-contact:hover:after {
    width: 50%;
}
.contact-btn-area a.btn-contact span {
    position: relative;
    z-index: 1;
}


/* ==========================================================================
   固定・シングルページレイアウト
   ========================================================================== */
.container-in {
	margin: 0 auto;
	width: 100%;
    max-width: 1200px;
    padding: 20px;
}
@media (max-width: 767px) {
    .containerin {
        padding: 20px;
    }
}
.site-main {
	margin-bottom: 20px;
}
.page-header {
	margin: 0 auto;
	padding: 100px 0 50px;
	background-color: #000;
}
.page-title {
	margin: 0 auto;
	width: 100%;
	max-width: 1200px;
	font-size: 180%;
	color: #fff;
	text-align: center;
}
.page-content h2 {
	margin-top: 24px;
	margin-bottom: 12px;
	padding-bottom: 6px;
	border-bottom: 3px solid #ccc;
	font-size: 150%;
}
.page-content h2.hd-title {
	margin-top: 0;
}
.page-content h3 {
	margin-top: 32px;
	margin-bottom: 12px;
	padding-top: 6px;
	padding-bottom: 6px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	font-size: 120%;
}
.page-content p {
	font-size: 100%;
}
.page-content ul {
	margin-left: 24px;
	list-style-type: disc;
	font-size: 100%;
}
.page-content ol {
	margin-left: 24px;
	list-style-type: decimal;
	font-size: 100%;
}
/*固定ページ下お問い合わせボタン*/
.contact-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 30px 0;
}
.contact-btn a {
	display: block;
	padding: 20px;
	background-color: #02307f;
	border-radius: 50px;
	color: #fff;
	text-align: center;
	text-decoration: none;
	transition: background-color .3s ease, transform .2s ease;
}
.contact-btn a:hover {
	background-color: #fa5000;
	transform: translateY(-2px);
}
/* 記事内画像 */
.aligncenter {
    display: block;
    margin: 32px auto;
}
/* 投稿日時・カテゴリー */
.entry-meta {
	display: block;
	font-size: 80%;
	color: #fff;
	text-align: center;
}
.entry-meta time {
	font-family: "Josefin Sans", sans-serif;
}
.cat-links {
	display: block;
}
.post-navigation {
    margin: 40px auto 24px;
    padding: 0;
    max-width: 1200px;
}
.nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.nav-previous a,
.nav-next a {
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}
.nav-previous a:hover,
.nav-next a:hover {
    background: #ffffff;
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}
.nav-arrow {
	margin-bottom: 5px;
    font-size: 70%;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #868e96;
	font-family: "Josefin Sans", sans-serif;
}
/* 記事タイトル部分 */
.nav-title {
    font-size: 80%;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-next a {
    text-align: right;
    align-items: flex-end;
}
@media (min-width: 768px) {
    .nav-links {
        flex-direction: row;
    }
    .nav-previous,
    .nav-next {
        flex: 1;
        max-width: 500px;
    }
    .nav-next {
        margin-left: auto;
    }
}


/* ==========================================================================
   breadcrumb
   ========================================================================== */
.breadcrumb {
	padding: 14px 0;
    background-color: #f8f8f8;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-size: 75%;
}
.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.breadcrumb-list__item {
    display: flex;
    align-items: center;
    color: #333;
    line-height: 1.6;
}
/* 区切り文字 */
.breadcrumb-list__item:not(:last-child)::after {
    content: "\003E";
    margin: 0 12px;
}
/* リンク */
.breadcrumb-list__item a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #333;
    text-decoration: none;
    transition: color .25s;
}
.breadcrumb-list__item a:hover {
    color: #000;
}
/* 長いタイトル対策 */
.breadcrumb-list__item:last-child span {
    word-break: break-word;
}
/* スマホ */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 10px 0;
    }
    .breadcrumb-list__item:not(:last-child)::after {
        margin: 0 10px;
    }

}



/* ==========================================================================
   contact form
   ========================================================================== */
/* CF7が自動生成するPタグの余白をリセットして真ん中寄せにする */
.wpcf7-form p {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center; /* 念のためPタグ自体も真ん中寄せに */
}
.form-container {
	margin: 0 auto;
	padding: 20px 15px;
    max-width: 700px;
	text-align: left;
}
.form-text {
	margin-bottom: 30px;
	font-size: 100%;
}
.form-text a {
    color: #009900;
    text-decoration: underline;
}
.form-row {
	display: flex;
	align-items: center;
    gap: 0;
    margin-bottom: 25px;
}
.form-label {
	width: 30%;
}
.form-field {
	 width: 70%;
}
@media (max-width: 768px) {
	.form-row {
		flex-direction: column;
		gap: 6px;
	}
	.form-label,
	.form-field {
		width: 100%;
	}
}
.form-label p,
.form-field p {
	text-align: left !important;
}
/* 必須バッジ */
.badge-required {
	 display: inline-block;
    background: #ff4d4f;
    color: #fff;
    font-size: 70%;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 4px;
    margin-right: 8px;
    vertical-align: middle;
}
/* ラベルテキスト */
.form-label label {
    color: #333;
    font-size: 100%;
	vertical-align: middle;
}
/* 入力項目（input / textarea）の共通デザイン */
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 100%;
    color: #333;
    background: #fafafa;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #009900;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 153, 0, 0.1);
}
.form-field textarea {
    height: 150px;
    resize: vertical;
}
/* 同意チェックボックスエリア */
.form-acceptance {
    text-align: center;
    margin: 35px 0 20px;
}
.form-acceptance label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 90%;
}
.form-acceptance input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.form-submit {
    display: flex;
    justify-content: center; /* 横方向の真ん中寄せ */
    align-items: center;     /* 縦方向の真ん中寄せ */
    width: 100%;
    margin-top: 20px;
}
.form-submit input[type="submit"] {
	margin: 0 auto;
    background: #009900;
    color: #fff;
    font-size: 100%;
    font-weight: bold;
    padding: 16px 150px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 153, 0, 0.2);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
}
.form-submit input[type="submit"]:hover {
    background: #007700; /* ホバー時に少し暗く */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 153, 0, 0.3);
}


