@charset "UTF-8";

/* destyle.css*/
*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
  min-width: 0;
}

/* Document */
html {
  line-height: 1.15;
  /* Correct the line height */
  -webkit-text-size-adjust: 100%;
  /* Prevent font size adjustment */
  -webkit-tap-highlight-color: transparent;
  /* Remove gray overlay on links */
  scroll-behavior: smooth;
}

/* Sections */
body {
  margin: 0;
  /* Remove margin */
}

main {
  display: block;
  /* Render `main` consistently */
}

/* Vertical rhythm */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
hr {
  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;
}

/* Text-level semantics */
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

abbr[title] {
  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;
}

/* Replaced content */
svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit;
}

button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
}

button:disabled,
[type=button]:disabled,
[type=reset]:disabled,
[type=submit]:disabled {
  cursor: default;
}

:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

option {
  padding: 0;
}

fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

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

[type=number] {
  appearance: none;
  -moz-appearance: textfield;
}

label[for] {
  cursor: pointer;
}

/* Interactive */
details {
  display: block;
}

summary {
  display: list-item;
}

[contenteditable]:focus {
  outline: auto;
}

/* Tables */
table {
  border-color: inherit;
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/********** base **********/
/* ========================================
    初期設定
    ======================================== */
:root {
  --primary-color: #222222;
  --secondary-color: #fff;
  --white: #fff;

  --border-color: #222222;

  --font-primary: "Noto Sans JP", "serif";
  --font-secondary: "Noto Sans JP", "serif";

}


body {
  font-family: var(--font-primary);
  color: var(--primary-color);
  font-weight: 400;
  line-height: 1.5;
  font-size: 15px;
}



/* ========================================
    コンテナ幅
    ======================================== */
.contents {
  padding: 100px 0 0 0;
}

@media (max-width: 600px) {
  .contents {
    padding: 70px 0 0 0;
  }
}

.container-sm {
  width: 100%;
  padding: 0 24px;
  margin: 0 auto;
  max-width: calc(800px + 48px);
}

.container-md {
  width: 100%;
  padding: 0 24px;
  margin: 0 auto;
  max-width: calc(940px + 48px);
}

.container {
  width: 100%;
  padding: 0 24px;
  margin: 0 auto;
  max-width: calc(1080px + 48px);
}

.container-lg {
  width: 100%;
  padding: 0 24px;
  margin: 0 auto;
  max-width: calc(1200px + 48px);
}

.container-xl {
  width: 100%;
  padding: 0 24px;
  margin: 0 auto;
  max-width: calc(1200px + 48px);
}

/* ========================================
    共通
    ======================================== */
.section-ttl {
  font-size: clamp(20px, 2.5vw, 32px);
}

.section-ttl span {
  font-family: var(--font-secondary);
  font-size: clamp(12px, 2.5vw, 16px);
}



/* ========================================
    ヘッダー
    ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  z-index: 1000;
  height: 100px;
  display: flex;
  align-items: center;
}

@media (max-width: 600px) {
  .header {
    height: 70px;
  }
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 80px;
  margin: 0 auto;
}

@media screen and (max-width: 1080px) {
  .header__inner {
    padding: 0 20px;
  }
}

@media (max-width: 600px) {
  .header__inner {
    padding: 0 15px;
  }
}

.header__left {
  display: flex;
  align-items: center;
  gap: 40px;
}

@media (max-width: 600px) {
  .header__left {
    gap: 0;
  }
}

.header__logo {
  width: clamp(120px, 15vw, 200px);
  flex-shrink: 0;
}

.header__nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
}


@media (max-width:1100px) {
  .header__nav {
    display: none;
  }
}

.header__nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-color);
  white-space: nowrap;
  transition: opacity 0.3s;
}

.header__nav a:hover {
  opacity: 0.7;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 600px) {
  .header__right {
    gap: 0;
  }
}

.header__button {
  width: clamp(180px, 15vw, 240px);
  flex-shrink: 0;
  transition: all 0.3s;
}

.header__button a {
  display: block;
  position: relative;
}

.header__button img {
  transition: opacity 0.3s;
}

.header__button a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.header__button:nth-child(1) a::after {
  background-image: url("../img/common/cta-btn02-hover.png");
}

.header__button:nth-child(2) a::after {
  background-image: url("../img/common/download-btn-hover.png");
}

.header__button:hover img {
  opacity: 0;
}

.header__button:hover a::after {
  opacity: 1;
}

@media (max-width: 600px) {
  .header__button:last-child {
    display: none;
  }
}


/* ========================================
    フッター
    ======================================== */
.footer {
  background-color: #222222;
  padding: 24px 0;
  color: #fff;
}

.footer__nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .footer__nav-list {
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 40px 0;
  }

  .footer__nav-list {
    display: grid;
    grid-template-columns: auto auto;
    gap: 16px 24px;
    justify-content: left;
    width: 100%;
  }
}

