@charset "UTF-8";

/*
Theme Name: hideono
Theme URI:
Description:
Version: 1.0
Author: ivy web
Author URI:
*/


:root {
  --font-primary: 'Noto Sans JP', sans-serif;
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Helvetica Neue", Arial, sans-serif;
  --font-mincho: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  --font-gothic: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
  --font-noto: 'Noto Sans JP', sans-serif;
  --font-tsukimi: "Tsukimi Rounded", sans-serif;
  --font-montserrat: "Inter", sans-serif;

  --color-primary: #66cccc;
  --color-secondary: #A3DDD4;
  --color-tertiary: #DCF1F2;
  --color-quaternary: #F4F8F8;
  --color-quinary: #FBFCED;

  --text-black: #2b2b2b;
  --text-blue: #6ACBD1;
  --text-red: #db306b;

  --highlight-blue: #ecf4ff;
  --highlight-yellow: #FAF7D7;
  --highlight-red: #f8eff0;
  --highlight-white: #fff;

  --r45_padding: -1.5em;
  --transition_a: 0.4s cubic-bezier(0.45, 0, 0.55, 1);
  --transition_b: transform 0.3s cubic-bezier(0.45, 0, 0.55, 1);

  --mw6: 600px;
  --mw7: 700px;
  --mw8: 800px;
  --mw9: 900px;
  --mw10: 1000px;
  --mw11: 1100px;
  --mw12: 1200px;
  --mw13: 1300px;
  --mw14: 1400px;
  --mw15: 1500px;
  --mw18: 1800px;
  --mw20: 2000px;

  --h1-size: 32px;
  --h2-size: 36px;
  --h3-size: 40px;
  --h4-size: 30px;
  --h5-size: 24px;
  --h6-size: 18px;
  --p-size: 16px;

  --font-size-10: 10px;
  --font-size-12: 12px;
  --font-size-14: 14px;
  --font-size-16: 16px;
  --font-size-17: 17px;
  --font-size-18: 18px;
  --font-size-20: 20px;
  --font-size-21: 21px;
  --font-size-22: 22px;
  --font-size-24: 24px;
  --font-size-26: 26px;
  --font-size-28: 28px;
  --font-size-30: 30px;
  --font-size-32: 32px;
  --font-size-34: 34px;
  --font-size-36: 36px;

  --header-height: 110px;
}

@media screen and (max-width:1530px) {
  :root {
    --mw15: calc(100% - 30px);
  }
}

@media screen and (max-width:2030px) {
  :root {
    --mw20: calc(100% - 30px);
  }
}

@media screen and (max-width:1830px) {
  :root {
    --mw18: calc(100% - 30px);
  }
}

@media screen and (max-width:1430px) {
  :root {
    --mw14: calc(100% - 30px);
  }
}

@media screen and (max-width:1330px) {
  :root {
    --mw13: calc(100% - 30px);
  }
}

@media screen and (max-width:1230px) {
  :root {
    --mw12: calc(100% - 30px);
  }
}

@media screen and (max-width:1130px) {
  :root {
    --mw11: calc(100% - 30px);
  }
}

@media screen and (max-width:1030px) {
  :root {
    --mw10: calc(100% - 30px);
  }
}

@media screen and (max-width:1000px) {
  :root {
    --header-height: 70px;
  }
}

@media (max-width: 930px) {
  :root {
    --mw9: calc(100% - 30px);
  }
}

@media screen and (max-width:830px) {
  :root {
    --mw8: calc(100% - 30px);
  }
}

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


    --h3-size: 30px;
    --h4-size: 24px;
    --p-size: 15px;

    --font-size-10: 9px;
    --font-size-12: 11px;
    --font-size-14: 13px;
    --font-size-16: 15px;
    --font-size-17: 16px;
    --font-size-18: 17px;
    --font-size-20: 19px;
    --font-size-21: 19px;
    --font-size-22: 20px;
    --font-size-24: 22px;
    --font-size-26: 24px;
    --font-size-28: 24px;
    --font-size-30: 26px;
    --font-size-32: 28px;
    --font-size-34: 30px;
    --font-size-36: 30px;

  }
}

@media (max-width: 768px) {
  :root {
    --mw7: calc(100% - 30px);
  }
}

@media (max-width: 630px) {
  :root {
    --r45_padding: -1.2em;

    --mw6: calc(100% - 30px);
  }
}

@media (max-width: 480px) {
  :root {}
}

@media screen and (max-width: 480px) {
  :root {
    --r45_padding: -1em;


    --h3-size: 24px;
    --h4-size: 20px;

    --font-size-10: 8px;
    --font-size-12: 10px;
    --font-size-14: 12px;
    --font-size-16: 14px;
    --font-size-17: 15px;
    --font-size-18: 16px;
    --font-size-20: 18px;
    --font-size-21: 18px;
    --font-size-22: 18px;
    --font-size-24: 20px;
    --font-size-26: 22px;
    --font-size-28: 24px;
    --font-size-30: 24px;
    --font-size-32: 26px;
    --font-size-34: 26px;
    --font-size-36: 26px;

  }
}

*,
::before,
::after {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

html {
  overflow: auto;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  margin: 0;
  padding: 160px 0 0;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.5;
  letter-spacing: 0.05em;
  word-break: keep-all;
  hyphens: none;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt" 1;
  overscroll-behavior-y: none;
  overflow: clip;
  background: #fff;
  color: var(--text-black);
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-style: normal;
}


section {
  /* width: 100%; */
}

ul,
li {
  font-size: 100%;
  font-weight: normal;
}

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a:hover,
a:focus {
  text-decoration: none;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

main {
  display: block;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: normal;
  margin: 0;
  padding: 0;
}

ul,
ol,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

dt {
  font-weight: 700;
}

dd {
  margin-left: 0;
}

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

abbr[title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: inherit;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

svg,
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: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit;
}

[type="checkbox"] {
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  appearance: checkbox;
}

[type="radio"] {
  -webkit-appearance: radio;
  -moz-appearance: radio;
  appearance: radio;
}

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

label[for] {
  cursor: pointer;
}

details {
  display: block;
}

summary {
  display: list-item;
}

[contenteditable]:focus {
  outline: auto;
}

caption {
  text-align: left;
}

table {
  border-spacing: 0;
  border-color: inherit;
}

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

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

input,
textarea,
td {
  outline-color: #eee;
}

input:focus::-webkit-input-placeholder {
  color: transparent;
}

input:focus::-moz-placeholder {
  color: transparent;
}

input:focus::-ms-input-placeholder {
  color: transparent;
}

input:focus:-ms-input-placeholder {
  color: transparent;
}

input:focus::placeholder {
  color: transparent;
}

mark {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  font: inherit;
}


.clearfix::after {
  content: "";
  display: table;
  clear: both;
}



.show-desktop {
  display: block;
}

.hide-desktop {
  display: none !important;
}

.show-mobile {
  display: none !important;
}

.hide-mobile {
  display: block;
}

.show-phone {
  display: none !important;
}

@media (max-width: 768px) {
  .show-desktop {
    display: none;
  }

  .hide-desktop {
    display: block;
  }

  .show-mobile {
    display: block;
  }

  .hide-mobile {
    display: none;
  }
}

@media (max-width: 480px) {

  .show-phone {
    display: block;
  }

  .hide-phone {
    display: none;
  }
}




/* ----------------------------------------------------- */
.container {
  width: 100%;
  margin: 0 auto;
}

.mincho {
  font-family: var(--font-mincho);
  font-weight: 400;
}

.gothic {
  font-family: var(--font-gothic);
}

.font-system {
  font-family: var(--font-system);
}

.noto {
  font-family: var(--font-noto);
}

.tsukimi {
  font-family: var(--font-tsukimi);
  font-weight: 400;
}




/* h1 {
  font-size: var(--h1-size);
}

h2 {
  font-size: var(--h2-size);
}

h3 {
  font-size: var(--h3-size);
}

h4 {
  font-size: var(--h4-size);
}

h5 {
  font-size: var(--h5-size);
}

h6 {
  font-size: var(--h6-size);
}

p {
  font-size: var(--p-size);
} */

.font-10 {
  font-size: var(--font-size-10);
}

.font-12 {
  font-size: var(--font-size-12);
}

.font-14 {
  font-size: var(--font-size-14);
}

.font-16 {
  font-size: var(--font-size-16);
}

.font-18 {
  font-size: var(--font-size-18);
}

.font-20 {
  font-size: var(--font-size-20);
}

.font-22 {
  font-size: var(--font-size-22);
}

.font-24 {
  font-size: var(--font-size-24);
}

.font-26 {
  font-size: var(--font-size-26);
}

.font-28 {
  font-size: var(--font-size-28);
}

.font-30 {
  font-size: var(--font-size-30);
}

.font-32 {
  font-size: var(--font-size-32);
}

.font-34 {
  font-size: var(--font-size-34);
}

.font-36 {
  font-size: var(--font-size-36);
}


.text-blue {
  color: var(--text-blue);
}

.text-red {
  color: var(--text-red);
}

.highlight-yellow {
  background-image: linear-gradient(to right, var(--highlight-yellow), var(--highlight-yellow));
}

.highlight-blue {
  background-image: linear-gradient(to right, var(--highlight-blue), var(--highlight-blue));
}

.highlight-red {
  background-image: linear-gradient(to right, var(--highlight-red), var(--highlight-red));
}

.highlight-white {
  background-image: linear-gradient(to right, var(--highlight-white), var(--highlight-white));
}



.txt_c {
  text-align: center !important;
}

.txt_l {
  text-align: left !important;
}

.txt_r {
  text-align: right !important;
}

.object-fit-cover {
  -o-object-fit: cover;
  object-fit: cover;
}

.object-fit-contain {
  -o-object-fit: cover;
  object-fit: contain;
}

.diagonal {
  font-size: var(--font-lg);
  line-height: 1;
  letter-spacing: 2px;
  font-family: 'Allura', cursive;
  font-weight: 400;
  color: var(--color-primary);
  transform: rotate(10deg);
}

.diagonal.d12 {
  transform: rotate(12deg);
}

.r45 {
  position: relative;
}

.r45::before,
.r45::after {
  content: '';
  position: absolute;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--color-primary);
}

.r45::before {
  left: var(--r45_padding);
  transform: rotate(-45deg);
}

.r45::after {
  right: var(--r45_padding);
  transform: rotate(45deg);
}



.inner1500 {
  width: 100%;
  max-width: var(--mw15);
  margin-inline: auto;
}

.inner2000 {
  width: 100%;
  max-width: var(--mw20);
  margin-inline: auto;
}

.inner1800 {
  width: 100%;
  max-width: var(--mw18);
  margin-inline: auto;
}

.inner1400 {
  width: 100%;
  max-width: var(--mw14);
  margin-inline: auto;
}


.inner1300 {
  width: 100%;
  max-width: var(--mw13);
  margin-inline: auto;
}

.inner1200 {
  width: 100%;
  max-width: var(--mw12);
  margin-inline: auto;
}

.inner1100 {
  width: 100%;
  max-width: var(--mw11);
  margin-inline: auto;
}

.inner1000 {
  width: 100%;
  max-width: var(--mw10);
  margin-inline: auto;
}

.inner900 {
  width: 100%;
  max-width: var(--mw9);
  margin-inline: auto;
}

.inner800 {
  width: 100%;
  max-width: var(--mw8);
  margin-inline: auto;
}

.inner700 {
  width: 100%;
  max-width: var(--mw7);
  margin-inline: auto;
}

.inner600 {
  width: 100%;
  max-width: var(--mw6);
  margin-inline: auto;
}

/* ボタン */
.btn {
  background-color: var(--color-primary);
  color: #fff;
  display: block;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  margin: 70px auto 50px;
  padding: 20px 40px;
  width: 260px;
  white-space: nowrap;
  transition: var(--transition_a);
}

.btn:hover {
  background-color: #fff;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline {
  background-color: unset;
  color: var(--color-primary);
  display: block;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--color-primary);
  border-radius: 50px;
  cursor: pointer;
  margin: 70px auto 50px;
  padding: 20px 40px;
  width: 260px;
  white-space: nowrap;
  transition: var(--transition_a);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-nav-contact {
  background-color: var(--color-primary);
  color: #fff;
  padding: 7px 20px;
  border-radius: 30px;
  text-align: center;
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  width: 157px;
}

.btn-nav-contact:hover {
  background-color: #fff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-nav-lp01 {
  display: flex;
  justify-content: space-evenly;
  background-color: #FBF3EA;
  color: #CBA57B;
  padding: 20px 10px;
  border-radius: 10px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  border: 2px solid #CBA57B;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  height: 70px;
  width: 240px;
}

.btn-nav-lp01 .icon-lp01 {
  width: 27px;
  height: 24px;
  vertical-align: bottom;
  margin-right: 5px;
}

.btn-nav-lp01:hover {
  background-color: #CBA57B;
  border: 2px solid #CBA57B;
  color: #fff;
}

.btn-nav-lp01:hover .icon-lp01 {
  filter: grayscale(100%) brightness(200%);
}

.btn-nav-lp02 {
  background-color: #fff;
  color: var(--color-primary);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--color-primary);
  border-radius: 10px;
  cursor: pointer;
  line-height: 30px;
  padding: 19px 10px;
  width: 218px;
  transition: var(--transition_a);
  z-index: 1;
}

.btn-nav-lp02:hover {
  background-color: #fff;
  background-color: var(--color-primary);
  color: #fff;
}

.btn-nav-lp02:hover .icon-lp02 {
  filter: grayscale(100%) brightness(200%);
}

.btn-application {
  background-color: #fff;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--color-primary);
  border-radius: 10px;
  cursor: pointer;
  line-height: 30px;
  padding: 5px 10px;
  height: 72px;
  width: 130px;
  transition: var(--transition_a);
}

.btn-application:hover {
  background-color: #eee;
  color: var(--color-primary);
}

.btn-application .icon-application {
  width: 33px;
  height: 33px;
  vertical-align: bottom;
  margin-right: 5px;
}

.btn-login {
  background-color: var(--color-primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--color-primary);
  border-radius: 10px;
  cursor: pointer;
  line-height: 30px;
  padding: 5px 10px;
  height: 72px;
  width: 130px;
  transition: var(--transition_a);
}

.btn-login:hover {
  background-color: #7aadaf;
  color: #fff;
}

.btn-login .icon-login {
  width: 28px;
  height: 26px;
  vertical-align: bottom;
  margin-right: 5px;
}

.btn-aside {
  background-color: var(--color-primary);
  color: #fff;
  display: block;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin: 10px auto 10px;
  padding: 10px 10px;
  width: 100%;
  transition: var(--transition_a);
}

.btn-aside:hover {
  background-color: #fff;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}



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

  .btn-nav-lp01,
  .btn-nav-lp02 {
    padding: 15px 20px;
    font-size: 16px;
    height: 60px;
  }

  .btn-application {
    font-size: 14px;
    line-height: 30px;
    padding: 5px 10px;
    height: 60px;
  }

  .btn-application .icon-application {
    height: 23px;
    width: 23px;
  }

  .btn-login {
    font-size: 14px;
    line-height: 30px;
    padding: 5px 10px;
    height: 60px;
  }

  .btn-login .icon-login {
    width: 23px;
    height: 20.69px;
  }

}

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

  .btn-nav-lp01 {
    font-size: 15px;
    align-items: center;
    padding: 15px 10px;
    width: 220px;
  }

  .btn-application {
    font-size: 14px;
    line-height: 30px;
    padding: 5px 4px;
    width: 110px;
  }

  .btn-login {
    font-size: 14px;
    line-height: 30px;
    padding: 5px 4px;
    width: 110px;
  }

}


