@charset "UTF-8";
/* 初期状態（非表示） */
.reveal {
  opacity: 0;
  transition: opacity 3s ease-out;
  will-change: opacity;
}

/* 表示時に追加されるクラス */
.reveal.is-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    transition: none;
    opacity: 1;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  position: relative;
  font-family: "Noto Sans JP", sans-serif;
  color: #0B1D2A;
  background: #fff;
  line-height: 2;
}

main {
  min-height: calc(100vh - 150px);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
}
a:hover {
  opacity: 0.6;
}

@media (min-width: 768px) {
  #media .col-3, #works .col-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem; /* カラム間の余白 */
  }
}

.single .link-outside a::after, #media .col-3 .link-outside::after {
  content: "";
  display: inline-block;
  position: relative;
  top: 3px;
  width: 18px;
  height: 18px;
  background-image: url("/wp-content/themes/taggie/assets/svg/open_in_new.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

.single .post-category, .archive .post-list li .post-category, #tie-up .post-list li .post-category {
  display: inline-block;
  margin-right: 1rem;
  padding: 0 1rem;
  background-color: #BAF241;
  border-radius: 5px;
  font-weight: 600;
}

.single time, .archive .post-list li time, #tie-up .post-list li time {
  display: inline-block;
  margin-right: 1rem;
  font-weight: 600;
}

.archive .post-list, #tie-up .post-list {
  display: inline-block;
  padding: 25px;
  background: #fff;
  border-radius: 15px;
  list-style: none;
  text-align: left;
}
.archive .post-list li, #tie-up .post-list li {
  padding: 1rem;
  border-bottom: 2px dotted #999;
}
.archive .post-list li a, #tie-up .post-list li a {
  display: block;
}
@media (min-width: 768px) {
  .archive .post-list li a, #tie-up .post-list li a {
    display: inline-block;
  }
}

.archive .archive-title, .home h2 {
  margin-bottom: 3rem;
  color: #0B1D2A;
  font-family: "Lexend", "Noto Sans JP", sans-serif;
  font-size: 1.75rem;
  text-align: center;
}
@media (min-width: 768px) {
  .archive .archive-title, .home h2 {
    font-size: 2rem;
  }
}
.archive .archive-title::before, .home h2::before {
  content: "#";
  display: inline-block;
  padding-right: 0.5rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.home .site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 99;
}

.site-title {
  padding: 4% 0 1.5%;
}
@media (min-width: 768px) {
  .site-title {
    padding: 3% 0 1.5%;
  }
}
@media (min-width: 1280px) {
  .site-title {
    padding: 2% 0 1.5%;
  }
}
.site-title a {
  color: #0B1D2A;
  text-decoration: none;
  font-family: "Lexend", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

footer {
  padding: 25px 0 10px;
  background-color: #0B1D2A;
  color: #fff;
  font-size: 0.8rem;
}
footer .footer-info,
footer .footer-nav {
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 0.8rem;
  font-weight: 400;
}

.hero-section {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: linear-gradient(transparent 41px, #f1f1f1 41px) 0 0/100vw 42px repeat-y fixed, linear-gradient(to right, transparent 41px, #f1f1f1 41px) 100% 0/42px 100% repeat-x, #fff;
}
.hero-section > div {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.hero-section .txt-rotate {
  position: absolute;
  right: 4%;
  bottom: 1rem;
  height: 180px;
  color: white;
  text-shadow: -1px -1px 0 #BAF241, 1px -1px 0 #BAF241, -1px 1px 0 #BAF241, 1px 1px 0 #BAF241;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.75;
  text-align: right;
}
@media (min-width: 768px) {
  .hero-section .txt-rotate {
    height: 280px;
    font-size: 3.5rem;
    line-height: 1.5;
  }
}
.hero-section .txt-rotate > .wrap {
  border-right: 0.08em solid #BAF241;
  animation: blink-caret 0.7s step-end infinite;
  padding-right: 2px;
}
@keyframes blink-caret {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: #BAF241;
  }
}
.hero-section .hero-content {
  padding: 100px 4%;
  color: #1154D9;
  text-align: left;
  z-index: 1;
}
@media (min-width: 768px) {
  .hero-section .hero-content {
    padding: 100px 2%;
  }
}
.hero-section .hero-content .site-description {
  margin-bottom: 2rem;
  font-family: "Lexend", sans-serif;
  font-weight: 500;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .hero-section .hero-content .site-description {
    max-width: 750px;
    font-size: 4.5rem;
    letter-spacing: 0.05em;
  }
}
.hero-section .hero-content .catchphrase {
  font-size: 1.1rem;
  font-weight: 500;
}
@media (min-width: 768px) {
  .hero-section .hero-content .catchphrase {
    font-size: 1.5rem;
  }
}

.home section {
  padding: 70px 0 70px;
}

#works {
  background-color: #f0f0f1;
}
#works h3 {
  padding-bottom: 1rem;
  color: #1154D9;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
}
#works .col-3 div {
  padding: 25px;
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 15px;
}

