:root {
  --color-bg: #fffcf6;
  --color-bg-blue: #c9e1ea;
  --color-bg-blue-dark: #b5cdd8;
  --color-text: #1a1a1a;
  --color-text-light: #444;
  --color-accent: #5a9ab5;
  --color-accent-btn: #6ab0c8;
  --color-white: #ffffff;
  --color-border: #ccc;
  --font-display: "Bebas Neue", cursive;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --radius-sm: 4px;
  --radius-md: 8px;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
}

/*--- layout ---*/

.l_contents {
  padding: 120px 0;
}

.l_container,
.l_container-sm,
.l_container-lg {
  padding: 0 16px;
  margin: 0 auto;
}

.l_container-sm {
  max-width: calc(700px + 32px);
}
.l_container {
  max-width: calc(900px + 32px);
}
.l_container-lg {
  max-width: calc(1088px + 32px);
}

.l_header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--color-bg);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media screen and (min-width: 1080px) {
  .l_header {
    padding: 16px 60px;
  }
}

.l_header-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

@media screen and (min-width: 1080px) {
  .l_header-logo {
    font-size: 26px;
  }
}

.l_header-hamburger {
  width: 24px;
  height: 16px;
  position: relative;
  z-index: 500;
}

@media screen and (min-width: 1080px) {
  .l_header-hamburger {
    display: none;
  }
}

.l_header-hamburger_bar {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transition: var(--transition);
  left: 50%;
}

.l_header-hamburger_bar:first-child {
  top: 0;
  transform: translate(-50%, 0);
}

.l_header-hamburger_bar:nth-child(2) {
  top: 50%;
  transform: translate(-50%, -50%);
}

.l_header-hamburger_bar:last-child {
  top: 100%;
  transform: translate(-50%, -100%);
}

.l_header-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 100;
}

@media screen and (min-width: 1080px) {
  .l_header-nav {
    position: static;
    background: transparent;
    width: auto;
    height: auto;
    opacity: 1;
    pointer-events: inherit;
  }
}
.l_header-nav_list {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .l_header-nav_list {
    display: flex;
    gap: 32px;
    position: static;
    transform: none;
  }
}
.l_header-nav_item:not(:first-child) {
  margin-top: 40px;
}

@media screen and (min-width: 1080px) {
  .l_header-nav_item:not(:first-child) {
    margin-top: 0;
  }
}

@media screen and (min-width: 1080px) {
  .l_header-nav_item a {
    font-size: 13px;
    font-weight: var(--fw-medium);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text);
    transition: color var(--transition);
  }

  .l_header-nav_item a:hover {
    color: var(--color-accent);
  }
}

.l_section--blue {
  background-color: var(--color-bg-blue);
}

/* module */

.m_section-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 10vw, 60px);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  color: var(--color-accent);
}

@media screen and (min-width: 1080px) {
  .m_section-heading {
    font-size: clamp(50px, 6vw, 80px);
    margin-bottom: 48px;
  }
}

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

.m_breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  padding-right: 16px;
}

.m_breadcrumb__item::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--color-accent);
  border-right: 1px solid var(--color-accent);
  top: 50%;
  right: -10%;
  transform: rotate(45deg) translateY(-50%);
}
.m_breadcrumb__item:last-child::before {
  content: none;
}

.m_breadcrumb__link {
  font-size: 14px;
}

.m_breadcrumb__current {
  font-size: 14px;
  color: var(--color-accent);
}

.m_btn-wrapper {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

/* main */

.top_kv {
  padding: 100px 20px 60px;
  background-color: var(--color-bg);
  position: relative;
  overflow: hidden;
}

@media screen and (min-width: 1080px) {
  .top_kv {
    padding: 100px 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
}

.top_kv::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(90, 154, 181, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 154, 181, 0.12) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 1;
  mask-image: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    black 0%,
    transparent 100%
  );
}

@media screen and (min-width: 1080px) {
  .top_kv-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ===== KVコードアニメーション ===== */

.code-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.code-tag {
  position: absolute;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: rgba(115, 155, 187, 0.5);
  white-space: nowrap;
  animation: floatTag linear infinite;
  opacity: 0;
}
@keyframes floatTag {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0);
  }
  5% {
    opacity: 1;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(-120vh) translateX(20px);
  }
}