@media screen and (max-width: 768px) {
  .btn {
    margin: 70px auto 50px;
    padding: 16px 32px;
    width: 240px;
    white-space: nowrap;
    font-size: 16px;
  }
}

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

  .btn-nav-lp01 {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 12px;
    line-height: 15px;
    padding: 5px 4px;
    height: 50px;
    width: 140px;
  }

  .btn-nav-lp01 .icon-lp01 {
    height: 17px;
    width: 19.13px;
    vertical-align: bottom;
    margin-right: 5px;
  }

  .btn-nav-lp02 {
    font-size: 13px;
    line-height: 30px;
    padding: 5px 4px;
    height: 40px;
    width: 180px;
  }

  .btn-nav-lp02 .icon-lp02 {
    height: 20px;
    width: 17.84px;
  }


  .btn-application {
    font-size: 12px;
    line-height: 20px;
    padding: 5px 4px;
    height: 50px;
    width: 90px;
  }

  .btn-application .icon-application {
    height: 17px;
    width: 17px;
  }

  .btn-login {
    font-size: 12px;
    line-height: 20px;
    padding: 5px 4px;
    height: 50px;
    width: 90px;
  }

  .btn-login .icon-login {
    height: 17px;
    width: 18.88px;
  }

}


/**********************************
 MAIN-HEADER
***********************************/

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 50px 0;
  transition: all 0.3s ease;
}

.main-header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.main-header.scrolled .nav-menu li a {
  color: #2b2b2b;
}

.main-header.scrolled .nav-menu li.current-page a {
  color: #66cccc;
}

/* トップページのみ透明ヘッダー */
#top-page .main-header {
  background-color: transparent !important;
  padding: 50px 0 !important;
}

#top-page .nav-menu li a {
  color: #fff !important;
}

#top-page .logo-text {
  color: #fff !important;
}

#top-page .main-header.scrolled {
  background-color: rgba(255, 255, 255, 0.9) !important;
  padding: 15px 0 !important;
}

#top-page .main-header.scrolled .nav-menu li a {
  color: #333 !important;
}

#top-page .main-header.scrolled .nav-menu li.current-page a {
  color: #66cccc !important;
}

#top-page .main-header.scrolled .logo-text {
  color: #2b2b2b !important;
}

/* トップページのみpadding削除 */
#top-page body {
  padding: 0 !important;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  body {
    padding-top: 0;
  }

  .main-header {
    display: flex;
    padding: 0;
    height: 70px;
  }

  .main-header.scrolled {
    padding: 12px 0;
  }

  .main-header .inner1300 {
    padding: 0 15px;
  }

  .main-header .site-logo img {
    height: 50px !important;
  }

  .logo-text {
    font-size: 26px !important;
  }
}

@media screen and (max-width: 480px) {
  body {
    padding-top: 0;
  }

  .main-header {
    padding: 0;
  }

  .main-header.scrolled {
    padding: 10px 0;
  }

  .main-header .site-logo img {
    height: 45px !important;
  }

  .logo-text {
    font-size: 24px !important;
  }
}

.main-header .inner1300 {
  /* padding: 0; */
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.site-logo {
  margin: 0;
  padding: 0;
}

.site-logo a {
  display: block;
  text-decoration: none;
}

.site-logo img {
  height: 60px;
  width: auto;
}

.logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #2b2b2b;
  letter-spacing: -0.5px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo-text:hover {
  color: var(--color-primary);
}

/* h1 styles for page titles */
h1.page-title {
  font-size: 48px;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 20px;
}

/* h2 styles for page titles */
h2.page-title {
  font-size: 48px;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 20px;
}

.nav-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  display: inline-block;
}

.nav-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 700;
  transition: color 0.2s;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 6px;
  display: block;
}

/* Remove right padding on the last menu item link */
.main-navigation .nav-menu li:last-child a {
  padding-right: 0;
}

.nav-menu li a:hover {
  color: #66cccc;
}

.nav-menu li.current-page a {
  color: #66cccc;
}


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


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


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


/**********************************
 menu-button-header
***********************************/

.menu-button-header {
  display: none;
}

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

  .menu-button-header {
    position: fixed;
    top: 10px;
    right: 18px;
    display: inline-block;
    width: 30px;
    height: 30px;
    background: transparent;
    cursor: pointer;
    transition: all 0.4s;
    z-index: 100;
  }

  .menu-button-header span {

    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-black);
    margin: 8px auto;
    transition: all 0.4s;
  }

  .menu-button-header.active {
    z-index: 1001;
  }

  .menu-button-header.active span {
    background: var(--text-black);
    position: absolute;

  }

  .menu-button-header.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
  }

  .menu-button-header.active span:nth-of-type(2) {
    opacity: 0;
  }

  .menu-button-header.active span:nth-of-type(3) {
    transform: rotate(-45deg);
    top: 10px;
  }
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.6s;
}

.overlay.open {
  opacity: 1;
  z-index: 19;
}


/**********************************
 ASIDE
***********************************/
aside {
  display: none;
  transform: translateX(100%);
  transition: transform 0.6s ease-in-out, opacity 0.6s;
}

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

  /* body.menu-active {
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
  } */

  html.lock {
    overflow: hidden;
  }

  aside {
    position: fixed;
    top: 0;
    right: 0;
    display: block;
    width: 280px;
    height: 100vh;
    padding: 80px 15px 10px;
    background-color: #fffafa;
    transition: all 0.6s;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.6s;
    overflow: scroll;
    box-shadow: 0px 30px 30px 0px rgba(0, 0, 0, 0.2);
  }

  aside.open {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.6s;
    z-index: 20;
  }


  aside .aside-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }

  aside ul li {
    color: var(--text-black);
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    padding-bottom: 20px;
  }

  aside ul.ul02 li {
    color: #777;
    font-size: 14px;
    font-weight: normal;
    padding-bottom: 15px;
  }

  aside .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
  }

  aside .sub-menu.open {
    background-color: #fff;
    margin-top: 15px;
    padding: 0 0 20px;
  }

  aside .sub-menu li {
    font-size: 14px;
    padding: 20px 10px 0;
  }

  aside .sub-menu.open {
    max-height: 200px;
    opacity: 1;
  }


  aside .aside-copy {
    position: absolute;
    bottom: 10px;
    color: #aaa;
    font-size: 12px;

  }

}


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

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












@media (max-width: 768px) {}

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

/**********************************
 fixed-menu
***********************************/







/**********************************
  page normal
***********************************/
#page-normal {
  padding: 80px 0 0;
}

#page-normal h3 {
  font-size: var(--h3-size);
  margin-bottom: 70px;
  text-align: center;
}

#page-normal h3 span {
  color: var(--color-secondary);
  display: block;
  font-size: var(--font-size-18);
  font-weight: 700;
}

#page-normal .main-section {
  padding: 0 15px 0;
}




/**********************************
  プライバシーポリシー
***********************************/

#page-privacy {
  padding: 80px 0 0;
  background: #fff;
}

/* Page Header - Contactページと同じスタイル */
#page-privacy .page-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0 80px;
  text-align: center;
}

#page-privacy .page-header-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

#page-privacy .page-title {
  font-size: 40px;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

/* Language Switch */
.lang-switch {
  text-align: right;
  padding: 20px 40px;
  font-size: 14px;
  color: #666;
  /* background: #f8f9fa;
  border-bottom: 1px solid #e9ecef; */
}

.lang-switch-bottom {
  border-top: 1px solid #e9ecef;
  border-bottom: none;
  margin-top: 40px;
}

.lang-switch a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
  margin: 0 4px;
}

.lang-switch a:hover {
  color: #66cccc;
}

.lang-switch a.active {
  color: #66cccc;
  font-weight: 600;
  pointer-events: none;
}

.lang-switch span {
  color: #66cccc;
  margin: 0 4px;
  cursor: default;
  pointer-events: none;
}

.footer-lang {
  margin-top: 2em;
  text-align: center;
  font-size: 0.85em;
  opacity: 0.75;
}

/* Footer legal links (right aligned under footer menu) */
.footer-bottom {
  position: relative;
}

.footer-legal-links {
  text-align: right;
  margin-top: 30px;
  font-size: 13px;
  color: #777;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-legal-links a {
  color: #aaa;
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-legal-links .sep {
  margin: 0 8px;
  color: #aaa;
}

/* Privacy Policy Content Section */
#page-privacy .privacy-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 40px;
  line-height: 1.8;
  color: #333;
}

/* イントロ部分 */
#page-privacy .privacy-box>p:first-of-type {
  font-size: 15px;
  color: #666;
  margin-bottom: 50px;
  text-align: center;
  padding-bottom: 30px;
  border-bottom: 1px solid #e9ecef;
}

#page-privacy .privacy-box>p:first-of-type strong {
  color: #2b2b2b;
  font-weight: 600;
}

#page-privacy .privacy-box>p:nth-of-type(2) {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 60px;
}

/* 見出し h4 */
#page-privacy .privacy-box h4 {
  font-size: 24px;
  font-weight: 600;
  color: #2b2b2b;
  margin-top: 50px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #66cccc;
  position: relative;
}

#page-privacy .privacy-box h4:first-of-type {
  margin-top: 0;
}

/* 段落 */
#page-privacy .privacy-box p {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* リスト */
#page-privacy .privacy-box ul {
  margin: 20px 0 30px 0;
  padding-left: 24px;
  list-style: none;
}

#page-privacy .privacy-box ul li {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 12px;
  position: relative;
  padding-left: 24px;
}

#page-privacy .privacy-box ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #66cccc;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
}

#page-privacy .privacy-box ul li strong {
  color: #2b2b2b;
  font-weight: 600;
}

/* リンク */
#page-privacy .privacy-box a {
  color: #66cccc;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(102, 204, 204, 0.3);
  transition: all 0.3s ease;
}

#page-privacy .privacy-box a:hover {
  color: #4FB3B8;
  border-bottom-color: #4FB3B8;
}

/* テーブル */
#page-privacy .privacy-box table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0 40px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

#page-privacy .privacy-box table th {
  background: linear-gradient(135deg, #66cccc 0%, #4FB3B8 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 18px 24px;
  text-align: left;
  border: none;
}

#page-privacy .privacy-box table th:first-child {
  width: 35%;
}

#page-privacy .privacy-box table td {
  padding: 18px 24px;
  font-size: 15px;
  color: #666;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: top;
  line-height: 1.6;
}

#page-privacy .privacy-box table tr:last-child td {
  border-bottom: none;
}

#page-privacy .privacy-box table tr:nth-child(even) td {
  background: #f8f9fa;
}

#page-privacy .privacy-box table tr:hover td {
  background: #f0f7f8;
}

/* 最後の段落 */
#page-privacy .privacy-box p:last-of-type {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e9ecef;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .lang-switch {
    padding: 16px 20px;
    font-size: 13px;
  }

  #page-privacy {
    padding: 60px 0 0;
  }

  #page-privacy .page-header {
    padding: 80px 0 60px;
  }

  #page-privacy .page-header-container {
    padding: 0 24px;
  }

  #page-privacy .page-title {
    font-size: 36px;
  }

  #page-privacy .privacy-box {
    padding: 60px 20px;
  }

  #page-privacy .privacy-box>p:first-of-type {
    font-size: 14px;
    margin-bottom: 40px;
    padding-bottom: 20px;
  }

  #page-privacy .privacy-box>p:nth-of-type(2) {
    font-size: 15px;
    margin-bottom: 40px;
  }

  #page-privacy .privacy-box h4 {
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 10px;
  }

  #page-privacy .privacy-box p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  #page-privacy .privacy-box ul {
    margin: 16px 0 24px 0;
    padding-left: 20px;
  }

  #page-privacy .privacy-box ul li {
    font-size: 15px;
    margin-bottom: 10px;
    padding-left: 20px;
  }

  #page-privacy .privacy-box table {
    margin: 20px 0 30px;
    font-size: 14px;
  }

  #page-privacy .privacy-box table th {
    padding: 14px 16px;
    font-size: 14px;
  }

  #page-privacy .privacy-box table td {
    padding: 14px 16px;
    font-size: 13px;
  }

  #page-privacy .privacy-box p:last-of-type {
    margin-top: 40px;
    padding-top: 30px;
    font-size: 15px;
  }
}

@media screen and (max-width: 480px) {
  .lang-switch {
    padding: 14px 15px;
    font-size: 12px;
  }

  #page-privacy .page-header {
    padding: 40px 0 40px;
  }

  #page-privacy .page-header-container {
    padding: 0 20px;
  }

  #page-privacy .page-title {
    font-size: 28px;
  }

  #page-privacy .privacy-box {
    padding: 40px 15px;
  }

  #page-privacy .privacy-box h4 {
    font-size: 18px;
    margin-top: 30px;
  }

  #page-privacy .privacy-box table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  #page-privacy .privacy-box table th,
  #page-privacy .privacy-box table td {
    white-space: normal;
    min-width: 120px;
  }

  #page-privacy .privacy-box table th:first-child {
    width: auto;
  }
}


/**********************************
  SUPPORT PAGE - サポートページ
***********************************/

#page-support {
  padding: 80px 0 0;
  background: #fff;
}

/* Page Header - Privacy/Contactと統一 */
#page-support .page-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0 80px;
  text-align: center;
}

#page-support .page-header-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

#page-support .page-title {
  font-size: 40px;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

/* Support Content Section */
#page-support .support-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 40px;
  line-height: 1.8;
  color: #333;
}

/* イントロ/説明 */
#page-support .support-box>p:first-of-type {
  font-size: 15px;
  color: #666;
  margin-bottom: 40px;
  text-align: left;
}

/* 見出し */
#page-support .support-box h4 {
  font-size: 24px;
  font-weight: 600;
  color: #2b2b2b;
  margin-top: 50px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #66cccc;
}

#page-support .support-box h5 {
  font-size: 18px;
  font-weight: 700;
  color: #2b2b2b;
  margin: 24px 0 12px;
}

/* 段落 */
#page-support .support-box p {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* リスト */
#page-support .support-box ul {
  margin: 16px 0 24px 0;
  padding-left: 24px;
  list-style: none;
}

#page-support .support-box ul li {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 10px;
  position: relative;
  padding-left: 24px;
}

#page-support .support-box ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #66cccc;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
}

/* リンク */
#page-support .support-box a {
  color: #66cccc;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(102, 204, 204, 0.3);
  transition: all 0.3s ease;
}

#page-support .support-box a:hover {
  color: #4FB3B8;
  border-bottom-color: #4FB3B8;
}

/* テーブル（必要な場合） */
#page-support .support-box table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0 40px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

#page-support .support-box table th {
  background: linear-gradient(135deg, #66cccc 0%, #4FB3B8 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 18px 24px;
  text-align: left;
  border: none;
}

#page-support .support-box table td {
  padding: 18px 24px;
  font-size: 15px;
  color: #666;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: top;
  line-height: 1.6;
}

#page-support .support-box table tr:last-child td {
  border-bottom: none;
}

#page-support .support-box table tr:nth-child(even) td {
  background: #f8f9fa;
}

#page-support .support-box table tr:hover td {
  background: #f0f7f8;
}

