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

/* ==============================
   Buttons
============================== */

.amlc-page .amlc-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: var(--amlc-button-height);
  padding: 12px 26px;

  border: 1px solid transparent;
  border-radius: var(--amlc-radius-sm);

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

  font-family: var(--amlc-font-body);
  font-size: 15px;
  font-weight: 700;

  line-height: 1.5;
  text-align: center;
  text-decoration: none;

  cursor: pointer;

  transition:
    background-color var(--amlc-transition),
    box-shadow var(--amlc-transition),
    transform var(--amlc-transition);
}

@media (hover: hover) {

  .amlc-page .amlc-button:hover {
    background: var(--amlc-blue-dark);
    color: var(--amlc-white);

    box-shadow: var(--amlc-shadow-hover);
    transform: translateY(-2px);
  }

}

/* Outline Button */

.amlc-page .amlc-button--outline {
  background: transparent;
  color: var(--amlc-blue);

  border-color: var(--amlc-blue);
}

.amlc-page .amlc-button--outline:hover {
  background: var(--amlc-blue);
  color: var(--amlc-white);
}

/* White Button */

.amlc-page .amlc-button--white {
  background: var(--amlc-white);
  color: var(--amlc-blue);

  border-color: var(--amlc-white);
}

.amlc-page .amlc-button--white:hover {
  background: var(--amlc-bg-light);
  color: var(--amlc-blue-dark);
}

/* Yellow Button */

.amlc-page .amlc-button--yellow {
  background: var(--amlc-yellow);
  color: var(--amlc-blue-dark);
}

.amlc-page .amlc-button--yellow:hover {
  background: #E7B82A;
  color: var(--amlc-blue-dark);
}

/* Button Group */

.amlc-button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}


/* ==============================
   Common Cards
============================== */

.amlc-card {
  display: flex;
  flex-direction: column;

  min-width: 0;
  height: 100%;

  overflow: hidden;

  background: var(--amlc-white);

  border: 1px solid var(--amlc-border);
  border-radius: var(--amlc-radius-md);

  box-shadow: var(--amlc-shadow-card);

  transition:
    box-shadow var(--amlc-transition),
    transform var(--amlc-transition);
}

@media (hover: hover) {

  .amlc-card:hover {
    box-shadow: var(--amlc-shadow-hover);
    transform: translateY(-4px);
  }

}

/* Card Image */

.amlc-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;

  overflow: hidden;

  background: var(--amlc-bg-light);
}

.amlc-card__media img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* Card Body */

.amlc-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;

  gap: 12px;

  padding: 24px;
}

.amlc-page .amlc-card__title {
  margin: 0;

  color: var(--amlc-blue);

  font-size: 20px;
  line-height: 1.5;
}

.amlc-card__description {
  flex: 1;

  margin: 0;

  color: var(--amlc-text);
  font-size: 15px;
  line-height: 1.8;
}

.amlc-card__footer {
  margin-top: auto;
  padding-top: 12px;
}

.amlc-card__link {
  font-weight: 700;
  font-size: 14px;
}


/* ==============================
   Participation Cards
============================== */

.amlc-card--participation {
  --amlc-card-accent: var(--amlc-blue);

  border-top: 4px solid var(--amlc-card-accent);
}

.amlc-card--blood {
  --amlc-card-accent: var(--amlc-red);
}

.amlc-card--hair {
  --amlc-card-accent: var(--amlc-pink);
}

.amlc-card--food {
  --amlc-card-accent: var(--amlc-green);
}

.amlc-card--join {
  --amlc-card-accent: var(--amlc-blue-action);
}

.amlc-participation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 56px;
  height: 56px;

  border-radius: 50%;

  background: var(--amlc-bg-light);
  color: var(--amlc-card-accent);

  font-size: 28px;
}


/* ==============================
   Activity Cards
============================== */

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

.amlc-card--activity .amlc-card__body {
  align-items: center;
  padding: 28px 20px;
}

.amlc-activity-icon {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 64px;
  height: 64px;

  margin-bottom: 6px;

  border-radius: 50%;

  background: var(--amlc-bg-light);
  color: var(--amlc-blue);

  font-size: 30px;
}


/* ==============================
   Member Cards
============================== */

