/* ========================================
  1. 基本設定（Reset & 共通）
======================================== */
html {
  scroll-behavior: smooth;
}

body {
	font-family: 'Noto Sans JP', sans-serif;
	margin: 0;
	padding: 0;
}

/*img {
	max-width: 100%;
	display: block;
}*/

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

/* ========================================
  2. アニメーション基本設定
======================================== */
.section-heading, .hero-content, .yellow-section, .service, .magazine, .contact {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

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

/* ========================================
  3. Header / Navigation
======================================== */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  color: white;
  z-index: 1000;
}

.logo {
	font-size: 24px;
	font-weight: bold;
	margin-left: 20px;
	width: 100%;
}

.menu-toggle {
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  margin-right: 30px;
}

.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgb(254 213 0 / 93%);
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
}

.nav-menu.active {
  transform: translateY(0);
}

.nav-menu ul {
  list-style: none;
  text-align: center;
  padding: 0;
}

.nav-menu li {
  margin: 20px 0;
}

.nav-menu a {
  color: #000;
  font-size: 24px;
  font-weight: bold;
}
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 100%;
  height: 4px;
  background-color: #000;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* アクティブ時の ☰ → × アニメーション */
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 998;
}

.nav-menu.active + .menu-overlay {
  opacity: 1;
  visibility: visible;
}


/* ========================================
  4. Hero Section
======================================== */
.hero-section {
  position: relative;
  background: url('https://unus-tokyo.jp/img/mv.jpg') no-repeat center center / cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  padding: 40px;
  position: relative;
}

.hero-content {
  max-width: 900px;
  margin: 26% 14%;
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 0.5em;
}

.hero-title {
  font-size: 64px;
  font-weight: bold;
  line-height: 1.2;
  margin: 0;
}

.hero-description {
  font-size: 20px;
  margin-top: 1em;
}

/* ========================================
  5. Yellow Section
======================================== */
.yellow-section {
  background-color: #FFD500;
  padding: 30px 5%;
  color: #000;
}

.yellow-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 0 auto;
}

.yellow-left,
.yellow-right {
  width: 45%;
}

.yellow-left {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.yellow-label {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

.yellow-heading {
  font-size: 30px;
  font-weight: bold;
  margin-top: 10px;
}

.yellow-divider {
  width: 2px;
  height: 250px;
  background-color: white;
}

.yellow-body {
  font-size: 18px;
  line-height: 1.8;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .yellow-container {
    flex-direction: column;
  }

  .yellow-left,
  .yellow-right {
    width: 100%;
  }

  .yellow-divider {
    display: none;
  }

  .yellow-left {
    margin-bottom: 20px;
    border-bottom: 1px solid #fff;
  }
}

/* === 以下続く（Service、Magazine、Contact、Footer、アニメーション） === */

/* ========================================
  6. Service Section
======================================== */
.service {
  border-top: 1px solid #ddd;
  padding: 80px 30px 20px;
}

.service-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  position: relative
}

.service-left {
  display: flex;
  flex-direction: row;
  flex: 1;
}

.vertical-label {
  writing-mode: vertical-rl;
  font-size: 12px;
  color: #888;
  margin-right: 20px;
  height: auto;
}

.service-menu {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
  justify-content: center;
}

.service-item {
  font-size: 30px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  position: relative;
  padding-top: 30px;
  padding-bottom: 20px;
  transition: color 0.3s ease;
}

.service-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #ccc;
  transition: background-color 0.3s ease;
}

.service-item:hover::after,
.service-item.active::after {
  background: #111;
}

.service-item:hover,
.service-item.active {
  color: #111;
}

.service-preview {
  right: 0;
  position: absolute;
  top: 0;
}

.service-preview img {
	border-radius: 12px;
    object-fit: cover;
    max-width: 100%;
    /* width: 300px; */
    height: 630px;
}