/* 最後の段落 */
#page-support .support-box p:last-of-type {
  margin-top: 40px;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  #page-support {
    padding: 60px 0 0;
  }

  #page-support .page-header {
    padding: 80px 0 60px;
  }

  #page-support .page-header-container {
    padding: 0 24px;
  }

  #page-support .page-title {
    font-size: 36px;
  }

  #page-support .support-box {
    padding: 60px 20px;
  }

  #page-support .support-box h4 {
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 10px;
  }

  #page-support .support-box h5 {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  #page-support .page-header {
    padding: 40px 0 40px;
  }

  #page-support .page-header-container {
    padding: 0 20px;
  }

  #page-support .page-title {
    font-size: 28px;
  }

  #page-support .support-box {
    padding: 40px 15px;
  }
}


/**********************************
 CONTACT PAGE - コンタクトページ
***********************************/
/* Google reCAPTCHA */
.grecaptcha-badge {
  display: none !important;
}

.grecaptcha-p {
  font-size: 12px;
  margin-top: 1em;
  text-align: center;
}


#page-contact {
  padding: 80px 0 0;
}

#page-contact h3 {
  font-size: var(--h3-size);
  margin-bottom: 70px;
  text-align: center;
}

#page-contact h3 span {
  color: var(--color-secondary);
  display: block;
  font-size: var(--font-size-18);
  font-weight: 700;
}

.contact-box .midasi-box p {
  margin: 45px auto 60px;
  padding-inline: 15px;
  text-align: center;
}


/* CONTACTFORM7 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  height: 60px;
  width: 100%;
  margin-bottom: 30px;
  padding: 10px;
}

.wpcf7-textarea {
  height: 200px !important;
}

.wpcf7 input[type="text"]::placeholder,
.wpcf7 input[type="email"]::placeholder,
.wpcf7 input[type="url"]::placeholder,
.wpcf7 input[type="tel"]::placeholder,
.wpcf7 textarea::placeholder {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Helvetica Neue", Arial, sans-serif;
  color: #999;
}

.wpcf7-form label {
  line-height: 35px;
}

select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required {
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  height: 60px;
  width: 100%;
  margin-bottom: 30px;
  padding: 10px;
}

.wpcf7-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-primary);
  border-radius: 50px;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  height: 90px;
  width: 420px;
  margin: 100px auto 0;
  padding: 10px;
  text-align: center;
}

.wpcf7-submit:hover {
  color: var(--color-primary);
  background: #fff;
  border: 1px solid var(--color-primary);
  transition: var(--transition_a);
}

.wpcf7-submit:disabled:hover {
  color: #fff;
  background: #aaa;
}

.wpcf7-response-output {
  margin: 0 !important;
  padding: 10px;
  border-radius: 5px;
  background-color: #fff;
  color: var(--text-red);
  font-weight: 700;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #fff;
  padding: 15px;
}

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

  #page-contact {
    padding: 100px 0 0;
  }

  #page-contact h3 {
    font-size: var(--h3-size);
    margin-bottom: 50px;
    text-align: center;
  }

  .wpcf7-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-primary);
    border-radius: 50px;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    height: 70px;
    width: 280px;
    margin: 100px auto 0;
    padding: 10px;
    text-align: center;
  }
}

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

  .grecaptcha-p {
    font-size: 12px;
    margin-top: 1em;
    text-align: left;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="url"],
  .wpcf7 input[type="tel"],
  .wpcf7 textarea,
  .wpcf7-submit {
    font-size: 14px;
    padding: 8px;
  }
}








/**********************************
  TOP PAGE - トップページ
***********************************/

/* Pastel abstract background (blurry radial circles) */
#top-page {
  position: relative;
}

#top-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 600px at 8% 10%, rgba(102, 204, 204, 0.18), transparent 60%);
  /* teal top-left */
  filter: blur(30px);
  opacity: 1;
  transition: opacity 0.6s ease;
}

/* Ensure top-page primary sections render above background */
#top-page .section-hero,
#top-page .section-about-preview,
#top-page .section-projects,
#top-page .section-blog,
#top-page .section-contact {
  position: relative;
  z-index: 1;
}

/* Fade out teal bg when instructed via class (used for Blog in-view) */
#top-page.bg-fade-off::before {
  opacity: 0;
}

/* Remove blog-specific background switch */

@media (max-width: 768px) {
  #top-page::before {
    filter: blur(24px);
    opacity: 0.9;
  }
}

@media (prefers-color-scheme: dark) {
  #top-page::before {
    opacity: 0.65;
  }
}

/* ヒーローセクション */
#top-page .section-hero {
  padding: 0;
  margin: 0;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  #top-page .section-hero {
    padding: 70px 0 0;
  }

  /* #top-page .section-hero h1 {
    font-size: 22px;
    margin-bottom: 16px;
    line-height: 1.2;
  }

  #top-page .section-hero .subtitle {
    font-size: 10px;
    margin-bottom: 32px;
    line-height: 1.6;
  } */

  .hero-links {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .hero-links .btn,
  .hero-links .btn-outline {
    width: 240px;
    padding: 14px 24px;
    font-size: 15px;
  }
}

@media screen and (max-width: 480px) {
  #top-page .section-hero {
    padding: 70px 0 0;
  }

  /* #top-page .section-hero h1 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.3;
  }

  #top-page .section-hero .subtitle {
    font-size: 9px;
    margin-bottom: 28px;
    line-height: 1.5;
  } */

  .hero-links .btn,
  .hero-links .btn-outline {
    width: 220px;
    white-space: nowrap;
    padding: 12px 20px;
    font-size: 14px;
  }
}



.hero-swiper-container {
  position: relative;
  width: 100%;
  height: 700px;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

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

.hero-swiper .swiper-slide .hero-media-container {
  width: 100%;
  height: 100%;
}

/* Swiper Pagination */
.hero-swiper .swiper-pagination {
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hero-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  margin: 0 8px;
  transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: #66cccc;
  transform: scale(1.2);
}

/* Hero Media Styles */
.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Video specific styles */
.hero-media-container video.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #000;
}

.hero-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)); */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media-content {
  text-align: center;
  color: #fff;
  max-width: 1300px;
  width: 100%;
  padding: 0 40px;
  position: relative;
  margin: 0 auto;
}

.hero-media-content h1,
.hero-media-content h2 {
  font-size: 50px;
  font-weight: 800;
  margin-bottom: 32px;
  line-height: 1.1;
  letter-spacing: 0;
  color: #fff;
}

.hero-media-content .subtitle {
  font-size: 20px;
  margin-bottom: 10px;
  line-height: 1.5;
  opacity: 0.95;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  max-width: fit-content;
}

.hero-media-content .hero-links {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
}

.hero-media-content .hero-links .btn {
  padding: 20px 40px;
  font-size: 18px;
  font-weight: 600;
  width: 260px;
  white-space: nowrap;
  border-radius: 50px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  margin: 30px 0 0;
}

.hero-media-content .hero-links .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(100, 204, 210, 0.4);
}

.hero-media-content .hero-links .btn-outline {
  padding: 20px 40px;
  font-size: 18px;
  font-weight: 600;
  width: 260px;
  white-space: nowrap;
  border-radius: 50px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  margin: 30px 0 0;
}

.hero-media-content .hero-links .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 1);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Swiper Fade Effect */
.hero-swiper .swiper-slide {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-swiper .swiper-slide-active {
  opacity: 1;
}

/* Responsive Swiper Styles */
@media screen and (max-width: 768px) {
  .hero-swiper-container {
    height: 80vh;
    min-height: 500px;
  }

  .hero-swiper .swiper-pagination {
    bottom: 30px;
  }

  .hero-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 6px;
  }

  .hero-media-content {
    padding: 0 24px;
    max-width: 100%;
  }

  .hero-media-content h1,
  .hero-media-content h2 {
    font-size: 40px;
    margin-bottom: 24px;
    font-weight: 700;
  }

  .hero-media-content .subtitle {
    font-size: 16px;
    margin-bottom: 40px;
    font-weight: 400;
  }

  .hero-media-content .hero-links {
    flex-direction: column;
    gap: 20px;
  }

  .hero-media-content .hero-links .btn,
  .hero-media-content .hero-links .btn-outline {
    width: 280px;
    margin: 0 auto;
    padding: 18px 36px;
    font-size: 16px;
    white-space: nowrap;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .hero-swiper-container {
    height: 70vh;
    min-height: 400px;
  }

  .hero-swiper .swiper-pagination {
    bottom: 20px;
  }

  .hero-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 4px;
  }

  .hero-media-content {
    padding: 0 20px;
    max-width: 100%;
  }

  .hero-media-content h1,
  .hero-media-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .hero-media-content .subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .hero-media-content .hero-links .btn,
  .hero-media-content .hero-links .btn-outline {
    width: 240px;
    padding: 16px 32px;
    font-size: 15px;
    white-space: nowrap;
    text-align: center;
  }
}

/* セクションタイトル */
.section-title {
  font-size: 40px;
  font-weight: 700;
  color: #2b2b2b;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.2;
  letter-spacing: 0;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #66cccc 0%, #4FB3B8 100%);
  margin: 20px auto 0;
  border-radius: 2px;
}

.section-title-left::after {
  margin: 20px 0 0 0;
}

@media screen and (max-width: 768px) {
  .section-title {
    font-size: 30px;
    margin-bottom: 32px;
  }

  .section-title::after {
    width: 50px;
    height: 3px;
    margin: 16px auto 0;
  }

  .section-title-left::after {
    margin: 16px auto 0;
  }
}

@media screen and (max-width: 480px) {
  .section-title {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .section-title::after {
    width: 40px;
    height: 3px;
    margin: 12px auto 0;
  }

  .section-title-left::after {
    margin: 12px auto 0;
  }
}

/* トップページのプロジェクトセクション */
#top-page .section-projects {
  background: #f8f9fa;
  padding: 120px 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}


.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 80px;
  align-items: stretch;
}

.project-card {
  background: #fff;
  /* border-radius: 24px; */
  overflow: hidden;
  /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); */
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  /* border: 1px solid rgba(255, 255, 255, 0.8); */
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 25px 25px;
  text-decoration: none;
  color: inherit;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(100, 204, 210, 0.02), rgba(163, 221, 212, 0.02));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover {
  /* transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: rgba(100, 204, 210, 0.2); */
}

.project-image {
  position: relative;
  height: 330px;
  overflow: hidden;
  /* border-radius: 24px 24px 0 0; */
}

.coming-soon-overlay {
  position: absolute;
  bottom: 25px;
  right: 25px;
  z-index: 10;
}

.coming-soon-text {
  font-family: 'Inter', sans-serif;
  /* font-family: 'Caveat', cursive; */
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: ;
  padding: 10px 15px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

/* Project #3 only: coming-soon label text color */
#section-projects .projects-grid .project-card:nth-child(3) .coming-soon-text {
  color: #2b2b2b !important;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-image img {
  transform: scale(1.08);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.project-overlay {
  background: var(--color-primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.project-content {
  position: relative;
  z-index: 2;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 25px 0 0;
}

.project-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: #2b2b2b;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
  flex-grow: 1;
  margin-right: 16px;
}

.project-content p {
  color: #2b2b2b;
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
}



.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  margin-top: auto;
}

.tech-tag {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  color: #66cccc;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(100, 204, 210, 0.1);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: linear-gradient(135deg, #66cccc, #5bb8be);
  color: white;
  transform: translateY(-1px);
}

.project-link {
  color: #66cccc;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.project-link:hover {
  color: #4FB3B8;
  transform: translateX(4px);
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 48px;
  }

  .project-content {
    padding: 24px;
  }

  .project-header h3 {
    font-size: 22px;
  }

  .project-overlay {
    font-size: 11px;
    padding: 6px 12px;
  }

  .project-image {
    height: 200px;
  }

  .coming-soon-text {
    font-size: 11px;
    padding: 3px 6px;
  }
}

@media screen and (max-width: 480px) {
  .projects-grid {
    gap: 28px;
    margin-top: 40px;
  }

  .project-content {
    padding: 20px 0;
  }

  .project-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .project-content p {
    font-size: 16px;
    line-height: 1.5;
  }

  .project-header h3 {
    font-size: 20px;
  }

  .project-overlay {
    font-size: 10px;
    padding: 5px 10px;
  }

  .project-image {
    height: 180px;
  }

  .coming-soon-text {
    font-size: 10px;
    padding: 2px 5px;
  }
}

/* About Preview Section */
#top-page .section-about-preview {
  padding: 0 0 120px;
  margin: 0;
  position: relative;
}


.about-container {
  margin: 0 auto;
  padding: 0 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 100px;
  align-items: center;
}

/* Ensure image column comes first on mobile */
@media screen and (max-width: 768px) {
  #top-page .section-about-preview .about-content {
    display: flex;
    flex-direction: column-reverse;
  }

  #top-page .section-about-preview .about-image {
    order: 1;
    display: none;
  }

  #top-page .section-about-preview .about-text {
    order: 2;
  }
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 50px;
  font-size: 40px;
  font-weight: 700;
  color: #2b2b2b;
  line-height: 1.1;
  letter-spacing: 0;
}

.about-description p {
  color: #2b2b2b;
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: 400;
}

.about-description p:last-of-type {
  margin-bottom: 0;
}

.about-description p a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(100, 204, 210, 0.3);
  transition: all 0.3s ease;
}

.about-description p a:hover {
  color: #5bb8be;
  border-bottom-color: rgba(100, 204, 210, 0.8);
}

.about-description strong {
  color: #2b2b2b;
  font-weight: 600;
  font-size: 20px;
}

.about-description .button {
  display: inline-block;
  margin-top: 30px;
  padding: 16px 32px;
  background: #66cccc;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.about-description .button:hover {
  background: #5bb8be;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(100, 204, 210, 0.3);
}

.home-values {
  margin: 32px 0;
  padding: 0;
}


.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.value-list li {
  /* font-family: 'Caveat', cursive; */
  padding: 8px 16px;
  font-size: 14px;
  color: #fff;
  background: #afafaf;
  border-radius: 20px;
  transition: all 0.3s ease;
}


/* About stats removed - no longer needed */

/* Stat styles removed - no longer needed */

.about-image {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-height: 600px;
}

.section-about-preview h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-about-preview .about-image .profile-photo {
  width: 360px !important;
  height: 500px !important;
  /* border-radius: 10px !important; */
  overflow: hidden !important;
  position: relative !important;
  /* box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important; */
  transition: transform 0.3s ease !important;
  margin-bottom: 20px !important;
  z-index: 10 !important;
}

/* Mobile inline photo above What I care about */
.profile-photo-mobile {
  display: none;
  width: 100%;
  max-width: 420px;
  margin: 0 auto 16px;
  position: relative;
}

.profile-photo-mobile img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 50px auto;
}

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

  /* Show mobile photo and hide side photo for top page About */
  #top-page .section-about-preview .profile-photo-mobile {
    display: block;
  }

  .profile-name-overlay-mobile {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    pointer-events: none;
  }

  .profile-name-text-mobile {
    font-family: 'Caveat', cursive;
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    transform: rotate(-2deg);
    display: inline-block;
  }

  #top-page .section-about-preview .about-image .profile-photo,
  #top-page .section-about-preview .about-image .profile-box,
  #top-page .section-about-preview .profile-name-overlay {
    display: none !important;
  }
}

.section-about-preview .about-image .profile-photo:hover {
  transform: none !important;
}

.section-about-preview .about-image .profile-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform 0.3s ease !important;
}

.section-about-preview .about-image .profile-photo:hover img {
  transform: none !important;
}

.profile-box {
  width: 400px;
  height: 600px;
  background-color: #f7f7f7;
  position: absolute;
  top: 100px;
  right: 0;
  z-index: 1;
}

