@import url(
  "https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;600;700&display=swap"
);


/* =========================================
   共通
========================================= */

* {
  box-sizing: border-box;
}


html,
body {
  margin: 0;
  padding: 0;

  width: 100%;
  min-height: 100%;
}


body {
  font-family:
    "Zen Maru Gothic",
    "Hiragino Maru Gothic ProN",
    "Yu Gothic",
    "Meiryo",
    sans-serif;

  background:
    linear-gradient(
      135deg,
      #f1f7f2 0%,
      #f7f8e8 52%,
      #fff3cf 100%
    );

  color:
    #34483a;

  font-size: 14px;

  line-height: 1.6;

  -webkit-font-smoothing:
    antialiased;
}


button,
input {
  font:
    inherit;
}


/* =========================================
   ログインページ
========================================= */

.login-page {
  min-height: 100vh;

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

  padding:
    24px;
}


/* =========================================
   ログインカード
========================================= */

.login-card {
  position: relative;

  width: 100%;
  max-width: 430px;

  padding:
    38px
    32px
    34px;

  overflow: hidden;

  border:
    1px solid
    #d4e0d5;

  border-radius: 24px;

  background:
    rgba(
      255,
      255,
      255,
      0.97
    );

  box-shadow:
    0 22px 60px
    rgba(
      55,
      80,
      60,
      0.13
    );
}


/* 飾り */
.login-card::before {
  content: "🌼";

  position: absolute;

  top: -20px;
  right: -12px;

  opacity: 0.10;

  font-size: 96px;

  pointer-events: none;
}


/* =========================================
   ヘッダー
========================================= */

.login-header {
  position: relative;

  z-index: 1;

  margin-bottom: 30px;

  text-align: center;
}


.login-header::before {
  content: "🌼";

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

  width: 66px;
  height: 66px;

  margin:
    0
    auto
    15px;

  border-radius: 20px;

  background:
    #ffedac;

  font-size: 34px;

  box-shadow:
    0 4px 12px
    rgba(
      184,
      145,
      42,
      0.11
    );
}


.login-header h1 {
  margin:
    0
    0
    7px;

  color:
    #34483a;

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

  letter-spacing:
    0.01em;
}


.login-header p {
  margin: 0;

  color:
    #6d7e73;

  font-size: 14px;
  font-weight: 500;
}


/* =========================================
   フォーム
========================================= */

.login-form {
  position: relative;

  z-index: 1;

  display: flex;
  flex-direction: column;

  gap: 20px;
}


.form-group {
  display: flex;
  flex-direction: column;

  gap: 7px;
}


.form-group label {
  color:
    #53675a;

  font-size: 14px;
  font-weight: 700;
}


/* =========================================
   入力欄
========================================= */

.form-group input {
  width: 100%;
  height: 54px;

  padding:
    0
    15px;

  border:
    1px solid
    #c8d6ca;

  border-radius: 12px;

  outline: none;

  background:
    #ffffff;

  color:
    #34483a;

  font-size: 17px;
  font-weight: 500;

  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}


.form-group input:hover {
  border-color:
    #abc3af;
}


.form-group input:focus {
  border-color:
    #7fad8a;

  background:
    #fcfffc;

  box-shadow:
    0 0 0 4px
    rgba(
      104,
      167,
      121,
      0.13
    );
}


.form-group input::placeholder {
  color:
    #9aa79f;
}


/* =========================================
   ログインボタン
========================================= */

.login-button {
  width: 100%;
  height: 56px;

  margin-top: 4px;

  border: 0;
  border-radius: 13px;

  background:
    #68a779;

  color:
    #ffffff;

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

  cursor: pointer;

  box-shadow:
    0 6px 15px
    rgba(
      65,
      115,
      80,
      0.20
    );

  transition:
    background 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}


.login-button:hover {
  background:
    #579667;

  box-shadow:
    0 8px 19px
    rgba(
      65,
      115,
      80,
      0.24
    );

  transform:
    translateY(-1px);
}


.login-button:active {
  transform:
    translateY(0);
}


/* =========================================
   メッセージ
========================================= */

.login-message {
  min-height: 22px;

  margin:
    0;

  color:
    #b64f4f;

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

  text-align: center;
}


/* =========================================
   スマホ
========================================= */

@media (max-width: 520px) {

  .login-page {
    padding:
      16px;
  }


  .login-card {
    padding:
      31px
      22px
      28px;

    border-radius: 20px;
  }


  .login-header {
    margin-bottom: 25px;
  }


  .login-header::before {
    width: 60px;
    height: 60px;

    font-size: 31px;
  }


  .login-header h1 {
    font-size: 24px;
  }


  .login-header p {
    font-size: 13px;
  }


  .form-group label {
    font-size: 13px;
  }


  .form-group input {
    height: 52px;

    font-size: 16px;
  }


  .login-button {
    height: 54px;

    font-size: 16px;
  }

}