.footer__nav-item a {
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.3s;
}

.footer__nav-item a:hover {
  opacity: 0.7;
}


/* ========================================
    メインビジュアル
    ======================================== */


/* ========================================
    ナビゲーションドロワー
    ======================================== */



/* ========================================
    投稿一覧ページ
    ======================================== */

/* ========================================
    投稿詳細ページ
    ======================================== */
.m-post-main img {
  object-fit: contain;
  width: auto;
  height: auto;
  margin-bottom: 20px;
}

.m-post-main p {
  margin-bottom: 20px;
  line-height: 2;
}

@media (max-width: 600px) {
  .m-post-main p {
    font-size: 14px;
  }
}

.m-post-main a {
  display: inline-block;
  margin-bottom: 20px;
  color: #00AFED;
  text-decoration: underline;
}

.m-post-main h1 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .m-post-main h1 {
    font-size: 28px;
  }
}

.m-post-main h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .m-post-main h2 {
    font-size: 22px;
  }
}

.m-post-main h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .m-post-main h3 {
    font-size: 18px;
  }
}




/* ========================================
    トップページ
    ======================================== 
*/
.main-content {
  padding-top: 100px;
}

@media (max-width: 600px) {
  .main-content {
    padding-top: 70px;
  }
}

.image-section {
  width: 100%;
  margin-bottom: 0;
}

.image-section picture,
.image-section .image-wrapper {
  display: block;
  width: 100%;
}

.image-section img {
  width: 100%;
  height: auto;
  display: block;
}

/* CTAセクション */
.image-section--cta {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px;
  background: url("../img/pc/cta-bg.webp") no-repeat center center;
  background-size: cover;
}

@media screen and (max-width: 768px) {
  .image-section--cta {
    padding: 40px 24px;
    background: url("../img/sp/cta-bg.webp") no-repeat center center;
    background-size: cover;
  }
}

.cta-content {
  width: 100%;
  max-width: 1200px;
  background-color: #fff;
  border-radius: 40px;
  padding: 60px;
  text-align: center;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cta-title {
  font-size: 24px;
  font-weight: bold;
  color: #222;
  margin-bottom: 40px;
  line-height: 1.4;
}

.cta-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
}


.cta-btn {
  display: block;
  margin: 0 auto;
  transition: transform 0.3s;
}


.cta-btn:hover {
  transform: scale(1.02);
  opacity: 1;
}

.cta-btn img {
  width: 100%;
  height: auto;
}

/* FV CTA */
#section-01 {
  position: relative;
  background-image: url("../img/pc/fv.webp");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  padding: 15px;
  display: flex;
  min-height: calc(100vh - 100px);
  align-items: center;
  padding-bottom: 24px;
}

@media screen and (max-width: 768px) {
  #section-01 {
    background-image: none;
    padding: 0;
    min-height: auto;
    display: block;
  }
}

#section-01 .fv-img {
  width: 100%;
  object-fit: cover;
  object-position: bottom;
  height: calc(100vh - 100px);
}

.fv-content {
  display: flex;
  justify-content: space-between;
  align-items: end;
  width: 88vw;
  margin: 0 auto;
  gap: 20px;
}

@media screen and (max-width: 1200px) {
  .fv-content {
    width: 90vw;
    flex-direction: column;

  }
}