.profile-name-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.profile-name-text {
  font-family: 'Caveat', cursive;
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  transform: rotate(-2deg);
  transition: all 0.3s ease;
}

.about-cta {
  text-align: center;
}

/* Contact Section */
#top-page .section-contact {
  background: #f7f7f7;
  padding: 150px 0 170px;
  margin: 0;
  position: relative;
}


.contact-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.contact-title {
  text-align: center;
  margin-bottom: 32px;
  font-size: 28px;
  font-weight: 700;
  color: #2b2b2b;
  letter-spacing: 0.05em;
  position: relative;
  opacity: 0.9;
}

.contact-description .lead {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: #2b2b2b;
  margin-bottom: 12px;
  opacity: 0.9;
}

.contact-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 20px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  width: 260px;
  white-space: nowrap;
}

.contact-btn-instagram {
  background: var(--color-primary);
  color: white;
}

.contact-btn-instagram:hover {
  transform: translateY(-3px);
}

.contact-btn-primary {
  background: transparent;
  color: #66cccc;
  border: 1px solid #66cccc;
}

.contact-btn-primary:hover {
  transform: translateY(-3px);
}

.contact-btn svg {
  flex-shrink: 0;
}


/* レスポンシブ対応 */
@media screen and (max-width: 768px) {

  #top-page .section-about-preview {
    padding: 0 0 80px;
  }

  #top-page .section-about-preview .section-title {
    margin-top: 0;
  }

  #top-page .section-contact {
    padding: 80px 0;
  }

  #top-page .section-projects {
    padding: 80px 0;
  }

  .about-container,
  .contact-container {}

  .about-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-content {
    gap: 30px;
  }

  .about-text .section-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 32px;
  }

  .contact-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .contact-actions {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .contact-btn {
    width: 240px;
    white-space: nowrap;
    justify-content: center;
    padding: 16px 32px;
    font-size: 15px;
  }

  .about-description p {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .profile-name-text {
    font-size: 28px;
  }

  .about-image {
    min-height: 450px;
  }

  .profile-box {
    width: 300px;
    height: 450px;
    top: 80px;
    left: 80px;
  }

  .home-values {
    margin: 24px 0;
  }


  .value-list {
    gap: 6px;
  }

  .value-list li {
    font-size: 13px;
    padding: 6px 12px;
  }

  /* About stats removed */

  .image-placeholder {
    width: 240px;
    white-space: nowrap;
    height: 200px;
  }

  .contact-methods {
    gap: 20px;
  }

  .contact-method {
    padding: 20px;
  }
}

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

  #top-page .section-about-preview {
    padding: 0;
  }

  #top-page .section-contact,
  #top-page .section-projects {
    padding: 60px 0;
  }

  .about-container,
  .contact-container {}

  .about-content {
    gap: 28px;
  }

  .contact-content {
    gap: 25px;
  }

  .about-text .section-title {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .contact-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .contact-actions {
    gap: 14px;
  }

  .contact-btn {
    width: 220px;
    padding: 14px 28px;
    font-size: 14px;
  }

  .contact-item {
    padding: 16px 0;
  }

  .contact-label {
    font-size: 12px;
  }

  .contact-value {
    font-size: 14px;
  }

  .about-description p {
    font-size: 16px;
    margin-bottom: 18px;
  }

  .profile-name-text {
    font-size: 24px;
  }

  .about-image {
    min-height: 375px;
  }

  .profile-box {
    width: 250px;
    height: 375px;
    top: 60px;
    left: 60px;
  }

  .home-values {
    margin: 20px 0;
  }



  .value-list {
    gap: 5px;
  }

  .value-list li {
    font-size: 12px;
    padding: 5px 10px;
  }

  /* About stats removed */

  .image-placeholder {
    width: 150px;
    height: 150px;
  }

  .placeholder-text {
    font-size: 14px;
  }

  .contact-method {
    padding: 16px;
    gap: 16px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }
}

/* Contact Page Styles */
#page-contact .page-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0 80px;
  text-align: center;
}

#page-contact .page-header-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

#page-contact .page-title {
  font-size: 40px;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

#page-contact .page-description {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

#page-contact .section-contact-page {
  padding: 100px 0 130px;
  background: #fff;
}

#page-contact .contact-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

#page-contact .contact-page-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 800px;
  margin: 0 auto;
}

#page-contact .contact-info h2 {
  font-size: 32px;
  font-weight: 600;
  color: #2b2b2b;
  margin-bottom: 24px;
}

#page-contact .contact-info p {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 40px;
}

#page-contact .contact-methods {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

#page-contact .contact-method {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: #f8f9fa;
  border-radius: 16px;
  transition: all 0.3s ease;
}

#page-contact .contact-method:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

#page-contact .contact-icon {
  width: 48px;
  height: 48px;
  background: #66cccc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

#page-contact .contact-details h4 {
  font-size: 18px;
  font-weight: 600;
  color: #2b2b2b;
  margin-bottom: 8px;
}

#page-contact .contact-details p {
  color: #666;
  margin-bottom: 8px;
  font-size: 15px;
}

#page-contact .contact-details a {
  color: #66cccc;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

#page-contact .contact-details a:hover {
  color: #4FB3B8;
  transform: translateX(4px);
}

#page-contact .contact-details span {
  color: #999;
  font-size: 14px;
}

#page-contact .contact-form-section h2 {
  font-size: 32px;
  font-weight: 600;
  color: #2b2b2b;
  margin-bottom: 32px;
}

#page-contact .contact-form-wrapper {
  background: #fff;
  padding: 0;
  border-radius: 0;
  text-align: left;
}

#page-contact .contact-form-wrapper p {
  color: #666;
  margin-bottom: 16px;
}

#page-contact .contact-form-wrapper code {
  background: #e9ecef;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
}

#page-contact .contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#page-contact .form-group {
  display: flex;
  flex-direction: column;
}

#page-contact .form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #2b2b2b;
  margin-bottom: 8px;
}

#page-contact .form-group input,
#page-contact .form-group textarea {
  padding: 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #fff;
}

#page-contact .form-group input:focus,
#page-contact .form-group textarea:focus {
  outline: none;
  border-color: #66cccc;
  box-shadow: 0 0 0 3px rgba(100, 204, 210, 0.1);
}

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

#page-contact .btn {
  background: #66cccc;
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

#page-contact .btn:hover {
  background: #4FB3B8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(100, 204, 210, 0.3);
}

/* Contact Form 7 Styles */
#page-contact .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

#page-contact .wpcf7-form-control-wrap {
  display: flex;
  flex-direction: column;
}

#page-contact .wpcf7-form-control {
  padding: 20px 24px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #fff;
  width: 100%;
}

#page-contact .wpcf7-form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(102, 204, 204, 0.1);
}

#page-contact .wpcf7-textarea {
  resize: vertical;
  min-height: 140px;
}

#page-contact .wpcf7-submit {
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 100px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  width: 260px;
  white-space: nowrap;
  height: auto;
  margin-top: 50px;
  padding: 18px 36px;
}

#page-contact .wpcf7-submit:hover {
  background: #4FB3B8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 204, 204, 0.3);
}

#page-contact .wpcf7-response-output {
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
  font-weight: 500;
}

#page-contact .wpcf7-mail-sent-ok {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#page-contact .wpcf7-validation-errors {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

#page-contact .wpcf7-spam-blocked {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

/**********************************
  ABOUT PAGE - アバウトページ
***********************************/

/* About Page Styles */
#page-about .section-about-page {
  padding: 110px 0 200px;
  background: #ffffff;
  color: #2b2b2b;
}

#page-about .about-page-container {}

#page-about .about-page-content {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

#page-about .about-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 100px;
  padding: 120px 24px 110px;
  background: #0d121f;
}

#page-about .about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.2) 0%, rgba(6, 8, 12, 0.55) 75%, rgba(6, 8, 12, 0.72) 100%);
  z-index: 1;
}

#page-about .about-hero>* {
  position: relative;
  z-index: 1;
}

#page-about .about-hero .about-hero-bg {
  position: absolute;
  inset: -12% -6% -12% -6%;
  background-image: url('img/main/about-main.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: 0;
  filter: saturate(1.05);
  pointer-events: none;
}

#page-about .about-hero-header {
  display: grid;
  gap: 16px;
  justify-items: center;
}

#page-about .about-hero .page-title {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: #ffffff;
}

#page-about .about-hero .page-description {
  font-size: 19px;
  color: #f3f6fb;
  line-height: 1.75;
  margin: 0;
  max-width: 720px;
}

#page-about .about-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

#page-about .about-section h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  display: flex;
  align-items: center;
  column-gap: 10px;
  color: #2b2b2b;
  text-align: left;
  max-width: none;
}

#page-about .about-section h2::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #66cccc 0%, #4fb3b8 100%);
  flex-shrink: 0;
}

#page-about .about-text {
  max-width: 820px;
  display: grid;
  gap: 10px;
  margin: 0 auto;
}

#page-about .about-text p {
  margin: 0;
  font-size: 17px;
  line-height: 1.85;
  color: #2b2b2b;
}

#page-about hr {
  border: none;
  border-top: 1px solid #e6eaef;
  margin: 4px 0 0;
}

#page-about .about-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

#page-about .about-inline-image {
  width: 180px;
  height: 180px;
  border-radius: 18px;
  overflow: hidden;
  margin: 16px auto 0;
}

#page-about .about-inline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 1024px) {
  #page-about .section-about-page {
    padding: 100px 0 180px;
  }

  #page-about .about-hero {
    min-height: 460px;
    padding: 100px 22px 90px;
    background-attachment: scroll;
    background-position: center;
  }
}

@media screen and (max-width: 720px) {
  #page-about .about-page-container {
    padding: 0 18px;
  }

  #page-about .about-page-content {
    gap: 64px;
  }

  #page-about .about-hero {
    padding: 80px 18px 70px;
  }

  #page-about .about-hero .page-title {
    font-size: 38px;
  }

  #page-about .about-hero .page-description {
    font-size: 16.5px;
  }

  #page-about .about-section h2 {
    font-size: 23px;
  }

  #page-about .about-inline-image {
    width: 140px;
    height: 140px;
    border-radius: 18px;
  }
}

@media screen and (max-width: 520px) {
  #page-about .about-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  #page-about .about-inline-image {
    width: 100%;
    height: 220px;
  }

  #page-about .about-text p {
    font-size: 15.8px;
    line-height: 1.75;
  }
}



.contact-actions {
  gap: 12px;
}

.contact-btn {
  padding: 12px 16px;
  font-size: 14px;
}

/* Shared inner container (1300px) */
.inner1300 {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

@media (min-width: 1330px) {
  .inner1300 {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Contact Page Responsive */
.page-header {
  padding: 80px 0 60px;
}

.page-title {
  font-size: 36px;
}

.page-description {
  font-size: 16px;
}

.section-contact-page {
  padding: 60px 0;
}

.contact-page-container {
  padding: 0 24px;
}

.contact-page-content {
  gap: 40px;
  max-width: 100%;
}

.contact-info h2,
.contact-form-section h2 {
  font-size: 28px;
}

.contact-methods {
  gap: 24px;
}

.contact-method {
  padding: 20px;
}

.contact-form-wrapper {
  padding: 0;
}

.wpcf7-submit {
  width: 240px;
  padding: 16px 32px;
  font-size: 16px;
}
}

@media screen and (max-width: 480px) {
  .wpcf7-submit {
    width: 220px;
    padding: 14px 28px;
    font-size: 15px;
    height: auto;
  }
}

/* トップページのブログセクション */
#top-page .section-blog {
  padding: 80px 0;
  margin: 0;
}

.section-blog .blog-posts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 40px;
  margin: 60px 0 0;
}

.section-blog .blog-posts-grid .blog-post-card.featured-post {
  grid-row: span 2;
}

.section-blog .blog-post-card {
  background: transparent;
  overflow: hidden;
  transition: all 0.3s ease;
}

.section-blog .blog-post-card:hover {
  transform: none;
}

.section-blog .blog-post-thumbnail {
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  height: 200px;
  transition: zoom 0.3s ease;
  margin-bottom: 20px;
}

.section-blog .blog-post-card.featured-post .blog-post-thumbnail {
  height: 400px;
}

.section-blog .blog-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.section-blog .blog-category-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--color-primary);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.section-blog .blog-post-content {
  padding: 0;
}

.section-blog .blog-post-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #666;
}

.section-blog .blog-post-date {
  color: #999;
}

.section-blog .blog-post-category {
  color: var(--color-primary);
  font-weight: 700;
}

.section-blog .blog-post-title {
  margin-bottom: 0;
}

.section-blog .blog-post-title a {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.section-blog .blog-post-card.featured-post .blog-post-title a {
  font-size: 20px;
}

.section-blog .blog-post-title a:hover {
  color: var(--color-primary);
}

.section-blog .blog-post-excerpt {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-top: 15px;
  margin-bottom: 0;
}

.section-blog .blog-read-more {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.section-blog .blog-read-more:hover {
  color: var(--color-secondary);
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  #top-page .section-blog .blog-posts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    e margin-bottom: 50px;
  }

  /* 1枚目は1カラム表示 */
  #top-page .section-blog .blog-post-card.featured-post {
    flex: 0 0 100%;
    width: 100%;
    margin-bottom: 30px;
  }

  /* 2-5枚目は2カラム表示 */
  #top-page .section-blog .blog-post-card.mobile-two-col {
    flex: 0 0 calc(50% - 10px);
    width: calc(50% - 10px);
    margin-bottom: 30px;
  }

  #top-page .section-blog .blog-post-thumbnail {
    height: 180px;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  #top-page .section-blog .blog-post-thumbnail a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  #top-page .section-blog .blog-post-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-width: 100% !important;
    display: block !important;
    min-width: 0 !important;
    min-height: 0 !important;
  }

  #top-page .section-blog .blog-post-card.featured-post .blog-post-thumbnail {
    height: 200px;
  }

  #top-page .section-blog .blog-post-content {
    padding: 0;
  }

  #top-page .section-blog .blog-post-title a {
    font-size: 16px;
  }

  #top-page .section-blog .blog-post-card.featured-post .blog-post-title a {
    font-size: 18px;
  }

  /* 768px以下では本文を非表示 */
  #top-page .section-blog .blog-post-excerpt {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  #top-page .section-blog .blog-posts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }


  #top-page .section-blog .blog-post-card.featured-post .blog-post-title a {
    font-size: 16px;
  }


  /* 1枚目は1カラム表示 */
  #top-page .section-blog .blog-post-card.featured-post {
    flex: 0 0 100%;
    width: 100%;
  }

  /* 2-5枚目は2カラム表示 */
  #top-page .section-blog .blog-post-card.mobile-two-col {
    flex: 0 0 calc(50% - 7.5px);
    width: calc(50% - 7.5px);
  }

  #top-page .section-blog .blog-post-thumbnail {
    height: 160px;
  }

  #top-page .section-blog .blog-post-card.featured-post .blog-post-thumbnail {
    height: 180px;
  }

  /* 480px以下では4-5枚目の記事を非表示 */
  #top-page .section-blog .blog-post-card.mobile-hide {
    display: none;
  }
}

/**********************************
  BLOG PAGES - ブログページ
***********************************/

/* ブログ一覧ページ */
#page-blog,
.page-blog {
  padding: 80px 0 0;
  margin-bottom: 300px;
}

/* アーカイブページ - ブログ一覧ページと同じスタイル */
.archive #page-blog,
.archive .page-blog {
  padding: 80px 0 0;
  margin-bottom: 300px;
}

