/*
Theme Name: Taka 創造建築舎
Author: thinktion
Version: 1.0.0
 */

/* ============================
	common
============================ */

#wrapper {
  min-width: 1040px;
  overflow: hidden;
}

.flex-between {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.flex-start {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.ofi {
  font-family: "object-fit: cover;";
  -o-object-fit: cover;
  object-fit: cover;
}

.bold {
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  #wrapper {
    min-width: 0;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(30, 30, 30, 0.3);
  }
}

/* ============================
	sp-menu
============================ */
#sp-menu {
  box-sizing: border-box;
  position: fixed;
  z-index: 9999;
  transition: all 0.35s ease;
  top: 56px;
  left: 0;
  background-color: #fff;
  display: flex;
  width: 100%;
  height: calc(100vh - 56px);
  padding: 40px 40px 88px;
  opacity: 0;
  overflow-y: scroll;
  pointer-events: none;
}

#sp-menu.opening {
  transition: all 0.35s ease;
  opacity: 1;
  pointer-events: auto;
}

#sp-menu .sp-menu-inner {
  width: 100%;
  margin: auto;
}

#sp-menu .menu-item a {
  display: block;
  padding: 1.6rem 0;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: calc(26 / 18);
  letter-spacing: 0.1em;
}

#sp-menu .sub-menu {
  display: none;
  opacity: 0;
  transition: 0.35s all ease;
}

#sp-menu .sub-menu.opening {
  display: block;
  opacity: 1;
  transition: 0.35s all ease;
}

#sp-menu .sp-contact-box {
  width: 100%;
  margin: 1.6rem 0 0;
}

#sp-menu .sp-contact-box a {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 6.4rem;
  background-color: #31392D;
  color: #fff;
  font-size: 1.8rem;
  transition: filter 0.2s;
}

#sp-menu .sp-contact-box a:hover {
  opacity: 1;
  filter: brightness(1.3);
}

/* btn-hamburger */
#btn-hamburger {
  position: relative;
  top: 0;
  right: 0;
  background-color: #628D4C;
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  box-shadow: none;
  z-index: 1000;
  cursor: pointer;
  transition: filter 0.2s;
}

@media (any-hover: hover) {
  #btn-hamburger:hover {
    filter: brightness(1.1);
  }
}

#btn-hamburger .border {
  position: absolute;
  left: 50%;
  transition: transform 0.2s ease, width 0.2s ease;
  background-color: #fff;
  width: 25.5px;
  height: 1px;
  margin-left: -12.25px;
  z-index: 1;
}

#btn-hamburger .border:first-child {
  top: 24.5px;
}

#btn-hamburger .border:last-child {
  top: 30.5px;
  width: 13.5px;
}

#btn-hamburger.opening .border:first-child {
  transform: rotate(30deg);
  top: 50%;
}

#btn-hamburger.opening .border:last-child {
  top: 50%;
  width: 25.5px;
  transform: rotate(-30deg);
}

/* ============================
	header
============================ */
#header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

#header.h-fixed {
  position: fixed;
}

#header .h-inner {
  align-items: center;
  width: 100%;
  padding-left: 1.8rem;
  background: #fff;
}

#header .h-logo-img {
  width: 21.3rem;
  height: auto;
}

#h-gnav-box.flex-start {
  align-items: center;
}

#h-gnav-box .menu-item+.menu-item {
  margin: 0 0 0 2.4rem;
}

#h-gnav-box .menu-item a {
  font-size: 1.4rem;
  font-weight: 500;
}

#h-gnav-contact {
  margin-left: 3.7rem;
}

#h-gnav-contact a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 21rem;
  height: 72px;
  background-color: #31392D;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: calc(20 / 14);
  letter-spacing: 0.1em;
  color: #fff;
  transition: filter 0.2s;
}

#h-gnav-contact a:hover {
  opacity: 1;
  filter: brightness(1.3);
}

@media screen and (min-width: 768px) {
  .home #header {
    display: none;
  }
}

@media screen and (max-width: 1100px) {
  #h-gnav-box .menu-item a {
    font-size: 1.3rem;
  }

  #h-gnav-contact a {
    width: 20rem;
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 1000px) {
  #header {
    margin: 0 auto;
    right: 0;
  }

  #header .h-inner {
    padding-left: 1.5rem;
  }

  #header .h-logo-img {
    width: 18rem;
  }
}

.fixed-contact-link {
  position: fixed;
  z-index: 99;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 1.3rem;
  background-color: #31392D;
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: #fff;
  transition: filter 0.2s;
}

