:root {
  --ct-ink: #11182d;
  --ct-copy: #4f5a70;
  --ct-coral: #ff735c;
  --ct-coral-dark: #dd513d;
  --ct-teal: #2fae9b;
  --ct-yellow: #f7bd39;
  --ct-soft: #fff8f5;
  --ct-mint: #edf9f5;
  --ct-blue-soft: #f2f7ff;
  --ct-line: #efd8ce;
  --ct-white: #fff;
  --ct-content: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.cotamee-menu-open {
  overflow: hidden;
}

body {
  background: var(--ct-white);
  color: var(--ct-ink);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.8;
  margin: 0;
  overflow-wrap: anywhere;
}

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

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

a:hover {
  color: var(--ct-coral-dark);
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

.screen-reader-text,
.cotamee-skip-link {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.cotamee-skip-link:focus {
  background: var(--ct-ink);
  clip: auto;
  clip-path: none;
  color: #fff;
  height: auto;
  left: 12px;
  padding: 10px 14px;
  top: 12px;
  width: auto;
  z-index: 10001;
}

.cotamee-site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #edf0f4;
  position: relative;
  z-index: 100;
}

.cotamee-header-inner,
.cotamee-footer-inner,
.cotamee-section,
.cotamee-content-main,
.cotamee-archive-main,
.cotamee-diagnosis-main,
.cotamee-overlay-inner {
  margin-inline: auto;
  max-width: var(--ct-content);
  width: min(calc(100% - 40px), var(--ct-content));
}

.cotamee-header-inner {
  align-items: center;
  display: flex;
  height: 76px;
  justify-content: space-between;
}

.cotamee-brand,
.custom-logo-link {
  align-items: center;
  display: inline-flex;
}

.cotamee-brand img,
.custom-logo {
  display: block;
  height: 45px;
  object-fit: contain;
  object-position: left center;
  width: 162px;
}

.cotamee-menu-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: grid;
  gap: 7px;
  padding: 12px 4px;
  width: 48px;
}

.cotamee-menu-button span {
  background: var(--ct-ink);
  display: block;
  height: 3px;
  width: 40px;
}

.cotamee-overlay-menu {
  background: #fff;
  inset: 0;
  opacity: 0;
  overflow-y: auto;
  pointer-events: none;
  position: fixed;
  transform: translateY(-12px);
  transition: opacity 160ms ease, transform 160ms ease;
  visibility: hidden;
  z-index: 10000;
}

.cotamee-overlay-menu[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.cotamee-overlay-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px 0 48px;
}

.cotamee-overlay-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.cotamee-menu-close {
  background: transparent;
  border: 0;
  cursor: pointer;
  height: 48px;
  position: relative;
  width: 48px;
}

.cotamee-menu-close::before,
.cotamee-menu-close::after {
  background: var(--ct-ink);
  content: "";
  height: 3px;
  left: 4px;
  position: absolute;
  top: 23px;
  width: 40px;
}

.cotamee-menu-close::before {
  transform: rotate(45deg);
}

.cotamee-menu-close::after {
  transform: rotate(-45deg);
}

.cotamee-overlay-nav {
  margin-top: clamp(54px, 11vh, 120px);
}

.cotamee-overlay-list {
  display: grid;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cotamee-overlay-list a {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
}

.cotamee-contact-cta {
  align-items: center;
  background: var(--ct-coral);
  border-radius: 6px;
  color: #fff;
  display: flex;
  font-size: 18px;
  font-weight: 800;
  justify-content: center;
  margin-top: auto;
  min-height: 62px;
  width: min(100%, 520px);
}

.cotamee-contact-cta:hover {
  background: var(--ct-coral-dark);
  color: #fff;
}

.cotamee-hero {
  background: #fffcfb;
  overflow: hidden;
}

.cotamee-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  margin-inline: auto;
  max-width: 1440px;
  min-height: 660px;
  width: 100%;
}

.cotamee-hero-copy {
  align-self: center;
  padding: 62px clamp(28px, 7vw, 120px);
}

.cotamee-hero h1 {
  font-size: 64px;
  letter-spacing: 0;
  line-height: 1.45;
  margin: 0;
  white-space: nowrap;
}

.cotamee-hero h1 span {
  color: var(--ct-coral);
  position: relative;
  white-space: nowrap;
}

.cotamee-hero h1 span::after {
  background: var(--ct-coral);
  border-radius: 999px;
  bottom: -6px;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
}

.cotamee-hero-visual {
  align-self: stretch;
  min-height: 620px;
}

.cotamee-hero-visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.cotamee-hero-points {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 66px;
}

.cotamee-hero-points p {
  border-right: 1px dashed #b7afa9;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 4px 24px;
  text-align: center;
}

.cotamee-hero-points p:first-child {
  padding-left: 0;
}

.cotamee-hero-points p:last-child {
  border-right: 0;
  padding-right: 0;
}

.cotamee-hero-points strong {
  font-size: 15px;
}

.cotamee-hero-points span {
  color: var(--ct-copy);
  font-size: 12px;
}

.cotamee-section {
  padding-block: 84px;
}

.cotamee-section-heading {
  margin: 0 auto 38px;
  max-width: 860px;
  text-align: center;
}

.cotamee-section-heading > p {
  color: var(--ct-coral-dark);
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 8px;
}

.cotamee-section-heading h1,
.cotamee-section-heading h2,
.cotamee-page-heading h1 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: 0;
  line-height: 1.45;
  margin: 0;
}