/* サイドバーのタグクラウド */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud-link {
  background: #f8f9fa;
  color: #666;
  border: 1px solid #e9ecef;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-block;
}

.tag-cloud-link:hover {
  background: #e9ecef;
  color: #333;
  transform: translateY(-1px);
  text-decoration: none;
}

.tag-cloud-link.active {
  background: #2c3e50;
  color: white;
  border-color: #2c3e50;
}

.tag-cloud-link.active:hover {
  background: #34495e;
  transform: translateY(-1px);
  color: white;
}

#page-blog .page-header,
.page-blog .page-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0 80px;
  text-align: center;
  margin-bottom: 150px;
}

/* アーカイブページ - ブログ一覧ページと同じスタイル */
.archive #page-blog .page-header,
.archive .page-blog .page-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0 80px;
  text-align: center;
  margin-bottom: 150px;
}

#page-blog .page-title,
.page-blog .page-title {
  font-size: var(--h3-size);
  margin-bottom: 0;
}

/* アーカイブページ - ブログ一覧ページと同じスタイル */
.archive #page-blog .page-title,
.archive .page-blog .page-title {
  font-size: var(--h3-size);
  margin-bottom: 0;
}

#page-blog .page-title span,
.page-blog .page-title span {
  display: block;
  font-size: 18px;
  color: var(--color-secondary);
  font-weight: 700;
}

/* アーカイブページ - ブログ一覧ページと同じスタイル */
.archive #page-blog .page-title span,
.archive .page-blog .page-title span {
  display: block;
  font-size: 18px;
  color: var(--color-secondary);
  font-weight: 700;
}

#page-blog .page-description,
.page-blog .page-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 0;
}

/* アーカイブページ - ブログ一覧ページと同じスタイル */
.archive #page-blog .page-description,
.archive .page-blog .page-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 0;
}

#page-blog .row,
.page-blog .row {
  display: flex !important;
  gap: 50px;
  max-width: 100%;
  overflow: hidden;
}

/* アーカイブページ - ブログ一覧ページと同じスタイル */
.archive #page-blog .row,
.archive .page-blog .row {
  display: flex !important;
  gap: 50px;
  max-width: 100%;
  overflow: hidden;
}

/* ブログ一覧ページ専用の強制レイアウト */
#page-blog .row {
  display: flex !important;
  flex-direction: row !important;
  gap: 50px !important;
  /* 指定サイズ */
  align-items: flex-start !important;
  /* 上揃え */
  max-width: 1300px !important;
  /* コンテナ幅に制限 */
  margin: 0 auto !important;
  /* 中央揃え */
  overflow: hidden !important;
  /* はみ出し防止 */
}

#page-blog .blog-list {
  max-width: 850px !important;
  flex-basis: 850px !important;
  flex-shrink: 1 !important;
}

#page-blog .sidebar {
  max-width: 400px !important;
  /* 指定サイズ */
  flex-basis: 400px !important;
  flex-shrink: 1 !important;
  display: block !important;
  /* order削除 - 自然な順序で配置 */
  position: relative !important;
  /* 相対位置 */
  float: none !important;
  /* フロート無効 */
  clear: none !important;
  /* クリア無効 */
  transform: none !important;
}

#page-blog .posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 30px;
  margin-bottom: 80px;
}

#page-blog .post-card {
  background: #fff;
  overflow: hidden;
  /* transition: transform 0.3s ease; */
}

#page-blog .post-card:hover {
  /* transform: translateY(-5px); */
}

#page-blog .post-thumbnail {
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  height: 240px;
}

#page-blog .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* transition: transform 0.3s ease; */
}

/* #page-blog .post-card:hover .post-thumbnail img {
  transform: scale(1.05);
} */

#page-blog .category-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--color-primary);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

#page-blog .post-content {
  padding: 10px;
}

#page-blog .post-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 5px;
  font-size: 14px;
  color: #666;
}

#page-blog .post-date {
  color: #999;
}

#page-blog .post-category {
  color: var(--color-primary);
  font-weight: 700;
}

#page-blog .post-title {
  font-size: 18px;
  margin-bottom: 15px;
}

#page-blog .post-title a {
  font-weight: 700;
  color: #333;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.3s ease;
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
}

#page-blog .post-title a:hover {
  color: var(--color-primary);
}

#page-blog .post-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

#page-blog .read-more {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

#page-blog .read-more:hover {
  color: var(--color-secondary);
}

#page-blog .no-posts {
  text-align: center;
  padding: 80px 20px;
  color: #666;
}

/* ブログ詳細ページ */
#single-page {
  padding: 80px 0 0;
  margin-bottom: 300px;
}

#single-page .row {
  display: flex !important;
  gap: 50px;
}

#single-page .blog-post {
  flex: 1;
}

#single-page .post-header {
  margin-bottom: 50px;
}

#single-page .post-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}

#single-page .post-date {
  color: #999;
}

#single-page .post-category {
  color: var(--color-primary);
  font-weight: 700;
}

#single-page .post-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
  margin-bottom: 30px;
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
}

#single-page .post-thumbnail {
  margin-bottom: 40px;
  border-radius: 10px;
  overflow: hidden;
}

#single-page .post-thumbnail img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

#single-page .post-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 50px;
}

#single-page .post-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

#single-page .post-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 30px 0 15px;
}

#single-page .post-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 25px 0 10px;
}

#single-page .post-content p {
  margin-bottom: 20px;
}

#single-page .post-content ul,
#single-page .post-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

#single-page .post-content li {
  margin-bottom: 8px;
}

#single-page .post-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: #666;
}

#single-page .post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

#single-page .post-tags {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

#single-page .post-tags h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

#single-page .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#single-page .tag-list a {
  background: #f5f5f5;
  color: #666;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  text-decoration: none;
  transition: background 0.3s ease;
}

#single-page .tag-list a:hover {
  background: var(--color-primary);
  color: #fff;
}

/* 関連記事 - Related Posts */
#single-page .related-posts {
  margin-top: 180px;
  margin-bottom: 50px;
}

#single-page .related-posts h4 {
  border-bottom: unset;
  font-size: 28px !important;
  font-weight: 700;
  margin-bottom: 35px;
  padding: 0;
  position: relative;
}



#single-page .related-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

#single-page .related-post {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

#single-page .related-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}


#single-page .related-thumbnail {
  height: 180px;
  overflow: hidden;
  position: relative;
}

#single-page .related-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#single-page .related-post:hover .related-thumbnail img {
  transform: scale(1.08);
}

#single-page .related-content {
  padding: 25px;
  background: #fff;
}

#single-page .related-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #2b2b2b;
  line-height: 1.4;
}

#single-page .related-content h4 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

#single-page .related-content h4 a:hover {
  color: var(--color-primary);
}

#single-page .related-meta {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
}

#single-page .related-date {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

#single-page .related-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

#single-page .related-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
}

#single-page .related-title a:hover {
  color: var(--color-primary);
}

/* サイドバー */
#page-blog .sidebar,
#single-page .sidebar {
  max-width: 400px !important;
  flex-basis: 400px !important;
  flex-shrink: 1 !important;
  display: block !important;
  transform: none !important;
  position: relative !important;
}

#page-blog .sidebar-widget,
#single-page .sidebar-widget {
  background: #fff;
  margin-bottom: 50px;
  /* border: 2px solid red !important; デバッグ用 - 削除 */
}

/* 詳細ページ専用の強制レイアウト */
#single-page .row {
  display: flex !important;
  flex-direction: row !important;
  gap: 50px !important;
  /* 指定サイズ */
  align-items: flex-start !important;
  /* 上揃え */
  max-width: 1300px !important;
  /* コンテナ幅に制限 */
  margin: 0 auto !important;
  /* 中央揃え */
  overflow: hidden !important;
  /* はみ出し防止 */
}

#single-page .sidebar {
  max-width: 400px !important;
  /* 指定サイズ */
  flex-basis: 400px !important;
  flex-shrink: 1 !important;
  display: block !important;
  /* order削除 - 自然な順序で配置 */
  position: relative !important;
  /* 相対位置 */
  float: none !important;
  /* フロート無効 */
  clear: none !important;
  /* クリア無効 */
  transform: none !important;
}


#single-page .blog-post {
  max-width: 850px !important;
  /* 指定サイズ */
  flex-basis: 850px !important;
  flex-shrink: 1 !important;
  /* order削除 - 自然な順序で配置 */
  position: relative !important;
  /* 相対位置 */
  float: none !important;
  /* フロート無効 */
  clear: none !important;
  /* クリア無効 */
}

/* デバッグ用 - 削除済み */

#page-blog .sidebar-widget h4,
#single-page .sidebar-widget h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
  padding-bottom: 0;
  border-bottom: none;
}

#page-blog .sidebar-widget h4::first-letter,
#single-page .sidebar-widget h4::first-letter {
  font-size: 26px;
  color: #66cccc;
}

#page-blog .category-list,
#single-page .category-list {
  list-style: none;
  padding: 0;
}

#page-blog .category-list li,
#single-page .category-list li {
  display: inline-block;
  margin: 0 8px 8px 0;
}

#page-blog .category-list a,
#single-page .category-list a {
  display: inline-block;
  color: #666;
  text-decoration: none;
  font-size: 13px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

#page-blog .category-list a:hover,
#single-page .category-list a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: #f8f9fa;
  transform: translateY(-1px);
}

/* カテゴリーの記事数を非表示 */
#page-blog .category-list .count,
#single-page .category-list .count,
#page-blog .widget_categories .count,
#single-page .widget_categories .count,
#page-blog .widget .count,
#single-page .widget .count,
#page-blog .sidebar .count,
#single-page .sidebar .count,
#page-blog .sidebar-widget .count,
#single-page .sidebar-widget .count,
#page-blog .sidebar ul .count,
#single-page .sidebar ul .count,
#page-blog .sidebar li .count,
#single-page .sidebar li .count,
#page-blog .sidebar a .count,
#single-page .sidebar a .count,
#top-page .category-list .count,
#top-page .widget_categories .count,
#top-page .widget .count,
#top-page .sidebar .count,
#top-page .sidebar-widget .count,
#top-page .sidebar ul .count,
#top-page .sidebar li .count,
#top-page .sidebar a .count {
  display: none !important;
}

/* WordPressのカテゴリーウィジェットの括弧内の数字を非表示 */
#page-blog .sidebar a:after,
#single-page .sidebar a:after {
  content: none !important;
}

/* カテゴリーリンク内の括弧と数字を非表示 */
#page-blog .sidebar a,
#single-page .sidebar a {
  position: relative;
}

#page-blog .sidebar a::after,
#single-page .sidebar a::after {
  display: none !important;
}

/* 括弧内の数字を非表示にするための追加スタイル */
#page-blog .sidebar a,
#single-page .sidebar a {
  font-size: 13px !important;
}

/* カテゴリーリンクのテキストから括弧と数字を隠す */
#page-blog .sidebar a[href*="category"],
#single-page .sidebar a[href*="category"] {
  text-decoration: none !important;
}

#page-blog .popular-posts,
#single-page .popular-posts {
  list-style: none;
  padding: 0;
}

#page-blog .popular-post,
#single-page .popular-post {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
  align-items: center;
}

#page-blog .popular-post:last-child,
#single-page .popular-post:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

#page-blog .popular-thumbnail,
#single-page .popular-thumbnail {
  width: 150px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

#page-blog .popular-thumbnail img,
#single-page .popular-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#page-blog .popular-content,
#single-page .popular-content {
  flex: 1;
}

#page-blog .popular-date,
#single-page .popular-date {
  font-size: 11px;
  color: #888;
  margin-bottom: 6px;
  font-weight: normal;
}

#page-blog .popular-title,
#single-page .popular-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
}

#page-blog .popular-title a,
#single-page .popular-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
}

#page-blog .popular-title a:hover,
#single-page .popular-title a:hover {
  color: var(--color-primary);
}

#page-blog .archive-list,
#single-page .archive-list {
  list-style: none;
  padding: 0;
}

#page-blog .archive-list li,
#single-page .archive-list li {
  margin-bottom: 8px;
}

#page-blog .archive-list a,
#single-page .archive-list a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

#page-blog .archive-list a:hover,
#single-page .archive-list a:hover {
  color: var(--color-primary);
}

#page-blog .tag-cloud,
#single-page .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#page-blog .tag-cloud a,
#single-page .tag-cloud a {
  background: #f5f5f5;
  color: #666;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  text-decoration: none;
  transition: background 0.3s ease;
}

#page-blog .tag-cloud a:hover,
#single-page .tag-cloud a:hover {
  background: var(--color-primary);
  color: #fff;
}

/* レスポンシブ対応 - 一時的に無効化 */
@media screen and (max-width: 768px) {

  #page-blog,
  #single-page {
    padding: 100px 0 0;
    margin-bottom: 200px;
  }

  #page-blog .page-header,
  #single-page .page-header {
    margin-bottom: 50px;
  }

  /* モバイル表示 - サイドバーを下に配置 */
  #page-blog .row {
    flex-direction: column !important;
    gap: 40px !important;
  }

  #page-blog .blog-list {
    max-width: none !important;
    flex-basis: auto !important;
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
    width: 100% !important;
    order: 1 !important;
  }

  #page-blog .sidebar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: none !important;
    flex-basis: auto !important;
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
    width: 100% !important;
    order: 2 !important;
    margin-top: unset !important;
    position: relative !important;
    z-index: 1 !important;
    background: unset !important;
    padding: 0 !important;
    border: unset !important;
    clear: both !important;
    float: none !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    height: auto !important;
    min-height: 200px !important;
  }

  /* カテゴリ、タグリストはPCと同じデザインを維持 */
  #page-blog .category-list li,
  #single-page .category-list li {
    display: inline-block !important;
    width: auto !important;
    margin: 0 8px 8px 0 !important;
  }

  /* Archiveリストは一列表示 */
  #page-blog .archive-list li,
  #single-page .archive-list li {
    display: block !important;
    width: 100% !important;
    margin: 0 0 8px 0 !important;
  }

  #page-blog .category-list a,
  #single-page .category-list a {
    display: inline-block !important;
    width: auto !important;
    color: #666 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    padding: 6px 12px !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    margin-bottom: 0 !important;
  }

  #page-blog .category-list a:hover,
  #single-page .category-list a:hover {
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    background: #f8f9fa !important;
    transform: translateY(-1px) !important;
  }

  #page-blog .archive-list a,
  #single-page .archive-list a {
    display: inline !important;
    width: auto !important;
    color: #666 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: color 0.3s ease !important;
    padding: 0 !important;
    background: unset !important;
    border: none !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
  }

  #page-blog .archive-list a:hover,
  #single-page .archive-list a:hover {
    color: var(--color-primary) !important;
  }

  #page-blog .sidebar-widget,
  #single-page .sidebar-widget {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #fff !important;
    margin-bottom: 30px !important;
    padding: 20px !important;
    border-radius: 8px !important;
    box-shadow: unset !important;
    border: 1px solid #eee !important;
    width: 100% !important;
    clear: both !important;
    float: none !important;
  }

  #page-blog .sidebar-widget h4,
  #single-page .sidebar-widget h4 {
    display: block !important;
    font-size: 18px !important;
    font-weight: bold !important;
    margin-bottom: 20px !important;
    color: #333 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    width: 100% !important;
  }

  #page-blog .sidebar-widget h4::first-letter,
  #single-page .sidebar-widget h4::first-letter {
    font-size: 26px !important;
    color: #66cccc !important;
  }

  #page-blog .sidebar-widget ul,
  #single-page .sidebar-widget ul {
    display: block !important;
    width: 100% !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Popular Postsなどのliはブロック表示を維持 */
  #page-blog .sidebar-widget .popular-post,
  #single-page .sidebar-widget .popular-post {
    display: block !important;
    width: 100% !important;
    margin-bottom: 10px !important;
  }

  /* シングルページもスマホでサイドバーを表示 */
  #single-page .row {
    flex-direction: column !important;
    gap: 40px !important;
  }

  #single-page .blog-post {
    max-width: none !important;
    flex-basis: auto !important;
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
    width: 100% !important;
    order: 1 !important;
  }

  #single-page .sidebar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: none !important;
    flex-basis: auto !important;
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
    width: 100% !important;
    order: 2 !important;
    margin-top: unset !important;
    position: relative !important;
    z-index: 1 !important;
    background: unset !important;
    padding: 0 !important;
    border: unset !important;
    clear: both !important;
    float: none !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    height: auto !important;
    min-height: 200px !important;
  }

  #page-blog .posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 50px;
  }

  #page-blog .post-thumbnail,
  #single-page .post-thumbnail {
    height: 180px;
  }

  #page-blog .post-title {
    font-size: 16px;
  }

  #single-page .post-title {
    font-size: 18px;
  }

  #single-page .post-thumbnail img {
    height: 250px;
  }

  #single-page .related-posts {
    margin-top: 60px;
  }

  #single-page .related-posts h3 {
    font-size: 24px;
    margin-bottom: 25px;
  }

  #single-page .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 30px;
  }

  #single-page .related-thumbnail {
    height: 140px;
  }

  #single-page .related-content {
    padding: 20px;
  }

  #single-page .related-content h4 {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  #page-blog .posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  #page-blog .category-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--color-primary);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
  }

  #page-blog .post-content,
  #single-page .post-content {
    padding: 20px 0;
  }

  #single-page .post-title {
    font-size: 16px;
  }

  #single-page .post-thumbnail img {
    height: 200px;
  }
}

