/*
Theme Name: Toyoake Group JFIソリューション
*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  font-size: 62.5%;
}

body {
  margin: 0;
  font-size: 1.6rem;
	background-color: #FCFCFC;
}

main {
  display: block;
}

h1 {
  font-size: 3rem;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1.2rem;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

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 {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

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

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/*--------------------------------------------------------------
# Box Sizing
--------------------------------------------------------------*/
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
:root {
  --color-primary: #0099CC;
  --color-primary-dark: #007FA3;
  --color-gray-bg: #f0f2f1;
  --color-white: #ffffff;
  --color-black: #333333;
  --color-text: #333333;
  --color-gray: #666666;
  --color-light-gray: #f8f8f8;
  --color-border: #eeeeee;
  --font-main: "noto sans jp", "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.3s ease;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.6;
}

/* メニュー開いている時にスクロールを無効化 */
body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  margin-top: 0;
}

p {
  margin-bottom: 8px;
  margin-top: 0;
	font-size: 16px;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

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

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

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
  background-color: var(--color-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.site-branding {
  display: flex;
  align-items: center;
  max-width: 240px;
}

.site-branding img {
  max-height: 80px;
  width: auto;
}

/* Navigation */
.main-navigation {
  display: flex;
  align-items: center;
  width: 100%;
}

.menu-container {
  display: none;
  width: 100%;
  flex-direction: column;
}

.main-navigation.toggled .menu-container {
  display: flex;
}

.main-navigation ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding-left: 0;
  width: 100%;
}

.main-navigation ul li {
  position: relative;
}

.main-navigation ul li a {
  display: flex;
  align-items: center;
  padding: 0.8em 1em;
  text-decoration: none;
  color: var(--color-text);
}

.main-navigation ul li a:hover {
  color: var(--color-primary);
}

.menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  width: 24px;
  height: 24px;
}

.menu-icon img {
  width: 100%;
  height: auto;
  max-height: 24px;
  vertical-align: middle;
}

.menu-text {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
}

/* Contact Button */
.contact-button {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.3s;
}

.contact-button:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  text-decoration: none;
}

/* Mobile Menu Toggle - モダンデザイン */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background-color: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-left: auto;
  position: relative;
  z-index: 2; /* メニューオーバーレイより上に表示 */
}

.menu-toggle-bar {
  display: block;
  width: 100%;
  height: 2px; /* より細く */
  background-color: #0099CC;
  border-radius: 2px; /* 角丸 */
  transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6); /* スムーズなアニメーション */
}

.main-navigation.toggled .menu-toggle-bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  width: 100%;
}

.main-navigation.toggled .menu-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.main-navigation.toggled .menu-toggle-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  width: 100%;
}

/* Responsive Styles - モダンなオーバーレイメニュー */
@media screen and (max-width: 767px) {
  .header-container {
    padding: 10px 15px;
  }

  .menu-container {
    position: fixed;
    top: 54px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 40px 20px;
  }

  .main-navigation.toggled .menu-container {
    opacity: 1;
    visibility: visible;
  }

  .main-navigation ul {
    text-align: center;
    margin-bottom: 30px;
  }

  .main-navigation ul li {
    margin: 0;
    padding: 15px 0;
    border-bottom: none;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    transition-delay: calc(0.1s * var(--item-index, 0));
  }

  .main-navigation.toggled ul li {
    transform: translateY(0);
    opacity: 1;
  }

  .main-navigation ul li:nth-child(1) {
    --item-index: 1;
  }

  .main-navigation ul li:nth-child(2) {
    --item-index: 2;
  }

  .main-navigation ul li:nth-child(3) {
    --item-index: 3;
  }

  .main-navigation ul li a {
    font-size: 1.2rem;
    justify-content: center;
    padding: 10px 20px;
  }

  .menu-icon {
    margin-right: 15px;
    width: 28px;
    height: 28px;
  }

  .menu-text {
    font-size: 2rem;
    font-weight: 600;
  }

  .header-buttons {
    margin-top: 20px;
    width: 100%;
    max-width: 300px;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    transition-delay: 0.4s;
  }

  .main-navigation.toggled .header-buttons {
    transform: translateY(0);
    opacity: 1;
  }

  .contact-button {
    display: block;
    text-align: center;
    width: 100%;
    padding: 15px 20px;
    border-radius: 30px;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 138, 50, 0.2);
  }
}