.cotamee-left-heading {
  margin-left: 0;
  text-align: left;
}

.cotamee-feature-row {
  border: 1px solid var(--ct-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cotamee-feature-row > div {
  border-right: 1px solid var(--ct-line);
  min-height: 190px;
  padding: 38px;
}

.cotamee-feature-row > div:last-child {
  border-right: 0;
}

.cotamee-feature-row strong {
  font-size: 20px;
}

.cotamee-feature-row p {
  color: var(--ct-copy);
  margin-bottom: 0;
}

.cotamee-soft-band {
  background: var(--ct-soft);
  box-shadow: 50vw 0 var(--ct-soft), -50vw 0 var(--ct-soft);
}

.cotamee-featured-section {
  max-width: none;
  overflow: hidden;
  padding: 34px 0 20px;
  width: 100%;
}

.cotamee-featured-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 10px max(20px, calc((100vw - var(--ct-content)) / 2));
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cotamee-featured-track::-webkit-scrollbar {
  display: none;
}

.cotamee-featured-slide {
  aspect-ratio: 1.91 / 1;
  flex: 0 0 min(680px, 72vw);
  overflow: hidden;
  scroll-snap-align: center;
}

.cotamee-featured-slide img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cotamee-diagnosis-grid,
.cotamee-column-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cotamee-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cotamee-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cotamee-diagnosis-card,
.cotamee-column-card {
  background: #fff;
  border: 1px solid var(--ct-line);
  border-radius: 8px;
  margin: 0;
  min-width: 0;
  overflow: hidden;
}

.cotamee-diagnosis-card > a,
.cotamee-column-card > a {
  display: block;
  height: 100%;
}

.cotamee-card-image {
  aspect-ratio: 1.91 / 1;
  background: var(--ct-blue-soft);
  overflow: hidden;
}

.cotamee-card-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cotamee-card-placeholder {
  background: linear-gradient(135deg, var(--ct-soft), var(--ct-mint));
  display: block;
  height: 100%;
}

.cotamee-card-copy,
.cotamee-column-card > a > div:last-child {
  padding: 19px 20px 22px;
}

.cotamee-card-copy h3,
.cotamee-column-card h2,
.cotamee-column-card h3 {
  font-size: 19px;
  line-height: 1.55;
  margin: 0;
}

.cotamee-card-copy p,
.cotamee-column-card p {
  color: var(--ct-copy);
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.75;
  margin: 10px 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cotamee-column-card time {
  color: var(--ct-copy);
  font-size: 12px;
}

.cotamee-section-action {
  margin: 40px 0 0;
  text-align: center;
}

.cotamee-button {
  align-items: center;
  background: var(--ct-coral);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 54px;
  padding: 12px 34px;
}

.cotamee-button:hover {
  background: var(--ct-coral-dark);
  color: #fff;
}

.cotamee-archive-main {
  padding-top: 12px;
}

.cotamee-list-head {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 30px;
}

.cotamee-list-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0;
}

.cotamee-search {
  display: flex;
  width: min(100%, 430px);
}

.cotamee-search input {
  border: 1px solid #cfd5df;
  border-radius: 6px 0 0 6px;
  min-height: 48px;
  min-width: 0;
  padding: 10px 14px;
  width: 100%;
}

.cotamee-search button {
  background: var(--ct-ink);
  border: 0;
  border-radius: 0 6px 6px 0;
  color: #fff;
  cursor: pointer;
  padding: 10px 19px;
}

.cotamee-breadcrumb {
  color: var(--ct-copy);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px;
  padding: 22px 0;
}

.cotamee-breadcrumb [aria-current="page"] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cotamee-diagnosis-entry,
.cotamee-standard-entry {
  margin-inline: auto;
  max-width: 900px;
}

.cotamee-diagnosis-header {
  padding: 22px 0 28px;
}

.cotamee-diagnosis-header h1 {
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.4;
  margin: 0;
}

.cotamee-diagnosis-header p {
  color: var(--ct-copy);
  font-size: 17px;
  margin: 18px 0 0;
}

.cotamee-diagnosis-cover {
  aspect-ratio: 1.91 / 1;
  margin: 0;
  overflow: hidden;
}

.cotamee-diagnosis-cover img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cotamee-diagnosis-about,
.cotamee-faq {
  border-top: 1px solid var(--ct-line);
  margin-top: 60px;
  padding-top: 42px;
}

.cotamee-diagnosis-about h2,
.cotamee-faq h2,
.cotamee-faq h3 {
  font-size: clamp(25px, 3vw, 34px);
}

.cotamee-entry-content {
  line-height: 2;
}

.cotamee-entry-content > *:first-child {
  margin-top: 0;
}

.cotamee-entry-content a {
  color: var(--ct-coral-dark);
  text-decoration: underline;
}

.cotamee-entry-content section + section {
  margin-top: 42px;
}

.cotamee-entry-content h2 {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.55;
  margin-bottom: 14px;
}

.cotamee-entry-content ul {
  padding-left: 1.4em;
}

.cotamee-contact-wrap {
  margin-top: 34px;
}

.cotamee-contact-form {
  display: grid;
  gap: 24px;
}

.cotamee-contact-form label {
  display: grid;
  font-weight: 800;
  gap: 8px;
}

.cotamee-contact-form input,
.cotamee-contact-form select,
.cotamee-contact-form textarea {
  background: #fff;
  border: 1px solid #ccd2db;
  border-radius: 6px;
  color: var(--ct-ink);
  font: inherit;
  line-height: 1.6;
  padding: 13px 14px;
  width: 100%;
}

.cotamee-contact-form input:focus,
.cotamee-contact-form select:focus,
.cotamee-contact-form textarea:focus {
  border-color: var(--ct-coral);
  box-shadow: 0 0 0 3px rgba(255, 112, 86, 0.16);
  outline: 0;
}

.cotamee-contact-form textarea {
  min-height: 210px;
  resize: vertical;
}

.cotamee-contact-form button {
  background: var(--ct-coral);
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  justify-self: start;
  min-width: 220px;
  padding: 15px 30px;
}

.cotamee-contact-form button:hover {
  background: var(--ct-coral-dark);
}

.cotamee-form-notice {
  border-left: 4px solid var(--ct-coral);
  margin-bottom: 28px;
  padding: 16px 18px;
}

.cotamee-form-notice p {
  margin: 4px 0 0;
}

.cotamee-form-notice.is-success {
  background: #eefaf5;
  border-color: #2aa47f;
}

.cotamee-form-notice.is-error {
  background: #fff1ee;
}

.cotamee-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.cotamee-about-note {
  background: var(--ct-soft);
  border-left: 4px solid var(--ct-coral);
  color: var(--ct-copy);
  font-size: 14px;
  margin-top: 28px;
  padding: 14px 18px;
}

.cotamee-faq details {
  border-top: 1px solid var(--ct-line);
  padding: 18px 0;
}

.cotamee-faq summary {
  cursor: pointer;
  font-weight: 800;
}

.cotamee-faq p {
  color: var(--ct-copy);
  margin-bottom: 0;
}

.cotamee-content-main {
  min-height: 60vh;
  padding-block: 72px 100px;
}

.cotamee-page-heading {
  margin-bottom: 42px;
}

.cotamee-page-heading time {
  color: var(--ct-copy);
  font-size: 13px;
}

.cotamee-not-found {
  text-align: center;
}

.pagination .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 46px;
}

.pagination .page-numbers {
  align-items: center;
  border: 1px solid #d9dde6;
  display: inline-flex;
  justify-content: center;
  min-height: 42px;
  min-width: 42px;
  padding: 5px 10px;
}

.pagination .current {
  background: var(--ct-ink);
  color: #fff;
}

.cotamee-empty {
  color: var(--ct-copy);
  grid-column: 1 / -1;
}

.cotamee-site-footer {
  background: #fff;
  border-top: 1px solid #edf0f4;
  padding: 56px 0 28px;
}

.cotamee-footer-inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cotamee-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cotamee-footer-links a {
  font-size: 13px;
  font-weight: 700;
}

.cotamee-copyright {
  color: var(--ct-copy);
  font-size: 12px;
  margin: 0;
}

@media (max-width: 1050px) {
  .cotamee-grid-five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cotamee-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cotamee-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  }

  .cotamee-hero-copy {
    padding-inline: 44px;
  }

  .cotamee-hero h1 {
    font-size: 48px;
  }
}

