/*
Theme Name: mocimo
Theme URI: https://mocimo.jp
Author: mocimo
Description: mocimo original theme
Version: 1.0
*/
/* 共通 */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #333;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* header */
header{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 100;
}

.header-inner{
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 20px 40px;
}

.header-nav ul{
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav a{
  text-decoration: none;
  color: #888888;
  font-size: 16px;
  font-weight: bold;
  transition: color 0.2s;
}

.header-nav a:hover{
  color: #ff3399;
}

.hamburger{
  display: none;
  position: absolute;
  top: 24px;
  right: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  z-index: 200;
}

.hamburger span{
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #888;
  border-radius: 2px;
}

.hamburger span:nth-child(1){ top: 14px; }
.hamburger span:nth-child(2){ top: 21px; }
.hamburger span:nth-child(3){ top: 28px; }

@media (max-width: 600px){
  .header-inner{
    padding: 10px 12px;
    justify-content: flex-end;
  }

  .header-nav{
    display: none;
  }

  .hamburger{
    display: inline-block;
  }

  .header-nav.is-open{
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.96);
    z-index: 150;
  }

  .header-nav.is-open ul{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 24px;
  }

  .header-nav.is-open a{
    font-size: 20px;
  }
}

/* fv */
.fv {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.fv-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 600px) {
  header {
    position: relative;
    background: #fff;
  }

  .header-inner {
    justify-content: center;
    padding: 10px 0;
  }

  .header-nav ul {
    gap: 20px;
    padding: 0;
    margin: 0 auto;
  }

  .header-nav a {
    font-size: 16px;
    color: #888888;
  }

  .fv {
    margin-top: 10px;
  }
}

/* intro */
.intro {
  padding: 40px 0 40px;
  text-align: center;
}

.intro-lead {
  font-size: 32px;
  line-height: 1.4;
  margin-bottom: 20px;
  font-weight: 700;
}

.intro-text {
  font-size: 18px;
  line-height: 1.9;
  max-width: 860px;
  margin: 0 auto;
  color: #444;
}
/* news */
.news {
  padding: 20px;
  max-width: 900px;
  margin: 60px auto 0;
  color: #333;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .news {
    width: 90%;
    margin: 40px auto 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
  }
}

.news-inner {
  margin: 0 auto;
  text-align: left;
  max-width: 900px;
}

.news h2 {
  display: inline-block;
  position: relative;
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: bold;
  margin-top: 16px;
  margin-bottom: 20px;
  line-height: 1;
  text-align: left;
}

.news h2::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    #0071bc,
    #ffffff,
    #0071bc
  );
  background-size: 200% auto;
  animation: news-glow 3s linear infinite;
  border-radius: 2px;
}

@keyframes news-glow {
  0% {
    background-position: 200% 0%;
  }
  100% {
    background-position: -200% 0%;
  }
}

.news-item {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  margin-top: 16px;
  padding-bottom: 16px;
}

.news-item .date {
  white-space: nowrap;
  font-weight: bold;
}

/* about */
.about {
  background-color: #ffffff;
  color: #333;
  padding: 90px 0px;
}

.about h2 {
  font-size: 40px;
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
  padding-bottom: 5px;
}

.about h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    #d633ff,
    #ffffff,
    #d633ff
  );
  background-size: 200% auto;
  animation: about-glow 3s linear infinite;
  border-radius: 2px;
}

@keyframes about-glow {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* about text */
.about-text {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: center;
}

.about-text p {
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 24px;
  color: #444;
}

/* service */
.service {
  background-color: #ffffff;
  color: #333;
  padding: 90px 0px;
  text-align: center;
}

.service h2 {
  font-size: 40px;
  margin-bottom: 40px;
  position: relative;
  text-align: center;
}

.service h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 5px;
  width: 100%;
  background: linear-gradient(
    90deg,
    #ff3399 0%,
    #ffffff 50%,
    #ff3399 100%
  );
  background-size: 200% 100%;
  animation: shine-line 3s linear infinite;
}

@keyframes shine-line {
  0% {
    background-position: 200% 0%;
  }
  100% {
    background-position: -200% 0%;
  }
}

.service-list {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.service-item {
  flex: 1;
  min-width: 260px;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 32px 24px;
  box-sizing: border-box;
  background-color: #fff;
    
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
    
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #cba6f7, #f5a9c4, #f9e29f);
}

.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.service-item h3 {
  font-size: 20px;
  margin-bottom: 16px;
  transition: color 0.25s ease;
}

.service-item:hover h3 {
  color: #ff3399;
}

.service-item p {
  font-size: 15px;
  line-height: 1.75;
}

.service-item p + p {
  margin-top: 0.6em;
}


@media (max-width: 600px) {
  .service-list {
    gap: 24px;
  }

  .service-item {
    padding: 24px 20px;
  }
}

/* reason */
.reason {
  padding: 90px 0;
  text-align: center;
}

.reason .section-title::after {
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, #ff9900 0%, #ffffff 50%, #ff9900 100%);
  background-size: 200% 100%;
  animation: shine-line 3s linear infinite;
}

.reason-list {
  max-width: 760px;
  margin: 40px auto 0;
}

.reason-item {
  text-align: center;
  margin-bottom: 32px;
}

.reason-item::before {
  display: none;
}

.reason-item h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}

.reason-item h3::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #ff9900;
  border-radius: 50%;
  display: inline-block;
}

.reason-item p {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: #555;
}

/* works */
.works {
  padding: 90px 0;
  text-align: center;
}

.works .section-title::after {
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, #f6c90e 0%, #ffffff 50%, #f6c90e 100%);
  background-size: 200% 100%;
  animation: shine-line 3s linear infinite;
}