#media {
  background: linear-gradient(transparent 31px, #f1f1f1 31px) 0 0/100vw 32px repeat-y fixed, linear-gradient(to right, transparent 31px, #f1f1f1 31px) 100% 0/32px 100% repeat-x, #fff;
}
#media .col-3 > div {
  padding: 7.5%;
  background-color: #f5f6f5;
}
#media .col-3 figure {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  padding: 25px;
  margin-bottom: 0.5rem;
  background: #fff;
}
#media .col-3 figure img {
  max-width: 150px;
  height: auto;
}
#media .col-3 .link-outside {
  display: inline-block;
  margin-bottom: 2rem;
  border-bottom: 2px dotted #999;
  font-size: 0.9rem;
}
#media .col-3 p {
  font-size: 0.9rem;
}

#tie-up {
  background-color: #f0f0f1;
  text-align: center;
}
#tie-up .container > div {
  display: inline-block;
  padding: 25px;
  background: #fff;
  border-radius: 15px;
}
@media (min-width: 768px) {
  #tie-up .container > div {
    min-width: 700px;
  }
}
#company {
  background: linear-gradient(transparent 31px, #f1f1f1 31px) 0 0/100vw 32px repeat-y fixed, linear-gradient(to right, transparent 31px, #f1f1f1 31px) 100% 0/32px 100% repeat-x, #fff;
  text-align: center;
}
#company table {
  display: inline-block;
  padding: 25px 25px 50px;
  background-color: #f0f0f1;
}
#company table td {
  padding-bottom: 1rem;
  border-bottom: 2px dotted #999;
  text-align: left;
  display: block;
}
@media (min-width: 768px) {
  #company table td {
    display: table-cell;
    padding: 1rem;
  }
}
#company table th {
  display: block;
  padding-top: 1rem;
  text-align: left;
}
@media (min-width: 768px) {
  #company table th {
    min-width: 150px;
    padding: 1rem;
    border-bottom: 2px dotted #999;
  }
}

#contact {
  background-color: #f0f0f1;
  text-align: center;
}
#contact form {
  display: inline-block;
  width: 650px;
  max-width: 100%;
  padding: 25px 25px 50px;
  background: #fff;
  border-radius: 15px;
  font-family: inherit;
  font-size: inherit;
  text-align: left;
}
@media (min-width: 768px) {
  #contact form label {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
#contact form label span:first-child {
  min-width: 150px;
  font-weight: bold;
}
#contact form p:not(.submit) {
  padding: 1rem;
  border-bottom: 2px dotted #999;
}
#contact form .wpcf7-form-control-wrap,
#contact form .wpcf7-spinner {
  display: contents;
}
#contact form input:not([type=submit]),
#contact form textarea {
  display: block;
  width: 100%;
  padding: 10px;
  background: #f0f0f1;
  border: 0;
}
@media (min-width: 768px) {
  #contact form input:not([type=submit]),
  #contact form textarea {
    width: calc(100% - 150px);
  }
}
#contact form .submit {
  text-align: center;
}
#contact form input[type=submit] {
  margin-top: 2rem;
  padding: 1rem 5rem;
  background: #1154D9;
  border: 0;
  border-radius: 30px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.3em;
}

.line-animation {
  position: relative;
  height: 200px;
  background-color: #f0f0f1;
}
.line-animation .svg-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: absolute;
  right: 0;
  top: -30px;
  width: 100%;
  padding-right: 10%;
  gap: 0px; /* 横の間隔 */
  overflow: hidden;
}
.line-animation svg {
  width: 150px;
  height: 150px;
  margin-right: -50px;
}
@media (min-width: 576px) {
  .line-animation svg {
    width: 200px;
    height: 200px;
  }
}
.line-animation svg path {
  stroke: #BAF241;
  stroke-width: 6; /* ← 細めに調整 */
  stroke-linecap: butt; /* スラッシュっぽい直線の切り口 */
  fill: none;
}

/* ページ読み込み時にふわっと表示 */
/* 初期状態（見えるまで隠す） */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  will-change: opacity, transform;
}

/* 可視化されたら適用されるクラス */
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* スタッガー（連続要素に遅延をつける） */
.reveal[data-delay="100"] {
  transition-delay: 0.1s;
}

.reveal[data-delay="200"] {
  transition-delay: 0.2s;
}

.reveal[data-delay="300"] {
  transition-delay: 0.3s;
}

.reveal[data-delay="400"] {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1024px) {
  .single .container {
    max-width: 700px;
  }
}
.single h2 {
  margin-bottom: 1rem;
  color: #0B1D2A;
  font-family: "Lexend", "Noto Sans JP", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
}
@media (min-width: 768px) {
  .single h2 {
    font-size: 1.75rem;
  }
}
.single .entry-meta {
  margin-bottom: 2rem;
  text-align: right;
}
.single .entry-content p {
  margin-bottom: 1rem;
}
.single .post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0 2rem;
}
.single .link-outside a {
  border-bottom: 2px dotted #999;
}

.archive main {
  padding: 70px 0 70px;
  background-color: #f0f0f1;
}
.archive main .container {
  text-align: center;
}