.service-text {
  font-size: 22px;
  line-height: 1.8;
  color: #333;
  margin-top: 180px;
  margin-bottom: 80px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
  7. Work Images / Instagram
======================================== */
.work-images {
  padding: 60px 0 0;
}

.work-images h2,
.instagram h2 {
  margin: 40px 30px 20px;
}

.image-slider {
  overflow-x: auto;
  scroll-behavior: smooth;
  display: flex;
  gap: 20px;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
}

.image-slider::-webkit-scrollbar {
  display: none;
}

.work-card {
  position: relative;
  flex-shrink: 0;
  margin-left: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

.work-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 10px;
  font-size: 14px;
  display: none;
}

.work-card:hover .work-caption {
  display: block;
}

/* Instagram セクション */
.instagram {
  background-color: #fff;
  margin-top: 6%;
  margin-bottom: 10%;
}

.insta-slider {
	display: flex;
	overflow-x: auto;
	scroll-behavior: smooth;
	gap: 12px;
	padding: 10px;
}
.image-slider.dragging {
	cursor: grabbing;
	user-select: none;
	scroll-behavior: auto; /* ドラッグ中に滑らかスクロールを解除 */
}
.insta-slider::-webkit-scrollbar {
	display: none;
}

.insta-slider img {
  flex-shrink: 0;
  margin-left: 20px;
  object-fit: cover;
  border-radius: 8px;
  position: relative;
  transition: filter 0.3s ease;
  width: 300px;
}

/* ホバー時の白い靄エフェクト */
.insta-slider img:hover {
  filter: brightness(1.1) contrast(0.9) grayscale(10%) blur(1px);
}

/* フォローボタン */
.insta-follow {
  text-align: center;
  margin-top: 20px;
}

.follow-button-wrap {
  text-align: center;
  margin-top: 24px;
}

.follow-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 63px;
  font-size: 16px;
  font-weight: bold;
  color: #6f6f6f;
  border: 1px solid #6f6f6f;
  background: transparent;
  border-radius: 10px;
  text-decoration: none;
  gap: 8px;
  transition: all 0.3s ease;
}

.follow-button i {
  font-size: 16px;
}

.follow-button:hover {
  background-color: rgba(111, 111, 111, 0.05);
}

/* ========================================
  8. Magazine Section
======================================== */
.magazine {
  background-color: #fff;
  border-top: 1px solid #ddd;
  padding: 80px 30px 20px;
}

.magazine-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 100px;
}

/* 左カラム */
.magazine-left img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.magazine-left .magazine-meta {
  margin-top: 12px;
}

/* 右カラム：2列グリッド */
.magazine-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* 各カード */
.mag-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  align-items: start;
}

.mag-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

/* メタ情報 */
.magazine-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.mag-tag {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 164px;
  height: 39px;
  background-color: #FFD500;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  color: #111;
}

.mag-date {
  font-size: 13px;
  color: #666;
  white-space: nowrap;
  margin: 0;
}

.mag-title {
  font-size: 18px;
  font-weight: bold;
  color: #111;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
}

/* ========================================
  9. Contact Section
======================================== */
.contact {
	padding: 60px 5%;
	margin-top: 60px;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

/* 見出し */
.section-heading {
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ボタン */
.contact-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 309px;
  height: 84px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  border: 1px solid #aaa;
  border-radius: 16px;
  text-decoration: none;
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.contact-button i {
  margin-right: 8px;
  font-size: 16px;
}

/* 光のラインアニメーション */
.contact-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg);
}

.contact-button:hover::before {
  animation: shine 0.8s ease-in-out;
}

@keyframes shine {
  0% { left: -75%; }
  100% { left: 125%; }
}

.contact-button:hover {
  background-color: #eee;
  border-color: #888;
}

/* お問い合わせボックス（追従表示） */
.contact-box {
  position: fixed;
  top: 100px;
  right: 20px;
  background: white;
  color: black;
  padding: 20px 16px;
  width: 280px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  z-index: 1001;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  opacity: 1;
  visibility: visible;
}

.contact-box.hidden {
  opacity: 0;
  visibility: hidden;
}

.contact-box a:hover {
  background-color: #e5c200;
}

.contact-title {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 4px;
  text-align: center;
}

.contact-sub {
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
  text-align: center;
}

.contact-tel {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 12px;
  margin-top: 0;
  text-align: center;
}

.contact-tel a:hover {
  background-color:#FFF;
}