@media (max-width: 760px) {
  .cotamee-header-inner,
  .cotamee-footer-inner,
  .cotamee-section,
  .cotamee-content-main,
  .cotamee-archive-main,
  .cotamee-diagnosis-main,
  .cotamee-overlay-inner {
    width: min(calc(100% - 28px), var(--ct-content));
  }

  .cotamee-header-inner {
    height: 64px;
  }

  .cotamee-brand img,
  .custom-logo {
    height: 38px;
    width: 135px;
  }

  .cotamee-menu-button {
    width: 42px;
  }

  .cotamee-menu-button span {
    height: 2px;
    width: 36px;
  }

  .cotamee-overlay-inner {
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }

  .cotamee-contact-cta {
    margin-bottom: 20px;
  }

  .cotamee-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .cotamee-hero-copy {
    padding: 34px 24px 24px;
  }

  .cotamee-hero h1 {
    font-size: 28px;
    line-height: 1.35;
  }

  .cotamee-hero h1 br {
    display: initial;
  }

  .cotamee-hero-points {
    margin-top: 34px;
  }

  .cotamee-hero-points p {
    padding: 0 10px;
  }

  .cotamee-hero-points strong {
    font-size: 12px;
  }

  .cotamee-hero-points span {
    display: none;
  }

  .cotamee-hero-visual {
    min-height: 0;
  }

  .cotamee-hero-visual img {
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
    object-position: top center;
  }

  .cotamee-section {
    padding-block: 58px;
  }

  .cotamee-feature-row {
    grid-template-columns: 1fr;
  }

  .cotamee-feature-row > div {
    border-bottom: 1px solid var(--ct-line);
    border-right: 0;
    min-height: 0;
    padding: 24px;
  }

  .cotamee-feature-row > div:last-child {
    border-bottom: 0;
  }

  .cotamee-featured-slide {
    flex-basis: 84vw;
  }

  .cotamee-diagnosis-grid,
  .cotamee-grid-five,
  .cotamee-grid-four,
  .cotamee-column-grid {
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cotamee-card-copy,
  .cotamee-column-card > a > div:last-child {
    padding: 13px 12px 16px;
  }

  .cotamee-card-copy h3,
  .cotamee-column-card h2,
  .cotamee-column-card h3 {
    font-size: 15px;
    line-height: 1.5;
  }

  .cotamee-card-copy p,
  .cotamee-column-card p {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }

  .cotamee-list-head {
    align-items: stretch;
    flex-direction: column;
  }

  .cotamee-search {
    width: 100%;
  }

  .cotamee-diagnosis-header {
    padding-top: 12px;
  }

  .cotamee-diagnosis-header h1 {
    font-size: 30px;
  }

  .cotamee-breadcrumb {
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .cotamee-content-main {
    padding-block: 50px 72px;
  }

  .cotamee-page-heading {
    margin-bottom: 30px;
  }

  .cotamee-contact-form button {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 390px) {
  .cotamee-hero h1 {
    font-size: 24px;
  }

  .cotamee-card-copy h3,
  .cotamee-column-card h2,
  .cotamee-column-card h3 {
    font-size: 14px;
  }

  .cotamee-card-copy p,
  .cotamee-column-card p {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cotamee-overlay-menu {
    transition: none;
  }
}