/* ===== 背景水色オーブ ===== */
.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 225, 234, 0.55) 0%,
    transparent 70%
  );
  left: 55%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.top_kv-title {
  font-size: 50px;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--color-text);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media screen and (min-width: 768px) {
  .top_kv-title {
    font-size: 120px;
  }
}

/* ===== KVアニメーション ===== */
.top_kv-title-line {
  display: block;
  opacity: 0;
  /* animationはis-ready付与後に開始 */
}

.top_kv-title-line.is-ready {
  animation: fadeUp 0.8s forwards;
}

.top_kv-title-line.is-ready:nth-child(1) {
  animation-delay: 0s;
}
.top_kv-title-line.is-ready:nth-child(2) {
  animation-delay: 0.25s;
}
.top_kv-title-line.is-ready:nth-child(3) {
  animation-delay: 0.5s;
}

.top_kv-title--outline {
  -webkit-text-stroke: 2px var(--color-accent);
  color: transparent;
}

.top_kv-title--accent {
  color: var(--color-accent);
}

.top_kv-lead {
  margin-top: 20px;
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.8;
  opacity: 0;
}

@media screen and (min-width: 1080px) {
  .top_kv-lead {
    font-size: 15px;
    max-width: 400px;
    margin-top: 28px;
  }
}

.top_kv-lead.is-ready {
  animation: fadeUp 0.8s 0.75s forwards;
}

.top_kv-btns {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
  opacity: 0;
}

@media screen and (min-width: 1080px) {
  .top_kv-btns {
    margin-top: 36px;
    gap: 24px;
  }
}

.top_kv-btns.is-ready {
  animation: fadeUp 0.8s 1s forwards;
}

.m_container_01 {
  padding: 0;
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
@media screen and (min-width: 1080px) {
  .m_container_01 {
    margin-top: 360px;
    height: 300px;
  }
}

.m_container_01 a:hover {
  opacity: 0.7;
}

.m_scroll-down_01 {
  position: relative;
  width: 160px;
  height: 144px;
  color: var(--color-accent);
  font-family: serif;
  text-decoration: none;
}
@media screen and (min-width: 768px) {
  .m_scroll-down_01 {
    width: 250px;
    height: 200px;
  }
}

.m_circle-text_01 {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotate 20s linear infinite;
}

.m_circle-text_01 span {
  position: absolute;
  left: 50%;
  font-size: 12px;
  transform-origin: 0 72px;
  transform: translate(-50%, -50%);
}
@media screen and (min-width: 768px) {
  .m_circle-text_01 span {
    transform-origin: 0 100px;
    font-size: 16px;
  }
}

.m_arrow_01 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 40px;
  transform: translate(-50%, -50%);
  animation: scroll_01 3s infinite;
}
@media screen and (min-width: 768px) {
  .m_arrow_01 {
    height: 50px;
  }
}

.m_arrow_01::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 1px;
  background-color: var(--color-accent);
  transform: translateX(-50%);
}
.m_arrow_01::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-bottom: 1px solid var(--color-accent);
  transform: translateX(-50%) rotate(-45deg);
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes scroll_01 {
  0% {
    transform: translate(-50%, -50%) translateY(-10px);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) translateY(10px);
    opacity: 0;
  }
}

.top_btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  padding: 16px 24px;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: var(--fw-medium);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity var(--transition);
  border: none;
}

@media screen and (min-width: 1080px) {
  .top_btn {
    font-size: 14px;
  }
}

/* テキストを前面へ */
.top_btn span {
  position: relative;
  z-index: 2;
}

/* 背景アニメーション */
.top_btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
}

/* hover時 */
.top_btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.top_btn--primary {
  background-color: var(--color-accent-btn);
  color: var(--color-bg);
  border: 1.5px solid var(--color-accent-btn);
}
.top_btn--primary::before {
  background-color: var(--color-bg);
}
.top_btn--primary:hover {
  color: var(--color-accent-btn);
  border-color: var(--color-accent-btn);
}