.contact-link {
  display: block;
  background-color: #FFD500;
  padding: 12px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: #000;
  text-align: center;
}

.contact-icon {
  display: inline-block;
  margin-right: 6px;
  font-size: 16px;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  width: 240px;
  background-color: #555;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin: 10%;
}

.service-btn i {
  font-size: 14px;
}

.service-btn:hover {
  background-color: #444;
}

.contact-label {
  font-size: 16px;
  font-weight: bold;
}

.contact-form-link {
  font-size: 16px;
  font-weight: bold;
}

.contact-link:hover {
  background-color: #e5c200;
}
/* ========================================
  Faq Section
======================================== */
.faq-section {
  max-width: 960px;
  margin: 80px auto;
  padding: 0 20px;
}

.faq {
  margin-top: 40px;
}

.faq-item {
  border-bottom: 1px solid #ccc;
  padding: 16px 0;
}

.faq-question {
  width: 100%;
  text-align: left;
  font-size: 18px;
  font-weight: bold;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 0;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 10px;
  font-size: 24px;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.6s ease, padding 0.6s ease;
  padding: 0;
}

.faq-answer.open {
  padding: 10px 0;
}
/* ========================================
  confirmation area（お問い合わせ完了）
======================================== */
.confirmation {
  padding: 100px 20px;
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.confirmation-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  padding: 60px 40px;
}

.confirmation-title {
	font-size: 32px;
	font-weight: bold;
	color: #111;
	margin-bottom: 40px;
}

.confirmation-message {
  font-size: 16px;
  color: #333;
  line-height: 2;
  text-align: center;
}

.confirmation-message p {
	margin-bottom: 1.5em;
}

/* TOPへ戻るボタン */
.confirmation-message .contact-button {
  background-color: #000;
  color: #FFD500;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.confirmation-message .contact-button:hover {
  background-color: #333;
}

/* ========================================
  10. Footer Section
======================================== */
.footer-content {
  padding: 120px 5%;
  display: flex;
  justify-content: center;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 40px;
}

.footer-left {
  flex: 1;
  min-width: 300px;
}

.footer-menu {
  display: flex;
  gap: 20%;
  flex-wrap: wrap;
}

.menu-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-column p {
  margin: 0;
  font-size: 14px;
  color: #333;
}

.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-contact-top {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer-contact-bottom {
  text-align: center;
  font-size: 14px;
  color: #666;
}

footer.footer {
  background: #222;
  color: #fff;
  padding: 40px 5%;
  text-align: center;
}

footer.footer img {
  max-width: 368.68px;
  height: auto;
  margin: 0 auto;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 20px;
}

.footer-credit {
  font-size: 14px;
  color: #fff;
  margin: 0;
}

.produced-wrap {
  display: inline-flex;
  align-items: start;
  gap: 8px;
}

.produced-wrap img {
  height: 20px;
}

.copyright {
  font-size: 14px;
  color: #fff;
  margin: 0;
  margin-left: auto; /* 右寄せ */
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .copyright {
    margin-left: 0;
  }
}


/* ========================================
  Cookie バナー
======================================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 464px;
  height: 140px;
  background-color: rgba(0, 0, 0, 1);
  color: white;
  padding: 16px;
  font-size: 13px;
  border-radius: 8px;
  z-index: 8888;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.cookie-banner a {
  color: #FFD500;
  text-decoration: underline;
}

.close-btn {
  position: absolute;
  top: 6px;
  right: 10px;
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

/* ========================================
  11. ナビゲーション矢印付きスライダー
======================================== */
.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.slider-arrow {
  background: rgba(0, 0, 0, 0.2);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 10%;
  transition: background 0.3s;
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.slider-arrow.left {
  margin-right: 10px;
}

.slider-arrow.right {
  margin-left: 10px;
}

#workPrev, #instaPrev {
  position: absolute;
  left: 12px;
}

#workNext, #instaNext {
  position: absolute;
  right: 12px;
}

/* ========================================
  service area
======================================== */
.service-hero {
  text-align: center;
  padding: 160px 20px;
}

.service-hero h1 {
  font-size: 56px;
  line-height: 1.6;
}