@media screen and (min-width: 768px) {
  .header-container {
    flex-wrap: nowrap;
    padding: 16px 20px;
  }

  .site-branding {
    flex: 0 0 auto;
    margin-right: 2rem;
  }

  .site-branding img {
    max-height: 80px;
  }

  .main-navigation {
    width: auto;
    flex: 1;
    justify-content: flex-end;
  }

  .menu-toggle {
    display: none;
  }

  .menu-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: auto;
  }

  .main-navigation ul {
    flex-direction: row;
    align-items: center;
    width: auto;
    margin-right: 1rem;
  }

  .menu-text {
    font-size: 1.6rem;
  }
}

/*--------------------------------------------------------------
# Front Page
--------------------------------------------------------------*/

/* Hero Section */
.hero-section {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  margin-bottom: 60px;
}

.hero-image {
  position: relative;
  height: 100%;
  width: 100%;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.3);
  color: var(--color-white);
}

.hero-title {
  font-size: 4.2rem;
  margin-left: 30px;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
}

.hero-description {
  font-size: 1.6rem;
  max-width: 600px;
}

/* Section Styles */
h2,
h2.section-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  font-size: 3.6rem;
  margin-bottom: 50px;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  h2,
  h2.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
}
h2:before,
h2.section-title::before {
  content: url("./images/line.svg");
  display: inline-block;
  bottom: 8px;
  position: relative;
  margin-right: 30px;
}
@media screen and (max-width: 768px) {
  h2:before,
  h2.section-title::before {
    content: url("././images/line_sp.svg");
    margin-right: 20px;
  }
}
h2:after,
h2.section-title::after {
  content: url("./images/line.svg");
  -webkit-transform: scale(-1, 1);
  transform: scale(-1, 1);
  display: inline-block;
  bottom: 8px;
  position: relative;
  margin-left: 30px;
}
@media screen and (max-width: 768px) {
  h2:after,
  h2.section-title::after {
    content: url("./images/line_sp.svg");
    margin-left: 20px;
  }
}

.business-section,
.company-section,
.access-section {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: 80px 15px 0;
}

/* Business Section */
.business-section {
  padding: 80px 0;
}

.business-content {
  max-width: 800px;
  margin: 0 auto;
}

.business-content img {
  margin-bottom: 30px;
  border-radius: 6px;
}

p.note {
  margin-top: 6px;
  font-size: 14px;
  text-align: right;
}

/* Company Section */
.company-section {
  padding: 80px 0;
}

/* Access Section */
.access-section {
  padding: 80px 0;
}

.access-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.access-text {
  text-align: center;
}
.access-text p {
  text-align: left;
  margin-bottom: 6px;
}