/**********************************
  BLOG SINGLE PAGE - ブログ詳細ページ
***********************************/
/* single用 -- RESET */
html :where(img[class*=wp-image-]) {
  margin: 40px auto;
}

.blog-post article iframe {
  width: 100%;
  max-width: 560px;
  height: 100%;
  min-height: 315px;
  margin: 15px auto;
}

@media screen and (max-width: 560px) {
  .blog-post article iframe {
    min-height: 56vw;
  }
}


#single-page {
  margin: 0 auto 300px;
  padding-top: 100px;
}

#single-page h3 {
  font-size: var(--h3-size);
  margin-bottom: 70px;
  text-align: center;
}

#single-page h4 {
  border-bottom: 1px solid #aaa;
  font-size: 16px;
  margin-bottom: 40px;
  padding: 0 15px 15px;

}

#single-page .row {
  display: flex;
  flex-direction: column;
}

#single-page .single-page article {
  margin-bottom: 70px;
}

#single-page .row .sidebar {}

#single-page .thumbnail {
  position: relative;
  /* height: 220px;
  width: 330px; */
}

#single-page .thumbnail img {
  height: 500px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 50px;
}

#single-page .categories {
  margin-bottom: 100px;
}

#single-page .category-name {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--color-primary);
  color: #fff;
  padding: 5px 10px;
}

#single-page .post-details {
  width: 100%;
}

.blog-post article .post-date {
  color: #999;
  font-size: 12px;
}



.blog-post article h1 {
  font-size: var(--font-size-32) !important;
  margin: 0 0 20px;
  letter-spacing: 1px;
  line-height: 1.667;
  font-weight: 700;
}

.blog-post article h2 {
  background-color: unset;
  font-size: 22px !important;
  margin: 60px 0 30px !important;
  padding: 10px 0 !important;
  line-height: 1.8;
  font-weight: 700;
  color: #fff;
}

.blog-post article h3 {
  border-bottom: unset;
  font-size: 20px !important;
  margin: 60px 0 30px !important;
  padding: 10px 0 !important;
  line-height: 1.8;
  font-weight: 700;
  text-align: left !important;
}

.blog-post article h4 {
  border-left: 2px solid var(--color-primary);
  border-bottom: unset !important;
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1.8;
  margin: 60px 0 30px !important;
  padding: 0 0 0 15px !important;
}

.blog-post article h5 {
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1.8;
  margin: 50px 0 30px !important;
}

.blog-post article h6 {
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1.8;
  margin: 50px 0 30px !important;
}

.blog-post article p {
  font-size: 16px;
  line-height: 1.8;
  /* margin-bottom: 30px; */
  word-break: break-word;
}

.blog-post article pre {
  font-family: 'Courier New', monospace;
  font-size: 15px;
  background-color: #efefef;
  padding: 15px 15px;
  border: 1px solid #eee;
  border-radius: 5px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.blog-post article ul {
  list-style-position: outside;
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.blog-post article ul li {
  list-style-type: inherit;
  margin-bottom: 10px;
}

.blog-post article ol {
  list-style-position: outside;
  list-style-type: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
}

.blog-post article ol li {
  list-style-type: inherit;
  margin-bottom: 10px;
}

.blog-post article blockquote {
  border-left: 4px solid #ccc;
  padding-left: 20px;
  margin: 20px 0;
  color: #555;
  font-style: italic;
}

.blog-post article mark {
  display: inline;
  background: linear-gradient(transparent 50%, #fff78f 50%);
}

.blog-post article table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.blog-post article th {
  color: #fff;
  text-align: left;
  padding: 10px;
  border: 1px solid #ddd;
}

.blog-post article td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}




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

  #single-page .row {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    padding: 0 !important;
  }

  #single-page .blog-post {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  #single-page .row .sidebar {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  #single-page .post-content {
    overflow-x: auto !important;
    word-wrap: break-word !important;
  }

  #single-page .post-content img {
    max-width: 100% !important;
    height: auto !important;
  }

  .blog-post article h1 {
    font-size: 20px !important;
  }

  .blog-post article h2 {
    font-size: 20px !important;
  }

  .blog-post article h3 {
    font-size: 18px !important;
  }

  .blog-post article h4 {
    font-size: 18px !important;
  }

  .blog-post article h5 {
    font-size: 16px !important;
  }

  .blog-post article h6 {
    font-size: 15px !important;
  }

  .blog-post article p {
    font-size: 15px;
  }

  .blog-post article pre {
    font-size: 14px;
  }

  #single-page .thumbnail img {
    height: 380px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 50px;
  }


}

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

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

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


  #single-page .thumbnail img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 50px;
  }

}

@media screen and (max-width: 400px) {
  #single-page .thumbnail img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 50px;
  }
}


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







/**********************************
 INCLUDE
***********************************/



/**********************************
 SEARCH-BOX
***********************************/
#search-box .model_01 h2 {
  padding-inline: 15px;
  color: var(--color-primary);
}

#search-box .model_01 .inner.f1 {
  display: flex;
  justify-content: center;
  gap: 0;
}

#search-box .model_01 .inner.f1 .txt-box a {
  max-width: 100%;
  margin-top: 120px;
  border: none;
  box-shadow: none;
  text-align: center;
}

@media screen and (max-width: 630px) {
  .search-box .model_01 .inner.f1 .txt-box a {
    margin-top: 80px;
  }
}

/**********************************
  MODULE
***********************************/
/* BUTTON */
.btn_see-more {
  position: relative;
  display: block;
}

.btn_see-more.t1 {
  display: inline-block;
}

.see-more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: max(12.5vw, 180px);
  padding: 0 10px 10px 0;
}

.see-more span.f1 {
  display: block;
  font-size: 16px;
  line-height: 1.571;
  color: #000;
  transition: var(--transition_a);
}

.see-more_icon {
  position: relative;
  display: inline-block;
  line-height: 1;
}

.see-more_icon::before {
  content: '\f105';
  font-family: FontAwesome;
  font-size: 22px;
  line-height: 1;
  color: #000;
  transition: var(--transition_a);
}

.btn_see-more:hover .see-more span.f1 {
  margin-left: 5px;
  transition: var(--transition_a);
}

.btn_see-more:hover .see-more_icon::before {
  margin-right: -5px;
  transition: var(--transition_a);
}

.see-more::before {
  content: '';
  display: block;
  width: max(12.5vw, 180px);
  height: 1px;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform-origin: 100% 50%;
  opacity: 1;
  background: #000;
}

.btn_see-more:hover .see-more::before {
  -webkit-animation: sm-line 1s cubic-bezier(0.45, 0, 0.55, 1);
  animation: sm-line 1s cubic-bezier(0.45, 0, 0.55, 1);
}

.see-more.c1 span.f1 {
  color: #fff;
  -webkit-filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.75));
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.75));
}

.see-more.c1 .see-more_icon::before {
  color: #fff;
  -webkit-filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.75));
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.75));
}

.see-more.c1::before {
  background: #fff;
  -webkit-filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.75));
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.75));
}

@-webkit-keyframes sm-line {
  0% {
    transform-origin: 100% 50%;
    opacity: 1;
  }

  40% {
    transform-origin: 0% 50%;
    opacity: 0;
  }

  70% {
    opacity: 0;
  }

  100% {
    transform-origin: 100% 50%;
    opacity: 1;
  }
}

@keyframes sm-line {
  0% {
    transform-origin: 100% 50%;
    opacity: 1;
  }

  40% {
    transform-origin: 0% 50%;
    opacity: 0;
  }

  70% {
    opacity: 0;
  }

  100% {
    transform-origin: 100% 50%;
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  .see-more span.f1 {
    font-size: 12px;
  }

  .see-more_icon::before {
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  .see-more {
    width: 160px;
  }

  .see-more span.f1 {
    font-size: 12px;
  }

  .see-more_icon::before {
    font-size: 18px;
  }

  .see-more::before {
    width: 160px;
  }
}

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 20px;
  width: 100%;
  max-width: var(--mw10);
  margin: 100px auto 70px;
  font-size: 16px;
  text-align: center;
  font-weight: 500;
}

.pagination .nav-links {
  display: flex;
}

.pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  color: #2b2b2b;
  border-radius: 3px;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 4px -3px #ccc;
  background: #fff;
}

.pagination .page-numbers:not(.dots) {
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.pagination .current {
  background: var(--color-primary);
  color: #fff;
  border: none;
}

.pagination .prev,
.pagination .next {
  width: auto !important;
  background: transparent;
  box-shadow: none;
  border: none;
  color: #2b2b2b;
}

.pagination .dots {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background: transparent;
  box-shadow: none;
  border: none;
}

.pagination i {
  font-size: 30px;
  color: #777;
}

.fa-angle-double-right:before {
  content: "\f101";
  color: #aaa;
}

/* PAGINATE_SEARCH */
.pagination .nav-links {
  justify-content: center;
  align-items: center;
  gap: 0 20px;
}

@media screen and (max-width: 630px) {
  .pagination {
    gap: 0 15px;
    margin: 80px auto 0;
    font-size: 14px;
  }

  .pagination .page-numbers:not(.dots) {
    width: 40px;
    height: 40px;
  }

  .pagination i {
    font-size: 26px;
  }

  /* PAGINATE_SEARCH */
  .pagination .nav-links {
    gap: 0 15px;
  }
}

@media screen and (max-width: 480px) {
  .pagination {
    margin: 50px auto 0;
    font-size: 13px;
  }

  .pagination .page-numbers:not(.dots) {
    width: 35px;
    height: 35px;
  }

  .pagination i {
    font-size: 24px;
  }
}

@media screen and (max-width: 360px) {
  .pagination {
    gap: 0 12px;
  }

  /* PAGINATE_SEARCH */
  .pagination .nav-links {
    gap: 0 12px;
  }
}

/* BREADCRUMB */
#breadcrumb {
  --breadcrumb_mb: 100px;
  --breadcrumb_fs: 12px;
  --breadcrumb_c: #aaa;
  width: 100%;
  margin-bottom: var(--breadcrumb_mb);
  padding-top: calc(40px + var(--header-height));
}

.no-search #breadcrumb {
  display: none;
  margin: 40px auto;
}

#search-box:has(.no-s) .no-search #breadcrumb {
  display: block;
}

#breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#breadcrumb li {
  margin-right: 5px;
  font-size: var(--breadcrumb_fs);
  letter-spacing: 1px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--breadcrumb_c);
}

@media screen and (max-width: 768px) {
  #breadcrumb {
    --breadcrumb_mb: 60px;
  }

  .no-search #breadcrumb {
    margin: 30px auto 40px;
  }
}

@media screen and (max-width: 480px) {
  #breadcrumb {
    --breadcrumb_mb: 40px;
    --breadcrumb_fs: 12px;
    padding-top: calc(25px + var(--header-height));
  }

  .no-search #breadcrumb {
    margin: 20px auto 40px;
  }

  #breadcrumb li {
    letter-spacing: 0;
  }
}

@media screen and (max-width: 360px) {
  #breadcrumb {
    --breadcrumb_fs: 11px;
  }

  .no-search #breadcrumb {
    margin: 15px auto 30px;
  }
}

/* CUSTOM_SINGLE_BREADCRUMB */
#custom_single_breadcrumb {
  --cs-breadcrumb_mb: 100px;
  --cs-breadcrumb_fs: 12px;
  --cs-breadcrumb_c: #aaa;
  width: 100%;
  margin-bottom: var(--cs-breadcrumb_mb);
  padding-top: calc(40px + var(--header-height));
}

#custom_single_breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#custom_single_breadcrumb li {
  margin-right: 5px;
  font-size: var(--cs-breadcrumb_fs);
  letter-spacing: 1px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--cs-breadcrumb_c);
}

#custom_single_breadcrumb li:before {
  content: '/';
  position: unset;
  padding: 0 0.4em;
  font-size: 1em;
  color: var(--cs-breadcrumb_c);
}

#custom_single_breadcrumb li:first-of-type::before {
  content: unset;
}

@media screen and (max-width: 768px) {
  #custom_single_breadcrumb {
    --cs-breadcrumb_mb: 60px;
  }
}

@media screen and (max-width: 480px) {
  #custom_single_breadcrumb {
    --cs-breadcrumb_mb: 40px;
    --cs-breadcrumb_fs: 12px;
    padding-top: calc(25px + var(--header-height));
  }

  #custom_single_breadcrumb li {
    letter-spacing: 0;
  }
}

@media screen and (max-width: 360px) {
  #custom_single_breadcrumb {
    --cs-breadcrumb_fs: 11px;
  }
}














.swiper-slide-active .slide-img,
.swiper-slide-duplicate-active .slide-img,
.swiper-slide-prev .slide-img {
  -webkit-animation: zoomUp 10s linear 0s 1 normal both;
  animation: zoomUp 10s linear 0s 1 normal both;
}

/* .slide-img img {
  display: block;
} */

/* BLUR */
.blur {
  -webkit-filter: blur(50px);
  filter: blur(50px);
  opacity: 0;
}

.blur.on {
  -webkit-filter: blur(0.001px);
  filter: blur(0.001px);
  opacity: 1;
  transition: 2s cubic-bezier(0.45, 0, 0.55, 1);
}

/* ZOOM */
.zoom {
  display: block;
  overflow: hidden;
}

.zoom img {
  width: 100%;
  transition: 0.4s;
}

.zoom img:hover {
  transform: scale(1.05, 1.05);
  transition: 0.6s;
}

