body {
  font-family: 'Noto Sans JP', 'Segoe UI', sans-serif;
  background: #f5f7fa;
  margin: 0;
  color: #222;
}
.navbar {
  background: #fff;
  border-bottom: 1.5px solid #e2e6f0;
  padding: 1.3em 0 1.1em 0;
}
.navbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2vw;
}
.navbar-brand {
  font-size: 1.32em;
  font-weight: 800;
  color: #1676cf;
  letter-spacing: 0.5px;
}
.navbar nav a {
  margin: 0 1.1em;
  color: #1676cf;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.07em;
}
.main-hero {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  padding: 0 2vw 0 2vw;
  min-height: 91vh;
}
.left-col {
  flex: 1;
  background: #fff;
  border-radius: 18px 0 0 18px;
  box-shadow: 0 6px 40px #0080ff0e;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 2.7em 2.4em 2.7em;
  min-width: 320px;
  max-width: 540px;
  margin-top: 1.5em;
}
.right-col {
  flex: 1;
  background: #f3f8fd;
  border-radius: 0 18px 18px 0;
  box-shadow: 0 6px 40px #0080ff0e;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 2.3em 2em 2.3em;
  min-width: 300px;
  max-width: 510px;
  align-items: center;
  margin-top: 1.5em;
}
@media (max-width: 950px) {
  .main-hero { flex-direction: column; min-height:unset;}
  .left-col, .right-col {
    max-width: 100%; min-width: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 4px 24px #0080ff11;
    padding: 2.3em 6vw 2.3em 6vw;
  }
  .right-col { border-radius: 0 0 18px 18px; }
}
@media (max-width: 600px) {
  .main-hero { padding: 0 0 0 0; }
  .left-col, .right-col { padding: 1.5em 0.7em 1.7em 0.7em; }
  h1 { font-size: 1.25em !important;}
  .catchcopy { font-size: 1.05em !important;}
}
h1 {
  font-size: 2.15em;
  color: #004488;
  margin-bottom: 0.7em;
  font-weight: 800;
  letter-spacing: 1px;
}
.catchcopy {
  font-size: 1.13em;
  color: #0b3578;
  font-weight: 500;
  margin-bottom: 1.2em;
  line-height: 1.6;
}
.upload-form label {
  font-size: 1.07em;
  color: #223;
  margin-bottom: 0.7em;
  display: block;
  font-weight: 500;
}
.upload-form input[type="file"] {
  margin-top: 0.3em;
  margin-bottom: 1.2em;
  font-size: 1em;
}
.upload-form .ruby-label {
  display: block;
  margin-bottom: 1.1em;
  font-size: 1em;
}
.cta-btn {
  font-size: 1.12em;
  font-weight: 700;
  background: linear-gradient(90deg, #004488 68%, #2cb7ff 100%);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 1em 0;
  box-shadow: 0 2px 10px #0080ff28;
  cursor: pointer;
  width: 100%;
  margin-top: 0.7em;
  margin-bottom: 0.2em;
  transition: background 0.22s;
}
.cta-btn:hover { background: linear-gradient(90deg, #2cb7ff 0%, #004488 100%);}
.error-msg { color:#d22; font-weight:bold; margin-top:1em; }
.privacy-note {
  font-size: 0.98em;
  color: #1676cf;
  margin-top: 1.2em;
  line-height: 1.6;
}
.feedback-card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 8px #0080ff14;
  padding: 1.2em 1em 1.3em 1em;
  margin: 2em 0 0 0;
  width: 100%;
}
.feedback-title { font-weight:600; margin-bottom:0.6em; }
.feedback-note {
  font-size: 0.93em;
  color: #888;
  margin-top: 0.5em;
}
.feedback-success {
  color: #1676cf;
  font-weight: bold;
  margin-top: 1em;
}
.feedback-card form {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}

.feedback-card textarea,
.feedback-card input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  font-size: 1em;
  border-radius: 6px;
  padding: 0.7em;
  border: 1px solid #d7e9fa;
  margin: 0;
  font-family: 'Noto Sans JP', 'Segoe UI', sans-serif;
  background: #f7faff;
  resize: vertical;
  min-height: 46px;
}

.feedback-card textarea {
  min-height: 62px;
  max-height: 220px;
}

.output-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px #0080ff0e;
  padding: 0 1em 1.1em 1em;
  margin-bottom: 0.5em;
  width: 100%;
}
.beforeafter-image-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.beforeafter-img-fixed {
  width: 98%;
  height: 450px;       /* ← 高さは好みで 360, 400でもOK */
  object-fit: contain;
  background: #f6f8fa;
  border-radius: 13px;
  box-shadow: 0 1px 7px 0 #d6e4f7;
}

.beforeafter-images-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.beforeafter-img img {
  width: 100%;
  border-radius: 14px;
}
.img-caption {
  text-align: center;
  font-size: 1.12em;
  font-weight: 600;
  color: #1a489e;
  margin-top: 0.4em;
}
.card.step-tabs {
  box-shadow: 0 2px 14px #0080ff13;
  margin-top: 0.7em;
  padding-top: 1em;
  width: 100%;
}
.tab-header {
  display:flex;
  gap:0.1em;
  margin-bottom:0.8em;
}
.tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2.4px solid #d8e4fa;
  color: #1676cf;
  font-weight: 700;
  font-size: 1.06em;
  padding: 0.65em 1.3em;
  margin-right: 0.1em;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: background .13s;
}
.tab-btn.active, .tab-btn:focus {
  background: #fff;
  border-bottom: 2.4px solid #2cb7ff;
  color: #004488;
  box-shadow: 0 2px 8px #0074cc0e;
  z-index: 2;
}
.tab-panel { padding-top: 0.2em;}
ol, ul { padding-left:1.3em; margin:0 0 0.6em 0;}
.small-note { color:#888; font-size:0.96em;}
/* == Navbar == */
.navbar {
  background: #fff;
  border-bottom: 1.5px solid #e2e6f0;
  padding: 1.3em 0 1.1em 0;
  box-shadow: 0 2px 8px rgba(24,60,140,0.06);
  position: sticky;
  top: 0;
  z-index: 999;
}
.navbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2vw;
}
.navbar-brand {
  font-size: 1.38em;
  font-weight: 900;
  color: #174ea6;
  letter-spacing: 0.8px;
  font-family: 'Segoe UI', 'Noto Sans JP', Arial, sans-serif;
  text-shadow: 0 2px 12px rgba(170,200,255,0.07);
}
.navbar nav a {
  margin: 0 1.1em;
  color: #1676cf;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.09em;
  position: relative;
  transition: color 0.16s;
}
.navbar nav a::after {
  content: "";
  display: block;
  height: 2.2px;
  width: 0;
  background: #fbbc05;
  border-radius: 2px;
  transition: width 0.19s;
  position: absolute;
  bottom: -3px; left: 0;
}
.navbar nav a:hover,
.navbar nav a:focus {
  color: #fbbc05;
}
.navbar nav a:hover::after,
.navbar nav a:focus::after {
  width: 100%;
}

/* モバイル対応 */
@media (max-width: 700px) {
  .navbar-inner { flex-direction: column; align-items: flex-start; padding: 0.7em 1em; }
  .navbar nav { margin-top: 0.9em; }
  .navbar nav a { margin: 0 0.7em 0.7em 0; display: inline-block; }
}