.access-map {
  width: 100%;
  height: 450px;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media screen and (max-width: 767px) {
  .hero-section {
    height: 50vh;
    min-height: 300px;
    margin-bottom: 0;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-description {
    font-size: 1rem;
  }
  .business-section,
  .company-section {
    padding-bottom: 0;
  }
  .business-section,
  .company-section,
  .access-section {
    padding: 60px 0;
  }
}

/*--------------------------------------------------------------
# Contact Page
--------------------------------------------------------------*/
.contact-hero {
  position: relative;
  width: 100%;
  height: 180px;
  background-image: url('/wp-content/uploads/sites/2/2025/07/solution_fix.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.contact-hero .page-title {
  position: relative;
  font-size: 2.8rem;
  color: var(--color-white);
  text-align: center;
  margin: 0;
  z-index: 1;
}

.contact-intro {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.contact-methods {
  display: flex;
  margin-bottom: 50px;
  border: 1px solid #F3F3F3;
}

.contact-method-box {
  flex: 1;
  padding: 25px;
  border-radius: 5px;
}
.contact-method-box:first-child {
	border-right: 1px solid #f3f3f3;
}

.contact-method-box b {
  display: block;
  font-size: 16px;
  margin-bottom: 15px;
}
.contact-method-box p {
	font-size: 14px;
}

.contact-method-box ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 15px;
}
.contact-method-box ul.ul-text {
	list-style-type: disc;
	margin-left: 14px;
}

.contact-info-list {
  display: flex;
  gap: 40px;
}

.contact-info-list li {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 400;
}

.contact-info-list li span {
	font-size: 20px;
	font-weight: 700;
	margin-right: 12px;
}

.contact-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.contact-content {
  margin-bottom: 40px;
}

@media screen and (max-width: 767px) {
  .contact-methods,.contact-method-box ul {
    flex-direction: column;
  }
	.contact-info-list {
		gap: 6px;
	}
	.contact-method-box:first-child {
		border-right: 0;
		border-bottom: 1px solid #f3f3f3;
	}

  .contact-hero .page-title {
    font-size: 2rem;
  }
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.contact-info-item {
  padding: 20px;
  background-color: var(--color-gray-bg);
  border-radius: 5px;
}

.contact-info-item h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: var(--color-primary);
}

.contact-tel {
  font-size: 1.3rem;
  font-weight: 700;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto 60px;
}

.contact-form-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.5rem;
  position: relative;
  padding-bottom: 15px;
}

.contact-form-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--color-primary);
}

.contact-form-wrapper {
  margin-bottom: 30px;
}

/* Contact Form 7 Styles */
.wpcf7 {
  max-width: 100%;
}

/* フォームの行スタイル */
.wpcf7 .wpcf7-form p {
  margin-bottom: 20px;
}

/* PCでの見出しと入力フィールドのレイアウト */
@media screen and (min-width: 768px) {
  .wpcf7 .wpcf7-form p:not(.form-label):not(.submit-button-wrapper) {
    display: flex;
    flex-direction: row;
  }
	.contact-input-set.privacy p {
		display: block !important;
	}
  .wpcf7 label {
    width: 30%;
    padding-right: 20px;
    display: flex;
    align-items: center;
  }

  .wpcf7-form-control-wrap {
    width: 70%;
  }
}

/* プライバシーポリシー部分のスタイル */
.contact-input-set.privacy {
  margin: 30px 0;
  text-align: center;
	padding: 24px 16px;
	background-color: #fff;
}

.contact-input-set.privacy a {
  text-decoration: underline;
}

.contact-input-set.privacy .wpcf7-list-item {
  display: flex;
  align-items: center;
  margin: 0;
}

.contact-input-set.privacy .wpcf7-list-item-label {
  margin-left: 8px;
}

/* スマートフォンでの改行制御 */
@media screen and (max-width: 767px) {
  .spNone {
    display: none;
  }
}

/* 必須マーク */
.wpcf7 .required {
  width: 56px;
  height: 24px;
  flex-shrink: 0;
  background-color: #E70111;
  color: #FFF;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
	border-radius: 20px;
}

.wpcf7 label {
  display: flex;
  align-items: center;
  font-weight: 600;
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
	background-color: #fff;
}

/* セレクトボックスの矢印アイコン */
.wpcf7 select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='6' fill='%23666'><path d='M0 0l6 6 6-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding-right: 30px;
}

.wpcf7 textarea {
  height: 150px;
}

/* 送信ボタン */
.wpcf7 .wpcf7-submit {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
  align-items: center;
  margin: 0 auto;
  position: relative;
  font-family: FontAwesome, "Helvetica Neue", Arial, sans-serif;
}
p.submit-button-wrapper {
	display: block !important;
	text-align: center;
}