.fixed-contact-link:hover {
  opacity: 1;
  filter: brightness(1.3);
}

/* ============================
	footer
============================ */
#footer {
  padding: 7.6rem 0 3.2rem;
  background-color: #262626;
  color: #fff;
  position: relative;
  z-index: 2;
}

#footer .f-inner {
  max-width: 1372px;
  margin: 0 auto;
  padding: 0 80px;
}

#footer .f-content {
  display: flex;
  align-items: flex-start;
  column-gap: calc(178 / 1212 * 100%);
}

#footer .f-info {
  width: calc(349 / 1212 * 100%);
}

#footer .f-logo-wrapper {
  width: 100%;
}

#footer .f-logo {
  width: 100%;
  height: auto;
}

#footer .f-address {
  margin-top: 1.6rem;
  font-size: 1.4rem;
}

#footer .f-sns-list {
  display: flex;
  column-gap: 1.5rem;
  margin-top: 1.6rem;
}

#footer .f-sns-icon {
  width: 3rem;
  height: auto;
}

#footer .f-zeh-item {
  margin-right: 2rem;
}

#footer .f-zeh-link {
  display: inline-block;
  max-width: 100%;
	width: 90px;
}
#footer .f-zeh-link img {
	height: auto;
}

#footer .f-list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 1.4rem 8rem;
  margin-top: 3rem;
}

#footer .f-list li {
  font-size: 1.4rem;
  line-height: calc(20 / 14);
  letter-spacing: 0.1em;
}

#footer .f-copyright {
  margin-top: 8rem;
  text-align: center;
  font-size: 1.2rem;
}

@media screen and (max-width: 767px) {
  #footer {
    margin-bottom: 5.6rem;
    padding: 5.4rem 0 2.4rem;
  }

  .page-id-11 #footer,
  .page-id-13 #footer {
    margin-bottom: 0;
  }

  #footer .f-inner {
    padding: 0 2.8rem 0;
  }

  #footer .f-content {
    flex-direction: column;
    align-items: center;
    row-gap: 4.6rem;
  }

  #footer .f-info {
    width: 100%;
  }

  #footer .f-logo-wrapper {
    display: block;
    width: 23.2rem;
    margin: 0 auto;
  }

  #footer .f-address {
    text-align: center;
    font-size: 1.2rem;
  }

  #footer .f-sns-list {
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
  }

  #footer .f-zeh-item {
    width: 100%;
    text-align: center;
    margin-right: 0;
    margin-bottom: 3rem;
  }
	#footer .f-zeh-link {
		width: 65px;
	}

  #footer .f-list {
    gap: 1.5rem 2.4rem;
    margin-top: 0;
  }

  #footer .f-list li {
    font-size: 1.2rem;
    line-height: calc(17 / 12);
  }

  #footer .f-copyright {
    margin-top: 6.4rem;
  }
}


/* ============================
	資料請求・ご相談予約
============================ */
.cta {
  padding-bottom: 7.2em;
  font-size: calc(10 / 1440 * 100vw);
}

@media screen and (max-width: 1040px) {
  .cta {
    font-size: calc(10px / 1440 * 1040);
  }
}

@media screen and (max-width: 767px) {
  .cta {
    font-size: 10px;
    padding-bottom: 4rem;
  }

  .home .cta {
    padding-bottom: 6.4rem;
  }
}

.cta__link {
  position: relative;
  z-index: 0;
  display: block;
  width: 118.7em;
  margin: 0 auto;
  opacity: 1 !important;
}

@media screen and (max-width: 767px) {
  .cta__link {
    width: 33.5rem;
  }
}

@media (any-hover: hover) {
  .cta__link:hover .cta__body {
    background-color: rgba(0 0 0 / 0.34);
  }

  .cta__link:hover .cta__btn::after {
    transform: translateX(calc(8em / 12));
  }
}

.cta__img {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__body {
  position: relative;
  display: flex;
  height: 25.8em;
  background-color: rgba(0 0 0 / 0.49);
  transition: background-color 0.4s;
}

@media screen and (max-width: 767px) {
  .cta__body {
    height: 20rem;
  }
}

.cta__text-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 43.6em;
  height: 9.8em;
  margin: auto;
  background-color: #fff;
}

@media screen and (max-width: 767px) {
  .cta__text-wrapper {
    width: 27.1rem;
    height: 8rem;
  }
}

.cta__text-wrapper::before {
  content: "";
  position: absolute;
  top: -1.05em;
  left: -1.15em;
  width: 3.2em;
  height: 3.2em;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
}