.service-intro {
  padding: 40px 20px;
  text-align: center;
}
.service-intro p {
  line-height: 2.2;
}

.service-section {
  padding: 40px 20px;
}

.service-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
}

.service-description {
  flex: 1;
  padding: 20px;
  min-width: 280px;
  font-size: 18px;
}
.service-description p {
  line-height: 2.2;
}
.service-image {
  flex: 1;
  padding: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.service-image img,
.service-image iframe {
  max-width: 100%;
  border-radius: 8px;
  height: auto;
}
/* ========================================
  about area
======================================== */
.about-hero {
  text-align: center;
  padding: 160px 20px;
}
.about-hero-title {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  margin-top: 80px;
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
}
.about-intro {
  padding: 40px 20px;
  text-align: center;
}
.about-intro p {
  line-height: 2.2;
}
.about-hero h1 {
  font-size: 56px;
  line-height: 1.4;
}

.about-section {
  padding: 60px 5%;
}

.about-block {
  display: flex;
  flex-wrap: wrap;
  margin: 10% 10%;
}

.about-label {
  width: 20%;
  font-weight: bold;
  font-size: 16px;
}

.about-text {
  width: 80%;
  font-size: 15px;
  line-height: 1.8;
}
.about-text p {
  line-height: 2.2;
}

.service-columns {
  display: flex;
  gap: 39px;
  flex-wrap: wrap;
}

.about-service-item {
  font-size: 18px;
  width: 48%;
  max-width: 480px;
  margin-bottom: 30px;
}

.about-service-item h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.about-service-item p {
  margin-bottom: 12px;
}

.about-service-item .service-btn {
    display: inline-block;
    width: 200px;
    height: 28px;
    font-size: 16px;
    font-weight: bold;
    line-height: 28px;
    text-align: center;
    border: 1px solid #000;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s;
}

.about-service-item .service-btn:hover {
  background-color: #000;
  color: #fff;
}

/* ========================================
  career area
======================================== */
.career-hero {
  text-align: center;
  padding: 160px 20px;
}

.career-hero h1 {
  font-size: 56px;
  line-height: 1.6;
}

.career-hero-title {
  font-size: 28px;
  line-height: 1.6;
  color: #111;
  transition: opacity 0.8s ease-in-out;
}

.career-section {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 20px;
  font-size: 16px;
  line-height: 2.2;
  color: #333;
}

.career-section p {
  margin-bottom: 1.5em;
}
.career-description {
  margin-top: 80px;
  margin-bottom: 100px;
}
/* ========================================
  contact area
======================================== */
.contact-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60vh;
  text-align: center;
  padding: 20px;
  line-height: 2.2;
}
.contact-section-inner {
  display: flex;
  justify-content: center;
  align-items: start;
  padding: 20px;
  line-height: 2.2;	
}
.contact-intro {
  max-width: 960px;
  margin: 0 auto;
  padding: 2em 1em;
  font-size: 18px;
  line-height: 2;
}

.contact-services,
.contact-form {
  flex: 1;
  min-width: 280px;
  padding: 6% 0 0 3%;
}

/* サービスボックス */
.contact-service-item {
  margin-bottom: 2em;
}
.contact-service-item h4 {
  font-size: 20px;
  margin-bottom: 0.5em;
}
.contact-service-item p {
  font-size: 18px;
  line-height: 1.8;
}
.contact-service-item a {
  display: inline-block;
  width: 266px;
  height: 56px;
  line-height: 56px;
  background-color: #555;
  color: #fff;
  border-radius: 28px;
  text-align: center;
  margin-top: 1em;
  text-decoration: none;
}

/* フォーム部品 */
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
  padding: 0.8em;
  margin-bottom: 1.5em;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.contact-form input[type="submit"],.wpcf7-previous{
	width: 200px;
    height: 56px;
    background-color: #555;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 28px;
    cursor: pointer;
}
.input-group {
  width: 100%;
  box-sizing: border-box;
}
textarea {
  width: 100%;
  box-sizing: border-box;
  height: 200px;
}
.contact-form label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: bold;
  font-size: 22px;
}