@media screen and (max-width: 768px) {
  .fv-content {
    display: none;
  }
}

.fv-img-left-wrap {
  width: 56vw;
  max-width: 1200px;
  position: relative;
}

@media screen and (max-width: 1200px) {
  .fv-img-left-wrap {
    width: 100%;
  }
}

.fv-content-right {
  width: 35%;
}

@media screen and (max-width: 1200px) {
  .fv-content-right {
    width: 100%;
  }
}

.fv-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 26px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding-bottom: 16px;
}

.fv-form-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.fv-form-card label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 16px;
}

.fv-form-card label span {
  color: #e00;
  margin-left: 4px;
}

.fv-form-card .wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 20px;
}

.fv-form-card p {
  margin-bottom: 0;
}

.fv-form-card .policy-note {
  margin-top: 32px;
  font-size: 13px;
}

.fv-area-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.fv-area-map__item {
  position: absolute;
  display: block;
  transition: transform 0.3s ease;
  transform: scale(1.05);
}

.fv-area-map__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fv-area-map__item:hover {
  transform: scale(1.1);
  z-index: 10;
}

@media screen and (max-width: 768px) {
  .fv-img-left-wrap {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  #section-01 .fv-img {
    height: auto;
    object-position: top;
  }
}

.fv-cta {
  position: absolute;
  bottom: 25vh;
  left: 5vw;
  width: 32vw;
  z-index: 10;
}

@media screen and (max-width: 768px) {
  .fv-cta {
    bottom: 2.5%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 0 10px;
    max-width: 600px;
  }
}

.fv-cta a {
  display: block;
  transition: transform 0.3s;
}

.fv-cta a:hover {
  transform: scale(1.05);
}