@media screen and (max-width: 767px) {
  .cta__text-wrapper::before {
    left: -1.05rem;
  }
}

.cta__text-wrapper::after {
  content: "";
  position: absolute;
  bottom: -1.15em;
  right: -1.35em;
  width: 3.2em;
  height: 3.2em;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

@media screen and (max-width: 767px) {
  .cta__text-wrapper::after {
    bottom: -1.05rem;
    right: -1.05rem;
  }
}

.cta__text {
  font-size: 3em;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #32392D;
}

@media screen and (max-width: 767px) {
  .cta__text {
    font-size: 1.8rem;
  }
}

.cta__btn {
  position: absolute;
  right: 2em;
  bottom: 2.7em;
  pointer-events: none;
}


/* ============================
	View More ボタン
============================ */
.btn-more {
  display: inline-flex;
  align-items: center;
  column-gap: calc(5.6em / 12);
  font-family: "Questrial", sans-serif;
  font-size: 1.2em;
  font-size: max(1.2em, 10px);
  letter-spacing: 0.1em;
  color: #32412A;
}

.btn-more::after {
  content: "";
  width: calc(86.42em / 12);
  height: calc(42em / 12);
  background: url("./img/top/arrow-more-green.svg") no-repeat center right / auto 100%;
  transition: transform 0.4s ease;
}

.btn-more.--white {
  color: #fff;
}

.btn-more.--white::after {
  background-image: url("./img/top/arrow-more-white.svg");
}

@media screen and (max-width: 767px) {
  .btn-more {
    font-size: 1.2rem;
    column-gap: 0.56rem;
  }

  .btn-more::after {
    width: 6.84rem;
    height: 4.2rem;
  }
}

@media(any-hover: hover) {
  .btn-more:hover {
    opacity: 0.8;
  }

  .btn-more:hover::after {
    transform: translateX(calc(8em / 12));
  }
}


/* ============================
	main
============================ */
#main {
  margin: 72px 0 0;
}
@media screen and (max-width: 1000px) {
  #main {
    margin: 56px 0 0;
  }
}

body.home #main {
  margin: 0 !important;
  position: relative;
}
@media screen and (min-width: 768px) {
  body.home #main {
    padding-top: 100svh;
  }
}

/* ============================
	mainvisual
============================ */
.mainvisual {
  position: relative;
  z-index: 0;
  display: flex;
  font-size: 10px;
}

@media screen and (max-width: 1279px) {
  .mainvisual {
    font-size: 8px;
  }
}

@media screen and (max-width: 767px) {
  .mainvisual {
    flex-direction: column;
    padding-top: 10.5rem;
  }
}

.mainvisual__title {
  flex-shrink: 0;
  position: relative;
  min-width: 50%;
  padding: 5.4em calc(94 / 1440 * 100%) 8.6em;
  background-color: #728469;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .mainvisual__title {
    width: -webkit-fit-content;
    width: fit-content;
    min-width: 84%;
    max-width: 98%;
    padding: 1rem 2rem 2.2rem;
  }
}

.mainvisual__title-en {
  margin: 0;
  font-size: 10.2em;
  font-weight: 200;
  line-height: calc(154 / 102);
  color: #BACBB2;
}

@media screen and (max-width: 767px) {
  .mainvisual__title-en {
    font-size: 4rem;
    line-height: 1.525;
  }
}

.mainvisual__title-ja {
  margin: calc(-28em / 24) 0 0;
  font-size: 2.4em;
  font-weight: 500;
  line-height: calc(35 / 24);
  letter-spacing: 0.15em;
}

@media screen and (max-width: 767px) {
  .mainvisual__title-ja {
    margin-top: -1rem;
    font-size: 1.6rem;
    line-height: 1.4375;
  }
}

.mainvisual__side {
  flex-grow: 1;
}

.mainvisual__img-wrapper {
  position: relative;
  height: 24.4em;
}

@media screen and (max-width: 767px) {
  .mainvisual__img-wrapper {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 18rem;
  }
}

.mainvisual__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  margin: calc(30em / 14) 0 0;
  padding: 0 calc(40 / 720 * 100%);
  background: #fff;
  font-size: 1.4em;
  letter-spacing: 0.15em;
}

@media screen and (max-width: 767px) {
  .breadcrumbs {
    justify-content: flex-start;
    width: fit-content;
    margin: 2.4rem 0 0 auto;
    padding: 0 2rem;
    font-size: 1.2rem;
  }
}

