/* ============================= */
/*        ベースリセット         */
/* ============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 18px;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================= */
/*          ヘッダー            */
/* ============================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 15px 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}
.logo {
  font-family: 'Oswald', 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo img {
  max-width: 160px;
  height: auto;
  display: block;
}


/* ================================= */
/* Gundam 公式風 ハンバーガーアイコン */
/* ================================= */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #333;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1),
.hamburger.open span:nth-child(3) {
  background-color: #333;
}
.hamburger.open span:nth-child(1) {
  opacity: 0;
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  opacity: 0;
}

/* ================================= */
/* Gundam 公式風 フルスクリーンメニュー */
/* ================================= */
.fullmenu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  color: #fff;
  display: none;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  z-index: 1000;
  overflow-y: auto;
}
.fullmenu.open {
  display: flex;
}
.fullmenu ul {
  list-style: none;
  text-align: center;
  margin-top: 40px;
  padding: 0;
}
.fullmenu ul li {
  margin: 20px 0;
}
.fullmenu ul li a {
  font-family: 'Oswald', 'Noto Sans JP', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}
.fullmenu ul li a:hover {
  color: #FF5722;
}
.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.5rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  transition: color 0.2s ease;
}
.menu-close:hover {
  color: #FF5722;
}
@media (max-width: 768px) {
  .fullmenu ul li a {
    font-size: 1.75rem;
  }
}

/* ============================= */
/*         セクション共通         */
/* ============================= */
.section {
  padding: 100px 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.section h2 {
  font-family: 'Oswald', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem,5vw,4rem);
  color: #FF5722;
  text-align: center;
  margin-bottom: 1rem;
}
.fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================= */
/*           Hero               */
/* ============================= */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg,#111,#444);
  color: #fff;
}
#particleCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}
.hero-text h1 {
  font-family: 'Oswald', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem,6vw,4rem);
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 0.5rem;
}
.hero-text p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem,3vw,1.5rem);
  line-height: 1.6;
}

/* ============================= */
/*      Breadcrumb（パンくず）    */
/* ============================= */
.breadcrumb {
  margin-top: 80px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}
.breadcrumb li {
  margin-right: 0.5rem;
}
.breadcrumb a {
  text-decoration: none;
  color: #666;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* ============================= */
/*         Concept             */
/* ============================= */
.concept-main {
  font-family: 'Oswald', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem,4.5vw,5rem);
  text-align: center;
  margin-bottom: 1rem;
}
.concept-text p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

/* ============================= */
/*        Services             */
/* ============================= */


.section {
  padding: 100px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.section h2 {
  font-family: 'Oswald', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 4rem);
  color: #FF5722;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #FF5722;
  margin: 0.5rem auto 0;
  transform: skewX(13deg);
}

.fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

.service-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 6rem;
}

.service-row.alt {
  flex-direction: row-reverse;
}

.service-image {
  flex: 7;
}

.service-text {
  flex: 5;
}

.service-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.service-image img.na13 {
  clip-path: polygon(0 13%, 100% 0, 100% 85%, 0% 100%);
}



.service-text h3 {
  font-family: 'Oswald', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.service-text ul {
  list-style: none;
  padding-left: 1rem;
}

.service-text ul li {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

/* PCでは中央揃え */
.service-text,.service-image{
  text-align: center;
}

/* スマホでは左揃え */
@media (max-width: 768px) {
  .service-row,
  .service-row.alt {
    flex-direction: column;
  }

}

/* ============================= */
/*   Combined Works + Persona    */
/* ============================= */
.persona-work {
  margin-bottom: 3rem;
}
.persona-header {
  position: relative;
  background: #fff8dc; /* 柔らかいアイボリー調 */
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-bottom: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
}

.persona-header::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border: 15px solid transparent;
  border-top-color: #fff8dc;
}

.persona-header h3 {
  font-family: 'Oswald', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.persona-header p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.6;
}




/* 動画カード２列レイアウト */
.persona-videos {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(400px,1fr));
  gap: 20px;
}

@media (max-width: 600px) {
  .persona-videos {
    grid-template-columns: 1fr; /* 1列にする */
  }
}
.work-card {
  position: relative;
  padding-bottom: 56.25%; /* 16:9比率 = 9 / 16 * 100 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.work-card iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.work-card h4 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-top: 0.5rem;
}




/* ============================= */
/*        Testimonials          */
/* ============================= */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 20px;
}
.testimonial {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}
.testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 0.5rem;
  object-fit: cover;
}
.testimonial p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.testimonial span {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #777;
}

/* ============================= */
/*         company              */
/* ============================= */

.company-info-flex {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
}
.company-info-flex .row {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.75rem;
}
.company-info-flex .label {
  flex: 0 0 140px;
  font-weight: 700;
  color: #444;
}
.company-info-flex .value {
  flex: 1;
  color: #333;
}
.company-info-flex a {
  color: #FF5722;
  text-decoration: none;
}
.company-info-flex a:hover {
  text-decoration: underline;
}

.company-photo {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 2rem;
}
.company-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* スマホ対応 */
@media (max-width: 600px) {
  .company-info-flex .row {
    flex-direction: column;
  }
  .company-info-flex .label {
    flex: 1 1 auto;
    margin-bottom: 0.25rem;
  }
}


/* ============================= */
/*          Access              */
/* ============================= */
.map iframe {
  width: 100%;
  height: 350px;
  margin-top: 10px;
}
address {
  font-style: normal;
  text-align: center;
  margin-bottom: 1rem;
}
address p {
  margin-bottom: 0.5rem;
}

/* ============================= */
/*       Contact Form           */
/* ============================= */
#contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#contact-form label {
  display: flex;
  flex-direction: column;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 1rem;
}
#contact-form input,
#contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
}
#contact-form button {
  width: 200px;
  align-self: center;
  background: #FF5722;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Oswald', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
#contact-form button:hover {
  opacity: 0.9;
}

/* ============================= */
/*          Footer              */
/* ============================= */
.footer {
  text-align: center;
  padding: 20px;
  background: #fff;
  box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
  margin-top: 2rem;
}
.sns a {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: #555;
  text-decoration: none;
  margin: 0 5px;
}
.sns a:hover {
  text-decoration: underline;
}