/* ボタン */
.contact-form button {
  width: 200px;
  height: 56px;
  background-color: #555;
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 28px;
  cursor: pointer;
}

.contact-section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 40px 2%;
  box-sizing: border-box;
  position: relative;
  margin-bottom: 120px;
}
.contact-section-confirmation {
	flex-wrap: wrap;
    width: 100%;
    padding: 40px 2%;
    box-sizing: border-box;
    position: relative;
    margin-bottom: 120px;
}
.contact-hero-title {
  width: 100%;
  font-size: 60px;
  font-weight: 500;
  margin-bottom: 40px;
  text-align: left;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}
.contact-left {
    width: 30%;
    padding: 6% 4%;
}
.label-group {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.form-group .company,.form-group .name,.form-group .tel,.form-group .mail,.form-group .what,.form-group .inquiry{
  margin-top: 30px;
}
.form-group .agree {
  margin-top: 30px;
  margin-bottom:80px;
}
.contact-hero-inner-confirmation {
	display: flex;
    justify-content: center;
    align-items: start;
    padding: 20px;
    line-height: 2.2;
}
.form-group-button {
	margin-top: 100px;
}
.submit-btn {
  background-color: #ccc; /* 初期状態：グレー */
  color: #fff;
  cursor: not-allowed;
  pointer-events: none;
  transition: background-color 0.3s;
}

.submit-btn.active {
  background-color: #FFD700; /* チェック時：黄色 */
  color: #000;
  cursor: pointer;
  pointer-events: auto;
}
/* ========================================
   privacy area
======================================== */
/* ヒーローセクション */
.privacy-hero {
  padding: 160px 20px;
  text-align: center;
}

.privacy-hero h1 {
  font-size: 32px;
  line-height: 1.4;
  margin: 0;
}

/* 本文セクション */
.privacy-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 2;
}

.privacy-section h2 {
  font-size: 22px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  margin-top: 40px;
}

.privacy-section p, .privacy-section li {
  font-size: 16px;
  margin-top: 1em;
}

.privacy-section ul {
  padding-left: 1.5em;
}
/* ========================================
   固定ページ　css
======================================== */

/* ========================================
  アニメーション（矢印スライド）
======================================== */
.heading-arrow {
  animation: arrowSlide 1.5s ease-in-out infinite;
}

@keyframes arrowSlide {
  0% { transform: translateX(0); }
  50% { transform: translateX(6px); }
  100% { transform: translateX(0); }
}

