:root {
  --navy: #071c62;
  --blue: #0a65b7;
  --cyan: #2cc5df;
  --pink: #f04f9a;
  --orange: #ffb227;
  --cream: #fff8ec;
  --paper: #fffdf8;
  --ink: #0c164f;
  --muted: #52617a;
  --line: #9ec1e7;
  --accent: #ee4f93;
  --radius: 22px;
  --shadow: 0 20px 50px rgba(7, 28, 98, 0.18);
  --header-height: 0;

  --light-pink: #fff2f7;
  --purple: #7252c9;
  --border: #eadce5;
  --text: #23264d;
  --shadow: 0 8px 25px rgba(41, 42, 101, .matching-08)
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.7;
}

body#top {
  background-image: url(../img/top/top_bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  background-attachment: fixed;
}

#main {
  position: relative;
  padding-top: var(--header-height);
}
#main a{
  transition: .3s;
}
#main a:hover{
  opacity: .7;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  z-index: 99;
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
}

.site-header,
.section,
.cta-section {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 1000;
  transition: 0.3s;
  width: 100%;
  text-align: center;
  background-image:
    linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 100%),
    url("../img/top/header_left.webp");

  background-repeat: no-repeat, no-repeat;
  background-position:
    left top,
    left top;
  background-size: auto, 30%;
}

.is-scrolled.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 100%);
  height: auto;
}

.site-header-in {
  width: min(1220px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(320px, 570px) 1fr;
  gap: 24px;
  padding: 24px 0 12px;
  height: 122px;
  margin: 0 auto;
}

#toppage .is-scrolled.site-header .site-header-in,
.is-scrolled.site-header .site-header-in {
  height: 122px;
}

.site-header.is-scrolled .logo-default {
  opacity: 0;
  transform: scale(0.97);
}

.site-header.is-scrolled .logo-scrolled {
  opacity: 1;
  transform: scale(1);
}

.site-header.is-scrolled .brand-area .logo {
  height: auto;
}

.is-scrolled.site-header .auth-links {
  display: none;
}

.is-scrolled.site-header .brand-area {
  height: inherit;
}

.is-scrolled.site-header .side-links {
  position: fixed;
  top: 200px;
  right: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 1;
}

#fonts .site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 100%);
  height: auto;
}

#toppage .site-header .site-header-in {
  height: 300px;
}

.site-header#fonts .logo-default {
  opacity: 0;
  transform: scale(0.97);
}

.site-header#fonts .logo-scrolled {
  opacity: 1;
  transform: scale(1);
}

.site-header#fonts .brand-area .logo {
  height: auto;
}

#fonts .site-header .auth-links {
  display: none;
}

#fonts .site-header .brand-area {
  height: inherit;
}

#fonts .site-header .side-links {
  position: fixed;
  top: 200px;
  right: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 1;
}

#fonts .logo-default {
  opacity: 0;
}

#fonts .logo-scrolled {
  opacity: 1;
}

.side-links {
  position: absolute;
  transition: 0.3s;
  opacity: 0;
}

.side-links .button {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.2em;
  border-radius: 9px 0 0 9px;
  padding: 0.85rem 0.8rem;
}

.brand-area {
  padding: 18px 28px 16px;
  height: inherit;
  position: relative;
}

#toppage .brand-area {
  /*height: 300px;*/
}

#toppage .is-scrolled .site-header .site-header-in,
#toppage .is-scrolled .brand-area {
  /*height: 122px !important;*/
}

.brand-area img {
  width: 100%;
  height: auto;
}

.brand-area .logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.logo-default {
  opacity: 1;
}

.logo-scrolled {
  opacity: 0;
}

.tagline {
  margin: 0 0 0.25rem;
  text-align: center;
  font-weight: 700;
}

.brand-title {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 4px 4px 0 rgba(240, 79, 154, 0.22);
}

.brand-script {
  margin: -0.1rem 0 0;
  color: var(--pink);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-style: italic;
}

.brand-lead {
  margin: 0.15rem 0 0.7rem;
  font-weight: 900;
  text-align: center;
}

.partners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: #fff;
  border: 2px solid #b6d6f2;
  border-radius: 6px;
  padding: 9px 16px;
  font:
    800 2rem/1 Montserrat,
    sans-serif;
  color: #1d63a5;
}

.partners .imagenavi {
  color: #ea741f;
}