.amlc-member-card {
  display: flex;
  flex-direction: column;

  overflow: hidden;

  background: var(--amlc-white);

  border: 1px solid var(--amlc-border);
  border-radius: var(--amlc-radius-md);

  box-shadow: var(--amlc-shadow-card);
}

.amlc-member-card__photo {
  aspect-ratio: 4 / 3;

  background: var(--amlc-bg-light);
  overflow: hidden;
}

.amlc-member-card__photo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.amlc-member-card__body {
  padding: 24px;
}

.amlc-page .amlc-member-card__name {
  margin: 0 0 8px;

  color: var(--amlc-blue);
  font-size: 21px;
}

.amlc-member-card__role {
  margin-bottom: 10px;

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

.amlc-member-card__company {
  font-size: 15px;
  font-weight: 700;
}

.amlc-member-card__description {
  margin-top: 12px;

  font-size: 14px;
  line-height: 1.8;
}


/* ==============================
   Labels
============================== */

.amlc-label {
  display: inline-flex;
  align-items: center;

  padding: 5px 12px;

  border-radius: 100px;

  background: var(--amlc-bg-light);
  color: var(--amlc-blue);

  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.amlc-label--blue {
  background: var(--amlc-blue);
  color: var(--amlc-white);
}

.amlc-label--green {
  background: #E7F6EE;
  color: #00633B;
}


/* ==============================
   Activity Report List
============================== */

.amlc-report-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.amlc-report-item {
  display: grid;
  grid-template-columns: 110px 110px 1fr;
  gap: 20px;

  align-items: center;

  padding: 14px 18px;

  background: var(--amlc-white);

  border: 1px solid var(--amlc-border);
  border-radius: var(--amlc-radius-sm);
}

.amlc-report-item__date {
  font-size: 13px;
  color: var(--amlc-text-muted);
}

.amlc-report-item__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}


/* ==============================
   Statistics
============================== */

.amlc-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.amlc-stat {
  padding: 24px 16px;

  text-align: center;

  border-right: 1px solid var(--amlc-border);
}

.amlc-stat:last-child {
  border-right: 0;
}

.amlc-stat__number {
  display: block;

  color: var(--amlc-blue);

  font-family: var(--amlc-font-heading);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;

  line-height: 1.3;
}

.amlc-stat__label {
  display: block;

  margin-top: 12px;

  font-size: 14px;
  line-height: 1.6;
}


/* ==============================
   CTA Panel
============================== */

.amlc-cta-panel {
  padding: clamp(32px, 5vw, 64px);

  background: var(--amlc-blue);

  color: var(--amlc-white);

  border-radius: var(--amlc-radius-lg);

  text-align: center;
}

.amlc-page .amlc-cta-panel__title {
  margin: 0 0 16px;

  color: var(--amlc-white);
  font-size: var(--amlc-h2);
}

.amlc-cta-panel__description {
  max-width: 700px;

  margin: 0 auto 28px;

  font-size: 16px;
  line-height: 1.9;
}


/* ==============================
   Member Portal UI Preview
   認証・出欠機能は含まない
============================== */

.amlc-portal-preview {
  display: grid;
  gap: 20px;
}

.amlc-portal-task {
  padding: 24px;

  border: 1px solid var(--amlc-border);
  border-radius: var(--amlc-radius-md);

  background: var(--amlc-white);
}

.amlc-portal-task__label {
  display: block;

  margin-bottom: 8px;

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

.amlc-page .amlc-portal-task__title {
  margin: 0 0 12px;

  font-size: 20px;
  color: var(--amlc-blue);
}
/* =====================================
   AMLC CP-02
   活動分野アイコン
===================================== */

.amlc-card--activity .amlc-activity-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100px;
  height: 100px;

  margin: 0 auto 12px;

  background: transparent;
  border-radius: 0;
}

.amlc-card--activity .amlc-activity-icon img {
  display: block;

  width: 96px;
  height: 96px;

  object-fit: contain;
}

/* 説明文の中央揃え */

.amlc-card--activity .amlc-card__description {
  text-align: center;
}

/* スマホ */

@media (max-width: 640px) {

  .amlc-card--activity .amlc-activity-icon {
    width: 88px;
    height: 88px;
  }

  .amlc-card--activity .amlc-activity-icon img {
    width: 84px;
    height: 84px;
  }

}
/* =====================================
   AMLC CP-03
   入会・見学CTA
   Version: 1.0
===================================== */

/* 英語見出し */

.amlc-join-cta__eyebrow {
  margin: 0 0 14px;

  color: #DCEBFA;

  font-size: 13px;
  font-weight: 700;

  letter-spacing: 0.18em;
  line-height: 1.5;

  text-align: center;
}

/* ボタン配置 */

.amlc-join-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;

  margin-top: 28px;
}

