* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f7f7;
  color: #222;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: #111;
  color: white;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 16px;
}

.hero {
  max-width: 900px;
  margin: 80px auto;
  padding: 40px 24px;
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 12px;
}

.hero p {
  font-size: 18px;
  color: #555;
}

.container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.image-box {
  height: 160px;
  border-radius: 12px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  margin-bottom: 16px;
}

.image-box.large {
  height: 320px;
}

.price {
  font-size: 22px;
  font-weight: 700;
}

.button {
  display: inline-block;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  background: #111;
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
  background: white;
  border-radius: 16px;
  padding: 24px;
}

@media (max-width: 700px) {
  .hero h1 {
    font-size: 40px;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }
}
.message {
  margin-top: 12px;
  font-weight: 700;
  color: #0a7f35;
}

.cart-summary {
  margin-top: 32px;
  background: white;
  border-radius: 16px;
  padding: 24px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.cart-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-actions input {
  width: 70px;
  padding: 8px;
}

.cart-actions button {
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  background: #ddd;
  cursor: pointer;
}

@media (max-width: 700px) {
  .cart-item {
    flex-direction: column;
  }
}

.checkout-box {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.form {
  display: grid;
  gap: 18px;
}

.form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.form input,
.form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
}

.checkout-cart {
  margin-top: 20px;
  padding: 20px;
  border-radius: 14px;
  background: #f7f7f7;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.thanks-info {
  margin: 24px 0;
  padding: 20px;
  background: #f7f7f7;
  border-radius: 14px;
}

@media (max-width: 700px) {
  .checkout-item {
    flex-direction: column;
    gap: 4px;
  }
}

.order-code-box {
  margin: 24px 0;
  padding: 20px;
  background: #111;
  color: white;
  border-radius: 16px;
}

.order-code-box p {
  margin: 0 0 8px;
  color: #ccc;
}

.order-code-box strong {
  font-size: 28px;
  letter-spacing: 0.04em;
}

.payment-box {
  margin: 24px 0;
  padding: 20px;
  background: #fff7d6;
  border-radius: 16px;
}

.admin-table-wrap {
  overflow-x: auto;
  background: white;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.admin-table th {
  background: #f2f2f2;
}

.status {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

.status-pending {
  background: #fff7d6;
  color: #7a5700;
}

.status-paid {
  background: #dff7e7;
  color: #0a7f35;
}

.status-cancelled {
  background: #ffe1e1;
  color: #9b1111;
}

.admin-form {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.admin-form select {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
}

.error-message {
  padding: 12px 16px;
  background: #ffe1e1;
  color: #9b1111;
  border-radius: 10px;
  font-weight: 700;
}

.payment-page {
  max-width: 720px;
  margin: 0 auto;
}

.paypay-card {
  background: white;
  border-radius: 24px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  margin-bottom: 24px;
}

.paypay-logo {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: #ff0033;
  color: white;
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 20px;
}

.paypay-label {
  color: #666;
  margin: 0;
}

.paypay-amount {
  font-size: 44px;
  font-weight: 900;
  margin: 8px 0 24px;
}

.fake-qr {
  width: 220px;
  height: 220px;
  margin: 0 auto 20px;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px) 0 0/24px 24px,
    linear-gradient(#111 10px, transparent 10px) 0 0/24px 24px,
    #fff;
  border: 12px solid #111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff0033;
  font-weight: 900;
  font-size: 42px;
}

.payment-note {
  color: #555;
  line-height: 1.7;
}

.order-code-mini {
  background: #f5f5f5;
  border-radius: 16px;
  padding: 16px;
  margin-top: 20px;
}

.order-code-mini span {
  display: block;
  color: #777;
  font-size: 14px;
  margin-bottom: 6px;
}

.order-code-mini strong {
  font-size: 24px;
  letter-spacing: 0.04em;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.portal-card {
  display: block;
  padding: 24px;
  background: white;
  border-radius: 18px;
  text-decoration: none;
  color: #222;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.portal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

.portal-card h2 {
  margin-top: 0;
}

.portal-card p {
  color: #555;
}

.brand-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: white;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  margin-top: 40px;
}

.brand-hero-text h1 {
  font-size: 44px;
  margin-top: 0;
  margin-bottom: 16px;
}

.brand-hero-text p {
  color: #555;
  line-height: 1.8;
}

.brand-hero-visual {
  text-align: center;
}

.brand-image {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

@media (max-width: 800px) {
  .brand-hero {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .brand-hero-text h1 {
    font-size: 34px;
  }
}

/* ----- nail top visual responsive fix ----- */

html, body {
  overflow-x: hidden;
}

.brand-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 520px);
  gap: 40px;
  align-items: center;
  background: white;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  margin-top: 40px;
}

.brand-hero-text {
  min-width: 0;
}

.brand-hero-text h1 {
  font-size: clamp(32px, 4vw, 52px);
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.2;
}

.brand-hero-text p {
  color: #555;
  line-height: 1.8;
}

.brand-hero-visual {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-image {
  width: clamp(260px, 38vw, 500px);
  max-width: 100%;
  max-height: 70vh;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ポータルトップのサムネも少し整える */
.portal-thumb {
  width: min(100%, 220px);
  height: auto;
  display: block;
  margin: 0 auto 16px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .brand-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .brand-hero-text {
    text-align: center;
  }

  .brand-hero-visual {
    order: -1;
  }

  .brand-image {
    width: clamp(220px, 70vw, 420px);
    max-height: 50vh;
  }
}


/* ----- stronger nail image size fix ----- */

.brand-hero {
  max-width: 900px;
  margin: 40px auto 0;
  grid-template-columns: 1fr 360px !important;
  gap: 28px !important;
  padding: 28px !important;
}

.brand-hero-visual {
  max-width: 360px !important;
  width: 100% !important;
  justify-self: center !important;
}

.brand-image {
  width: 100% !important;
  max-width: 360px !important;
  max-height: 360px !important;
  object-fit: contain !important;
}

@media (max-width: 900px) {
  .brand-hero {
    grid-template-columns: 1fr !important;
    max-width: 520px;
  }

  .brand-hero-visual {
    max-width: 300px !important;
  }

  .brand-image {
    max-width: 300px !important;
    max-height: 300px !important;
  }
}

@media (max-width: 500px) {
  .brand-hero-visual {
    max-width: 240px !important;
  }

  .brand-image {
    max-width: 240px !important;
    max-height: 240px !important;
  }
}


/* ===== Aoi Nail Shop mockup style ===== */

.aoi-page {
  margin: 0;
  background: #ffffff;
  color: #ff8ac8;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.aoi-topbar {
  height: 30px;
  background: #ff8ac8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.aoi-topbar p {
  margin: 0;
  font-size: clamp(15px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.aoi-nav {
  height: 62px;
  border-bottom: 1.5px solid #ff8ac8;
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  align-items: center;
  padding: 0 14px;
}

.aoi-menu {
  border: none;
  background: transparent;
  color: #ff8ac8;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  justify-self: start;
}

.aoi-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.aoi-logo {
  width: clamp(180px, 28vw, 360px);
  max-height: 44px;
  object-fit: contain;
  display: block;
}

.aoi-cart-link {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aoi-cart-icon {
  width: clamp(34px, 6vw, 58px);
  height: auto;
  display: block;
  opacity: 0.72;
}

.aoi-main {
  min-height: 350px;
}

.aoi-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 38px 16px 10px;
}

.aoi-home-img {
  width: clamp(48px, 8vw, 78px);
  height: auto;
  object-fit: contain;
}

.aoi-products-preview {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #ff8ac8;
}

.aoi-products-preview p {
  margin: 0;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
}

.aoi-product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 10px 22px;
  border: 2px solid #ff8ac8;
  color: #ff8ac8;
  background: white;
  text-decoration: none;
  font-weight: 800;
}

.aoi-footer {
  border-top: 1.5px solid #ff8ac8;
  padding: 14px 16px 28px;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.aoi-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ff8ac8;
  color: #ff8ac8;
  background: white;
  padding: 6px 18px;
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(15px, 2vw, 21px);
}

.aoi-tel-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.aoi-tel-row span {
  background: #ff8ac8;
  color: white;
  font-weight: 900;
  font-size: clamp(16px, 2vw, 22px);
  padding: 6px 18px;
}

.aoi-tel-row p {
  margin: 0;
  color: #ff8ac8;
  font-size: clamp(18px, 2.5vw, 26px);
  letter-spacing: 0.08em;
}

@media (max-width: 640px) {
  .aoi-nav {
    grid-template-columns: 54px 1fr 54px;
    height: 58px;
    padding: 0 10px;
  }

  .aoi-menu {
    font-size: 28px;
  }

  .aoi-logo {
    width: min(72vw, 280px);
  }

  .aoi-products-preview {
    min-height: 180px;
  }

  .aoi-tel-row {
    gap: 14px;
  }
}


.aoi-button-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.aoi-portal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 10px 22px;
  border: 2px solid #ff8ac8;
  color: white;
  background: #ff8ac8;
  text-decoration: none;
  font-weight: 800;
}

.aoi-portal-button:hover,
.aoi-product-button:hover,
.aoi-contact-button:hover {
  opacity: 0.82;
}

@media (max-width: 640px) {
  .aoi-button-row {
    flex-direction: column;
    gap: 10px;
  }

  .aoi-product-button,
  .aoi-portal-button {
    width: min(80vw, 260px);
  }
}


/* ===== Aoi Nail integrated responsive layout v30 ===== */

.aoi-page {
  margin: 0;
  background: #fff;
  color: #ff8ac8;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.aoi-topbar {
  height: clamp(24px, 4vw, 38px);
  background: #ff8ac8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.aoi-topbar p {
  margin: 0;
  font-size: clamp(14px, 2vw, 24px);
  font-weight: 700;
}

.aoi-nav {
  height: clamp(52px, 7vw, 76px);
  border-bottom: 1.5px solid #ff8ac8;
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  padding: 0 clamp(8px, 1.5vw, 18px);
  position: relative;
  background: white;
  z-index: 10;
}

.aoi-menu,
.aoi-menu-link {
  border: none;
  background: transparent;
  color: #ff8ac8;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  font-weight: 900;
  justify-self: start;
}

.aoi-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.aoi-logo {
  width: clamp(190px, 28vw, 360px);
  max-height: 48px;
  object-fit: contain;
  display: block;
}

.aoi-cart-link {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aoi-cart-icon {
  width: clamp(34px, 5vw, 58px);
  height: auto;
  opacity: 0.72;
}

.aoi-drawer {
  display: none;
  border-bottom: 1.5px solid #ff8ac8;
  background: #fff3fb;
  padding: 12px 16px;
  text-align: center;
  position: relative;
  z-index: 9;
}

.aoi-drawer.open {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.aoi-drawer a {
  border: 2px solid #ff8ac8;
  color: #ff8ac8;
  background: white;
  text-decoration: none;
  font-weight: 800;
  padding: 8px 16px;
}

.aoi-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 320px);
  gap: clamp(18px, 3vw, 32px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 36px) clamp(12px, 2vw, 24px);
  min-height: min(62vh, 540px);
}

.aoi-main-area {
  min-width: 0;
}

.aoi-hero-small {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(70px, 10vw, 120px);
}

.aoi-home-img {
  width: clamp(50px, 8vw, 86px) !important;
  max-height: 86px !important;
  object-fit: contain;
}

.aoi-products-area {
  min-height: clamp(210px, 32vw, 360px);
  display: grid;
  align-content: start;
  justify-items: center;
  padding-top: clamp(16px, 3vw, 34px);
}

.aoi-products-area h1 {
  margin: 0 0 24px;
  color: #ff8ac8;
  font-size: clamp(18px, 2.4vw, 28px);
}

.aoi-product-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.aoi-product-card {
  border: 2px solid #ff8ac8;
  background: white;
  padding: 14px;
  color: #222;
  min-height: 220px;
}

.aoi-product-image {
  height: 90px;
  border: 1.5px dashed #ff8ac8;
  color: #ff8ac8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.aoi-product-card h2 {
  color: #ff8ac8;
  margin: 6px 0;
  font-size: 18px;
}

.aoi-product-card p {
  margin: 6px 0;
  font-size: 14px;
}

.aoi-price {
  color: #ff8ac8;
  font-weight: 900;
  font-size: 20px !important;
}

.aoi-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.aoi-card-actions a,
.aoi-card-actions button {
  border: 2px solid #ff8ac8;
  background: white;
  color: #ff8ac8;
  padding: 7px 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.aoi-card-actions button {
  background: #ff8ac8;
  color: white;
}

.aoi-cart-message {
  min-height: 24px;
  margin-top: 12px;
  color: #0a7f35;
  font-weight: 800;
}

.aoi-blog-box {
  border: 3px solid #14324a;
  background: #fde8fb;
  border-radius: 18px;
  padding: 16px;
  align-self: start;
  min-height: 320px;
  color: #222;
}

.aoi-blog-box h2 {
  margin: 0 0 18px;
  text-align: center;
  color: #ff8ac8;
  font-size: 18px;
}

.aoi-blog-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 14px;
}

.aoi-blog-date span {
  display: block;
  color: #ff8ac8;
}

.aoi-blog-date strong {
  color: #ffb400;
  font-size: 14px;
}

.aoi-blog-item p {
  margin: 0;
  line-height: 1.45;
}

.aoi-more-blog {
  display: block;
  text-align: right;
  color: #222;
  text-decoration: none;
  font-size: 14px;
  margin-top: 18px;
}

.aoi-footer {
  border-top: 1.5px solid #ff8ac8;
  padding: 14px 16px 28px;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.aoi-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ff8ac8;
  color: #ff8ac8;
  background: white;
  padding: 6px 18px;
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(15px, 2vw, 21px);
}

.aoi-tel-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.aoi-tel-row span {
  background: #ff8ac8;
  color: white;
  font-weight: 900;
  font-size: clamp(16px, 2vw, 22px);
  padding: 6px 18px;
}

.aoi-tel-row p {
  margin: 0;
  color: #ff8ac8;
  font-size: clamp(18px, 2.5vw, 26px);
  letter-spacing: 0.08em;
}

.aoi-blog-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 18px;
}

.aoi-blog-page h1 {
  color: #ff8ac8;
  text-align: center;
}

.aoi-blog-full {
  border: 2px solid #ff8ac8;
  padding: 18px;
  margin-bottom: 18px;
  color: #222;
  background: white;
}

.aoi-blog-full-date {
  color: #ff8ac8;
  font-weight: 800;
}

.aoi-blog-full-date span {
  color: #ffb400;
}

@media (max-width: 900px) {
  .aoi-layout {
    grid-template-columns: 1fr;
  }

  .aoi-blog-box {
    min-height: auto;
  }

  .aoi-blog-item {
    grid-template-columns: 82px 1fr;
  }
}

@media (max-width: 560px) {
  .aoi-nav {
    grid-template-columns: 52px 1fr 52px;
  }

  .aoi-logo {
    width: min(70vw, 260px);
  }

  .aoi-drawer.open {
    flex-direction: column;
  }

  .aoi-product-grid {
    grid-template-columns: 1fr;
  }

  .aoi-tel-row {
    gap: 12px;
  }
}