/* ZOOM-OUT */
.zoom-out {
  display: block;
  overflow: hidden;
}

.zoom-out-hero {
  display: block;
  overflow: hidden;
}

.zoom-out img {
  width: 100%;
  transform: scale(1.1, 1.1);
}

.zoom-out-hero img {
  width: 100%;
  transform: scale(1.15, 1.15);
}

.zoom-out-hero video {
  width: 100%;
  transform: scale(1.15, 1.15);
}

.zoom-out.on img {
  transform: scale(1, 1);
  transition: 3s;
}

.zoom-out-hero.on img {
  transform: scale(1.1, 1.1);
  transition: 5s;
}

.zoom-out-hero.on video {
  transform: scale(1.1, 1.1);
  transition: 5s;
}

/* UNDERLINE */
.underline {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(#000, #000) 0 100%/0 1px no-repeat;
}

.underline.on {
  background-size: 100% 1px;
  transition: background 1s 0.2s ease;
}

/* TIMING */
.timing1.on {
  transition-delay: 0.2s;
}

.timing2.on {
  transition-delay: 0.4s;
}

.timing3.on {
  transition-delay: 0.6s;
}

.timing4.on {
  transition-delay: 0.8s;
}

.timing5.on {
  transition-delay: 1s;
}

.timing6.on {
  transition-delay: 1.5s;
}

.timing7.on {
  transition-delay: 2s;
}


.timing1_top.on {
  transition-delay: 1.8s;
}

.timing2_top.on {
  transition-delay: 2.2s;
}

/* SCROLL */
.scroll_up {
  transform: translateY(30px);
  opacity: 0;
}

.scroll_up.on {
  transform: translateY(0);
  opacity: 1;
  transition-duration: 0.8s;
  transition-timing-function: ease-out;
}

.scroll_l {
  transform: translateX(-30px);
  opacity: 0;
}

.scroll_l.on {
  opacity: 1;
  transform: translateX(0);
  transition-duration: 0.8s;
  transition-timing-function: ease-out;
}

.scroll_r {
  transform: translateX(30px);
  opacity: 0;
}

.scroll_r.on {
  opacity: 1;
  transform: translateX(0);
  transition-duration: 0.8s;
  transition-timing-function: ease-out;
}

/* FADE */
.fade {
  opacity: 0;
}

.fade.on {
  opacity: 1;
  transition-property: opacity;
  transition-duration: 1s;
  transition-timing-function: cubic-bezier(0.69, 0, 0.33, 1);
}

/* FADE_A */
.fade_a {
  opacity: 0;
}

.fade_a.on {
  opacity: 1;
  transition-property: opacity;
  transition-duration: 1s;
  transition-timing-function: cubic-bezier(0.69, 0, 0.33, 1);
  transition-delay: 0.1s;
}

.fade_a:nth-of-type(2).on,
.fade_a:nth-of-type(3n+2).on {
  transition-delay: 0.2s;
}

.fade_a:nth-of-type(3n).on {
  transition-delay: 0.3s;
}

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

  .fade_a:nth-of-type(2).on,
  .fade_a:nth-of-type(3n+2).on {
    transition-delay: unset;
  }

  .fade_a:nth-of-type(3n).on {
    transition-delay: unset;
  }

  .fade_a:nth-of-type(2n+1).on {
    transition-delay: 0.1s;
  }

  .fade_a:nth-of-type(2n).on {
    transition-delay: 0.2s;
  }
}

/* LAYER */
.lay {
  position: relative;
}

.lay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f7f7f7;
  transition-duration: 0.4s;
  transition-timing-function: ease-in-out;
  transform-origin: right center;
  /* transform-origin: left center; 右から開く */
}

.lay.on::before {
  transform: scaleX(0);
}

.lay_l {
  position: relative;
}

.lay_l::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100%;
  transition-duration: 0.8s;
  transition-timing-function: ease-in-out;
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 0;
}

.lay_l.on::before {
  transform: scaleX(1);
}

.lay_r {
  position: relative;
}

.lay_r::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  transition-duration: 0.8s;
  transition-timing-function: ease-in-out;
  transform-origin: right center;
  transform: scaleX(0);
  z-index: 0;
}

.lay_r.on::before {
  transform: scaleX(1);
}

/* TEXT_L */
.text_l {
  overflow: hidden;
  transform: translate(-100%, 0);
}

.text_l span {
  display: block;
  transform: translate(100%, 0);
}

.text_l.on,
.text_l.on span {
  transform: translate(0, 0);
  transition-property: transform;
  transition-duration: 0.8s;
  transition-timing-function: ease-in;
}

.timing1.text_l.on span {
  transition-delay: 0.2s;
}

.timing2.text_l.on span {
  transition-delay: 0.4s;
}

.timing3.text_l.on span {
  transition-delay: 0.6s;
}

.timing4.text_l.on span {
  transition-delay: 0.8s;
}

.timing5.text_l.on span {
  transition-delay: 1s;
}

/* TEXT_R */
.text_r {
  overflow: hidden;
  transform: translate(100%, 0);
}

.text_r span {
  display: block;
  transform: translate(-100%, 0);
}

.text_r.on,
.text_r.on span {
  transform: translate(0, 0);
  transition-property: transform;
  transition-duration: 0.8s;
  transition-timing-function: ease-in;
}

.timing1.text_r.on span {
  transition-delay: 0.2s;
}

.timing2.text_r.on span {
  transition-delay: 0.4s;
}

.timing3.text_r.on span {
  transition-delay: 0.6s;
}

.timing4.text_r.on span {
  transition-delay: 0.8s;
}

.timing5.text_r.on span {
  transition-delay: 1s;
}


/* Layer Animation */
.layer {
  position: relative;
  overflow: hidden;
}

.layer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f7f7f7;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s ease-in-out;
  z-index: 1;
}

.layer.active::before {
  transform: scaleX(1);
}

.layer .content {
  position: relative;
  z-index: 2;
  color: #000;
}



/* Coming Soon Page */
.page-coming-soon {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.page-coming-soon .coming-soon .inner {
  text-align: center;
}

.page-coming-soon .coming-soon .inner h4 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #2b2b2b;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .page-coming-soon {
    padding: 80px 0;
    min-height: 60vh;
  }

  .page-coming-soon .coming-soon .inner h4 {
    font-size: 28px;
    letter-spacing: 0.04em;
  }
}

.timing1 {
  transition-delay: 0.2s;
}

.timing2 {
  transition-delay: 0.4s;
}

.timing3 {
  transition-delay: 0.6s;
}

.timing4 {
  transition-delay: 0.8s;
}

.timing5 {
  transition-delay: 2s;
}


.content-with-expanding-background {
  position: relative;
  padding: 20px;
  color: #000;
}


.content-with-expanding-background::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 50%;
  background-color: #f7f7f7;
  transition: width 0.8s ease-in-out;
  z-index: -1;
}

.content-with-expanding-background.active::before {
  width: 100%;
}

/* Mobile Drawer Menu */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: none;
}

.mobile-menu-toggle:hover {
  background: transparent;
  transform: translateY(-1px);
}

/* Hide hamburger toggle when menu is open */
.mobile-menu-toggle.active {
  display: none !important;
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: #333;
  margin: 4px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: #fff;
  z-index: 9998;
  transition: right 0.3s ease;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-content {
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.drawer-header {
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-logo img {
  height: 40px;
}

.drawer-logo .logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #2b2b2b;
  letter-spacing: -0.5px;
}

.drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.3s ease;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.drawer-close:hover {
  opacity: 0.7;
}

.drawer-navigation {
  flex: 1;
  padding: 40px 20px;
}

.drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-menu li {
  margin-bottom: 8px;
}

.drawer-menu a {
  display: block;
  padding: 16px 0;
  color: #333;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.drawer-menu a:hover {
  color: #66cccc;
  border-bottom-color: #66cccc;
  transform: translateX(8px);
}

.drawer-footer {
  padding: 20px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
}

.drawer-copyright {
  margin: 0;
  font-size: 14px;
  color: #999;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9997;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
    position: fixed;
    top: 16px;
    right: 16px;
  }

  .main-navigation {
    display: none;
  }
}

/* Hide toggle when drawer is open */
.mobile-drawer.active~#mobile-menu-toggle,
#mobile-drawer.active~#mobile-menu-toggle {
  display: none !important;
}

/* Dark Mobile Drawer Theme */
@media screen and (max-width: 768px) {
  .drawer-overlay {
    background: rgba(0, 0, 0, 0.55);
  }

  .mobile-drawer {
    width: calc(100% - 60px);
    background: rgba(10, 10, 12, 0.7);
    box-shadow: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .drawer-content {
    color: #fff;
  }

  .drawer-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .drawer-logo img {
    filter: invert(1) brightness(1.6);
  }

  .drawer-logo .logo-text {
    color: #fff !important;
  }

  .drawer-close {
    color: #fff;
  }

  .drawer-close:hover {
    opacity: 0.7;
  }

  .drawer-navigation {
    padding: 48px 24px;
  }

  .drawer-menu a {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .drawer-menu a:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
  }

  .drawer-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .drawer-footer p,
  .drawer-footer a {
    color: rgba(255, 255, 255, 0.7);
  }

  .mobile-menu-toggle.active .hamburger-line {
    background: #fff;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top img {
  width: auto;
  height: auto;
}

/* Instagram Link */
.instagram-link {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
  opacity: 1;
  visibility: visible;
}

.instagram-link img {
  width: auto;
  height: auto;
  filter: invert(0);
  transition: filter 0.3s ease;
}

.instagram-link.in-footer img {
  filter: invert(1);
}

.instagram-link:hover img {
  filter: invert(0);
}

/* Back to Top Button */
.back-to-top img {
  filter: invert(0);
  transition: filter 0.3s ease;
}

.back-to-top.in-footer img {
  filter: invert(1);
}

.back-to-top:hover img {
  filter: invert(0);
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
  .instagram-link {
    bottom: 20px;
    left: 20px;
  }
}

/**********************************
  FOOTER
***********************************/

.site-footer {
  background: #5a5a5a;
  color: #fff;
  padding: 80px 0 45px;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer-brand h4 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.footer-brand p {
  color: #aaa;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a:hover {
  color: #66cccc;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid #777;
  padding-top: 50px;
  text-align: right;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: #fff;
  opacity: 0.8;
}

/* フッター固定メニュー */
.fixed-menu-footer {
  display: none;
}

@media screen and (max-width: 900px) {
  .footer-margin {
    margin-bottom: 80px;
  }

  .fixed-menu-footer {
    position: fixed;
    display: block;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    z-index: 11;
  }

  .fixed-menu-footer ul {
    display: flex;
    justify-content: space-evenly;
  }

  .fixed-menu-footer li {
    flex: 1;
    text-align: center;
  }

  .fixed-menu-footer a {
    display: block;
    padding: 15px 10px;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
  }

  .fixed-menu-footer a:hover {
    color: #66cccc;
  }
}

/* フッター レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .site-footer {
    padding: 60px 0 30px;
  }

  .footer-container {
    padding: 0 24px;
  }

  .footer-links {
    gap: 30px;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* (Reverted) Keep tablet layout as before */
}

@media screen and (max-width: 480px) {
  .site-footer {
    padding: 60px 0 20px;
  }

  .footer-container {
    padding: 0 20px;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
  }

  .footer-links {
    gap: 30px;
    flex-wrap: wrap;
    flex-direction: column;
  }

  /* Place legal links under Contact and align left on 480px */
  .footer-right {
    align-items: flex-start;
    text-align: center;
  }

  .footer-legal-links {
    text-align: left;
  }

  .footer-links a {
    font-size: 16px;
  }

  .footer-brand h4 {
    font-size: 24px;
  }

  /* Re-order and center on small phones */
  .footer-right {
    order: 1 !important;
    align-items: center;
  }

  .footer-legal-links {
    text-align: center;
  }

  .footer-brand {
    order: 3 !important;
    text-align: center;
  }
}

/**********************************
  UTILITY CLASSES - ユーティリティクラス
***********************************/

/**********************************
  マージン設定用
***********************************/
.mar_b20 {
  margin-bottom: 20px !important;
}

.mar_b30 {
  margin-bottom: 30px !important;
}

.mar_b40 {
  margin-bottom: 40px !important;
}

.mar_b50 {
  margin-bottom: 50px !important;
}

.mar_b60 {
  margin-bottom: 60px !important;
}

.mar_b70 {
  margin-bottom: 70px !important;
}

.mar_b80 {
  margin-bottom: 80px !important;
}

.mar_b90 {
  margin-bottom: 90px !important;
}

.mar_b100 {
  margin-bottom: 100px !important;
}

.mar_b110 {
  margin-bottom: 110px !important;
}

.mar_b120 {
  margin-bottom: 120px !important;
}

.mar_b130 {
  margin-bottom: 130px !important;
}

.mar_b140 {
  margin-bottom: 140px !important;
}

.mar_b150 {
  margin-bottom: 150px !important;
}

.mar_b180 {
  margin-bottom: 180px !important;
}

.mar_b200 {
  margin-bottom: 200px !important;
}

.mar_b250 {
  margin-bottom: 250px !important;
}

.mar_b300 {
  margin-bottom: 300px !important;
}

@media screen and (max-width: 768px) {
  .mar_b50 {
    margin-bottom: 40px !important;
  }

  .mar_b60 {
    margin-bottom: 40px !important;
  }

  .mar_b70 {
    margin-bottom: 50px !important;
  }

  .mar_b80 {
    margin-bottom: 60px !important;
  }

  .mar_b100 {
    margin-bottom: 80px !important;
  }

  .mar_b110 {
    margin-bottom: 90px !important;
  }

  .mar_b120 {
    margin-bottom: 100px !important;
  }

  .mar_b130 {
    margin-bottom: 100px !important;
  }

  .mar_b140 {
    margin-bottom: 120px !important;
  }

  .mar_b150 {
    margin-bottom: 130px !important;
  }

  .mar_b180 {
    margin-bottom: 150px !important;
  }

  .mar_b200 {
    margin-bottom: 160px !important;
  }

  .mar_b250 {
    margin-bottom: 200px !important;
  }

  .mar_b300 {
    margin-bottom: 250px !important;
  }
}

@media screen and (max-width: 480px) {
  .mar_b50 {
    margin-bottom: 35px !important;
  }

  .mar_b60 {
    margin-bottom: 35px !important;
  }

  .mar_b80 {
    margin-bottom: 55px !important;
  }

  .mar_b100 {
    margin-bottom: 70px !important;
  }

  .mar_b110 {
    margin-bottom: 80px !important;
  }

  .mar_b120 {
    margin-bottom: 90px !important;
  }

  .mar_b130 {
    margin-bottom: 90px !important;
  }

  .mar_b140 {
    margin-bottom: 100px !important;
  }

  .mar_b150 {
    margin-bottom: 110px !important;
  }

  .mar_b180 {
    margin-bottom: 120px !important;
  }

  .mar_b200 {
    margin-bottom: 130px !important;
  }

  .mar_b250 {
    margin-bottom: 150px !important;
  }

  .mar_b300 {
    margin-bottom: 200px !important;
  }
}

/**********************************
  アニメーション設定用
***********************************/

/* FADE */
.fade {
  opacity: 0;
}

.fade.on {
  opacity: 1;
  transition-property: opacity;
  transition-duration: 1s;
  transition-timing-function: ease-out;
}

/* FADE_A */
.fade_a {
  opacity: 0;
}

.fade_a.on {
  opacity: 1;
  transition-property: opacity;
  transition-duration: 1s;
  transition-timing-function: ease-out;
  transition-delay: 0.1s;
}

.fade_a:nth-of-type(2).on,
.fade_a:nth-of-type(3n+2).on {
  transition-delay: 0.2s;
}

.fade_a:nth-of-type(3n).on {
  transition-delay: 0.3s;
}

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

  .fade_a:nth-of-type(2).on,
  .fade_a:nth-of-type(3n+2).on {
    transition-delay: unset;
  }

  .fade_a:nth-of-type(3n).on {
    transition-delay: unset;
  }

  .fade_a:nth-of-type(2n+1).on {
    transition-delay: 0.1s;
  }

  .fade_a:nth-of-type(2n).on {
    transition-delay: 0.2s;
  }
}

/* SCROLL */
.scroll_up {
  transform: translateY(30px);
  opacity: 0;
}

.scroll_up.on {
  transform: translateY(0);
  opacity: 1;
  transition-duration: 0.8s;
  transition-timing-function: ease-out;
}

.scroll_l {
  transform: translateX(-30px);
  opacity: 0;
}

.scroll_l.on {
  opacity: 1;
  transform: translateX(0);
  transition-duration: 0.8s;
  transition-timing-function: ease-out;
}

.scroll_r {
  transform: translateX(30px);
  opacity: 0;
}

.scroll_r.on {
  opacity: 1;
  transform: translateX(0);
  transition-duration: 0.8s;
  transition-timing-function: ease-out;
}

/* TIMING */
.timing1.on {
  transition-delay: 0.2s;
}

.timing2.on {
  transition-delay: 0.4s;
}

.timing3.on {
  transition-delay: 0.6s;
}

.timing4.on {
  transition-delay: 0.8s;
}

.timing5.on {
  transition-delay: 1s;
}

.timing6.on {
  transition-delay: 1.5s;
}

.timing7.on {
  transition-delay: 2s;
}

.timing1_top.on {
  transition-delay: 1.8s;
}

.timing2_top.on {
  transition-delay: 2.2s;
}

.timing1 {
  transition-delay: 0.2s;
}

.timing2 {
  transition-delay: 0.4s;
}

.timing3 {
  transition-delay: 0.6s;
}

.timing4 {
  transition-delay: 0.8s;
}

.timing5 {
  transition-delay: 1s;
}

.timing6 {
  transition-delay: 1.5s;
}

.timing7 {
  transition-delay: 2s;
}

/* LAYER */
.lay {
  position: relative;
}

.lay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  transform: scaleX(1);
  transition: transform 0.8s ease-out;
  z-index: 1;
}

