/*
 * あわら三国ライオンズクラブ
 * 04｜Layout
 * Version: 1.0.0
 */

/* Main Container */

.amlc-container {
  width: 100%;
  max-width:
    calc(var(--amlc-container) + 2 * var(--amlc-gutter));

  margin-inline: auto;
  padding-inline: var(--amlc-gutter);
}

/* Article Container */

.amlc-article-container {
  width: 100%;
  max-width:
    calc(var(--amlc-article) + 2 * var(--amlc-gutter));

  margin-inline: auto;
  padding-inline: var(--amlc-gutter);
}

/* Section */

.amlc-section {
  padding-block: var(--amlc-section-space);
}

.amlc-section--white {
  background: var(--amlc-white);
}

.amlc-section--light {
  background: var(--amlc-bg-light);
}

.amlc-section--sky {
  background: var(--amlc-bg-sky);
}

.amlc-section--compact {
  padding-block: var(--amlc-space-lg);
}

/* Section Heading */

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

.amlc-section-heading__title {
  margin: 0 0 12px;
}

.amlc-section-heading__description {
  max-width: 760px;
  margin-inline: auto;

  color: var(--amlc-text-muted);
}

/* Grid */

.amlc-grid {
  display: grid;
  gap: 24px;
}

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

.amlc-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.amlc-grid > * {
  min-width: 0;
}

/* HERO */

.amlc-hero {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 480px;
  padding-block: 70px;

  overflow: hidden;

  background: var(--amlc-blue-dark);
  color: var(--amlc-white);

  isolation: isolate;
}

.amlc-hero__image {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  z-index: -2;
}

.amlc-hero::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0, 28, 65, 0.75) 0%,
      rgba(0, 28, 65, 0.38) 55%,
      rgba(0, 28, 65, 0.14) 100%
    );

  z-index: -1;
}

.amlc-hero__content {
  width: 100%;
  max-width: 760px;
}

.amlc-hero__title {
  margin: 0 0 20px;

  color: var(--amlc-white);

  font-family: var(--amlc-font-heading);
  font-size: clamp(32px, 4.5vw, 52px);

  line-height: 1.45;
  letter-spacing: 0.04em;
}

.amlc-hero__lead {
  max-width: 620px;
  margin-bottom: 28px;

  color: var(--amlc-white);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.9;
}

/* Subpage HERO */

.amlc-hero--sub {
  min-height: 300px;
  padding-block: 60px;
}

/* Breadcrumb */

.amlc-breadcrumb {
  padding-block: 14px;

  border-bottom: 1px solid var(--amlc-border);

  font-size: 13px;
  color: var(--amlc-text-muted);
}

.amlc-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.amlc-breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--amlc-text-muted);
}

.amlc-breadcrumb a {
  color: var(--amlc-blue);
}

/* Article Layout */

.amlc-article {
  padding-block: var(--amlc-section-space);
}

.amlc-article__header {
  margin-bottom: 36px;
}

.amlc-article__image {
  margin-bottom: 40px;
}

.amlc-article__image img {
  display: block;
  width: 100%;

  border-radius: var(--amlc-radius-md);
}

/* Utility */

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

.amlc-mt-lg {
  margin-top: var(--amlc-space-lg);
}

.amlc-mb-lg {
  margin-bottom: var(--amlc-space-lg);
}