.top_btn--outline {
  background-color: var(--color-bg);
  border: 1.5px solid var(--color-accent-btn);
  color: var(--color-accent-btn);
}

.top_btn--outline::before {
  background-color: var(--color-accent-btn);
}

.top_btn--outline:hover {
  color: var(--color-bg);
}

.top_works-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

@media screen and (min-width: 768px) {
  .top_works-list {
    flex-direction: row;
    gap: 24px;
    flex-wrap: wrap;
  }
}

.top_works-item {
  background-color: var(--color-bg-blue);
  border-radius: var(--radius-md);
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .top_works-item {
    width: calc((100% - 24px * 2) / 3);
  }
}

.top_works-item-img-placeholder {
  overflow: hidden;
}

.m_post_thumb {
  transition: transform 0.6s ease;
}

.top_works-item_link:hover .m_post_thumb,
.single_thum-img_wrapper:hover .m_post_thumb  {
  transform: scale(1.1);
}

.top_works-item-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background-color: #dde8ef;
}

.top_works-item-img-placeholder {
  width: 100%;
}

.top_works-item-body {
  padding: 16px;
}

.m_works-item-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.m_works-item-tag {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: var(--radius-md);
  font-weight: var(--fw-medium);
}

.m_works-item-tag--coding {
  background-color: var(--color-accent);
  color: #fff;
}

.m_works-item-tag--wp {
  background-color: #6c9e5a;
  color: #fff;
}

.m_works-item-tag--design {
  background-color: #b57a4a;
  color: #fff;
}

.top_works-item-title {
  font-size: 14px;
  font-weight: var(--fw-bold);
  margin-bottom: 6px;
}

.top_works-item-desc {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.top_skill-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}
@media screen and (min-width: 1080px) {
  .top_skill-list {
    gap: 32px;
  }
}

.top_skill-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media screen and (min-width: 768px) {
  .top_skill-item {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
}


/* SKILL：画像とテキストを横並びにする */
@media screen and (min-width: 768px) {
  .top_skill-item-inner {
    display: flex;
    align-items: center;
    gap: 48px;
  }
}

/* SKILL：偶数番目は左右反転 */
@media screen and (min-width: 1080px) {
  .top_skill-item:nth-child(even) .top_skill-item-inner {
    flex-direction: row-reverse;
  }
}


@media screen and (min-width: 1080px) {
  .top_skill-item:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.top_skill-item-img {
  border-radius: var(--radius-md);
}

/* placeholder */
.top_skill-item-img-placeholder {
  width: 100%;
  flex-shrink: 0;
  margin: 0 auto;
}

@media screen and (min-width: 500px) {
  .top_skill-item-img-placeholder,
  .top_skill-item-img {
    max-width: 320px;
    flex-shrink: 0;
  }
}

.top_skill-item-content {
  max-width: 450px;
  width: 100%;
}

@media screen and (min-width: 1080px) {
  .top_skill-item-content {
    flex: 1;
  }
}

.top_skill-item-title {
  font-size: 16px;
  font-weight: var(--fw-bold);
  margin-bottom: 6px;
}

@media screen and (min-width: 1080px) {
  .top_skill-item-title {
    font-size: 20px;
  }
}

.top_skill-item-desc {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.8;
}

@media screen and (min-width: 1080px) {
  .top_skill-item-desc {
    font-size: 14px;
  }
}

.top_profile {
  background-color: var(--color-bg);
}

.top_profile-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media screen and (min-width: 768px) {
  .top_profile-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
    margin: 0 auto;
  }
}

.top_profile-img {
  border-radius: var(--radius-md);
}

.top_profile-img-placeholder {
  width: 100%;
  max-width: 300px;

  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 1080px) {
  .top_profile-img-placeholder {
    max-width: 280px;
    flex-shrink: 0;
  }
}

@media screen and (min-width: 1080px) {
  .top_profile-body {
    flex: 1;
    padding-top: 8px;
  }
}

.top_profile-name {
  font-size: 18px;
  font-weight: var(--fw-bold);
  margin-bottom: 12px;
}

.top_profile-text {
  color: var(--color-text-light);
  line-height: 1.9;
}

.top_profile-text_br:not(:first-child) {
  margin-top: 16px;
}

.top_contact {
  background-color: var(--color-bg-blue);
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .top_contact-inner {
    max-width: 700px;
    margin: 0 auto;
  }
}

.top_contact-title_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top_contact-required {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}

.top_contact-lead {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 64px;
  text-align: left;
}

.top_contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.top_contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.top_contact-label {
  font-size: 12px;
  font-weight: var(--fw-medium);
  color: var(--color-text);
}

.top_contact-input,
.top_contact-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13px;
  background-color: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition);
  outline: none;
}