.lay.on::before {
  transform: scaleX(0);
}

.lay_l {
  position: relative;
}

.lay_l::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  transform: scaleX(0);
  transition: transform 0.8s ease-out;
  z-index: 0;
}

.lay_l.on::before {
  transform: scaleX(1);
}

.lay_r {
  position: relative;
}

.lay_r::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #000;
  transform: scaleX(0);
  transition: transform 0.8s ease-out;
  z-index: 0;
}

.lay_r.on::before {
  transform: scaleX(1);
}

/* TEXT_L */
.text_l {
  overflow: hidden;
  transform: translate(-100%, 0);
}

.text_l span {
  display: block;
  transform: translate(100%, 0);
}

.text_l.on,
.text_l.on span {
  transform: translate(0, 0);
  transition-property: transform;
  transition-duration: 0.8s;
  transition-timing-function: ease-in;
}

.timing1.text_l.on span {
  transition-delay: 0.2s;
}

.timing2.text_l.on span {
  transition-delay: 0.4s;
}

.timing3.text_l.on span {
  transition-delay: 0.6s;
}

.timing4.text_l.on span {
  transition-delay: 0.8s;
}

.timing5.text_l.on span {
  transition-delay: 1s;
}

/* TEXT_R */
.text_r {
  overflow: hidden;
  transform: translate(100%, 0);
}

.text_r span {
  display: block;
  transform: translate(-100%, 0);
}

.text_r.on,
.text_r.on span {
  transform: translate(0, 0);
  transition-property: transform;
  transition-duration: 0.8s;
  transition-timing-function: ease-in;
}

.timing1.text_r.on span {
  transition-delay: 0.2s;
}

.timing2.text_r.on span {
  transition-delay: 0.4s;
}

.timing3.text_r.on span {
  transition-delay: 0.6s;
}

.timing4.text_r.on span {
  transition-delay: 0.8s;
}

.timing5.text_r.on span {
  transition-delay: 1s;
}

/* UNDERLINE */
.underline {
  position: relative;
  display: block;
  width: 100%;
  background: linear-gradient(#000, #000) 0 100%/0 1px no-repeat;
}

.underline.on {
  background-size: 100% 1px;
  transition: background 1s 0.2s ease;
}

/* BLUR */
.blur {
  -webkit-filter: blur(50px);
  filter: blur(50px);
  opacity: 0;
}

.blur.on {
  -webkit-filter: blur(0.001px);
  filter: blur(0.001px);
  opacity: 1;
  transition-property: filter, opacity;
  transition-duration: 1s;
  transition-timing-function: ease-out;
}

/* ZOOM-OUT */
.zoom-out {
  display: block;
  overflow: hidden;
}

.zoom-out-hero {
  display: block;
  overflow: hidden;
}

.zoom-out img {
  width: 100%;
  transform: scale(1.1, 1.1);
}

.zoom-out-hero img {
  width: 100%;
  transform: scale(1.15, 1.15);
}

.zoom-out-hero video {
  width: 100%;
  transform: scale(1.15, 1.15);
}

.zoom-out.on img {
  transform: scale(1, 1);
  transition: 3s;
}

.zoom-out-hero.on img {
  transform: scale(1.1, 1.1);
  transition: 5s;
}

.zoom-out-hero.on video {
  transform: scale(1.1, 1.1);
  transition: 5s;
}

/* BACKGROUND ANIMATION */
.background-animate {
  position: relative;
  overflow: hidden;
}

.background-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f0f0f0;
  transform: scaleX(0);
  transition: transform 0.8s ease-out;
  z-index: 0;
}

.background-box02 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #e0e0e0;
  transform: scaleX(0);
  transition: transform 0.8s ease-out;
  z-index: 0;
}

.background-box03 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #d0d0d0;
  transform: scaleX(0);
  transition: transform 0.8s ease-out;
  z-index: 0;
}

.background-animate.on .background-box,
.background-animate.on .background-box02,
.background-animate.on .background-box03 {
  transform: scaleX(1);
}

/* FLOATING ANIMATION */
.floating {
  animation: float 3s ease-in-out infinite;
}

.floating-delay-1 {
  animation-delay: 0s;
}

.floating-delay-2 {
  animation-delay: 1s;
}

.floating-delay-3 {
  animation-delay: 2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.delay-5s {
  animation-delay: 5s;
}

/* ========================================
   MeowSnap Page Styles
   ======================================== */

/* MeowSnap Page Styles */
#page-meowsnap {
  min-height: 100vh;
}

/* Hero Section */
#page-meowsnap .meowsnap-hero {
  position: relative;
  padding: 120px 0 100px;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#page-meowsnap .meowsnap-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/main/meowsnap-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

#page-meowsnap .meowsnap-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, rgba(245, 245, 240, 0.85) 0%, rgba(232, 232, 224, 0.85) 100%); */
  z-index: 2;
}

#page-meowsnap .meowsnap-hero-container {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

#page-meowsnap .meowsnap-hero-title {
  font-size: 64px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
  letter-spacing: -0.02em;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

#page-meowsnap .meowsnap-hero-subtitle,
#page-meowsnap .meowsnap-hero-subtitle-ja {
  font-size: 20px;
  line-height: 1.8;
  color: #ffffff;
  margin-bottom: 16px;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

#page-meowsnap .meowsnap-hero-subtitle-ja {
  font-family: 'Noto Sans JP', sans-serif;
  margin-bottom: 40px;
}

#page-meowsnap .meowsnap-download {
  margin-top: 50px;
}

#page-meowsnap .appstore-btn,
#page-meowsnap .appstore-btn-large {
  display: inline-block;
  transition: opacity 0.3s ease;
}

#page-meowsnap .appstore-btn:hover,
#page-meowsnap .appstore-btn-large:hover {
  opacity: 0.8;
}

#page-meowsnap .appstore-btn img,
#page-meowsnap .appstore-btn-large img {
  height: 60px;
  width: auto;
}

#page-meowsnap .appstore-btn-large img {
  height: 80px;
}

/* Container */
#page-meowsnap .meowsnap-container {
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 40px;
}

/* About Section */
#page-meowsnap .meowsnap-about {
  padding: 100px 0;
  background: #fff;
}

#page-meowsnap .meowsnap-content {
  max-width: 800px;
  margin: 0 auto;
}

#page-meowsnap .meowsnap-text,
#page-meowsnap .meowsnap-text-ja {
  font-size: 18px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 24px;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  text-align: center;
}

#page-meowsnap .meowsnap-text-ja {
  font-family: 'Noto Sans JP', sans-serif;
}

/* Features Section */
#page-meowsnap .meowsnap-features {
  padding: 100px 0;
  background: #fafafa;
}

#page-meowsnap .features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

#page-meowsnap .feature-card {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

#page-meowsnap .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

#page-meowsnap .feature-icon {
  margin: 0 0 24px 0;
}

#page-meowsnap .feature-emoji {
  font-size: 48px;
  display: block;
}

#page-meowsnap .feature-title,
#page-meowsnap .feature-title-ja {
  font-size: 24px;
  font-weight: 600;
  color: #2b2b2b;
  margin-bottom: 8px;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

#page-meowsnap .feature-title-ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  margin-bottom: 16px;
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
}

#page-meowsnap .feature-description {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
}

/* Screenshots Section */
#page-meowsnap .meowsnap-screenshots {
  padding: 100px 0;
  background: #fff;
}

#page-meowsnap .screenshots-title {
  font-size: 36px;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 50px;
  text-align: center;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

#page-meowsnap .screenshots-swiper-container {
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 0;
}

#page-meowsnap .screenshots-swiper {
  padding: 40px 0 60px;
}

#page-meowsnap .screenshots-swiper .swiper-wrapper {
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#page-meowsnap .screenshots-swiper .swiper-slide {
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#page-meowsnap .screenshot-slide {
  margin: 0;
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#page-meowsnap .screenshot-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

#page-meowsnap .screenshot-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#page-meowsnap .screenshot-slide:hover img {
  transform: scale(1.02);
}

/* Swiper Navigation Buttons */
#page-meowsnap .screenshots-swiper .swiper-button-next,
#page-meowsnap .screenshots-swiper .swiper-button-prev {
  color: #66cccc;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#page-meowsnap .screenshots-swiper .swiper-button-next:hover,
#page-meowsnap .screenshots-swiper .swiper-button-prev:hover {
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

#page-meowsnap .screenshots-swiper .swiper-button-next::after,
#page-meowsnap .screenshots-swiper .swiper-button-prev::after {
  font-size: 20px;
  font-weight: 700;
}

/* Swiper Pagination */
#page-meowsnap .screenshots-swiper .swiper-pagination-bullet {
  background: #66cccc;
  opacity: 0.3;
  width: 10px;
  height: 10px;
}

#page-meowsnap .screenshots-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: #66cccc;
}

/* Story Section */
#page-meowsnap .meowsnap-story {
  padding: 0 0 100px;
  background: #fff;
}

#page-meowsnap .meowsnap-story-image {
  margin: 0 0 50px 0;
  border-radius: 12px;
  overflow: hidden;
}

#page-meowsnap .meowsnap-story-image img {
  width: 100%;
  height: auto;
  display: block;
}

#page-meowsnap .meowsnap-story-text {
  max-width: 800px;
  margin: 0 auto;
}

すが

/* Download Section */
#page-meowsnap .meowsnap-download-section {
  margin-bottom: 150px;
  padding: 100px 0;
  background: #fafafa;
  text-align: center;
}

#page-meowsnap .download-content {
  max-width: 600px;
  margin: 0 auto;
}

#page-meowsnap .download-title {
  font-size: 36px;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 50px;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  text-align: center;
}

#page-meowsnap .download-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

#page-meowsnap .qr-code {
  margin: 0;
}

#page-meowsnap .qr-code img {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
}

#page-meowsnap .qr-code figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: #666;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  text-align: center;
}

/* Responsive */
@media screen and (max-width: 768px) {
  #page-meowsnap {
    padding: 60px 0 0;
  }

  #page-meowsnap .meowsnap-hero {
    padding: 80px 0 60px;
    min-height: 500px;
  }

  #page-meowsnap .meowsnap-hero-title {
    font-size: 48px;
  }

  #page-meowsnap .meowsnap-hero-subtitle,
  #page-meowsnap .meowsnap-hero-subtitle-ja {
    font-size: 18px;
  }

  #page-meowsnap .meowsnap-container {
    padding: 0 24px;
  }

  #page-meowsnap .meowsnap-about,
  #page-meowsnap .meowsnap-features,
  #page-meowsnap .meowsnap-screenshots,
  #page-meowsnap .meowsnap-story,
  #page-meowsnap .meowsnap-download-section {
    padding: 60px 0;
  }

  #page-meowsnap .screenshots-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  #page-meowsnap .screenshots-swiper-container {
    padding: 0 20px;
  }

  #page-meowsnap .screenshots-swiper {
    padding: 30px 0 50px;
  }

  #page-meowsnap .screenshots-swiper .swiper-button-next,
  #page-meowsnap .screenshots-swiper .swiper-button-prev {
    width: 36px;
    height: 36px;
  }

  #page-meowsnap .screenshots-swiper .swiper-button-next::after,
  #page-meowsnap .screenshots-swiper .swiper-button-prev::after {
    font-size: 16px;
  }

  #page-meowsnap .features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  #page-meowsnap .download-badges {
    gap: 30px;
  }
}

@media screen and (max-width: 480px) {
  #page-meowsnap .meowsnap-hero {
    padding: 60px 0 40px;
    min-height: 400px;
  }

  #page-meowsnap .meowsnap-hero-title {
    font-size: 36px;
  }

  #page-meowsnap .meowsnap-hero-subtitle,
  #page-meowsnap .meowsnap-hero-subtitle-ja {
    font-size: 16px;
  }

  #page-meowsnap .meowsnap-container {
    padding: 0 20px;
  }

  #page-meowsnap .meowsnap-about,
  #page-meowsnap .meowsnap-features,
  #page-meowsnap .meowsnap-screenshots,
  #page-meowsnap .meowsnap-story,
  #page-meowsnap .meowsnap-download-section {
    padding: 40px 0;
  }

  #page-meowsnap .screenshots-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  #page-meowsnap .screenshots-swiper-container {
    padding: 0 0;
  }

  #page-meowsnap .screenshots-swiper {
    padding-left: 0;
    padding-right: 0;
    margin-left: -10px;
    margin-right: -10px;
  }

  #page-meowsnap .appstore-btn img {
    height: 50px;
  }

  #page-meowsnap .appstore-btn-large img {
    height: 60px;
  }

  #page-meowsnap .feature-card {
    padding: 30px 15px;
  }

  #page-meowsnap .feature-title-ja {
    font-size: 18px;
  }

  #page-meowsnap .feature-description {
    font-size: 14px;
    text-align: left;
  }

  #page-meowsnap .qr-code img {
    width: 150px;
    height: 150px;
  }

  #page-meowsnap .meowsnap-text,
  #page-meowsnap .meowsnap-text-ja {
    text-align: left;
  }
}