/* ボタン幅 */

.amlc-join-cta .amlc-button {
  min-width: 280px;
}

/* 補足テキスト */

.amlc-join-cta__note {
  margin: 22px 0 0;

  color: #E4EFFA;

  font-size: 13px;
  line-height: 1.8;

  text-align: center;
}

/* スマートフォン */

@media (max-width: 640px) {

  .amlc-join-cta .amlc-cta-panel__title {
    font-size: 25px;
    line-height: 1.6;
  }

  .amlc-join-cta .amlc-cta-panel__description {
    font-size: 15px;
  }

  .amlc-join-cta .amlc-button {
    width: 100%;
    min-width: 0;
  }

}
/* 共通パーツ CP-01～03 表示修正 */
.amlc-cp{width:100%;font-size:16px;line-height:1.8;}
.amlc-cp .amlc-container{width:min(1200px,100%);margin:auto;padding-inline:24px;}
.amlc-cp :is(h2,h3){border:0;background:none;box-shadow:none;padding:0;}
.amlc-cp :is(h2,h3)::before,.amlc-cp :is(h2,h3)::after{content:none;display:none;}
.amlc-cp .amlc-section-heading{text-align:center;max-width:800px;margin:0 auto 32px;}
.amlc-cp .amlc-section-heading__title{font-size:clamp(25px,3vw,34px);line-height:1.5;color:#083b7b;margin:10px 0 14px;}
.amlc-cp .amlc-grid{display:grid;gap:20px;align-items:stretch;}
.amlc-cp .amlc-grid--4{grid-template-columns:repeat(4,minmax(0,1fr));}
.amlc-cp .amlc-grid--3{grid-template-columns:repeat(6,minmax(0,1fr));}
.amlc-cp .amlc-card{display:flex;flex-direction:column;min-width:0;height:100%;margin:0;border:1px solid #e1e9f2;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 6px 22px #082e610d;}
.amlc-cp .amlc-card__media{height:180px;overflow:hidden;flex-shrink:0;}
.amlc-cp .amlc-card__media a{display:block;height:100%;}
.amlc-cp .amlc-card__media img{display:block;width:100%;height:100%;object-fit:cover;}
.amlc-cp .amlc-card__body{display:flex;flex-direction:column;flex:1;padding:24px 20px;}
.amlc-cp .amlc-card__title{font-size:18px;line-height:1.6;min-height:58px;margin:12px 0;color:#083b7b;}
.amlc-cp .amlc-card__description{font-size:14px;line-height:1.85;margin:0 0 16px;}
.amlc-cp .amlc-card__footer{margin-top:auto;padding-top:18px;}
.amlc-cp .amlc-card__link{display:block;margin-top:auto;min-height:44px;padding-top:14px;color:#083b7b;font-weight:700;font-size:13px;line-height:1.7;}
.amlc-cp .amlc-participation-icon{display:flex;width:44px;height:44px;flex-shrink:0;}
.amlc-cp .amlc-participation-icon img{display:block;width:44px;height:44px;object-fit:contain;}
.amlc-cp .amlc-activity-icon{width:76px;height:76px;margin:0 auto 10px;}
.amlc-cp .amlc-activity-icon img{display:block;width:72px;height:72px;object-fit:contain;}
.amlc-cp .amlc-card--activity .amlc-card__body{padding:24px 14px;text-align:center;}
.amlc-cp .amlc-card--activity .amlc-card__title{font-size:16px;min-height:52px;}
.amlc-cp .amlc-cta-panel{padding:48px 28px;background:#082e61;border-radius:14px;text-align:center;color:#fff;}
.amlc-cp .amlc-cta-panel__title{color:#fff;font-size:clamp(25px,3vw,34px);line-height:1.6;margin:12px 0 22px;}
.amlc-cp .amlc-cta-panel__description{max-width:760px;margin:auto;color:#fff;}
.amlc-cp .amlc-button{white-space:normal;max-width:100%;}
.amlc-cp a:focus-visible{outline:3px solid #f3c342;outline-offset:3px;}
@media(max-width:1100px){.amlc-cp .amlc-grid--3{grid-template-columns:repeat(3,minmax(0,1fr));}.amlc-cp .amlc-grid--4{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){.amlc-cp .amlc-grid--4{grid-template-columns:1fr;}.amlc-cp .amlc-grid--3{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.amlc-cp .amlc-container{padding-inline:16px;}.amlc-cp .amlc-cta-panel{padding:36px 20px;}.amlc-cp .amlc-card__title{min-height:0;}}

/* CP-03：入会・見学案内の見出しを全ページで白文字に統一 */
body .articleBody .amlc-join-cta .amlc-cta-panel__title{color:#fff!important;}

/* お問い合わせ（68）：フォームと事務局案内 */
:is(body.page-id-68,body.page-id-710) .contents{padding-top:0;padding-bottom:0;}
:is(body.page-id-68,body.page-id-710) .articleHeader{margin:0;padding:0;border:0;}
:is(body.page-id-68,body.page-id-710) .breadcrumbs{margin:0;padding:16px 0;font-size:13px;line-height:1.6;}
:is(body.page-id-68,body.page-id-710) .articleHeader__title{font-size:28px;line-height:1.5;margin:0;padding:0 0 18px;border:0;}
:is(body.page-id-68,body.page-id-710) .articleBody{margin-top:0;}
.amlc-contact-page{font-size:17px;line-height:1.9;color:var(--amlc-text,#1d2a3b);padding:24px 0 60px;}
.amlc-contact-page h2,.amlc-contact-page h3{padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:var(--amlc-blue,#0b3b75);text-wrap:balance;}
.amlc-contact-page h2::before,.amlc-contact-page h2::after,.amlc-contact-page h3::before,.amlc-contact-page h3::after{display:none!important;content:none!important;}
.amlc-contact-intro{margin-bottom:36px;}
.amlc-contact-intro .amlc-contact-eyebrow{font:700 13px/1.5 Arial,sans-serif;letter-spacing:.14em;color:var(--amlc-blue,#0b3b75);margin:0 0 16px;}
.amlc-contact-intro h2{font-size:34px;line-height:1.5;margin:0 0 16px;}
.amlc-contact-intro p{font-size:17px;line-height:1.9;margin:0;}
.amlc-contact-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.65fr);align-items:start;gap:32px;}
.amlc-contact-info{padding:30px 26px;border-radius:14px;background:#f2f7fc;border-top:3px solid #e8bf52;}
.amlc-contact-info h3{font-size:21px;line-height:1.6;margin:0 0 16px;}
.amlc-contact-info .amlc-contact-tel{display:block;font-size:29px;line-height:1.5;font-weight:700;color:var(--amlc-blue,#0b3b75);text-decoration:none;white-space:nowrap;}
.amlc-contact-info p,.amlc-contact-info address{font-size:15px;line-height:1.9;font-style:normal;margin:16px 0 0;}
.amlc-contact-back{display:flex;justify-content:space-between;min-height:44px;align-items:center;border-top:1px solid #dce6ef;margin-top:24px;padding-top:16px;color:var(--amlc-blue,#0b3b75);font-size:16px;font-weight:700;text-decoration:none;}
.amlc-contact-form{padding:36px;border:1px solid #dce6ef;border-radius:14px;background:#fff;box-shadow:0 8px 32px #092e5d08;}
.amlc-contact-form h3{font-size:25px;line-height:1.6;margin:0 0 12px;}
.amlc-contact-form .amlc-contact-guide{font-size:15px;line-height:1.8;color:#5c6c7d;margin:0 0 28px;}
:is(body.page-id-68,body.page-id-710) :is(#wpforms-65,#wpforms-707){margin:0;}
:is(body.page-id-68,body.page-id-710) :is(#wpforms-form-65,#wpforms-form-707) .wpforms-field{padding:0;margin-bottom:26px;}
:is(body.page-id-68,body.page-id-710) :is(#wpforms-form-65,#wpforms-form-707) .wpforms-field-label{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:17px;font-weight:700;line-height:1.6;color:#1d2a3b;margin-bottom:10px;}
:is(body.page-id-68,body.page-id-710) :is(#wpforms-form-65,#wpforms-form-707) .wpforms-required-label{display:none;}
:is(body.page-id-68,body.page-id-710) :is(#wpforms-form-65,#wpforms-form-707) .wpforms-field-label:has(.wpforms-required-label)::after{content:'必須';font-size:11px;line-height:1.6;letter-spacing:.06em;color:#a52b35;background:#fff0f1;padding:2px 8px;border-radius:4px;}
:is(body.page-id-68,body.page-id-710) :is(#wpforms-form-65,#wpforms-form-707) .amlc-contact-phone .wpforms-field-label::after{content:'任意';font-size:11px;line-height:1.6;color:#5c6c7d;background:#edf2f7;padding:2px 8px;border-radius:4px;}
:is(body.page-id-68,body.page-id-710) :is(#wpforms-form-65,#wpforms-form-707) input[type=text],:is(body.page-id-68,body.page-id-710) :is(#wpforms-form-65,#wpforms-form-707) input[type=email],:is(body.page-id-68,body.page-id-710) :is(#wpforms-form-65,#wpforms-form-707) input[type=tel],:is(body.page-id-68,body.page-id-710) :is(#wpforms-form-65,#wpforms-form-707) textarea{width:100%;max-width:100%;min-height:52px;padding:13px 15px;border:1px solid #b7c7d8;border-radius:8px;background:#fbfdff;color:#1d2a3b;font-size:17px;line-height:1.6;box-shadow:none;box-sizing:border-box;}
:is(body.page-id-68,body.page-id-710) :is(#wpforms-form-65,#wpforms-form-707) textarea{min-height:200px;resize:vertical;}
:is(body.page-id-68,body.page-id-710) :is(#wpforms-form-65,#wpforms-form-707) input:focus,:is(body.page-id-68,body.page-id-710) :is(#wpforms-form-65,#wpforms-form-707) textarea:focus{border-color:#0b3b75;outline:3px solid #0b3b751c;outline-offset:1px;}
:is(body.page-id-68,body.page-id-710) :is(#wpforms-form-65,#wpforms-form-707) .wpforms-field-description{font-size:13px;line-height:1.7;color:#5c6c7d;margin-top:8px;}
:is(body.page-id-68,body.page-id-710) :is(#wpforms-form-65,#wpforms-form-707) .wpforms-error{font-size:14px;line-height:1.7;}
:is(body.page-id-68,body.page-id-710) :is(#wpforms-form-65,#wpforms-form-707) .wpforms-submit-container{padding:0;margin-top:30px;}
:is(body.page-id-68,body.page-id-710) :is(#wpforms-form-65,#wpforms-form-707) button.wpforms-submit{display:block;width:100%;min-height:56px;padding:15px 24px;background:#0b3b75;color:#fff;font-size:17px;font-weight:700;line-height:1.6;border:0;border-radius:8px;box-shadow:none;}
:is(body.page-id-68,body.page-id-710) :is(#wpforms-form-65,#wpforms-form-707) button.wpforms-submit:hover{background:#082e61;}
.amlc-contact-form .amlc-contact-privacy{font-size:13px;line-height:1.8;color:#5c6c7d;margin:22px 0 0;}
.amlc-contact-privacy a{color:#0b3b75;text-decoration:underline;}
@media(max-width:950px){.amlc-contact-grid{grid-template-columns:1fr;}.amlc-contact-info{order:2;}.amlc-contact-form{order:1;}}
@media(max-width:640px){:is(body.page-id-68,body.page-id-710) .articleHeader__title{font-size:25px;padding-bottom:10px;}.amlc-contact-page{padding:14px 0 36px;}.amlc-contact-intro h2{font-size:27px;}.amlc-contact-intro p{font-size:16px;}.amlc-contact-form{padding:26px 20px;}.amlc-contact-form h3{font-size:23px;}.amlc-contact-info{padding:26px 22px;}.amlc-contact-grid{gap:24px;}.amlc-contact-info .amlc-contact-tel{font-size:28px;}}

.amlc-contact-intro h2>span{display:inline-block;}