/* 送信ボタンのアイコン */
.wpcf7 .submit-button-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.wpcf7 .wpcf7-submit:hover {
  background-color: var(--color-primary-dark);
}

.wpcf7 .ajax-loader {
  display: block;
  margin: 10px auto 0;
}

.wpcf7 .wpcf7-not-valid-tip {
  color: #dc3232;
  font-size: 0.9em;
  margin-top: 5px;
}

.wpcf7 .wpcf7-response-output {
  margin: 20px 0;
  padding: 15px;
  border-radius: 4px;
}

.contact-notes {
  font-size: 0.9rem;
  color: #666;
}


.contact-input-set.privacy p {
	display: block;
}

/* プライバシーポリシーのチェックボックス修正 */
.contact-input-set.privacy .wpcf7-list-item {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  margin: 0 !important;
}

.contact-input-set.privacy .wpcf7-list-item-label {
  margin-left: 8px !important;
  display: inline-block !important;
  white-space: nowrap !important;
}

.contact-input-set.privacy .wpcf7-list-item input[type="checkbox"] {
  margin-right: 5px !important;
}

.contact-input-set.privacy .label-Required {
  width: 56px !important;
  height: 24px !important;
  flex-shrink: 0 !important;
  background-color: #E70111 !important;
  color: #FFF !important;
  font-family: "Noto Sans" !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: normal !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 10px !important;
	border-radius: 20px;
}

/* チェックボックスの親要素を修正 */
.contact-input-set.privacy .form-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
	margin-bottom: 0;
}

/* 同意するの場合のみ、必須を左側に表示 */
.contact-input-set.privacy .label-Required {
  order: -1 !important; /* 左側に配置 */
  margin-right: 10px !important;
  margin-left: 0 !important;
}

.contact-input-set.privacy .wpcf7-checkbox {
  display: inline-flex !important;
  align-items: center !important;
}

/* 縦並びを強制的に解除 */
.contact-input-set.privacy span.wpcf7-form-control-wrap {
  display: inline-block !important;
  width: auto !important;
}

.contact-input-set.privacy .wpcf7-form-control {
  display: inline-flex !important;
  flex-direction: row !important;
}

/* Thanks Page */
.thanks-content {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.thanks-message {
  margin-bottom: 40px;
  line-height: 1.8;
}

.thanks-back-link .button {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.thanks-back-link .button:hover {
  background-color: var(--color-primary-dark);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
  margin-top: 90px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 40px 15px 40px;
  background-color: #f0f2f1;
  color: #6A6A6A;
}
.footer-info {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  align-items: center;
}
.footer-logo {
  max-width: 180px;
}

.footer-logo img {
  max-height: 120px;
  width: auto;
}

.footer-logo .site-title {
  margin: 0;
  font-size: 1.5rem;
}

.footer-logo .site-title a {
  color: var(--color-white);
  text-decoration: none;
}

.footer-nav {
  margin-bottom: 20px;
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
}

.footer-nav li {
  position: relative;
  padding: 0 15px;
}

.footer-nav li:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #0099CC;
}

.footer-nav a {
  color: #0099CC;
  text-decoration: none;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--color-primary);
}

#footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

#footer-menu li {
  margin: 0 20px 10px 0;
}

#footer-menu a {
  color: var(--color-white);
  text-decoration: none;
  transition: var(--transition);
}

#footer-menu a:hover {
  text-decoration: underline;
}

.footer-contact {
  border-top: 1px solid #0099CC;
  text-align: center;
  display: flex;
  padding: 50px 0 45px;
  justify-content: center;
  align-items: center;
}
.footer-contact p {
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  margin-right: 48px;
  margin-bottom: 0;
}

.footer-contact .btn {
  line-height: 1;
  background-color: #0099CC;
  color: #fff;
  font-size: 1.8rem;
  padding: 16px 32px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.copyright {
  background-color: #0099CC;
  padding: 15px 0;
  text-align: center;
  color: #fff;
}
.copyright .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 8px;
  display: flex;
  justify-content: space-between;
}
.copyright .container ul {
  display: flex;
  gap: 12px;
}
.copyright .container ul a {
  color: #fff;
  font-size: 12px;
}