.top_contact-input:focus,
.top_contact-textarea:focus {
  border-color: var(--color-accent);
}

.top_contact-textarea {
  min-height: 140px;
  resize: vertical;
}

.top_contact-privacy_wrapper {
  display: flex;
  font-size: 12px;
  gap: 4px;
}

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


.top_contact-privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-light);
  cursor: pointer;
}

.top_contact-privacy_box {
  margin-top: 2px;
  accent-color: var(--color-accent);
  flex-shrink: 0;
  appearance: auto;
}

.top_contact-privacy_policy {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--color-accent);
}

.top_contact-submit {
  margin-top: 8px;
  align-self: center;
  padding: 12px 48px;
  background-color: var(--color-accent-btn);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: opacity var(--transition);
}

.top_contact-submit:hover {
  opacity: 0.8;
}

.l_footer {
  background-color: var(--color-accent);
  text-align: center;
  padding: 20px;
  font-size: 11px;
  color: var(--color-white);
}

.l_scroll-circle {
  position: absolute;
  right: 16px;
  bottom: 24px;
  width: 80px;
  height: 80px;
}

/* single */
.single_main {
  padding-top: 120px;
}
.single_main .l_contents {
  padding-top: 64px;
}

.single_title {
  font-size: 24px;
}
@media screen and (min-width: 1080px) {
  .single_title {
    font-size: 32px;
    font-weight: bold;
  }
}

.single_thum-img_wrapper {
  margin-top: 24px;
}

@media screen and (min-width: 1080px) {
  .single_thum-img_wrapper {
    margin-top: 40px;
  }
}

.single_thum-img {
  overflow: hidden;
  border-radius: var(--radius-md);
}


.single_thum-caption {
  margin-top: 8px;
}

.single_thum-caption_icon {
  width: 20px;
  vertical-align: text-bottom;
  margin-left: 8px;
}

.single_contents_title {
  border-top: 1px solid var(--color-accent);
  padding-top: 32px;
  margin-top: 32px;
  font-weight: bold;
}
@media screen and (min-width: 1080px) {
  .single_contents_title {
    font-size: 24px;
  }
}
.single_sub_contents_title {
  font-size: 14px;
  font-weight: bold;
  margin-top: 24px;
}
@media screen and (min-width: 1080px) {
  .single_sub_contents_title {
    font-size: 16px;
    margin-top: 32px;
  }
}
.single_sub_contents_title::before {
  color: var(--color-accent);
  font-size: 24px;
  padding-right: 8px;
}

.single_sub-dec_wrapper:first-child .single_sub_contents_title:first-child {
  margin-top: 4px;
}

.single_sub-dec_wrapper:first-child .single_sub_contents_title::before {
  content: "01";
}

.single_sub-dec_wrapper:nth-child(2) .single_sub_contents_title::before {
  content: "02";
}
.single_sub-dec_wrapper:last-child .single_sub_contents_title::before {
  content: "03";
}

.single_contents_title-dec {
  margin-top: 4px;
}

/* ---------- js ---------- */
.js_body.is-active {
  overflow: hidden;
}