@media screen and (max-width: 767px) {
  .cta-content {
    width: 100%;
    padding: 36px 0px;
    border-radius: 27px;
  }

  .cta-title {
    font-size: 24px;
    margin-bottom: 24px;
    padding: 0;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .cta-btn {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .cta-buttons {
    grid-template-columns: repeat(1, 1fr);
    gap: 4px;
  }
}



/* ========================================
    下層ページ
    ======================================== */





/* ========================================
    プライバシーポリシー
    ======================================== */
.policy {
  padding-top: 154px;
  padding-bottom: 64px;
}

@media screen and (max-width: 600px) {
  .policy {
    padding-top: 98px;
    padding-bottom: 56px;
  }
}

.policy__title {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 74px;
  text-align: center;
}

@media screen and (max-width: 600px) {
  .policy__title {
    font-size: 24px;
    margin-bottom: 24px;
  }
}

.policy__content {
  line-height: 1.6;
}

.policy__content .wp-block-heading {
  font-size: 20px;
  margin-top: 30px;
}

.policy__content .wp-block-spacer {
  height: 40px !important;
}

.policy__content .wp-block-list {
  padding: 20px 0;
  list-style: disc;
  margin-left: 1em;
}

.policy__content p,
.policy__content a,
.policy__content li {
  margin-top: 1.2em;
  font-size: 16px;
  font-weight: 500;
}

@media screen and (max-width: 600px) {

  .policy__content p,
  .policy__content a,
  .policy__content li {
    font-size: 14px;
  }
}


/* ========================================
    トップページ資料ダウンロード
    ======================================== */
.home .form-unit {
  margin-bottom: 18px;
}

.home .fv-form-card .wpcf7-form-control:not(.wpcf7-submit) {
  margin-bottom: 0;
}

.home .fv-form-card .wpcf7-submit {
  margin-top: 18px;
  max-width: 560px;
}

.home .form-unit__input,
.form-unit__input-wrap {
  min-height: 36px;
  padding: 8px 16px;
}

/* ========================================
    利用規約
    ======================================== */

.policy__content .wp-block-table tr td:first-child {
  min-width: 360px;
}

@media screen and (max-width: 768px) {
  .policy__content .wp-block-table tr td:first-child {
    min-width: 200px;
  }
}

@media screen and (max-width: 480px) {
  .policy__content .wp-block-table tr td:first-child {
    width: 110px;
    min-width: 100px;
  }
}

.wp-block-table td,
.wp-block-table th {
  padding: 28px 34px;
  font-weight: 500;
}

@media screen and (max-width: 768px) {

  .wp-block-table td,
  .wp-block-table th {
    padding: 24px 8px;
    font-size: 14px;
  }

}

/* ========================================
    お問い合わせ
    ======================================== */
.contact {
  padding-top: 154px;
  padding-bottom: 64px;
}

@media screen and (max-width: 600px) {
  .contact {
    padding-top: 98px;
    padding-bottom: 56px;
  }
}

.contact__title {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 74px;
  text-align: center;
}

@media screen and (max-width: 600px) {
  .contact__title {
    font-size: 24px;
    margin-bottom: 24px;
  }
}

.contact__form {
  width: 100%;
}

.form-unit {
  width: 100%;
  margin-bottom: 24px;
}

@media screen and (max-width: 600px) {
  .form-unit {
    margin-bottom: 18px;
  }
}

.form-unit__head {
  display: flex;
  font-size: 20px;
  align-items: flex-start;
  font-weight: 700;
  margin-bottom: 10px;
}

@media screen and (max-width: 600px) {
  .form-unit__head {
    font-size: 16px;
    margin-bottom: 6px;
  }
}

.m-required::after {
  content: "＊";
  color: #FF0000;
  font-size: 10px;
  margin-left: 2px;
  border-radius: 4px;
  padding: 0 5px;
}

.form-unit__input,
.form-unit__input-wrap {
  width: 100%;
  height: auto;
  min-height: 68px;
  padding: 20px 16px;
  border: 1px solid #898989;
  border-radius: 4px;
  font-size: 16px;
}

@media screen and (max-width: 600px) {

  .form-unit__input,
  .form-unit__input-wrap {
    min-height: 36px;
    padding: 8px 16px;
  }

}

.wpcf7-list-item {
  display: block;
  margin-left: 0;
  margin-right: 20px;
}

.wpcf7-submit {
  display: block;
  width: 100%;
  max-width: 472px;
  aspect-ratio: 944 / 220;
  margin: 48px auto 0;
  padding: 0;
  border: none;
  background: url("../img/common/submit-btn.png") no-repeat center center / contain;
  color: transparent;
  font-size: 0;
  cursor: pointer;
  transition: 0.3s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.wpcf7-submit:hover {
  background-image: url("../img/common/submit-btn-active.png");
}

@media screen and (max-width: 600px) {
  .wpcf7-submit {
    margin-top: 32px;
  }
}

.wpcf7-response-output {
  border-color: transparent !important;
  text-align: center !important;
}


input.wpcf7-form-control.wpcf7-previous {
  display: block;
  margin: 0 auto;
}

.policy-note {
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  margin-top: 48px;
}

@media screen and (max-width: 600px) {
  .policy-note {
    font-size: 12px;
    margin-top: 36px;
  }
}

.policy-note a {
  font-weight: 700;
}

.contact__thanks {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 64px);
}

.contact__thanks-content {
  text-align: center;
}

.contact__thanks-ttl {
  font-size: 44px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

@media screen and (max-width: 600px) {
  .contact__thanks-ttl {
    font-size: 24px;
    margin-bottom: 32px;
  }
}

.contact__thanks-content p {
  font-weight: 500;
  line-height: 1.8;

}

.contact__button-wrap {
  width: 100%;
  max-width: 442px;
  margin: 0 auto;
  margin-top: 40px;
}

.contact__button {
  display: block;
  position: relative;
  transition: all 0.3s;
}

.contact__button img {
  transition: opacity 0.3s;
}

.contact__button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/common/btn-back-active.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.contact__button:hover img {
  opacity: 0;
}

.contact__button:hover::after {
  opacity: 1;
}

/* ========================================
    ユーティリティ
    ======================================== */
.u-pc-only {
  display: block;
}

@media (max-width: 767px) {
  .u-pc-only {
    display: none;
  }
}

.u-sp-only {
  display: none;
}

@media (max-width: 767px) {
  .u-sp-only {
    display: block;
  }
}