.copyright p {
  margin: 0;
  font-size: 12px;
}

.footer-jfl-logo {
  display: flex;
  justify-content: center;
  margin: 30px auto 0;
  max-width: 100px;
}

.footer-jfl-logo img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {
  .footer-contact {
    flex-direction: column;
  }
  .footer-contact p {
    margin: 0 auto 12px;
    font-size: 16px;
  }
  .footer-nav {
    flex-direction: column;
  }
  .footer-nav li {
    padding: 6px 15px;
  }
  .footer-nav li:not(:last-child)::after {
    content: none;
  }
  .copyright .container {
    justify-content: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .wpcf7 label {
		margin: 26px 0 8px;
	}
	.contact-input-set.privacy .wpcf7-list-item label {
		margin: 0 !important;
	}
	.contact-intro p {
		font-size: 14px;
	}
  .footer-info {
    flex-direction: column;
  }
}

/*--------------------------------------------------------------
# Tables
--------------------------------------------------------------*/
.outline-list-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  border-top: 1px solid #f0f2f1;
  border-bottom: 1px solid #f0f2f1;
  box-sizing: border-box;
  max-width: 960px;
  margin: auto;
}

.outline-list-table th,
.outline-list-table td {
  padding: 16px;
  text-align: left;
}

.outline-list-table th {
  width: 25%;
  font-weight: 400;
}
tr:nth-child(even) {
  background: #f0f2f1;
}

@media screen and (max-width: 767px) {
  .outline-list-table,
  .outline-list-table tbody,
  .outline-list-table tr,
  .outline-list-table th,
  .outline-list-table td {
    display: block;
    width: 100%;
  }

  .outline-list-table th {
    border-bottom: none;
    padding-bottom: 5px;
  }

  .outline-list-table td {
    padding-top: 5px;
  }
}

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

.wpcf7-spinner {
	display: block;
	margin: 14px auto;
}
/* ===============================
   Privacy Policy / Terms (Simple)
   =============================== */
.legal-simple {
  line-height: 1.9;
  font-size: 16px;
  padding: 50px 130px 80px;
  margin: 0 auto 70px;
  max-width: 960px;
}

.legal-simple h1 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 2rem;
  line-height: 1.4;
}

/* ▼ このページだけの h2/h3 を完全リセット */
.legal-simple h2,
.legal-simple h2::before,
.legal-simple h2::after {
  all: unset;
  display: block !important;
}

.legal-simple h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: #222;
  margin: 2rem 0 1rem;
}

.legal-simple h3,
.legal-simple h3::before,
.legal-simple h3::after {
  all: unset;
  display: block !important;
}

.legal-simple h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #222;
  margin: 1.5rem 0 1rem;
}

/* 段落・リスト */
.legal-simple p {
  margin: 0 0 1.2rem;
}

/* ▼ リスト番号やマーカーを確実に表示させる */
.legal-simple ol,
.legal-simple ul,
.legal-simple .wp-block-list {
  list-style-position: outside !important;
  list-style-type: revert !important;
  margin: 1.2rem 0 1.5rem 1.8rem;
  padding-left: 0;
}
.legal-simple ol { list-style-type: decimal !important; }
.legal-simple ul { list-style-type: disc !important; }

.legal-simple ol ol { list-style-type: lower-roman !important; margin-left: 1.6rem; }
.legal-simple ol ol ol { list-style-type: lower-alpha !important; }

.legal-simple li {
  display: list-item !important;
  margin: 0.5rem 0;
}
.legal-simple li::marker { color: #666; }

.legal-simple hr {
  border: 0;
  border-top: 1px solid #e8e8e8;
  margin: 2.5rem 0;
}

@media screen and (max-width: 767px) {
  .legal-simple {
    padding: 20px;
    max-width: 100%;
    margin: 0 auto 40px;
  }
}