/* ========================================
  レスポンシブ対応
======================================== */
/* メインビジュアル */
@media screen and (max-width: 768px) {
	.hero-overlay {
		padding: 24px 16px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		text-align: center;
	}
	.sp_br {
		display: none;
	}
	.hero-section {
		background-image: url('https://unus-tokyo.jp/img/sp_mv.jpg'); /* スマホ用画像に切り替え */
		background-size: cover;
		background-position: center;
	}
	.hero-content {
		margin: 0 auto;
		max-width: 90%;
	}
	.heading-arrow {
		width:30px;
	}
	.hero-subtitle {
		font-size: 14px;
		text-align: center;
	}
	.hero-title {
		font-size: 26px;
		line-height: 1.4;
		text-align: left;
	}
	.hero-description {
		font-size: 16px;
		margin-top: 0.8em;
		text-align: left;
	}
	.yellow-heading {
		font-size: 18px;
	}
	.yellow-container {
		gap: 0px;
	}
	.work-card {
		width: 68%;
	}
	.section-heading {
		font-size: 14px;
	}
	.service .section-heading {
		padding:0 20px 20px;  
	}
	.insta-slider img {
		width: 140px;
		height: 100% !important;
	}
	.insta-slider video {
		width: 140px;
		height: 100% !important;
	}
	.follow-button {
		width: 180px;
		height: 40px;
	}
  .service {
	  padding: 80px 10px 20px;
	  position: relative;
  }
  .service-item {
	  font-size: 16px;
  }
  .service-text {
	  font-size: 14px;
	  margin-top: 30px;
	  margin-bottom: 60px;
	  max-width: 90%;
  }
  	.service-preview img {
		height: 480px;
	}
	.service-preview {
		width: 33%;
	}
  .magazine-layout {
   display: block;
  }
  .mag-item {
   display: block;
  }
  .magazine-right {
   margin-top: 40px;
  }
  
  /* contact-box */
  .contact-box {
    display: none !important;
  }
  .contact-button {
    width: 220px;
    height: 60px;
  }
  .cookie-banner {
   left: 0;
   width: 93%;
  }
  .service-block {
    flex-direction: column;
  }

  .service-image {
    order: 2;
    padding-top: 20px;
  }
  .service-description {
    order: 1;
  }
  .service-intro,.about-intro {
    text-align: left;
  }
  .service-image img,
  .service-image iframe {
    width: 100%;
    height: auto;
  }
  .service-hero h1 {
    font-size: 30px;
  }
  .service-image.double {
    display: flex;
    flex-direction: row;
    gap: 12px;
  }

  .service-image.double img {
    width: 48%;
    height: auto;
  }
	.service-btn {
		margin: 10% auto;
	}
  .about-block {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 0;
  }

  .about-label {
    writing-mode: horizontal-tb;
    font-size: 20px;
    margin-top: 60px;
    margin-bottom: 10px;
    width:auto;
  }
  .about-hero h1 {
    font-size: 30px;
  }
  .about-text {
    font-size: 16px;
  }
  .about-service-item {
   width: auto;
  }
  .career-hero h1 {
    font-size: 30px;
  }
  .career-description {
    margin-top: 0;
  }
  .contact-hero-title {
    font-size: 30px;
  }
  .contact-section {
    display: block;
  }
  .contact-left {
	  width: auto;
	  padding: 6% 4%;
	  border-top: 1px solid #a4a4a4;
	  margin-top: 60px;
  }
	.contact-services, .contact-form {
		padding: 6% 3% 0 3%;
	}
	.contact-section-inner {
		flex-flow: column-reverse;
	}
	.contact-hero-inner-confirmation {
		flex-flow: column-reverse;		
	}
  .input-group1 {
    width: 100%;
    box-sizing: border-box;
  }
	.confirmation-inner {
		padding: 40px 20px;
	}
	.confirmation-title {
		font-size: 24px;
	}
	.confirmation-message {
		font-size: 15px;
	}
	.confirmation-message .contact-button {
		width: 100%;
		padding: 12px;
	}
}

