/* 
 * component.css
 * コンポーネントスタイル
 *
 * ⚫︎規則
 * 　margin等コンポーネント外部のレイアウトに影響するスタイル禁止
 */

/**************************************
 * ボタン
**************************************/
.c-button {
  transition:
    opacity 0.3s,
    transform 0.3s;
  cursor: pointer;
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #004212;
  color: #fff;
  border-radius: 100vmax;
  font-weight: bold;
  position: relative;
  font-size: min(4.2vw, 21px);
}
.c-button._white {
  background: #fff;
  color: #004212;
  border: 3px #004212 solid;
}
.c-button._orange {
  background: #ec2e00;
  color: #fff;
  border: 3px #fff solid;
}
.c-button._yellow {
  background: #ffff5a;
  color: #004212;
  border: 3px #004212 solid;
}
.c-button._arrowRight::after {
  content: '';
  position: absolute;
  display: block;
  background: url(../images/btn_arrow.png) no-repeat;
  background-size: 6px auto;
  width: 6px;
  height: 11px;
  top: 0;
  right: 16px;
  bottom: 0;
  margin: auto;
}
.c-button._arrowLeft::after {
  content: '';
  position: absolute;
  display: block;
  background: url(../images/btn_arrow.png) no-repeat;
  background-size: 6px auto;
  width: 6px;
  height: 11px;
  top: 0;
  left: 16px;
  bottom: 0;
  margin: auto;
  transform: rotate(180deg);
}
.c-button._white._arrowRght::after,
.c-button._white._arrowLeft::after {
  background-image: url(../images/btn_arrow_green.png);
}

.c-button:active {
  transform: scale(0.95);
}

.c-button._l {
  margin-top: clamp(20px, 8vw, 40px);
  padding: 1.25rem;
  font-size: min(4vw, 24px);
  margin-inline: auto;
}
.c-button._thin {
  width: 100%;
  padding: 0.6rem;
  box-shadow: 7px 7px 5px 0px rgba(0, 0, 0, 0.5);
}
.c-button:disabled {
  opacity: 0.3;
}

.c-button-icon {
  position: absolute;
  display: block;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
}

.c-button_circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px #004212 solid;
  background-color: #fff;
  position: absolute;
  top: 10%;
}

.c-button_circle::before {
  content: '';
  width: 8px;
  height: 8px;
  border: 0;
  border-top: solid 2px #004212;
  border-left: solid 2px #004212;
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.c-button-img {
  width: 80%;
  cursor: pointer;
}

/**************************************
 * ヘッダー
**************************************/
.c-header {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  background-color: #004212;
}

.c-header._error {
  max-width: none;
  height: 50px;
  width: 100%;
  margin: 0 auto;
  background-color: #004212;
}

.c-header img {
  width: 100%;
}

.c-header-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
}

.c-header-logo {
  width: min(17vw, 65px);
}

.c-header-logo._agf {
  width: min(13.6vw, 51px);
}
