/* ==========================================
   azas | Whogot Inc. Corporate Site
   whogot.jp/azas のレイアウトに準拠
   ========================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #222;
  background: #faf6f6;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

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

ul {
  list-style: none;
}

.pc-only {
  display: inline;
}

/* --- Header (固定、半透明ブラー) --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  height: 80px;
}

.header-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 30px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo-img {
  width: 187px;
  height: auto;
}

.header-nav-list {
  display: flex;
  align-items: center;
  gap: 35px;
  margin-right: 120px;
}

.header-nav-list a {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #222;
  line-height: 1.4;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: #ce0000;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
  background: #fff;
}

.hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: 0;
  width: 320px;
  height: 320px;
  background: rgba(206, 0, 0, 0.08);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  padding: 0;
  margin: 40px 0 0 80px;
  height: 100%;
}

.hero-azas-logo {
  width: 200px;
  height: auto;
}

.hero-tagline {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.05em;
  margin-left: 20px;
}

/* --- Content Sections (About / Shop / Online / Global) --- */
.content-section {
  width: 100%;
  background: #faf6f6;
}

.content-row {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 0;
}

.content-row.reverse {
  /* DOM順で image → text なので、flex-direction はデフォルト(row)のまま */
}

.content-text-col {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 64px;
  padding: 0 60px 0 80px;
  max-width: 720px;
  margin-left: auto;
}

.content-row.reverse .content-text-col {
  padding: 0 80px 0 60px;
  margin-left: 0;
  margin-right: auto;
}

.content-image-col {
  width: 50%;
}

.content-image {
  width: 100%;
  height: auto;
  display: block;
}

.content-label {
  width: 100%;
  padding: 0 0 24px 0;
  border-bottom: 1px solid #ddd;
}

.content-title-en {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 700;
  color: #e05858;
  line-height: 1.2;
  margin-bottom: 8px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.content-title-en.white {
  color: #fff;
}

.content-title-en.center {
  text-align: center;
  margin-bottom: 40px;
}

.content-title-ja {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #222;
  line-height: 1.8;
}

.content-title-ja.white {
  color: rgba(255, 255, 255, 0.8);
}

.section-company .content-title-ja {
  color: #e05858;
}

.content-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.content-heading {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
}

.content-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  line-height: 1.8;
}

/* --- Button --- */
.btn-outline {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  padding: 16px 64px;
  background: #222;
  border: none;
  border-radius: 40px;
  text-align: center;
  transition: opacity 0.3s ease;
}

.btn-outline:hover {
  opacity: 0.8;
  color: #fff;
}

.btn-outline-sm {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  padding: 10px 32px;
  background: #fff;
  border: none;
  border-radius: 40px;
  text-align: center;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.btn-outline-sm:hover {
  opacity: 0.8;
  color: #222;
}

/* --- Spacing between content rows --- */
.content-section + .content-section {
  margin-top: 0;
}

.content-section:first-of-type {
  margin-top: 0;
}

/* Space between hero and content */
#about {
  margin-top: 0;
}

/* Bottom margin for last content section */
.content-section:last-of-type {
  margin-bottom: 0;
}

/* --- Company Section --- */
.section-company {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: -80px;
  background: #3a3a3a;
  border-radius: 40px 40px 0 0;
}

.section-company::before {
  display: none;
}

.company-bg {
  display: none;
}

.company-bg-img {
  display: none;
}

.company-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 80px;
}

.company-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
  margin-bottom: 80px;
}

