@import "base/reset.css";
@import "base/variables.css";
@import "base/typography.css";
@import "components/button.css";
@import "components/header.css";
@import "components/footer.css";

h1.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.m-auto {
  margin: 0 auto;
}

.m-0 {
  margin: 0;
}

.ml-auto {
  margin-left: auto;
}

.mr-auto {
  margin-right: auto;
}

.p-0 {
  padding: 0;
}

.p-10 {
  padding: 10px;
}

.p-20 {
  padding: 20px;
}

.w-100 {
  width: 100%;
}

.w-50 {
  width: 50%;
}

.h-100 {
  height: 100%;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.d-grid {
  display: grid;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.d-inline-grid {
  display: inline-grid;
}

.d-inline-flex {
  display: inline-flex;
}

.d-inline-block {
  display: inline-block;
}

.d-inline {
  display: inline;
}

.d-table {
  display: table;
}

.d-table-cell {
  display: table-cell;
}

.d-table-row {
  display: table-row;
}

.d-table-row-group {
  display: table-row-group;
}

.d-table-caption {
  display: table-caption;
}

.d-list-item {
  display: list-item;
}

.d-marker {
  display: marker;
}

.d-flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

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

.align-center {
  align-items: center;
}

.align-start {
  align-items: flex-start;
}

.align-end {
  align-items: flex-end;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

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

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.text-justify {
  text-align: justify;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-lowercase {
  text-transform: lowercase;
}

.text-capitalize {
  text-transform: capitalize;
}

.text-underline {
  text-decoration: underline;
}

.text-line-through {
  text-decoration: line-through;
}

.text-italic {
  font-style: italic;
}

.text-bold {
  font-weight: var(--font-weight-bold);
}

.text-regular {
  font-weight: var(--font-weight-regular);
}

.text-light {
  font-weight: var(--font-weight-light);
}

.text-medium {
  font-weight: var(--font-weight-medium);
}

.text-black {
  color: #000;
}

.text-white {
  color: #fff;
}

.text-accent {
  color: var(--color-accent);
}

.text-error {
  color: #ff0000;
}

.text-success {
  color: #00ff00;
}

.text-info {
  color: #0000ff;
}

.text-warning {
  color: #ffff00;
}

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

.text-tertiary {
  color: var(--color-tertiary);
}

.text-muted {
  color: #888;
}

.text-link {
  color: var(--color-link);
}

.text-link:hover {
  color: var(--color-link-hover);
}

.text-link:active {
  color: var(--color-link-active);
}

.text-link:visited {
  color: var(--color-link-visited);
}

.text-link:focus {
  color: var(--color-link-focus);
}

.text-link:target {
  color: var(--color-link-target);
}

.text-link:link {
  color: var(--color-link-link);
}

.bg-black {
  background-color: #000;
}

.bg-white {
  background-color: #fff;
}

.fs-40 {
  font-size: clamp(1.8rem, 2vw + 1rem, 2.5rem);
}

.fs-30 {
  font-size: clamp(1.4rem, 1.5vw + 0.5rem, 1.875rem);
}

.fs-24 {
  font-size: clamp(1.2rem, 1.2vw + 0.35rem, 1.5rem);
}

.fs-20 {
  font-size: clamp(1rem, 1vw + 0.25rem, 1.25rem);
}

.fs-18 {
  font-size: clamp(0.95rem, 0.9vw + 0.2rem, 1.125rem);
}

.fs-16 {
  font-size: clamp(0.9rem, 0.8vw + 0.2rem, 1rem);
}

.fs-14 {
  font-size: clamp(0.8rem, 0.7vw + 0.15rem, 0.875rem);
}

.lh-60 {
  line-height: clamp(2.6rem, 3vw + 1.2rem, 3.75rem);
}

.lh-55 {
  line-height: clamp(2.4rem, 2.7vw + 1rem, 3.25rem);
}

.lh-50 {
  line-height: clamp(2.2rem, 2.5vw + 1rem, 3.125rem);
}

.lh-40 {
  line-height: clamp(1.8rem, 2vw + 0.8rem, 2.5rem);
}

.lh-30 {
  line-height: clamp(1.4rem, 1.5vw + 0.5rem, 1.875rem);
}

.lh-20 {
  line-height: clamp(1rem, 1vw + 0.25rem, 1.25rem);
}

.fw-300 {
  font-weight: 300;
}

.fw-400 {
  font-weight: 400;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.font-serif {
  font-family: "Noto Serif JP", "Noto Serif", serif;
}

.font-sans {
  font-family: "Noto Sans JP", sans-serif;
}
.mb-20 {
  margin-bottom: 20px;
}

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

body {
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  min-width: 320px;
  max-width: 1920px;
  margin: 0 auto;
  overflow-x: hidden;
}

ul {
  list-style: none;
}

/* === Typography === */
h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

p {
  font-size: clamp(14px, 1.2vw, 18px);
  margin-bottom: 1rem;
}

a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

a:hover {
  text-decoration: none;
  opacity: 1;
}

button {
  font-family: "Noto Sans JP", sans-serif;
  cursor: pointer;
  border: none;
  background-color: transparent;
}
a {
  text-decoration: none;
  color: transparent;
  cursor: pointer;
  margin: 0;
  padding: 0;
  outline: none !important;
  background-color: transparent;
  box-shadow: none !important;
}
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none ;
  background-color: transparent;
  box-shadow: none ;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}

p {
  margin: 0;
  padding: 0;
}

/* === Layout === */
section {
  z-index: 1;
  position: relative;
  margin-top: -1px;
}
.container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.pc-block {
  display: block;
}
.md-block {
  display: none;
}
.mobile-block {
  display: none;
}
.full-width {
  width: 100%;
}

/* === main === */

main {
  padding: 0;
  width: 100%;
  margin: 0 auto;
}

/* === Responsive Design === */
@media screen and (max-width: 1440px) {
  .pc-block {
    display: none;
  }
  .md-block {
    display: block;
  }
  .mobile-block {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .pc-block {
    display: none;
  }
  .md-block {
    display: none;
  }
  .mobile-block {
    display: block;
  }
  .text-sm-center {
    text-align: center;
  }
  .fs-sm-30 {
    font-size: clamp(1.5rem, 6vw + 0.1rem, 1.875rem); /* 24px → 30px */
  }

  .fs-sm-24 {
    font-size: clamp(1.2rem, 5vw + 0.1rem, 1.5rem); /* 19.2px → 24px */
  }

  .fs-sm-20 {
    font-size: clamp(1rem, 4.5vw + 0.1rem, 1.25rem); /* 16px → 20px */
  }

  .fs-sm-18 {
    font-size: clamp(0.9rem, 4vw + 0.1rem, 1.125rem); /* 14.4px → 18px */
  }

  .fs-sm-16 {
    font-size: clamp(0.8rem, 3.5vw + 0.1rem, 1rem); /* 12.8px → 16px */
  }

  .lh-sm-40 {
    line-height: 40px
  }

  .lh-sm-35 {
    line-height: 35px
  }

  .lh-sm-30 {
    line-height: 30px
  }
}