.breadcrumbs__slush {
  position: relative;
  width: calc(9.5em / 14);
  height: calc(18.7em / 14);
  margin: 0 calc(12em / 14);
}

.breadcrumbs__slush::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: calc(20.98em / 14);
  background-color: #C9C9C9;
  transform: rotate(23deg);
  transform-origin: bottom left;
}

/* ============================
	section
============================ */
.sec-inner {
  padding: 100px 0;
}

.sec-ttl {
  text-align: center;
  margin: 0;
}

.content-width {
  box-sizing: border-box;
  width: 1040px;
  padding: 0 20px;
  margin: 0 auto;
}

.content-box {
  margin: 50px 0 0;
}

@media screen and (max-width: 767px) {
  .sec-inner {
    padding: 40px 0 64px;
  }

  .content-width {
    width: 100%;
  }
}

/* ============================
	pagenavi
============================ */
.wp-pagenavi {
  clear: both;
  margin: 60px 0 0;
  font-size: 1.6rem;
  text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
  display: inline-block;
  width: 3em;
  height: 3em;
  margin: 0.5em;
  font-family: "Prompt", sans-serif;
  line-height: 3;
  color: #728469;
  border: 2px solid #E5E5E5;
  text-align: center;
  vertical-align: middle;
  transition: all 0.5s ease;
}

.wp-pagenavi a:hover,
.wp-pagenavi span {
  background: #728469;
  color: #fff;
  border-color: #728469;
  opacity: 1;
  text-decoration: none;
}

.wp-pagenavi a:hover {
  transition: all 0.5s ease;
}

.wp-pagenavi .extend {
  width: 1em;
  color: #000;
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
}

.wp-pagenavi .extend::after {
  content: "…";
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
  position: relative;
  width: 3em;
  height: 3em;
  background: #fff;
  text-indent: -999999px;
  vertical-align: middle;
}

.wp-pagenavi .previouspostslink::after,
.wp-pagenavi .nextpostslink::after {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  display: block;
  width: 1rem;
  height: 1rem;
  border-top: 2px solid #728469;
  border-right: 2px solid #728469;
}

.wp-pagenavi .previouspostslink::after {
  right: -0.3rem;
}

.wp-pagenavi .nextpostslink::after {
  left: -0.3rem;
}

.wp-pagenavi .previouspostslink::after {
  transform: rotate(225deg);
}

.wp-pagenavi .nextpostslink::after {
  transform: rotate(45deg);
}

.wp-pagenavi .previouspostslink:hover::after,
.wp-pagenavi .nextpostslink:hover::after {
  border-color: #fff;
}

.result_count {
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.4rem;
  color: #999;
}

@media screen and (max-width: 767px) {
  .wp-pagenavi {
    font-size: 1.4rem;
  }

  .wp-pagenavi a,
  .wp-pagenavi span {
    margin: 0.25em;
  }
}

/* ============================
	post parts
============================ */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.post-date {
  font-family: "Prompt", sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #32412A;
}

.post-cat {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 7.8rem;
  height: 3.2rem;
  padding: 0 1em;
  background-color: #728469;
  text-align: center;
  font-size: 1.3rem;
  color: #fff;
}

/* #sidebar-cat-list .post-cat {
  background-color: #fff;
  border: 1px solid #728469;
  color: #728469;
} */

.single .post-ttl {
  margin-top: 0.8rem;
  font-family: "Noto Serif JP", serif;
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.4375;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 767px) {
  .single .post-ttl {
    font-size: 2.4rem;
  }
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  margin: 2.4em 0;
}

.post-back-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 40rem;
  height: 6.4rem;
  margin: 10rem auto 0;
  background-color: #31392D;
  font-family: "Noto Serif JP", serif;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .post-back-btn {
    margin-top: 7.2rem;
    font-size: 1.6rem;
  }
}

/* ============================
	news list
============================ */
.news-item {
  padding: 20px 0;
}

.news-item+.news-item {
  border-top: 1px solid #1e1e1e;
}

.news-item .post-ttl {
  font-size: 1.5rem;
  margin: 0 0 0 20px;
}

@media screen and (max-width: 767px) {
  .news-item .post-meta {
    width: 100%;
  }

  .news-item .post-ttl {
    margin-left: 0;
  }
}

/* ============================
	card list
============================ */
.card-list {
  margin-top: -30px;
  margin-left: -80px;
}

.card-item {
  width: 280px;
  margin-top: 30px;
  margin-left: 80px;
}

.card-item .post-thumb img {
  width: 100%;
}

