html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
  padding: 0;
}

div,
span,
h1,
h2,
h3,
h4,
p,
input {
  box-sizing: border-box;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

section {
  overflow: hidden;
  box-sizing: border-box;
}

a:hover {
  opacity: 0.7;
}

.flex {
  display: flex;
  align-items: center;
}

.section-title-sub {
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  position: relative;
}

.section-title-sub.title-decoration {
  display: inline-block;
}

.section-title-sub.title-decoration:before {
  content: "";
  display: block;
  width: 70px;
  height: 1px;
  background-color: #0034e0;
  position: absolute;
  top: 50%;
  left: -100px;
}

.section-title-sub.title-decoration:after {
  content: "";
  display: block;
  width: 70px;
  height: 1px;
  background-color: #0034e0;
  position: absolute;
  top: 50%;
  right: -100px;
}

.section-title {
  font-size: clamp(20px, 2.25vw, 27px);
  text-align: center;
}

.section-inner {
  max-width: 1063px;
  width: 100%;
  margin: 0 auto;
}

.main {
  background-color: #e9e9f1;
}

/* hero-area */
.section-hero {
  position: relative;
  height: 1335px;
}

/* skew */
.skew-bg-block {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.skew-bg-block:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 98.5%;
  width: 100vw;
  height: 100%;
  background: linear-gradient(to bottom, #7deded, #1938de);
  transform: skew(-23deg) translateX(-50%);
}

.skew-bg-block.-left-in:after {
  right: 100vw;
  transform-origin: top right;
  transition: right 0.8s cubic-bezier(0.07, 0.24, 0.16, 0.94);
}

.skew-bg-block.-right-in:after {
  left: 100vw;
  transform: skew(-15deg);
  transform-origin: bottom left;
  transition: left 0.8s cubic-bezier(0.07, 0.24, 0.16, 0.94);
}

.skew-bg-block.-right-in.-js-show:after {
  transform-origin: top left;
}

.key-visual {
  position: relative;
  padding-left: 89px;
  margin: 0 auto;
  max-width: 1200px;
  height: 623px;
}

.hero-logo {
  width: 100%;
  max-width: 191px;
  position: absolute;
  top: 60px;
  left: 89px;
}

.hero-title-area {
  position: absolute;
  top: 150px;
  left: 89px;
}

.hero-title-area .preface-text {
  font-size: clamp(16px, 1.75vw, 21px);
  font-weight: 500;
  letter-spacing: 0.1em;
}

.hero-title-area .hero-title {
  font-size: clamp(22px, 2.583vw, 31px);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hero-title-area .hero-title .hero-title-color {
  background: linear-gradient(45deg, #399cff, #1938de);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-area .hero-title .hero-title-large {
  font-size: clamp(30px, 3.833vw, 46px);
}

.hero-kv {
  width: 100%;
  max-width: 1000px;
  position: absolute;
  top: -85px;
  left: 55%;
  transform: translateX(-50%);
}

.hero-attention-area {
  display: flex;
  position: relative;
  top: -35px;
}

.hero-attention-area .inner {
  width: 100%;
  max-width: 1012px;
  margin: 0 auto;
  position: relative;
}

.hero-attention-text {
  text-align: right;
  font-size: 9px;
  color: #dddddd;
}

/* trial-form-area */
.trial-form-area {
  display: flex;
  justify-content: center;
  margin-top: -10px;
}

.trial-form {
  position: relative;
  z-index: 5;
}

.trial-form .submit-button {
  text-align: center;
  margin-top: 25px;
  position: relative;
}

.section-hero .trial-form {
  display: flex;
  align-items: center;
  height: 603px;
}

.trial-form .inner {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

/* trial-form-area  left-area */
.trial-form .left-area {
  padding: 36px 54px 32px;
  background: url(../images/redeck/img_form-bg.png) no-repeat center;
  border-radius: 22px 0 0 22px;
}

.trial-form .left-area .left-area-title {
  text-align: center;
  font-size: clamp(25px, 2.75vw, 33px);
  font-weight: 700;
  color: #fff;
}

.trial-form .left-area .left-area-pc {
  width: 100%;
  max-width: 405px;
  margin-top: 37px;
}

/* trial-form-area  right-area */
.trial-form .right-area {
  padding: 29px 30px 44px;
  width: 499px;
  border-radius: 22px;
  background: linear-gradient(to bottom, #ffffff, #9db4ff);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
  isolation: isolate;
  will-change: backdrop-filter;
  overflow: hidden;
}

/* 追加のすりガラス効果のための疑似要素 */
.trial-form .right-area::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%),
    radial-gradient(circle at 30% 30%, rgba(24, 186, 178, 0.02) 0%, transparent 50%);
  border-radius: inherit;
  z-index: 1;
  pointer-events: none;
}

.section-hero .trial-form .right-area {
  border-radius: 0 22px 22px 0;
  background: linear-gradient(to bottom, #bdfeff, #94baff);
}

.form-title {
  color: #1a3be1;
  font-size: clamp(14px, 1.333vw, 16px);
  font-weight: bold;
  text-align: center;
  position: relative;
  z-index: 2;
}

.form-head-text {
  text-align: center;
  font-size: clamp(12px, 1.167vw, 14px);
  position: relative;
  z-index: 2;
}

.form-input-group {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
  width: 100%;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.form-input-group .flex .input-wrapper:not(:first-child) {
  margin-left: 17px;
}

.form-input-group .input-wrapper {
  width: 100%;
}

.form-input-group .input-label {
  color: #000;
  font-size: 11px;
}

.asterisk {
  margin-left: 8px;
  color: #ff0000;
}

.form-input-group .input-form {
  display: flex;
  align-items: center;
  margin-top: 4px;
  padding: 0 16px;
  width: 100%;
  height: 40px;
  border-radius: 7px;
  border: 1px solid #58c3ea;
}

.form-input-group .input-form:focus {
  outline: 0.01px solid #0096ff;
  box-shadow: 0 0 0 3px rgba(0, 150, 255, 0.3);
}

.form-input-group .input-form::placeholder {
  font-size: 16px;
}

.company-post {
  margin-top: 4px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid #42bfed;
  padding: 9px 16px;
  border-radius: 7px;
  background: white url("../images/redeck/img_arrow-down.png") no-repeat right 16px top 15px;
  background-size: 11px;
  width: 100%;
  font-size: 16px;
  cursor: pointer;
}

.company-post:focus {
  outline: none;
  border-color: #0096ff;
  box-shadow: 0 0 0 3px rgba(0, 150, 255, 0.3);
}

.form-attention-text {
  color: #141414;
  font-size: 10px;
  margin-top: 15px;
}

/* agreement-wrapper */
.agreement-wrapper {
  width: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-top: 13px;
  font-size: 10px;
  position: relative;
  z-index: 2;
}

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

.wpcf7-list-item labelbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.wpcf7-list-item labelbox input {
  display: none;
}

/* チェックボックス*/
.wpcf7-list-item label {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #141414;
  font-size: 10px;
}

.wpcf7-list-item label input {
  display: none;
}

.wpcf7-list-item label .checkmark {
  display: inline-block;
  margin-right: 10px;
  width: 16px;
  height: 16px;
  border: 1px solid #707070;
  border-radius: 3px;
  background-color: #fff;
  position: relative;
}

.wpcf7-list-item label input:checked + .wpcf7-list-item-label .checkmark {
  background: linear-gradient(135deg, #c145ff, #255bf1);
  border-color: transparent;
}

.wpcf7-list-item label input:checked + .wpcf7-list-item-label .checkmark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 9px;
  background: url("../images/redeck/img_select-check.png") no-repeat center center;
  background-size: contain;
  transform: translate(-50%, -50%);
}

.wpcf7 form .wpcf7-response-output {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
  background: #ffb900;
  color: #fff;
  padding: 5px 10px;
  border-radius: 10px;
}

/* button */
.btn-registar {
  width: 283px;
  padding: 15px 0;
  background-color: #fa4e0e;
  color: #fff;
  text-align: center;
  border-radius: 11px;
  border: 1px solid #fff;
  font-size: 16px;
  position: relative;
  z-index: 2;
}

.btn-wrapper {
  max-width: 1063px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

/* section-issue */
.section-issue {
  position: relative;
  padding-top: 37px;
  background-color: #0c2555;
  color: #fff;
}

/* .section-issue::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0%;
  width: 100vw;
  height: 100%;
  background-color: #2a1e71;
  transform: skew(-24deg) translateX(-71.8%);
} */

.section-issue .section-title {
  color: #fff;
}

.issue-img-area {
  position: relative;
  padding-top: 14px;
}

.worry {
  position: relative;
  align-items: unset;
  max-width: 886px;
  width: 100%;
  height: 214px;
  margin: 0 auto;
}

.person-issue {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.worry-about {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
  text-align: center;
  font-size: 14px;
  pointer-events: none; /* クリックイベントをSVGに通すなら */
}

.worry-about--upper-left {
  width: 262.688px;
  height: 46.513px;
  position: absolute;
  top: 10px;
  left: 0;
}

.worry-about--lower-left {
  width: 229.355px;
  height: 95.809px;
  position: absolute;
  bottom: 34px;
  left: 120px;
}

.worry-about--upper-right {
  width: 275.03px;
  height: 73.801px;
  position: absolute;
  top: 10px;
  right: 0;
}

.worry-about--lower-right {
  width: 240.371px;
  height: 71.321px;
  position: absolute;
  bottom: 34px;
  right: 100px;
}

.section-issue .total-worries {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(16px, 2.5vw, 18px);
  text-align: center;
}

.worry-about svg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.worry-about span {
  position: relative;
  z-index: 1;
  padding: 0 10px;
}

.upper-left {
  clip-path: url(../images/redeck/img_upper-left.svg#upper-left);
}
.upper-right {
  clip-path: url(../images/redeck/img_upper-right.svg#upper-right);
  background-image: url();
}
.lower-left {
  clip-path: url(../images/redeck/img_lower-left.svg#lower-left);
  background-image: url();
}
.lower-right {
  clip-path: url(../images/redeck/img_lower-right.svg#lower-right);
  background-image: url();
}
.center {
  clip-path: url(../images/redeck/img_center.svg#center);
}

/* section-problem-solving */
.section-problem-solving {
  position: relative;
  z-index: 0;
}

/* emerald */
/* .emerald-bg-block {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: -1;
}

.emerald-bg-block:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0%;
  width: 100vw;
  height: 100%;
  background: linear-gradient(to bottom, #7deded, #1938de);
  transform: skew(-25deg) translateX(-107%);
}

.emerald-bg-block.-left-in:after {
  right: 100vw;
  transform-origin: top right;
  transition: right 0.8s cubic-bezier(0.07, 0.24, 0.16, 0.94);
}

.emerald-bg-block.-right-in:after {
  left: 100vw;
  transform: skew(-15deg);
  transform-origin: bottom left;
  transition: left 0.8s cubic-bezier(0.07, 0.24, 0.16, 0.94);
}

.emerald-bg-block.-right-in.-js-show:after {
  transform-origin: top left;
} */

.problem-solving {
  margin-top: 60px;
  display: block;
  justify-content: center;
  align-items: center;
}

.problem-solving .inner {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
}

.problem-solving-title {
  display: flex;
  justify-content: center;
  align-items: baseline;
  font-weight: bold;
  font-size: clamp(26px, 3.5vw, 32px);
}

.problem-solving-title div {
  display: flex;
  justify-content: center;
  align-items: baseline;
  font-weight: bold;
  font-size: clamp(26px, 3.5vw, 32px);
}

.problem-solving-title div img {
  width: 244px;
}

.problem-solving-sub {
  margin: 35px 0 34px;
  color: #1a3be1;
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: bold;
}

.problem-solving-attention-text {
  font-size: 9px;
  text-align: right;
  margin-top: 10px;
}

/* レスポンシブ画像対応 */
.process-image,
.ai-process-image {
  display: block;
  width: 100%;
  max-width: 870px;
  margin: 0 auto;
}

.process-image img,
.ai-process-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.pptx-ai {
  width: 1063px;
  max-width: 100%;
  margin: 53px auto 70px;
  padding-top: 40px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.pptx-ai-title-sub {
  font-size: clamp(16px, 2.5vw, 26px);
  font-weight: bold;
  margin-bottom: 28px;
}

.pptx-ai-title {
  color: #1a3be1;
  font-size: clamp(18px, 2.5vw, 30px);
  font-weight: bold;
  margin-bottom: 50px;
}

.pptx-ai-content {
  margin-top: 60px;
  padding-bottom: 58px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ai-content {
  padding: 0px 30px;
  width: 336px;
  max-width: 100%;
  border-right: 2px solid #b2c0df;
}

.ai-content--end {
  border-right: none;
}

.ai-content-title {
  font-size: clamp(16px, 2.5vw, 19px);
  font-weight: bold;
  color: #1a3be1;
}

.ai-content-sub {
  margin-top: 20px;
  font-size: clamp(13px, 1.5vw, 15px);
  text-align: start;
}

.section-cta-area {
  padding: 70px 0;
  background: url(../images/redeck/img_bg-cta.png) center center / cover no-repeat;
}

.section-cta-area .section-title {
  color: #fff;
}

.section-cta-area .btn-registar {
  margin-top: 29px;
}

/* section-shift-documents */
.section-shift-documents {
  padding-top: 70px;
}

.section-shift-documents .section-inner {
  text-align: center;
}

.section-shift-documents .section-title {
  font-size: clamp(16px, 2.333vw, 28px);
  margin-top: 20px;
  color: #1a3be1;
}

/* band-area */
.band-area {
  display: flex;
  flex-direction: column;
  row-gap: 40px;
  padding-top: 62px;
  padding-bottom: 69px;
}

.band-item-wrapper {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0px 15px 15px rgba(0, 0, 0, 0.2));
}

.band-item {
  position: relative;
  height: 388px;
}

.band {
  position: absolute;
  top: 0;
  left: -6%;
  width: calc(59% + 100px);
  height: 365px;
  box-sizing: border-box;
  background-color: #fff;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  display: flex;
  align-items: center;
  box-shadow: 0px 3px 26px 0px rgba(0, 0, 0, 0.45);
}

.band-color {
  position: absolute;
  bottom: 0;
  right: -10%;
  width: calc(59% + 100px);
  height: 365px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #7dedfd, #1938de);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  align-items: center;
}

.band-item:nth-child(even) > .band-item-wrapper > .band {
  left: unset;
  right: -10%;
  clip-path: polygon(0% 0, 100% 0, 100% 100%, 15% 100%);
}

.band-item:nth-child(even) > .band-color {
  right: unset;
  left: -6%;
  clip-path: polygon(0 0, 85% 0%, 100% 100%, 0 100%);
  background: linear-gradient(135deg, #1938de, #7dedfd);
}

.band-item:last-child > .band-color img {
  width: auto;
  height: 100%;
}

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

.band .content {
  max-width: 450px;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.band-color .content {
  padding: 0 40px;
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.band-item:nth-child(odd) .band-color .content img {
  margin-left: 70px;
}

.band-item:nth-child(even) .band-color .content img {
  margin-right: 70px;
}

.content h4 {
  font-size: clamp(18px, 2.5vw, 30px);
  color: #1a3be1;
  margin-top: 0;
  margin-bottom: 16px;
}

.content p {
  max-width: 400px;
  font-size: clamp(13px, 1.25vw, 15px);
  color: #334155;
  line-height: 1.7;
}

.content {
  text-align: left;
}

/* デスクトップ版ではモバイル専用レイアウトを非表示 */
.features-mobile-layout {
  display: none;
}

/* section-company-about */
.section-company-about {
  /* height: 767px; */
  padding: 65px 98px;
  background-color: #fff;
}

.section-company-about .section-title {
  color: #1a3be1;
}

.section-company-about .company-info-area {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
  gap: 52px;
}

.company-logo {
  padding: 15px;
  width: fit-content;
  border: 1px solid #e0e0e0;
}

.company-info {
  color: #000;
}

.company-info .name {
  font-size: 21px;
}

.company-info .detail {
  max-width: 588px;
  margin-top: 16px;
  font-size: 14px;
}

.site-link {
  color: #1a3be1;
}

.site-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.company-info .site-link {
  display: inline-block;
  position: relative;
  margin-top: 28px;
  padding-right: 49px;
  font-size: 14px;
  color: #1a3be1;
}

.company-info .site-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 9px;
  height: 14px;
  background-image: url(../images/redeck/img_arrow-right.png);
  transform: translateY(-50%);
}

.client-company {
  margin-top: 66px;
  display: flex;
  justify-content: center;
}

/* PC版：スマホ版専用要素を非表示 */
.client-logos-mobile {
  display: none;
}

/* section-trial-form */
.section-trial-form {
  padding-top: 66px;
  padding-bottom: 66px;
  background: url(../images/redeck/img_bg-trial.png) center center / cover no-repeat;
  width: 100%;
  height: 902px;
}

.section-trial-form .section-title {
  color: #fff;
}

.section-trial-form .trial-form {
  margin-top: 39px;
}

.section-trial-form .trial-form .inner {
  height: auto;
}

.section-trial-form .form-head-text {
  margin-top: 15px;
}

.section-trial-form .right-area {
  border-radius: 22px;
}

.section-trial-form .form-input-group {
  margin-top: 26px;
}

/* footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 242px;
  background-color: #002443;
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1080px;
  width: 100%;
  padding-left: 17px;
}

.footer .footer-inner .company-area {
  display: flex;
  align-items: center;
}

.footer .footer-inner .company-area .site-logo {
  width: 163px;
}

.footer .footer-inner .company-area .company-name {
  position: relative;
  padding-left: 56px;
  font-size: 14px;
  font-weight: 500;
}

.footer .footer-inner .company-area .company-name::after {
  position: absolute;
  content: "";
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background-color: #415c73;
}

.footer-linklist {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 30px;
  padding: 0;
}

.footer-linklist .link-item a {
  color: #fff;
  font-size: 11px;
}

.footer-copyright {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 21px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.6;
  font-size: clamp(14px, 1.333vw, 16px);
}

.show-sml {
  display: none;
}

.hide-sml {
  display: block;
}

/* contact-form */
.wpcf7-list-item {
  margin: -5px;
  font-size: 10px;
}

.wpcf7-list-item input[type="checkbox"] {
  margin: 0;
}

.wpcf7-form span.wpcf7-not-valid-tip {
  margin-left: 1em;
  font-size: 10px;
  position: absolute;
  bottom: -14px;
  right: 0;
}

.wpcf7-list-item-label {
  display: flex;
  align-items: flex-start;
}

.wpcf7-spinner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.wpcf7 form.sent .wpcf7-response-output {
  background: linear-gradient(45deg, #399cff, #1938de);
  border: none;
  margin-top: 0.5em;
  color: #fff;
  border-radius: 10px;
  text-align: center;
  margin-left: -5px;
}

.section-trial-form .wpcf7 form.sent .wpcf7-response-output {
  margin-top: 20px;
}

/* Terms Page Styles */
/* 利用規約スタイルは下部で統一定義 */

/* Index Page Styles */
.section-index {
  background-color: #ffffff;
  padding: 80px 0;
  min-height: 100vh;
}

.index-page-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  text-align: center;
  color: #0034e0;
  margin-bottom: 20px;
}

.index-intro {
  font-size: clamp(16px, 1.5vw, 20px);
  text-align: center;
  color: #666666;
  margin-bottom: 60px;
  font-weight: 500;
}

.index-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Posts Container */
.posts-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.post-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.post-thumbnail {
  overflow: hidden;
  height: 200px;
}

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

.post-item:hover .post-thumbnail img {
  transform: scale(1.05);
}

.post-content {
  padding: 30px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.post-date {
  font-size: 14px;
  color: #888888;
  font-weight: 500;
}

.post-category {
  background-color: #0034e0;
  color: #ffffff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 16px;
  font-weight: 500;
}

.post-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
}

.post-title a {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: #0034e0;
  opacity: 1;
}

.post-excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: #666666;
  margin-bottom: 20px;
}

.post-link {
  text-align: right;
}

.read-more-btn {
  display: inline-block;
  background: linear-gradient(45deg, #399cff, #1938de);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(25, 56, 222, 0.3);
  opacity: 1;
}

/* Pagination */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin: 60px 0;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 12px 18px;
  background-color: #f8f9fa;
  color: #666666;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination .page-numbers:hover {
  background-color: #0034e0;
  color: #ffffff;
  opacity: 1;
}

.pagination .page-numbers.current {
  background-color: #0034e0;
  color: #ffffff;
}

.pagination .prev,
.pagination .next {
  background: linear-gradient(45deg, #399cff, #1938de);
  color: #ffffff;
}

/* No Posts Section */
.no-posts {
  text-align: center;
  padding: 80px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.no-posts-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: #333333;
  margin-bottom: 20px;
}

.no-posts-text {
  font-size: 16px;
  line-height: 1.7;
  color: #666666;
  margin-bottom: 40px;
}

.search-form-wrapper {
  margin-bottom: 40px;
}

.search-form-wrapper .search-form {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
  gap: 10px;
}

.search-form-wrapper input[type="search"] {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-form-wrapper input[type="search"]:focus {
  border-color: #0034e0;
}

.search-form-wrapper button {
  padding: 12px 24px;
  background: linear-gradient(45deg, #399cff, #1938de);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.search-form-wrapper button:hover {
  transform: translateY(-2px);
}

.btn-back-home {
  display: inline-block;
  background: linear-gradient(45deg, #399cff, #1938de);
  color: #ffffff;
  padding: 15px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-back-home:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(25, 56, 222, 0.3);
  opacity: 1;
}

/* ===========================
   Mobile Header (共通スタイル)
   =========================== */
.mobile-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(68, 86, 149, 0.1);
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
  display: none; /* デフォルトは非表示 */
}

.mobile-header.show {
  transform: translateY(0);
  display: block;
}

.mobile-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

.mobile-logo img {
  height: 32px;
  width: auto;
}

.mobile-menu-trigger {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: #445695;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.mobile-menu-trigger.active .hamburger-line {
  display: none;
}

.mobile-menu-trigger.active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-trigger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-trigger.active .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* モバイルメニューオーバーレイ */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(68, 86, 149, 0.95);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  display: block;
}

.mobile-menu-overlay.show {
  opacity: 1;
  visibility: visible;
  overflow-y: auto;
}

.mobile-menu-container {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-line {
  position: absolute;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.close-line:nth-child(1) {
  transform: rotate(45deg);
}

.close-line:nth-child(2) {
  transform: rotate(-45deg);
}

.mobile-menu-nav {
  width: 100%;
  text-align: center;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-item {
  margin-bottom: 32px;
}

.mobile-menu-item:last-child {
  margin-bottom: 0;
}

.mobile-menu-link {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  padding: 16px;
  transition: color 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* PC版では基本的に非表示 */
.mobile-header {
  display: none;
}

.mobile-menu-overlay {
  display: none;
}

/* 利用規約ページではPC版でも表示 */
body:has(.section-terms) .mobile-header,
body.page-template-page-terms .mobile-header,
body.page-id-terms .mobile-header {
  display: block !important;
  position: sticky;
  top: 0;
  z-index: 1000;
}

body:has(.section-terms) .mobile-menu-overlay,
body.page-template-page-terms .mobile-menu-overlay,
body.page-id-terms .mobile-menu-overlay {
  display: block !important;
}

/* 利用規約ページPC版でのヘッダー調整 */
body:has(.section-terms) .mobile-header-inner,
body.page-template-page-terms .mobile-header-inner,
body.page-id-terms .mobile-header-inner {
  padding: 16px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

body:has(.section-terms) .mobile-logo img,
body.page-template-page-terms .mobile-logo img,
body.page-id-terms .mobile-logo img {
  height: 30px;
}

body:has(.section-terms) .mobile-menu-trigger,
body.page-template-page-terms .mobile-menu-trigger,
body.page-id-terms .mobile-menu-trigger {
  width: 40px;
  height: 40px;
}

body:has(.section-terms) .hamburger-line,
body.page-template-page-terms .hamburger-line,
body.page-id-terms .hamburger-line {
  width: 24px;
  height: 3px;
}

body:has(.section-terms) .mobile-menu-trigger.active .hamburger-line:nth-child(1),
body.page-template-page-terms .mobile-menu-trigger.active .hamburger-line:nth-child(1),
body.page-id-terms .mobile-menu-trigger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body:has(.section-terms) .mobile-menu-trigger.active .hamburger-line:nth-child(3),
body.page-template-page-terms .mobile-menu-trigger.active .hamburger-line:nth-child(3),
body.page-id-terms .mobile-menu-trigger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 利用規約ページPC版メニューオーバーレイ調整 */
body:has(.section-terms) .mobile-menu-container,
body.page-template-page-terms .mobile-menu-container,
body.page-id-terms .mobile-menu-container {
  padding: 80px 60px;
}

body:has(.section-terms) .mobile-menu-link,
body.page-template-page-terms .mobile-menu-link,
body.page-id-terms .mobile-menu-link {
  font-size: 24px;
  padding: 20px;
}

body:has(.section-terms) .mobile-menu-item,
body.page-template-page-terms .mobile-menu-item,
body.page-id-terms .mobile-menu-item {
  margin-bottom: 40px;
}

/* メニューが開いているときのbodyスクロール制御 */
body.menu-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
}

/* ===========================
   利用規約ページ（共通スタイル）
   =========================== */
.section-terms {
  padding: 40px 20px;
  min-height: 100vh;
  overflow: unset;
}

.section-terms .section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.terms-page-title {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 16px;
  color: #445695;
}

.terms-intro {
  text-align: center;
  margin-bottom: 40px;
  font-size: 16px;
  color: #666;
}

.terms-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-direction: row-reverse;
  min-height: calc(100vh - 200px);
  position: relative;
}

.terms-content {
  flex: 1;
  min-width: 0;
}

.terms-section-title {
  font-size: 20px;
  font-weight: bold;
  margin: 40px 0 20px 0;
  color: #445695;
  border-bottom: 2px solid #445695;
  padding-bottom: 8px;
}

.terms-section-title:first-child {
  margin-top: 0;
}

.terms-text {
  line-height: 1.8;
  margin-bottom: 20px;
}

.terms-list {
  padding-left: 20px;
  margin-bottom: 20px;
}

.terms-list li {
  line-height: 1.8;
  margin-bottom: 12px;
}

.terms-sub-list {
  padding-left: 20px;
  margin-top: 12px;
}

.terms-sub-list li {
  line-height: 1.7;
  margin-bottom: 8px;
}

.terms-footer {
  margin-top: 40px;
  text-align: right;
}

.terms-date {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

/* 目次（PC版1025px以上用） */
.terms-toc {
  width: 300px;
  flex-shrink: 0;
  padding: 24px;
  position: sticky;
  top: 100px;
  align-self: flex-start;
  height: fit-content;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: rgba(248, 249, 250, 0.8);
  border-radius: 8px;
  border: 1px solid rgba(233, 236, 239, 0.5);
  backdrop-filter: blur(10px);
}

.terms-toc-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
  color: #445695;
  position: sticky;
  top: 0;
  background: rgba(248, 249, 250, 0.9);
  padding-bottom: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(233, 236, 239, 0.3);
}

.terms-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.terms-toc-list li {
  margin-bottom: 8px;
}

.terms-toc-list a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  display: block;
  border-radius: 4px;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.terms-toc-list a:hover {
  background: #445695;
  color: white;
  border-left-color: #445695;
}

.terms-toc-list a.active {
  background: rgba(68, 86, 149, 0.1);
  color: #445695;
  border-left-color: #445695;
  font-weight: 500;
}

/* フローティングバナーはPC版では表示しない */
.floating-banner {
  display: none;
}

/* ===========================
   Pagetop Button
   =========================== */
.js-pagetop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #445695;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(68, 86, 149, 0.3);
}

.js-pagetop:hover {
  background-color: #3a4a7d;
  transform: translateY(15px);
  box-shadow: 0 6px 16px rgba(68, 86, 149, 0.4);
}

.js-pagetop::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 12px solid #ffffff;
  margin-bottom: -2px;
}

.js-pagetop.-js-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