.header-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-links {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  padding: 0.85rem 1.4rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 0 rgba(7, 28, 98, 0.18);
  transition: 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-login {
  background: var(--blue);
  color: #fff;
}

.button-register {
  background: var(--pink);
  color: #fff;
}

.button-outline {
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.global-nav {
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid #8bbbe6;
  border-radius: 10px;
  overflow: hidden;
}

.global-nav ul {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-nav a {
  display: grid;
  place-items: center;
  min-height: 82px;
  padding: 8px 3px;
  border-left: 1px solid #d4e7f8;
  text-align: center;
  color: var(--navy);
  font-size: 0.62rem;
  line-height: 1.2;
  font-weight: 900;
  text-decoration: none;
}

.global-nav li:first-child a {
  border-left: 0;
}

.nav-icon {
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
}

.nav-icon img {
  width: 38px;
  height: auto;
}

.nav-toggle {
  display: none;
}

.hero {
  width: 100%;
  position: relative;
  min-height: 520px;
}

.hero img {
  width: 100%;
  height: auto;
}

.hero-stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: center;
  width: 100%;
}

.hero-copy {
  color: #fff;
}

.eyebrow {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd15c;
  margin: 0 0 0.45rem;
}

.hero h2 {
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.18;
  margin: 0.3rem 0 1rem;
}

.hero p:not(.eyebrow) {
  font-size: 1.08rem;
  color: #e7eef8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-visual {
  position: relative;
  min-height: 360px;
}

.phone-card,
.art-card {
  position: absolute;
  border-radius: 28px;
  background: linear-gradient(145deg, #fff, #dff5ff);
  box-shadow: 0 30px 70px rgba(48, 190, 230, 0.28);
}

.phone-card {
  inset: 34px 26% 8px 23%;
  border: 12px solid #18285f;
}

.phone-card::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 18px;
  background: linear-gradient(135deg, #ff76ae, #28c6dc);
}

.art-card {
  width: 42%;
  height: 38%;
  border: 4px solid #fff;
}

.art-card-1 {
  left: 0;
  top: 18%;
  transform: rotate(-8deg);
}

.art-card-2 {
  right: 0;
  bottom: 10%;
  transform: rotate(7deg);
  background: linear-gradient(145deg, #ffe3f1, #fff8ce);
}

.section {
  background: rgba(255, 253, 248, 0.6);
  backdrop-filter: blur(10px);
  border: 2px solid #8cbce7;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-top: 20px;
}

.section-heading {
  text-align: center;
  margin-bottom: 20px;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 2.7rem);
  line-height: 1.25;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.service-card {
  border: 2px solid #aad0ef;
  border-radius: 16px;
  background: #fffdf8;
  padding: 15px 11px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(7, 28, 98, 0.08);
}

.service-card img {
  width: 100%;
  height: auto;
}

.service-card h3 {
  margin: 0.7rem 0 0.35rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.service-art {
  height: 112px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffeef5, #e7f8ff);
  display: grid;
  place-items: center;
  font-size: 4rem;
  font-weight: 900;
  overflow: hidden;
}

.handshake::before {
  content: "🤝";
  font-size: 4.4rem;
}

.manga-art {
  background-image:
    linear-gradient(90deg, #111 1px, transparent 1px),
    linear-gradient(#111 1px, transparent 1px),
    radial-gradient(circle, #fff 0 35%, transparent 36%);
  background-size:
    34px 34px,
    34px 34px,
    100% 100%;
}

.print-art::before {
  content: "▣ ▤ ◉";
  font-size: 2rem;
}

.product-section {
  padding: 20px;
}

.panel-title h2 {
  color: #7b2074;
  font-size: 1.4rem;
  margin: 0 0 12px;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.product-list li {
  min-height: 98px;
  background: #fff;
  border: 2px solid #e1b7d7;
  border-radius: 10px;
  padding: 6px 2px;
  text-align: center;
  font-size: 0.73rem;
  line-height: 1.2;
  font-weight: 900;
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.product-list li img {
  width: 65px;
  height: auto;
  margin: 0 auto 0;
}

.ribbon-heading {
  display: flex;
  justify-content: center;
  margin-top: -12px;
  margin-bottom: 18px;
}

.ribbon-heading h2 {
  background: var(--navy);
  color: #fff;
  padding: 0.35rem 3rem;
  border-radius: 6px;
  transform: skew(-8deg);
  box-shadow: 0 8px 0 rgba(240, 79, 154, 0.55);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.benefit-card {
  background: #fff;
  border: 2px solid #b9d4ee;
  border-radius: 18px;
  padding: 18px;
  text-align: center;
}

.benefit-card img {
  width: 100%;
  height: auto;
}

.benefit-card h3 {
  font-size: 1.45rem;
  margin: 0.75rem 0 0.25rem;
  color: #7b2074;
}

.benefit-card p {
  margin: 0 0 0.68rem;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--muted);
}

.benefit-image {
  height: 150px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
}

.kyoto-img {
  background-image:
    linear-gradient(135deg, rgba(16, 30, 95, 0.1), rgba(240, 79, 154, 0.2)),
    linear-gradient(45deg, #173a70, #ffcf8a);
}

.event-img {
  background-image:
    radial-gradient(circle at 30% 35%, #fff 0 4%, transparent 5%),
    radial-gradient(circle at 55% 45%, #fff 0 4%, transparent 5%),
    linear-gradient(135deg, #1b59a2, #ffc164);
}

.future-img {
  background-image: linear-gradient(135deg, #0b1e56, #3bd0e5 55%, #ffe4f0);
}

.badge-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.badge-list li {
  background: #f6f8ff;
  border: 1px solid #c3d8ef;
  border-radius: 999px;
  padding: 0.55rem;
  font-weight: 900;
  font-size: 0.9rem;
}

.cta-section {
  width: 100%;
}

.cta-section img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.cta-card {
  text-align: center;
  color: #fff;
}

.cta-card h2 {
  font-size: 2.2rem;
  margin: 0 0 0.8rem;
  text-shadow: 0 4px 0 rgba(7, 28, 98, 0.3);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step-list a {
  display: grid;
  place-items: center;
  min-height: 88px;
  color: #fff;
  text-decoration: none;
  border: 3px solid #fff;
  border-radius: 14px;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 8px 0 rgba(7, 28, 98, 0.25);
}

.step-list li:nth-child(1) a {
  background: var(--pink);
}

.step-list li:nth-child(2) a {
  background: var(--orange);
  color: #0a2869;
}

.step-list li:nth-child(3) a {
  background: #25a7a5;
}

.mascot-area {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.character {
  width: 120px;
  height: 160px;
  border-radius: 60px 60px 28px 28px;
  background: linear-gradient(180deg, #ffe2c4 0 28%, #101c55 29%);
  position: relative;
  box-shadow: var(--shadow);
}

.character::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 35px;
  width: 50px;
  height: 22px;
  border-radius: 999px;
  border: 4px solid #111;
}

.character-right {
  background: linear-gradient(180deg, #dff7ff 0 28%, #152668 29%);
}

.speech {
  background: #fff;
  border: 2px solid #111;
  border-radius: 24px;
  padding: 14px;
  font-weight: 900;
  max-width: 180px;
}

footer {
  background-color: #151e46;
}

.site-footer {
  text-align: center;
  color: #fff;
  padding: 24px 0 34px;
}

/* ----------------------------------------------
 pagetop
 ---------------------------------------------- */
.pagetop {
  width: 50px;
  height: 50px;
  position: fixed;
  right: 20px;
  bottom: -50px;
  z-index: 1000;
}

.pagetop img {
  width: 100%;
  height: auto;
}

/*
fonts
_______*/

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

.fonts-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1fonts-25rem;
}

.fonts-brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.fonts-global-nav {
  display: flex;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 700;
}

.fonts-hero-grid {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 12px;
}

.fonts-search-panel {
  margin-top: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: .fonts-04em;
}

h1 {
  font-size: clamp(1fonts-45rem, 3vw, 2rem);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1fonts-25rem, 2vw, 1fonts-55rem);
  margin-bottom: 16px;
}

.fonts-search-form {
  display: grid;
  grid-template-columns: 1fr 132px auto;
  gap: 14px;
  align-items: center;
}

.fonts-search-box input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d9dced;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0 16px;
}

.fonts-search-form button[type="submit"] {
  min-height: 46px;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #f05ba0, #df3e84);
  border: none;
}

.fonts-detail-link,
.fonts-reset-link,
.fonts-section-head a,
.fonts-more {
  font-weight: 800;
  font-size: 0.9rem;
}

.fonts-filters {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.fonts-filters label {
  font-size: .fonts-85rem;
  font-weight: 800;
}

.fonts-reset-link {
  grid-column: 1 / -1;
  justify-self: end;
  color: var(--muted);
}

.fonts-member-card {
  overflow: hidden;
  min-height: 210px;
  padding: 20px 134px 20px 24px;
  border: 2px solid #f5c9d7;
  border-radius: var(--radius);
  background-image: url(../img/fonts/font-present.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right top;
}

.fonts-member-title {
  font-size: 1fonts-2rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.fonts-member-body {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px 10px;
  font-weight: 800;
  font-size: 0.95rem;
}

.fonts-gift {
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--accent);
  width: 34px;
  height: 34px;
}

.fonts-member-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  padding: 10px 26px;
  color: #fff !important;
  font-size: .93rem;
  font-weight: 600;
  border-radius: 8px;
  background: linear-gradient(135deg, #7f759d, #302b9f);
}

.fonts-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fonts-font-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.fonts-font-card {
  position: relative;
  min-width: 0;
  padding: 35px 18px 18px;
  border: 1px solid #e5e8f3;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.92);
}

.fonts-sample {
  margin: 8px 0 4px;
  font-size: clamp(2fonts-5rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.fonts-08em;
}

.fonts-sample img {
  width: 100%;
  height: auto;
}

.fonts-pop {
  color: #2130a7;
  transform: rotate(-2deg);
}

.fonts-comic {
  color: #292b37;
}

.fonts-serif {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: #1f2030;
}

.fonts-hand {
  font-family: cursive;
  color: #222337;
}

.fonts-sf {
  font-family: Impact, "Arial Black", sans-serif;
  color: #303341;
}

.fonts-font-card h3 {
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.fonts-font-card p:not(.fonts-sample) {
  min-height: 44px;
  color: var(--muted);
  font-size: .fonts-78rem;
  font-weight: 700;
}

.fonts-font-card small {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid #a4a8c7;
  border-radius: 4px;
  font-weight: 800;
}

.fonts-badge,
.fonts-rank {
  position: absolute;
  top: 0;
  left: 0;
  padding: 4px 12px;
  color: #fff;
  font-weight: 900;
  border-radius: 8px 0 8px 0;
}

.fonts-badge {
  background: var(--accent);
}

.fonts-rank {
  background: #dba32c;
}

.fonts-silver {
  background: #9aa8bd;
}

.fonts-bronze {
  background: #b57638;
}

.fonts-price-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
}

.fonts-price-row strong {
  margin-right: auto;
  color: var(--accent);
  font-size: 1fonts-25rem;
}

.fonts-price-row button {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  padding: 4px;
  display: flex;
  align-items: center;
  border-radius: 5px;
}

.fonts-price-row button {
  font-size: 0.7rem;
}

.fonts-price-row button i {
  font-size: 1rem;
  display: flex;
  flex-direction: column;
}

.fonts-category-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 18px;
}

.fonts-category-grid a {
  display: grid;
  place-items: center;
  min-height: 104px;
  padding: 14px 6px;
  border: 1px solid #dfe3f1;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-weight: 600;
  font-size: 0.8rem;
}

.fonts-category-grid span {
  display: block;
  font-size: 2fonts-1rem;
  line-height: 1fonts-1;
  margin-bottom: 8px;
}

.fonts-category-grid img {
  width: 100%;
  height: auto;
}

.fonts-content-grid {
  width: min(1251px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 20px;
}

.fonts-content-grid .fonts-section {
  width: 100%;
}

.fonts-scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fonts-scene-grid article {
  border: 1px solid #e2e5f2;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  text-align: center;
}

.fonts-scene-grid h3 {
  padding: 10px 8px;
  margin: 0;
  font-size: 0.9rem;
}

.fonts-scene-img {
  display: grid;
  place-items: end center;
  min-height: 120px;
  padding: 8px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #dcdff2, #fff);
}

.fonts-manga {
  background: #989dc5;
}

.fonts-movie {
  background: #de2c9c;
}

.fonts-poster {
  background: linear-gradient(135deg, #4f2a24, #b39378);
}

.fonts-goods {
  background: #e46053;
}

.fonts-news-section h2 span {
  color: var(--accent);
  font-size: .fonts-8rem;
}

.fonts-news-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fonts-news-section li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #e2e6f1;
  font-weight: 900;
}

.fonts-news-section strong {
  white-space: nowrap;
}

.fonts-more {
  display: block;
  margin-top: 16px;
  text-align: right;
}

.fonts-cta-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
  margin-bottom: 32px;
}

.fonts-cta-section img {
  width: 100%;
  height: auto;
}

.fonts-cta {
  display: grid;
  gap: 4px;
  min-height: 126px;
  padding: 24px;
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.fonts-cta strong {
  font-size: 1fonts-4rem;
}

.fonts-guide {
  background: linear-gradient(135deg, #6964d9, #8fb8ff);
}

.fonts-license {
  background: linear-gradient(135deg, #1ba9b0, #83d7e5);
}

.fonts-request {
  background: linear-gradient(135deg, #ff813d, #ffbc4f);
}

.fonts-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

#fonts .section {
  box-shadow: inherit;
}

.fonts-hero {
  padding: 20px 0;
}

#fonts h3 {
  font-size: clamp(1.45rem, 1.7vw, 1.3rem);
  margin-bottom: 12px;
}

.fonts-font-card h3 {
  font-size: clamp(1.2rem, 1.5vw, 1.3rem) !important;
  margin-bottom: 12px;
}

.fonts-gift img {
  width: 34px;
  height: auto;
}

.fonts-scene-grid h3 {
  font-size: clamp(0.9rem, 1.7vw, 1rem) !important;
  margin-bottom: 0 !important;
}

.fonts-scene-grid img {
  width: 100%;
  height: auto;
}

.col3_bnr {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 28px 0;
  margin-top: 20px;
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 32px));
  margin-inline: auto;
}

.col3_bnr div a {
  border-radius: 20px;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.col3_bnr div a span {
  color: #fff;
  padding: 40px 0;
}

.col3_bnr div a img {
  width: 100%;
  height: auto;
}

.col3_bnr div:nth-child(1) a {
  background-color: #6661bb;
}

.col3_bnr div:nth-child(2) a {
  background-color: #48a8b3;
}

.col3_bnr div:nth-child(3) a {
  background-color: #e5711e;
}


.footer_info {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: min(calc(100% - 48px), 1120px);
  margin-inline: auto;
  padding-top: clamp(10px, 1vw, 10px);
  margin-bottom: 20px;
}

.footer_info ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: fit-content;
  margin: 0;
  padding: 0;
  gap: 20px;
  list-style: none;
}

.footer_info li {
  flex: 0 1 auto;
  max-width: 100%;
  font-size: clamp(13px, 0.9vw, 13px);
  line-height: 1.8;
}

.footer_info h5,
.footer_info h6 {
  font-size: 15px;
  margin: 0;
  line-height: 1.4;
  color: #fff;
}

.footer_info h5 {
  margin-bottom: 8px;
  padding-bottom: 7px;
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.footer_info h6 {
  margin-bottom: 6px;
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 600;
  letter-spacing: 0.04em;
}


@media (max-width: 1024px) {

  .fonts-hero-grid,
  .fonts-content-grid {
    grid-template-columns: 1fr;
  }

  .fonts-font-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .fonts-category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 720px) {
  .fonts-global-nav {
    display: none;
  }

  .fonts-section {
    padding: 20px;
  }

  .fonts-search-form {
    grid-template-columns: 1fr;
  }

  .fonts-filters {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .fonts-font-grid,
  .fonts-scene-grid,
  .fonts-cta-section {
    grid-template-columns: 1fr;
  }

  .fonts-category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .fonts-price-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 1100px) {

  .site-header,
  .hero-stage {
    grid-template-columns: 1fr;
  }

  .global-nav ul {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .cta-section {
    grid-template-columns: 1fr;
  }

  .mascot-area {
    justify-content: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 300px;
  }
}

@media (max-width: 640px) {

  .site-header,
  .section,
  .cta-section,
  .site-footer,
  .hero {
    width: 100%;
  }

  .site-header {
    padding-top: 10px;
  }

  .brand-area {
    padding: 0;
    width: 250px;
  }

  .partners {
    font-size: 1.25rem;
  }

  .auth-links {
    justify-content: stretch;
  }

  .auth-links .button {
    flex: 1;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    align-self: end;
    width: 48px;
    height: 44px;
    background: #fff;
    border: 2px solid #8bbbe6;
    border-radius: 10px;
    margin-left: auto;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--navy);
    margin: 2px;
  }

  .global-nav {
    display: none;
  }

  .global-nav.is-open {
    display: block;
  }

  .global-nav ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 0;
  }

  .hero-stage {
    gap: 10px;
  }

  .hero-visual {
    display: none;
  }

  .service-grid,
  .benefit-grid,
  .step-list,
  .badge-list {
    grid-template-columns: 1fr;
  }

  .product-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .ribbon-heading h2 {
    font-size: 1.35rem;
    padding: 0.35rem 1.2rem;
  }

  .character {
    display: none;
  }

  .speech {
    max-width: none;
  }

  .brand-title {
    font-size: 3.15rem;
  }

    {
    height: 44px !important;
    padding: 0 0 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 48px;
    gap: 20px;
    position: relative;
  }

  #global-nav {
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
  }

  #fonts .site-header .side-links {
    top: 400px;
    gap: 6px;
  }

  .side-links .button {
    letter-spacing: 0.1em;
    border-radius: 9px 0 0 9px;
    padding: 0.4rem 0.4rem;
    font-size: .8rem;
  }

  .fonts-hero-grid {
    width: min(1220px, calc(100% - 0px));
  }

  .fonts-member-card {
    margin: 0 10px;
  }

  .fonts-content-grid {
    width: min(1251px, calc(100% - 0px));
  }

  .fonts-cta-section {
    padding: 20px 10px !important;
  }

  body#top {
    background-size: cover;
  }

  /*トップスクロールしていなくても*/

  .site-header .site-header-in {
    height: inherit;
    padding: 0;
    margin: 0;
  }

  .site-header .logo-default {
    opacity: 0;
    transform: scale(0.97);
  }

  .site-header .logo-scrolled {
    opacity: 1;
    transform: scale(1);
  }

  .site-header .brand-area .logo {
    height: auto;
  }

  .site-header .auth-links {
    display: none;
  }

  .site-header .brand-area {
    height: inherit;
  }

  .site-header .side-links {
    position: fixed;
    top: 200px;
    right: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 1;
  }

  #main {
    margin: 10px 20px;
  }

  .is-scrolled.site-header .site-header-in {
    height: inherit;
  }

  .site-footer {
    padding: 6px 0 6px;
    font-size: .83rem;
  }

  .site-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 100%);
    height: auto;
    padding: 10px;
  }

  .section {
    padding: 10px;
    margin-top: 20px;
  }

  #toppage .brand-area,
  #toppage .site-header .site-header-in {
    height: inherit;
  }

  .col3_bnr {
    display: block;
    width: 100%;
  }

  .col3_bnr div {
    margin-bottom: 20px;
  }
}

/*
matching
___________________*/


.matching-wrap {
  max-width: 1420px;
  margin: auto;
  padding-inline: 28px
}

.matching-hero {
  min-height: 570px;
  display: grid;
  grid-template-columns: 41% 59%;
  overflow: hidden;
  background: linear-gradient(120deg, #fff 0 39%, #f9f8ff 39% 100%);
  position: relative
}

.matching-hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 60px;
  background: linear-gradient(180deg, transparent, #fff)
}

.matching-hero__copy {
  padding: 55px 20px 70px clamp(35px, 6vw, 100px);
  position: relative;
  z-index: 2
}

.matching-eyebrow {
  font-size: 11px;
  letter-spacing: .matching-14em;
  color: #7a78a1;
  font-weight: 700
}

.matching-hero h1 {
  font-size: clamp(40px, 4.matching-5vw, 70px);
  line-height: 1.matching-35;
  margin: 8px 0 14px;
  color: #252b79;
  letter-spacing: .matching-04em
}

.matching-hero h1 span {
  color: #dd438b
}

.matching-hero h2 {
  font-size: clamp(18px, 1.matching-7vw, 27px);
  line-height: 1.matching-6;
  color: #293081;
  margin: 0 0 22px
}

.matching-hero__copy>p:not(.matching-eyebrow) {
  font-weight: 500
}

.matching-hero__actions {
  position: absolute;
  bottom: 60px;
  left: calc(50% - 204.5px);
  display: flex;
  gap: 22px;
  margin-top: 32px;
}

.matching-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 6px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: .matching-2s
}

.matching-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow)
}

.matching-button--primary {
  background: linear-gradient(135deg, #ee3c83, #f35b94);
  color: #fff !important;
}

.matching-button--outline {
  background: #fff;
  color: #29337f;
  border-color: #2d3c91
}

.matching-stats {
  position: relative;
  z-index: 3;
  margin-top: -55px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.15fr;
  gap: 0;
  background: #fff;
  border: 1px solid #dfe1f1;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: visible
}

.matching-stats article {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  border-right: 1px solid #e5e5ef
}

.matching-stats__icon {
  font-size: 38px
}

.matching-stats small {
  display: block;
  color: #34356e;
  font-weight: 700
}

.matching-stats strong {
  font-size: 30px;
  color: #17226a
}

.matching-stats em {
  font-size: 14px;
  font-style: normal
}

.matching-stats__campaign {
  margin: 0;
  padding: 20px 24px;
  background: #fffaf2;
  border: 1px solid #efcfb6;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  color: #24327c;
  width: 330px;
  position: absolute;
  top: -100px;
  right: 30px;
}

.matching-stats__campaign b {
  font-size: 18px
}

.matching-stats__campaign b span {
  color: #f04a7b
}

.matching-stats__campaign .matching-gift {
  font-size: 36px
}

.matching-stats__campaign i {
  grid-column: 1/-1;
  text-align: center;
  background: #ef3f85;
  color: #fff;
  font-style: normal;
  border-radius: 4px;
  margin-top: 12px;
  padding: 5px
}

.matching-layout {
  /*
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 34px;
  */
  margin-top: 45px
}

.matching-section-title {
  text-align: center;
  color: #263278;
  font-size: 26px;
  margin: 20px 0 24px
}

.matching-purpose-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px
}

.matching-purpose-grid button {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  min-height: 145px;
  color: #30346d;
  font-weight: 700;
  cursor: pointer
}

.matching-purpose-grid button span {
  display: block;
  font-size: 47px;
  margin-bottom: 8px
}

.matching-search-panel {
  margin-top: 30px;
  padding: 0 18px 20px;
  background: linear-gradient(#fff7f9, #fff);
  border: 1px solid #f0dce3;
  border-radius: 10px
}

.matching-search-panel h2 {
  color: var(--pink);
  font-size: 18px
}

.matching-search-panel form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: end
}

.matching-search-panel label {
  font-size: 12px;
  font-weight: 700
}

.matching-search-panel select,
.matching-search-panel input {
  width: 100%;
  height: 46px;
  margin-top: 5px;
  border: 1px solid #dadce6;
  background: #fff;
  padding: 0 12px
}

.matching-keyword {
  grid-column: 1/3
}

.matching-detail-toggle {
  background: none;
  border: 0;
  color: #2f3c8d;
  font-weight: 700;
  cursor: pointer
}

.matching-advanced {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.matching-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 24px 0 14px
}

.matching-section-heading h2 {
  color: #1f2c77
}

.matching-section-heading a {
  color: #3154a8;
  font-weight: 700
}

.matching-creator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 18px;
}

.matching-creator-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #dde0ec;
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
}

.matching-creator-card img {
  width: 100%;
  height: 175px;
  object-fit: cover
}

.matching-creator-card>div {
  padding: 12px
}

.matching-creator-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px;
}

.matching-creator-card-button {
  margin-top: auto;
  padding-top: 16px;
}

.matching-creator-card h3 {
  margin: 0;
  color: #17226a
}

.matching-handle {
  font-size: 11px;
  margin: 0 0 7px
}

.matching-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px
}

.matching-tags span {
  padding: 2px 7px;
  background: #eef0ff;
  border: 1px solid #c8cdf5;
  border-radius: 4px;
  font-size: 10px
}

.matching-creator-card>div>p:not(.matching-handle, .matching-tags) {
  font-size: 12px;
  line-height: 1.matching-6
}

.matching-creator-card footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px
}

.matching-creator-card footer button {
  border: 0;
  background: none;
  font-size: 24px;
  color: #6270a4
}

.matching-dots {
  text-align: center;
  margin: 14px
}

.matching-dots>* {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5d7df;
  margin: 3px
}

.matching-dots b {
  background: #33499c
}

.matching-benefits {
  background: #f8f9ff;
  padding: 16px;
  border-radius: 12px;
  margin-top: 20px
}

.matching-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr)
}

.matching-benefit-grid article {
  padding: 18px;
  border-right: 1px solid #e2e5f2
}

.matching-benefit-grid article:last-child {
  border: 0
}

.matching-benefit-grid span {
  font-size: 35px;
  float: left;
  margin-right: 12px
}

.matching-benefit-grid h3 {
  font-size: 14px;
  color: #273279;
  margin: 0
}

.matching-benefit-grid p {
  font-size: 11px;
  clear: both
}

.matching-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px
}

.matching-side-card {
  border: 1px solid #e6cada;
  border-radius: 9px;
  overflow: hidden;
  background: #fff
}

.matching-side-card>h2 {
  margin: 0;
  padding: 8px 15px;
  background: linear-gradient(90deg, #ec3e85, #ee5e9b);
  color: #fff;
  text-align: center;
  font-size: 18px
}

.matching-flow ol {
  list-style: none;
  margin: 0;
  padding: 10px 18px
}

.matching-flow li {
  display: flex;
  gap: 14px;
  padding: 12px 0
}

.matching-flow li b {
  color: #ed4786;
  font-size: 22px
}

.matching-flow li strong {
  color: #233178
}

.matching-flow li p {
  font-size: 12px;
  margin: 2px 0
}

.matching-flow .matching-button {
  margin: 0 18px 18px;
  width: calc(100% - 36px);
  min-height: 40px
}

.matching-tags-box>h2 {
  background: linear-gradient(90deg, #704fbe, #8067d2)
}

.matching-tags-box div {
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.matching-tags-box a {
  border: 1px solid #d9d9e8;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 12px
}

.matching-festival {
  position: relative;
  display: block;
  border-radius: 9px;
  overflow: hidden
}

.matching-festival img {
  width: 100%;
  display: block
}

.matching-festival span {
  position: absolute;
  left: 25%;
  bottom: 12px;
  background: #fff;
  padding: 7px 38px;
  border-radius: 4px;
  color: #26327b;
  font-weight: 700
}

.matching-register {
  padding-bottom: 20px
}

.matching-register>h2 {
  background: none;
  color: var(--pink);
  text-align: left;
  padding: 20px 24px 0
}

.matching-register p,
.matching-register small {
  display: block;
  padding: 0 24px;
  text-align: center
}

.matching-register .matching-button {
  margin: 7px 24px;
  width: calc(100% - 48px)
}

.matching-site-footer {
  min-height: 260px;
  margin-top: 25px;
  display: grid;
  grid-template-columns: 1fr 1.matching-2fr 1fr;
  align-items: end;
  background: radial-gradient(circle at 50% 100%, #f9f7ff, transparent 45%), linear-gradient(#fff, #fff);
  overflow: hidden
}

.matching-footer-character {
  height: 240px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom
}

.matching-footer-character--left {
  background-image: url('.matching-.matching-/images/footer_left.matching-png')
}

.matching-footer-character--right {
  background-image: url('.matching-.matching-/images/footer_right.matching-png')
}

.matching-footer-center {
  text-align: center;
  padding-bottom: 35px
}

.matching-footer-center p {
  font-size: 40px;
  font-weight: 900;
  color: #24287c;
  margin: 0
}

.matching-footer-center small {
  color: #e04488;
  font-style: italic
}

.matching-footer-center strong {
  display: block;
  font-size: 20px;
  color: #2551af
}

.matching-footer-center i {
  color: #555;
  margin: 0 8px
}

.matching-toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 20px);
  background: #20265d;
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: .matching-25s
}

.matching-toast.matching-show {
  opacity: 1;
  transform: translate(-50%, 0)
}

.btn_area {
  text-align: center;
  padding: 20px 0 0;
}

.matching-portfolio {
  font-size: .83rem !important;
  padding: 5px 10px !important;
  min-height: 30px !important;
  width: 100%;
  text-align: center;
}

.contents_footer {
  position: relative;
  z-index: 1;
  width: min(1363px, calc(100% - 32px));
  margin: 20px auto;
  overflow: hidden;
  vertical-align: bottom;
}

.contents_footer img {
  width: 100%;
  height: auto;
  overflow: hidden;
}

@media(max-width:1050px) {
  .matching-hero {
    grid-template-columns: 1fr;
    min-height: auto
  }

  .matching-hero__visual {
    height: 460px;
    clip-path: none
  }

  .matching-stats {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 0
  }

  .matching-stats__campaign {
    grid-column: 1/-1;
    margin: 0
  }

  .matching-layout {
    grid-template-columns: 1fr
  }

  .matching-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr
  }

  .matching-purpose-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media(max-width:700px) {

  .matching-stats__campaign {
    margin: 0;
    padding: 20px 24px;
    width: 100%;
    position: relative;
    top: 0;
    right: 0;
  }

  body {
    font-size: 14px
  }

  .matching-wrap {
    padding-inline: 15px
  }

  .matching-hero__copy {
    padding: 35px 22px
  }

  .matching-hero h1 {
    font-size: 38px
  }

  .matching-hero__visual {
    height: 330px
  }

  .matching-hero__actions {
    position: relative;
    flex-direction: column;
    padding: 50px 20px 0;
  }

  .matching-stats {
    grid-template-columns: 1fr
  }

  .matching-stats article {
    border-right: 0;
    border-bottom: 1px solid #eee
  }

  .matching-layout {
    margin-top: 25px
  }

  .matching-purpose-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .matching-search-panel form {
    grid-template-columns: 1fr 1fr
  }

  .matching-keyword {
    grid-column: 1/-1
  }

  .matching-creator-grid {
    grid-template-columns: 1fr 1fr
  }

  .matching-benefit-grid {
    grid-template-columns: 1fr 1fr
  }

  .matching-sidebar {
    display: flex
  }

  .matching-site-footer {
    grid-template-columns: 1fr
  }

  .matching-footer-character {
    display: none
  }

  .matching-footer-center p {
    font-size: 32px
  }

  .matching-wrap {
    max-width: inherit;
    padding: 0;
  }

  .matching-purposes,
  .matching-purposes img {
    width: 100%;
  }

  .matching-section-title {
    font-size: 1.3rem;
  }

  .matching-benefits {
    padding: 0;
  }
}

@media(max-width:460px) {

  .matching-creator-grid,
  .matching-benefit-grid,
  .matching-search-panel form {
    grid-template-columns: 1fr
  }

  .matching-keyword {
    grid-column: auto
  }

  .matching-purpose-grid {
    grid-template-columns: 1fr 1fr
  }

  .matching-purpose-grid button {
    font-size: 11px
  }

  .matching-hero__visual {
    height: 250px
  }
}