
@import url('variables.css');

/* コンポーネントをここに記載してください */


/* 各コンポーネントは、以下コメントにて区切る */

/* ==============================================================
  ボタン
   ============================================================== */
.c-buttons {
  display: flex;
  gap: 16px;
}

.c-button {
  min-width: 220px;
  height: 64px;
  color: #fff;
  background: var(--orange-primary);
  border: 3px solid var(--orange-primary);
  border-radius: 9999vw;
  padding: 0 24px;
  display: inline-flex;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.c-button--entry {
  background: var(--green-base);
  border-color: var(--green-base);
}

.c-button--event {
  background: var(--orange-base);
  border-color: var(--orange-base);
}

.c-button:hover {
  color: var(--orange-primary);
  background: #fff;
}
.c-button--entry:hover {
  color: var(--green-base);
}
.c-button--event:hover {
  color: var(--orange-base);
}

.c-button--form {
  width: auto;
  height: 64px;
  padding: 16px 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;  
  gap: 16px;
}

.c-button--form::after {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNSIgaGVpZ2h0PSI4IiB2aWV3Qm94PSIwIDAgNSA4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMi45ODM3OCAzLjk5OTkyTDAgMS4xNjkxNkwwLjkwODEwOCAwLjMwNzYxN0w0LjggMy45OTk5MkwwLjkwODEwOCA3LjY5MjIzTDAgNi44MzA2OUwyLjk4Mzc4IDMuOTk5OTJaIiBmaWxsPSIjREU3NjVCIi8+Cjwvc3ZnPgo=");
  background-repeat: no-repeat;
  background-size: 4.8px auto;
  background-position: center center;
  background-color: #fff;
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.c-button--form:hover::after {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNSIgaGVpZ2h0PSI4IiB2aWV3Qm94PSIwIDAgNSA4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMi45ODM3OCAzLjk5OTkyTDAgMS4xNjkxNkwwLjkwODEwOCAwLjMwNzYxN0w0LjggMy45OTk5MkwwLjkwODEwOCA3LjY5MjIzTDAgNi44MzA2OUwyLjk4Mzc4IDMuOTk5OTJaIiBmaWxsPSIjRkZGIi8+Cjwvc3ZnPgo=");
  background-color: var(--orange-primary);
}

@media screen and (max-width: 767px) {
  .c-button--form {
    padding: 16px 24px;
  }
}


.c-button--search {
  background: var(--green-base);
  border-color: var(--green-base);
  width: auto;
  height: 64px;
  padding: 16px 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;  
  min-width: 360px;
  gap: 16px;
}

.c-button--search::after {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNSIgaGVpZ2h0PSI4IiB2aWV3Qm94PSIwIDAgNSA4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMi45ODM3OCAzLjk5OTkyTDAgMS4xNjkxNkwwLjkwODEwOCAwLjMwNzYxN0w0LjggMy45OTk5MkwwLjkwODEwOCA3LjY5MjIzTDAgNi44MzA2OUwyLjk4Mzc4IDMuOTk5OTJaIiBmaWxsPSIjMjZBRDZCIi8+Cjwvc3ZnPgo=");
  background-repeat: no-repeat;
  background-size: 4.8px auto;
  background-position: center center;
  background-color: #fff;
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.c-button--search:hover {
  color: var(--green-base);
}
.c-button--search:hover::after {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNSIgaGVpZ2h0PSI4IiB2aWV3Qm94PSIwIDAgNSA4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMi45ODM3OCAzLjk5OTkyTDAgMS4xNjkxNkwwLjkwODEwOCAwLjMwNzYxN0w0LjggMy45OTk5MkwwLjkwODEwOCA3LjY5MjIzTDAgNi44MzA2OUwyLjk4Mzc4IDMuOTk5OTJaIiBmaWxsPSIjRkZGIi8+Cjwvc3ZnPgo=");
  background-color: var(--green-base);
}

@media screen and (max-width: 767px) {
  .c-button--search {
    padding: 16px 24px;
    min-width: initial;
  }
}


/* ==============================================================
  ハンバーガーメニュー
   ============================================================== */
.c-burger-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 0;
  appearance: none;
  outline: none;
  width: 101px;
  height: 88px;
  position: relative;
  cursor: pointer
}

.c-burger-menu__btn {
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
  width: 45px;
  height: 36px;
  position: relative;
}

.c-burger-menu__btn span {
  background: var(--orange-base);
  display: block;
  width: 100%;
  height: 4px;
  margin: auto;
  position: absolute;
  transition: all 0.3s ease;
}

.c-burger-menu__btn span:nth-child(1) {
  top: 0px
}

.c-burger-menu__btn span:nth-child(2) {
  top: 0;
  bottom: 0;
  right: 0
}

.c-burger-menu__btn span:nth-child(3) {
  bottom: 0px
}


.is-menu-open .c-burger-menu__btn::before {
  background: #fff;
  content: "";
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  border: 1px solid var(--text-color);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  transform: translateX(-17px);
}

.is-menu-open .c-burger-menu__btn span:nth-child(1) {
  transform: translateY(15px) rotate(-45deg);
  border-radius: 5px;
  background: var(--text-color);
}

.is-menu-open .c-burger-menu__btn span:nth-child(2) {
  opacity: 0;
}

.is-menu-open .c-burger-menu__btn span:nth-child(3) {
  transform: translateY(-17px) rotate(45deg);
  border-radius: 5px;
  background: var(--text-color);  
}

@media screen and (max-width: 767px) {
  .is-menu-open .c-burger-menu__btn::before {
    width: 64px;
    height: 64px;
  }
}


/* ==============================================================
  見出し
   ============================================================== */
.c-heading--circle {
  color: var(--orange-primary);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  text-align: center;
  width: 170px;
  height: 170px;
  position: relative;
  z-index: 0;
  flex-shrink: 0;
}

.c-heading--circle::before {
  background: url("../img/heading_bg.svg")  no-repeat center center;
  background-size: 173px auto;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  animation: rotating 25s linear infinite;
}

@keyframes rotating {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

.c-heading--circle-simple::before {
  background: none;
  width: 100%;
  height: 100%;
  border: 1px solid var(--orange-primary);
  border-radius: 50%;
  animation: none;
}

@media screen and (max-width: 767px) {
  .c-heading--circle {
    height: 120px;
    width: 120px;
  }
}


/* ==============================================================
  More
   ============================================================== */
.c-more--group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.c-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;  
  gap: 8px;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
}

.c-more::after {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNyIgaGVpZ2h0PSIxMSIgdmlld0JveD0iMCAwIDcgMTEiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik00LjA4NzI1IDUuMDQwOTZMMC4zNTI5NTMgMS4yMTIwOEwxLjQ4NjcgMC4wNDQwNTdMNi4zNTc1MiA1LjAzODI1TDEuNDk4NjIgMTAuMDQ0TDAuMzYyMDkyIDguODc4NzRMNC4wODcyNSA1LjA0MDk2WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==");
  background-repeat: no-repeat;
  background-size: 5px auto;
  background-position: center center;
  background-color: var(--orange-base);
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.c-more--small::after {
  background-size: 4px auto;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.c-more--large::after {
  background-size: 7px 11px;
  width: 40px;
  height: 40px;
}

.c-more--primary::after {
  background-color: var(--orange-primary);
}

.c-more--lists {
  color: var(--text-color);
  background-image: radial-gradient(circle, #5d5759 1.5px, transparent 1.5px);
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 10px 3px;
  padding-bottom: 16px;
}


@media(max-width: 480px) {
  .c-more {
    font-size: var(--font-size-h3);
  }
}


/* ==============================================================
  Card
   ============================================================== */
.c-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 16px;
}

.c-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 358px;
  padding: 24px;
}

.c-card::before {
  background: #fefbf4;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 112px auto;
  content: "";
  width: 120px;
  height: 120px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.c-card--calendar::before {
  background-image: url("../img/icon_calendar.png");
}

.c-card--anniversary::before {
  background-image: url("../img/icon_anniversary.png");
}

.c-card .c-card--title {
  color: var(--orange-primary);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
}

.c-card--anniversary .c-card--title {
  color: var(--orange-base);
}

.c-card .c-card--description {
  color: var(--text-color);
  font-size: var(--font-size-body);
  line-height: var(--line-height-relaxed);
}


/* ==============================================================
    右下のみ角丸のタグ
   ============================================================== */
/* 基本変数（必要に応じて上書きOK） */
:root {
  --tag-radius-base: 8px;
  --tag-radius-rb: 18px; /* 右下角だけ少し強め */
  --tag-pad-x-md: 24px;
  --tag-height-md: 48px;
  --tag-font-md: 21px;
  --tag-font-weight: 700;
  --tag-text-color: #fff;

  /* カラーバリエーション（Figma色に差し替え可） */
  --tag-orange-bg: #EEA837;
  --tag-green-bg: #26AD6B;
  --tag-gray-bg: #5D5759;
  --tag-teal-bg: #418993;
  --tag-coral-bg: #DE765B;
}

/* -------------------- Base -------------------- */
.c-tag {
  --_bg: var(--tag-gray-bg); /* デフォルト色をグレーに */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tag-height-md);
  padding: 0 var(--tag-pad-x-md);
  border-radius: var(--tag-radius-base);
  background-color: var(--_bg);
  color: var(--tag-text-color);
  font-family: "Noto Sans JP", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: var(--tag-font-weight);
  font-size: var(--tag-font-md);
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* hover時のデザイン */

a.c-tag--orange:hover,
.c-tag--orange:focus-visible { background-color: #D8972F; }

a.c-tag--green:hover,
.c-tag--green:focus-visible { background-color: #1F965E; }

a.c-tag--gray:hover,
.c-tag--gray:focus-visible { background-color: #4A4345; }

a.c-tag--teal:hover,
.c-tag--teal:focus-visible { background-color: #367A83; }

a.c-tag--coral:hover,
.c-tag--coral:focus-visible { background-color: #C9654E; }

/* -------------------- Modifier: corner -------------------- */
.c-tag--rb {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 10px;
}

/* -------------------- Modifier: color -------------------- */
.c-tag--orange { --_bg: var(--tag-orange-bg); }
.c-tag--green  { --_bg: var(--tag-green-bg); }
.c-tag--gray   { --_bg: var(--tag-gray-bg); }
.c-tag--teal   { --_bg: var(--tag-teal-bg); }
.c-tag--coral  { --_bg: var(--tag-coral-bg); }

/* -------------------- Modifier: size -------------------- */
.c-tag--sm {
  min-height: 36px;
  padding: 0 16px;
  font-size: 16px;
}
.c-tag--md {
  min-height: var(--tag-height-md);
  padding: 0 var(--tag-pad-x-md);
  font-size: var(--tag-font-md);
}
.c-tag--lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 24px;
}

/* -------------------- Element -------------------- */
.c-tag__text {
  display: inline-block;
  line-height: 1.2;
}


/* ==============================================================
    全部が角丸のタグ
   ============================================================== */
.c-tag--round {
  border-radius: 10px; /* 全角10pxの丸み */
}

/* ==============================================================
  サイズの小さいタグ
   ============================================================== */
.c-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.c-tag-small {
  color: #fff;
  background: var(--orange-base);
  border-radius: 4px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 30px;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  line-height:  var(--line-height-normal);
  padding: 4px 16px;
}
.c-tag--primary {
  background: #000;
  color: #fff;
}
.c-tag--secondary {
  background: #ccc;
}


/* ==============================================================
    約束
   ============================================================== */
.c-promise {
  position: relative;
  width: 224px;
  height: 224px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
  padding: 24px 40px;
  flex-direction: column;
  align-items: center;         /* 水平方向中央 */
  justify-content: flex-start; /* 垂直方向上寄せ */
  
}

/* イラストだけ絶対配置（背景扱い） */
.c-promise__icon {
  position: absolute;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.c-promise__icon img {
  width: 120px;
  height: 80px;
  object-fit: contain;
}

/* 数字バッジ：普通のブロック要素として中央に */
.c-promise__num {
  position: static; /* ← これ！絶対値ではなく通常フローに */
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px; /* 下に余白を足す */
  border-radius: 50%;
  background: #EEA837;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
}

/* テキスト */
.c-promise__text {
 position: relative;
  z-index: 2;
  width: 144px;        /* Figmaでの塗り幅 */
  height: 120px;        /* Figmaでの内包高さ */
  display: flex;       /* 中央寄せのためのflex指定 */
  align-items: center; /* 縦方向中央寄せ */
  justify-content: center; /* 横方向中央寄せ */
  margin: 0 auto;      /* 中央配置 */
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  color: #5D5759;
  text-align: center;
  
}

/* ==============================================================
    フォーム項目form-item
   ============================================================== */
.c-form-label {
  display: grid;
  grid-template-columns: 192px auto; /* ← 左テキスト固定・右バッジ */
  align-items: center;
  column-gap: 8px;
  width: 240px;                      /* ← 全体の横幅固定 */
  height: 30px;                      /* ← Figma準拠 */
}

/* ラベルテキスト */
.c-form-label__text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  color: #5D5759;
  white-space: nowrap;              
}

/* 必須バッジ */
.c-form-label__required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #EEA837; 
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 4px;
  height: 24px;
  white-space:nowrap;       
  writing-mode:horizontal-tb;/* 念のため横書きを明示 */
}

/* 任意バッジ（modifier） */
.c-form-label__required--optional {
  background-color: #D9D9D9;
  color: #5D5759;
}

/* レスポンシブ対応（スマホ時は自然に縮む） */
@media (max-width: 600px) {
  .c-form-label {
    grid-template-columns: auto auto;
    width: 100%;
  }
}

/* ==============================================================
    募集要項項目info-item
   ============================================================== */
.c-info-item {
  display: flex;
  align-items: center;         
  max-width: 960px;
  gap: 80px;                  
  padding: 24px 0;            
  border-bottom: 1px solid #DADADA; 
}

/* 左のオレンジボックス（項目名） */
.c-info-item__label {
  width: 136px;                 
  height: 108px;                
  background-color: #EEA837;    
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;            
  line-height: 1;
}

/* 右の本文 */
.c-info-item__text {
  color: #5D5759;              
  font-family: "Noto Sans JP", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;            
  font-size: 16px;
  line-height: 1.8;
}

/* 行の最終要素で罫線を消したい場合 */
.c-info-item:last-child {
  border-bottom: none;
}

/* --- 追加：スマホで余白と間隔を縮める --- */
@media (max-width: 600px) {
  .c-info-item {
    gap: 24px;
    padding: 16px 0;
  }
  .c-info-item__label {
    width: 112px;
    height: 96px;
    font-size: 16px;
  }
  .c-info-item__text {
    font-size: 15px;
    line-height: 1.7;
  }
}