.works-list {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 0;
  list-style: none;
}

.works-list li {
  margin-bottom: 16px;
  line-height: 1.7;
  text-align: center;
  font-size: 18px;
}

.works-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 50%;
  background: #f6c90e;
}



/* FLOW */
.flow {
  padding: 90px 0;
  text-align: center;
}

.flow .section-title::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 5px;
  width: 100%;

  background: linear-gradient(90deg, #6fdc8c 0%, #ffffff 50%, #6fdc8c 100%);
  background-size: 200% 100%;
  animation: shine-line 3s linear infinite;
  border-radius: 2px;
}

.flow-list{
  list-style: none;
  padding-left: 0;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 220px);
  justify-content: center;
  gap: 28px;
}

.flow-list--second{
  margin-top: 28px;
  grid-template-columns: repeat(3, 220px);
  justify-content: center;
}

.flow-item{
  width: 190px;
  height: 190px;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(111,220,140,0.35);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  backdrop-filter: blur(6px);

  padding: 26px 22px;
  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.flow-step{
  font-size: 20px;
  color: #6fdc8c;
  letter-spacing: 0.06em;
}

.flow-item h3{
  margin: 0;
  font-size: 18px;
}

.flow-item p{
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.flow-item{
  animation: float 4.5s ease-in-out infinite;
}

.flow-item .flow-body{
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}

.flow-item:hover .flow-body{
  transform: scale(1.06);
}

.flow-item{
  transition: box-shadow .35s ease, border-color .35s ease;
}
.flow-item:hover{
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  border-color: rgba(111,220,140,0.6);
}

.flow-item:nth-child(2){ animation-delay: .4s; }
.flow-item:nth-child(3){ animation-delay: .8s; }
.flow-item:nth-child(4){ animation-delay: 1.2s; }
.flow-item:nth-child(5){ animation-delay: .6s; }
.flow-item:nth-child(6){ animation-delay: 1.0s; }
.flow-item:nth-child(7){ animation-delay: 1.4s; }


@media (max-width: 600px) {
  .flow-list,
  .flow-list--second {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .flow-item {
    width: 220px;
    height: 220px;
    padding: 18px 16px;
    margin: 0 auto;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  }

  .flow-step { font-size: 16px; }
  .flow-item h3 { font-size: 16px; }
  .flow-item p { font-size: 13px; }
}
/* CONTACT */
.contact {
  padding: 90px 0;
  text-align: center;
  background: #ffffff;
}

.contact .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 5px;
  width: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #8fd3f4 0%, #ffffff 50%, #8fd3f4 100%);
  background-size: 200% 100%;
  animation: shine-line 3s linear infinite;
}

.contact-text {
  font-size: 18px;
  line-height: 1.9;
  color: #444;
  max-width: 760px;
  margin: 40px auto 0;
}

.contact-button {
  margin-top: 40px;
}

.contact-form button[type="submit"]{
  display: inline-block;
  padding: 16px 36px;
  border-radius: 999px;
  border: none;
  cursor: pointer;

  background: linear-gradient(90deg, #b7e4c7 0%, #8fd3f4 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 600;

  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-form button[type="submit"]:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

/* COMPANY */
.company {
  padding: 90px 0;
  text-align: center;
}

.company .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 5px;
  width: 100%;

  background: linear-gradient(
    90deg,
    #1c7ed6 0%,
    #ffffff 50%,
    #1c7ed6 100%
  );
  background-size: 200% 100%;
  animation: shine-line 3s linear infinite;
  border-radius: 2px;
}

.company-list {
  max-width: 720px;
  margin: 40px auto 40px;
  text-align: left;
}

.company-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.company-row dt {
  font-weight: 600;
  color: #333;
}

.company-row dd {
  margin: 0;
  color: #555;
  line-height: 1.7;
}

.company-map {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}

.contact-form {
  max-width: 560px;
  margin: 40px auto 0;
}

.form-row {
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: 100%;
  padding: 16px;
  border-radius: 999px;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(
    90deg,
    #8fd3f4,
    #b7e4c7
  );
}

.contact-form button:hover {
  opacity: 0.9;
}

/* footer */
footer {
  background-color: #ffffff;
  padding: 40px 20px;
  color: #333;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin: 0 10px;
}

.footer-nav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title {
  font-size: 40px;
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
  padding-bottom: 5px;
  text-align: center;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 3px;
  width: 60%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    #d633ff,
    #ffffff,
    #d633ff
  );
  background-size: 200% auto;
  animation: about-glow 3s linear infinite;
  border-radius: 2px;
}

.about,
.history,
.access {
  text-align: center;
}

h2 {
  animation: fadeInUp 0.8s ease-out;
}

[data-aos] {
  opacity: 1;
  transition-property: opacity, transform;
  transition-duration: 0.8s;
}

[data-aos].aos-animate {
  opacity: 1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

/* CONTACTフォーム */

.wpcf7-form {
  max-width: 720px;
  margin: 60px auto 0;
}

.form-row {
  margin-bottom: 20px;
}

/* 入力欄 */
.wpcf7-form input,
.wpcf7-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  box-sizing: border-box;
}

.wpcf7-form textarea {
  height: 180px;
  resize: vertical;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #888;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #9cc3d5;
  background: #fff;
}

/* 送信ボタン */
.wpcf7-form input[type="submit"] {
  width: 100%;
  padding: 16px;
  border-radius: 999px;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(
    90deg,
    #b7e4c7,
    #8fd3f4
  );
}

.wpcf7-form input[type="submit"]:hover {
  opacity: 0.9;
}