.floating-contact-box {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background-color: #FFD500; /* CVR意識・トンマナ維持の黄系 */
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 9999;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.floating-contact-left {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
}

.floating-contact-left .contact-icon {
  font-size: 18px;
  margin-right: 8px;
}

.contact-cta {
  background-color: #000;
  color: #FFD500;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
  font-size: 14px;
}

.contact-cta:hover {
  background-color: #333;
}



/* モバイル調整 */
@media screen and (max-width: 768px) {
  /* フッターに被らないよう、余白調整（PC） */
   body {
    padding-bottom: 64px; /* .floating-contact-boxの高さと一致 */
   }
  .floating-contact-box {
    height: auto;
    flex-direction: column;
    padding: 12px 16px;
    gap: 10px;
  }

  .contact-cta {
    width: 90%;
    text-align: center;
    font-size: 20px;
    padding: 6% 0%;
  }

  body {
    padding-bottom: 100px; /* モバイルは少し余裕をもたせる */
  }
  
}
/* PCでは非表示 */
@media screen and (min-width: 768px) {
  .floating-contact-box {
    display: none;
  }
}

/* Instagram API css */
.insta-slider img {
	
}
.insta-slider video {
  height: 300px;
  border-radius: 8px;
  object-fit: cover;
}


.contact-box {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 1001;
  transition: opacity 0.5s ease, visibility 0.5s ease, top 0.3s ease;
}

.contact-box.stop {
  position: absolute;
  top: auto;
  bottom: 200px; /* footer手前で止まる調整値 */
}


/* ========================================
   投稿　css
======================================== */
.post-detail {
  padding: 80px 20px;
  text-align: center;
}
.post-detail h3 {
	margin: 60px 0 30px;
}
.post-inner {
  max-width: 720px;
  margin: 0 auto;
}

.post-meta {
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.post-category {
  background: #FFD500;
  color: #000;
  padding: 2px 8px;
  font-size: 13px;
  font-weight: bold;
  border-radius: 3px;
}

.post-title {
  font-size: 28px;
  font-weight: bold;
  margin: 10px 0 20px;
}

.post-thumbnail img {
  max-width: 100%;
  height: auto;
  margin-bottom: 30px;
}

.post-content {
  font-size: 16px;
  line-height: 2;
  text-align: left;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.post-nav a {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid rgba(0, 0, 0, 1);
  text-decoration: none;
  transition: background-color 0.3s;
}

.post-nav a:hover {
  background-color: #FFD500;
  color: #000;
}

.post-top-link {
  margin-top: 40px;
  text-align: center;
}

/* ========================================
   ローディング
======================================== */
#opening {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: #FFD700;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* 最前面表示 */
  overflow: hidden;
  flex-direction: column;
}

.loading-center {
  font-size: 40px;
  color: #000;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.opening-title {
  font-size: 64px;
  color: #000;
  text-align: center;
  margin-bottom: 30px;
  opacity: 0; /* 最初は透明 */
  transition: opacity 1s ease;
}

.opening-img {
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
  max-width: 80%;
}

.opening-img.img1 {
  z-index: 1;
}

.opening-img.img2 {
  z-index: 2;
  transform: translate(-100px, 10px);
}

.loading-center {
  font-size: 40px;
  color: #000;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.loading-bar {
  width: 300px; /* バーの長さ */
  height: 10px;
  background-color: #ddd;
  border-radius: 5px;
  margin-top: 10px;
  overflow: hidden;
}

.loading-progress {
  height: 100%;
  width: 0%;
  background-color: #333;
  transition: width 0.3s ease;
}

/* ===== Magazine Archive (single-file) ===== */
.post-type-archive .site-main {
	padding:6vw;
}
.mag-archive {
	padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
}
.mag-archive__list article {
	padding: 20px 30px 20px;
    width: 44%;
}
.mag-archive__title {
	font-size:clamp(22px, 2.4vw, 32px);
	margin: 0 0 24px;
	color: #333;
}
.mag-archive__list {
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 3vw;
}
.mag-item {
	background:#fff;
	border: 1px solid #eee;
	border-radius: 14px;
	overflow: clip;
	display: flex;
}
.mag-item__link {
	display: grid;
	grid-template-columns: inherit;
	gap: 20px;
	align-items: stretch;
	text-decoration:none;
	color: inherit;
}
.mag-item__thumb {
	overflow: hidden;
	background:#f6f6f6;
	display:block;
}
.mag-item__thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.mag-item__thumb-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.mag-item__body {
	padding: 20px 20px 18px 0;
	display: grid;
	align-content: start;
	gap: 8px;
}
.mag-item__title {
	font-size: clamp(18px, 1.8vw, 22px);
	line-height: 1.5;
	color: #333;
}
.mag-item__date {
	font-size: 12px; color: #666;
}
.mag-item__excerpt {
	color: #333;
	line-height: 1.8;
}
.mag-item__more {
	margin-top: 6px;
	font-weight: 600;
}

.mag-archive__pagination {
	margin-top: 28px;
}
.mag-archive__pagination .page-numbers {
	display: inline-block;
	padding: 8px 12px;
	border: 1px solid #ddd;
	margin: 0 4px;
	border-radius: 8px;
}
.mag-archive__pagination .current {
	background: #111;
	color: #fff;
	border-color: #111;
}
.mag-archive__pagination a:hover {
	opacity: .85;
}
.mag-item__cats .tag {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 164px;
    height: 39px;
    background-color: #FFD500;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    color: #111;
}
video {
	width: 100%;
}

@media (max-width: 1024px) {
	.mag-item__link {
		grid-template-columns: 280px 1fr;
	}
}
@media (max-width: 768px)  {
	.mag-item__link {
		grid-template-columns: 1fr;
	} 
	.mag-item__body {
		padding: 16px;
	}
	.mag-item {
		display: block;
	}
	.post-type-archive .site-main {
		padding: 2vw;
	}
}