.js_navigation {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

@media screen and (min-width: 1080px) {
  .js_navigation {
    pointer-events: auto;
    opacity: 1;
  }
}

.js_navigation.is-active {
  opacity: 1;
  pointer-events: inherit;
}

.js_hamburger.is-active .l_header-hamburger_bar:first-child {
  top: 50%;
  transform: translate(-50%, 0) rotate(45deg);
}

.js_hamburger.is-active .l_header-hamburger_bar:nth-child(2) {
  opacity: 0;
}

.js_hamburger.is-active .l_header-hamburger_bar:last-child {
  top: 50%;
  transform: translate(-50%, 0) rotate(-45deg);
}

/*===== プラポリモーダル =====*/

/* モーダルと背景 */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100dvh;
  padding: 40px 20px;
  box-sizing: border-box;

  background: rgba(0, 0, 0, .5);

  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity .3s ease, visibility .3s ease;
}

/* モーダルの擬似要素の指定 */
.modal:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  margin-left: -0.2em;
}

/* モーダル表示時 */
.modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* モーダルの外枠 */
.modal-container {
  position: relative;

  display: flex;
  flex-direction: column;

  width: 90%;
  max-width: 600px;
  max-height: 80dvh;
  min-height: 0;
}

/* モーダルを閉じるボタンの指定 */
.modal-close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  color: #fff;
  background: #000;
  border-radius: 50%;
  cursor: pointer;
}

/* モーダルの中身 */
.modal-content {
  background: #fff;
  text-align: left;
  line-height: 1.8;
  padding: 20px;
  border-radius: var(--radius-md);

  min-height: 0;
  overflow-y: auto;
}

/* モーダルのコンテンツ部分のテキストの指定 */
.modal-content p:nth-child(2) {
  margin-top: 40px;
}
.modal-content p {
  margin: 16px 0;
}
.modal-title {
  font-weight: bold;
}


.js-real-submit {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}



/* 確認モーダル全体 */
.contact-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;

  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(0, 0, 0, .5);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .35s ease,
    visibility .35s ease;
}

/* モーダル表示時 */
.contact-confirm-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* モーダルの中身 */
.contact-confirm-modal__inner {
  position: relative;
  width: min(90%, 700px);
  padding: 40px;
  margin: 0 auto;

  background: var(--color-bg);
  border-radius: var(--radius-md);
}


.js-confirm-section_title{
  font-weight: bold;
  font-size: 16px;
}

.js-confirm-dl{
  margin-top: 24px;
}

.js-confirm-close_button{
  position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    color: #fff;
    background: var(--color-accent);
    border-radius: 50%;
}

.js-confirm-title{
  font-weight: bold;
}
.js-confirm-title:not(:first-child){
margin-top: 16px;
}

.js-confirm-button_wrapper{
  margin-top: 24px;
  display: flex;
  gap: 16px;
}

.top_contact-thanks {
  text-align: center;
padding: 60px 0;
}

.top_contact-thanks_title {
  font-size: 3rem;
  margin-bottom: 24px;
  font-family: var(--font-display);
  color: var(--color-accent);
}

.top_contact-thanks_text {
  line-height: 2;
}

.top_contact-thanks {
  display: none;
  text-align: center;
}

.top_contact-inner.is-sent .top_contact-normal {
  display: none;
}

.top_contact-inner.is-sent .top_contact-thanks {
  display: block;
}

/* Imported: vertical navigation text hover (desktop only) */
@media screen and (min-width: 1080px) and (prefers-reduced-motion: no-preference) {
  .l_header-nav_item a {
    display: inline-block;
    overflow: hidden;
    color: transparent;
    text-shadow: 0 -1.5em 0 var(--color-text), 0 0 0 var(--color-text);
    transition: text-shadow .3s;
    line-height: 1.5;
  }
  .l_header-nav_item a:hover,
  .l_header-nav_item a:focus-visible {
    color: transparent;
    text-shadow: 0 0 0 var(--color-text), 0 1.5em 0 var(--color-text);
    text-decoration: none;
  }
}

/* Imported: Skill line reveal, adapted to portfolio markup */
#skill .top_skill-item { position: relative; }
#skill .top_skill_line {
  display: block;
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform-origin: left center;
}
@media (prefers-reduced-motion: reduce) {
  #skill .top_skill_line { transform: none !important; }
}

/* Header: translucent only after the page starts scrolling. */
.l_header {
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.l_header.is-scrolled {
  background-color: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, .045);
}
@media (prefers-reduced-motion: reduce) {
  .l_header { transition: none; }
}