.card-item .post-info {
  margin-top: 20px;
}

.card-item .post-ttl {
  font-size: 1.5rem;
  margin: 20px 0 0;
}

@media screen and (max-width: 767px) {
  .card-item {
    width: 100%;
  }
}

/* ============================
	contact form
============================ */
.contact-message {
  text-align: center;
}

.color-red {
  color: #e21414;
}

.contact-box .required {
  color: #e21414;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  margin-left: 0.25em;
}

.contact-box input[type="text"],
.contact-box input[type="password"],
.contact-box input[type="email"],
.contact-box input[type="tel"],
.contact-box input[type="url"],
.contact-box input[type="number"],
.contact-box input[type="date"],
.contact-box select,
.contact-box textarea {
  box-sizing: border-box;
}

.contact-box .table {
  max-width: 800px;
  margin: 0 auto 64px;
}

.contact-box .table__row {
  display: flex;
}

.contact-box .th {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 25%;
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #728469;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.contact-box .td {
  width: 75%;
  padding: 10px;
  border-bottom: 1px solid #E5E5E5;
}

.contact-box .td.flex {
  display: flex;
  column-gap: 1.6rem;
}

.contact-box .your-email {
  box-sizing: border-box;
  width: 100%;
}

.contact-box .zip {
  width: 150px;
  box-sizing: border-box;
}

.contact-box .your-address {
  box-sizing: border-box;
  width: 100%;
}

.contact-box select {
  appearance: auto;
  padding: 0.625em;
  font-size: 1.6rem;
}

.contact-box .your-content {
  width: 100%;
  box-sizing: border-box;
}

#consent-box {
  text-align: center;
}

.wpcf7-list-item label {
  cursor: pointer;
}

#submit-box .wpcf7-response-output {
  text-align: center;
}

#btn-submit {
  width: 300px;
  position: relative;
  margin: 32px auto 0;
}

#btn-submit .wpcf7-submit {
  background-color: #31392D;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
  line-height: 1;
  width: 300px;
  padding: 24px 0;
}

#btn-submit .wpcf7-spinner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 0 0 10px;
}

@media screen and (max-width: 767px) {
  .contact-message {
    text-align: left;
  }

  .contact-box input[type="text"],
  .contact-box input[type="password"],
  .contact-box input[type="email"],
  .contact-box input[type="tel"],
  .contact-box input[type="url"],
  .contact-box input[type="number"],
  .contact-box textarea {
    width: 100%;
  }

  .contact-box .table {
    border-top: 1px solid #728469;
  }

  .contact-box .table__row {
    display: block;
  }

  .contact-box .td,
  .contact-box .th {
    display: block;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .contact-box .th {
    border-color: #E5E5E5;
    text-align: left;
  }

  .contact-box .td {
    border-color: #728469;
  }

  .wpcf7-radio {
    display: flex;
    flex-direction: column;
  }
}

/* ============================
	404
============================ */
#error-404 .content-box p {
  text-align: center;
}

@media screen and (min-width: 1001px) {
  #sp-menu {
    display: none;
  }

  #btn-hamburger {
    display: none;
  }
}

@media screen and (max-width: 1000px) {
  #h-gnav-box {
    display: none;
  }
}

/* Lenis 必須設定 */
html.lenis {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}
.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* アニメーション対象の基本クラス 
    JSで .char-wrap, .char-inner が生成される前提
*/
.text-reveal {
    opacity: 1; /* 初期表示 */
}

/* 1. 文字の外枠（マスク用）
    overflow: hidden で枠外の文字を隠す
*/
.char-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom; /* 行揃え */
    line-height: 1.2; /* 文字が切れないように調整 */
}

/* 2. 文字の中身（動く部分）
    初期位置: 下に105%ずらして隠す
*/
.char-inner {
    display: inline-block;
    transform: translateY(105%);
    /* アニメーション設定: 少しゆったりとしたイージング */
    transition: transform 1.4s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform;
}

/* 3. 表示状態 (.in-view クラスが付与された時)
    JSにより親要素に .in-view が付くと発火
*/
.in-view .char-inner {
    transform: translateY(0);
}

/* =========================================
ulに .fade-stagger-list を付与すると発動
========================================= */
.fade-stagger-list li {
  opacity: 0;
  transform: translateY(30px);
  /* トランジション設定（JSでdelayをつけるのでここではdurationとeasingのみ） */
  transition: opacity 1.2s ease-out, transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}
/* 表示状態 */
.fade-stagger-list li.in-view {
    opacity: 1;
    transform: translateY(0);
}