.company-header {
  width: 400px;
  flex-shrink: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.company-table-wrap {
  flex: 1;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.company-table tr:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.company-table th,
.company-table td {
  padding: 16px 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  vertical-align: top;
  text-align: left;
  color: rgba(255, 255, 255, 0.9);
}

.company-table th {
  width: 140px;
  font-weight: 700;
  white-space: nowrap;
  padding-right: 40px;
  color: rgba(255, 255, 255, 0.7);
}

.company-table td {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.company-table td a {
  color: #e05858;
  text-decoration: underline;
}

.company-map {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.company-map iframe {
  display: block;
}

/* --- Bottom Section (Online shop, Brands, Shoplist) --- */
.section-bottom {
  width: 100%;
  padding: 120px 0;
  background: #fff;
}

.bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.bottom-block {
  width: 100%;
}

.online-shop-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.online-card {
  width: 33.3%;
}

.online-card-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.brands-grid,
.shoplist-grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
}

.brand-card {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.shoplist-grid {
  justify-content: center;
}

.shoplist-grid .shoplist-card {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.brand-card-inner,
.shoplist-card-inner {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: linear-gradient(135deg, #c4616e 0%, #b8525f 50%, #c4616e 100%);
}

.brand-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.brand-card-text {
  position: relative;
  z-index: 1;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-align: left;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* --- Recruit --- */
.section-recruit {
  width: 100%;
  padding: 80px 0;
  background: #fff;
}

.recruit-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

.recruit-grid {
  display: flex;
  align-items: center;
  gap: 80px;
}

.recruit-header {
  flex-shrink: 0;
  width: 300px;
}

.recruit-links {
  display: flex;
  gap: 24px;
  flex: 1;
}

.recruit-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  border-radius: 12px;
  padding: 24px 40px;
  min-height: 160px;
  min-width: 280px;
  flex: 1;
  position: relative;
}

.recruit-card::after {
  display: none;
}

.recruit-card-img {
  width: 80%;
  max-width: 320px;
  height: auto;
}

/* --- Contact --- */
.section-contact {
  width: 100%;
  padding: 80px 0;
  background: #fff;
}

.contact-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 80px;
}

.contact-card {
  display: flex;
  align-items: center;
  background: #333;
  border-radius: 12px;
  padding: 40px 60px;
  gap: 40px;
}

.contact-left {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-shrink: 0;
}

.contact-label-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.contact-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.contact-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.contact-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  flex: 1;
}

.btn-contact {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #222;
  padding: 12px 32px;
  background: #fff;
  border: none;
  border-radius: 40px;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.btn-contact:hover {
  opacity: 0.8;
  color: #222;
}

/* --- Footer --- */
.footer {
  background: #313131;
  color: #fff;
  padding: 60px 0 0;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 40px;
}

.footer-brand {
  flex-shrink: 0;
}

.footer-brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
}

.footer-azas-logo {
  width: 180px;
  height: auto;
  margin-bottom: 12px;
}

.footer-group-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-address {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-top: 24px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}

.footer-nav a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #fff;
  opacity: 1;
}

.footer-bottom {
  padding: 24px 0;
  text-align: right;
}

.footer-bottom p {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
}

/* --- Animations --- */
/* fade-in クラスはJSで動的に付与される。
   JSが動作しない場合はこのクラスが付かないため、
   コンテンツは opacity:1 のまま表示される */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* noscript / JS無効環境用フォールバック */
noscript ~ .content-section,
noscript ~ .section-company,
noscript ~ .section-bottom,
noscript ~ .section-recruit,
noscript ~ .section-contact {
  opacity: 1 !important;
  transform: none !important;
}

/* --- Responsive --- */
@media (max-width: 1080px) {
  .header-nav-list {
    margin-right: 80px;
  }

  .hero-content {
    margin: 40px 0 0 40px;
  }

  .content-row {
    padding: 12px 0;
  }

  .content-text-col {
    padding: 0 32px 0 40px;
    gap: 40px;
    max-width: none;
    margin-left: 0;
  }

  .content-row.reverse .content-text-col {
    padding: 0 40px 0 32px;
    margin-right: 0;
  }

  .content-heading {
    font-size: 32px;
  }

  .company-inner {
    padding: 80px 40px;
  }

  .company-grid {
    flex-direction: column;
    gap: 40px;
  }

  .company-header {
    width: 100%;
  }

  .bottom-inner,
  .recruit-inner,
  .contact-inner {
    padding: 0 40px;
  }
}

@media (max-width: 840px) {
  /* Hamburger */
  .hamburger {
    display: flex;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    padding: 120px 40px 40px;
    transition: right 0.4s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .header-nav.open {
    right: 0;
  }

  .header-nav-list {
    flex-direction: column;
    gap: 28px;
    margin-right: 0;
  }

  .header-nav-list a {
    font-size: 18px;
  }

  .content-row,
  .content-row.reverse {
    flex-direction: column;
  }

  .content-text-col,
  .content-row.reverse .content-text-col {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 40px;
    order: 1;
  }

  .content-image-col {
    width: 100%;
    order: 2;
  }

  .content-section + .content-section {
    margin-top: 60px;
  }

  .content-section:last-of-type {
    margin-bottom: 120px;
  }

  .hero::after {
    width: 250px;
    height: 250px;
    top: -50px;
    right: 0;
  }

  .content-heading {
    font-size: 28px;
  }

  .content-title-en {
    font-size: 48px;
  }

  .company-inner {
    padding: 40px 32px;
  }

  .company-bg {
    width: 100%;
    height: 200px;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    border-radius: 0;
  }

  .company-table th {
    display: block;
    padding-bottom: 4px;
    width: auto;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
  }

  .company-table td {
    display: block;
    padding-top: 0;
    padding-bottom: 16px;
  }

  .company-table tr {
    display: block;
    padding: 8px 0;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .online-shop-links {
    flex-direction: column;
  }

  .online-card {
    width: 100%;
  }

  .brands-grid,
  .shoplist-grid {
    flex-direction: column;
  }

  .brand-card,
  .shoplist-grid .shoplist-card {
    width: 100%;
  }

  .recruit-grid {
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
  }

  .recruit-header {
    width: 100%;
  }

  .recruit-links {
    flex-direction: column;
    width: 100%;
  }

  .contact-card {
    flex-direction: column;
    padding: 32px;
    gap: 24px;
    align-items: flex-start;
  }

  .contact-divider {
    width: 100%;
    height: 1px;
  }
}

@media (max-width: 540px) {
  .header {
    height: 64px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .header-logo-img {
    width: 82px;
  }

  .header-nav {
    padding: 80px 40px 40px;
  }

  .hero::after {
    display: none;
  }

  .hero-content {
    margin: 20px 0 0 20px;
    gap: 24px;
  }

  .hero-azas-logo {
    width: 140px;
  }

  .hero-tagline {
    font-size: 14px;
    margin-left: 10px;
  }

  .content-text-col,
  .content-row.reverse .content-text-col {
    padding: 24px 20px;
    gap: 32px;
  }

  .content-title-en {
    font-size: 40px;
  }

  .content-heading {
    font-size: 24px;
  }

  .pc-only {
    display: none;
  }

  .company-inner {
    padding: 32px 20px;
  }

  .company-table th {
    display: block;
    padding-bottom: 4px;
    width: auto;
    color: rgba(255, 255, 255, 0.5);
  }

  .company-table td {
    display: block;
    padding-top: 0;
    padding-bottom: 16px;
  }

  .company-table tr {
    display: block;
    padding: 8px 0;
  }

  .bottom-inner,
  .recruit-inner,
  .contact-inner {
    padding: 0 20px;
  }

  .contact-card {
    padding: 24px 20px;
    gap: 20px;
  }

  .contact-title {
    font-size: 24px;
  }

  .btn-outline {
    font-size: 14px;
    padding: 10px 40px;
  }

  .footer-inner {
    padding: 0 20px;
  }
}

/* --- Wide Screen (1440px+) --- */
@media (min-width: 1440px) {
  .company-inner {
    max-width: 1440px;
  }

  .bottom-inner {
    max-width: 1440px;
  }

  .recruit-inner {
    max-width: 1440px;
  }

  .contact-inner {
    max-width: 100%;
  }

  .footer-inner {
    max-width: 1200px;
  }
}
