/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/* 会員ログインページ  */
.member-login-wrap {
	max-width: 420px;
	margin: 56px auto 72px;
}

.member-login-wrap h1,
.member-login-wrap h2,
.member-login-wrap h3 {
	margin: 0 0 32px;
	font-size: 44px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.01em;
}

.member-login-wrap form {
	margin: 0;
}

.member-login-wrap form p {
	margin: 0 0 22px;
}

.member-login-wrap label {
	display: block;
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: #333;
}

.member-login-wrap input[type="text"],
.member-login-wrap input[type="password"] {
	display: block;
	width: 100%;
	height: 52px;
	padding: 0 14px;
	border: 1px solid #d9d9d9;
	border-radius: 0;
	background: #fff;
	font-size: 16px;
	line-height: 1;
	color: #222;
	box-shadow: none;
	transition: border-color 0.2s ease;
}

.member-login-wrap input[type="text"]:focus,
.member-login-wrap input[type="password"]:focus {
	border-color: #222;
	outline: none;
	box-shadow: none;
}

.member-login-wrap .login-remember {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0 28px;
}

.member-login-wrap .login-remember input[type="checkbox"] {
	margin: 0;
}

.member-login-wrap .login-remember label {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	color: #555;
}

.member-login-wrap .login-submit {
	margin: 0;
}

.member-login-wrap input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 132px;
	height: 48px;
	padding: 0 24px;
	border: none;
	border-radius: 0;
	background: #2b2b2b;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.03em;
	box-shadow: none;
	transition: opacity 0.2s ease;
}

.member-login-wrap input[type="submit"]:hover,
.member-login-wrap input[type="submit"]:focus {
	background: #2b2b2b;
	color: #fff;
	opacity: 0.88;
	box-shadow: none;
	outline: none;
}

@media (max-width: 768px) {
	.member-login-wrap {
		max-width: 100%;
		margin: 32px auto 48px;
	}

	.member-login-wrap h1,
	.member-login-wrap h2,
	.member-login-wrap h3 {
		margin-bottom: 24px;
		font-size: 34px;
	}
}

/* 部門セレクトページ */
.category-select-box {
  max-width: 860px;
  margin: 0 auto;
  padding: 52px 56px 56px;
  background: #fff;
  border: 1px solid #dddddd;
  border-radius: 10px;
}

.category-select-box h3 {
  margin: 0 0 28px;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 600;
  color: #222;
  letter-spacing: 0;
}

.category-select-box .wp-block-buttons {
  gap: 12px;
  justify-content: flex-start;
}

.category-select-box .wp-block-button {
  margin: 0;
}

.category-select-box .wp-block-button__link {
  min-width: 92px;
  height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #62626c;
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  box-sizing: border-box;
  transition: background .2s ease, transform .2s ease;
}

.category-select-box .wp-block-button__link:hover {
  background: #53535c;
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .category-select-box {
    max-width: none;
    padding: 34px 28px 38px;
    border-radius: 8px;
  }

  .category-select-box h3 {
    margin-bottom: 22px;
    font-size: 24px;
    line-height: 1.35;
  }

  .category-select-box .wp-block-buttons {
    gap: 10px;
  }

  .category-select-box .wp-block-button {
    width: calc(50% - 5px);
  }

  .category-select-box .wp-block-button__link {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 12px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .category-select-box {
    padding: 28px 22px 32px;
  }

  .category-select-box h3 {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .category-select-box .wp-block-button__link {
    height: 48px;
    font-size: 14px;
  }
}

.reviewer-name {
	margin: 0 0 24px;
	font-size: 14px;
	line-height: 1.5;
	color: #555;
}

/* スマホでのヘッダー表示調整 */
@media (max-width: 768px) {
  /* ヘッダー全体 */
  .site-header,
  .main-navigation {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* ヘッダー内のレイアウト */
  .inside-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  /* サイトタイトル */
  .site-branding {
    flex: 1;
    min-width: 0;
  }

  .main-title,
  .site-logo {
    margin: 0;
    line-height: 1.25;
  }

  .main-title a,
  .site-logo a {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
  }

  /* ナビの幅を取りすぎない */
  .site-header .mobile-menu-control-wrapper,
  .menu-toggle {
    flex: 0 0 auto;
    margin-left: 12px;
  }

  /* ハンバーガーボタン */
  .menu-toggle {
    width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 0;
    border: 1px solid #e5e5e5;
    background: #f7f7f7;
    border-radius: 6px;
  }

  .menu-toggle .gp-icon {
    font-size: 24px;
  }
}

/* ログインエラーメッセージ */
.member-login-error {
	margin: 0 0 20px;
	padding: 12px 14px;
	border: 1px solid #e0b4b4;
	background: #fff6f6;
	color: #8a2d2d;
	font-size: 14px;
	line-height: 1.5;
}

/* ガイドライン */
.member-guideline-box {
  margin: 24px 0;
  padding: 20px 24px;
  background: #f7f7f7;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
}

.member-guideline-list {
  margin: 0;
  padding-left: 1.4em;
}

.member-guideline-list li {
  margin: 0 0 12px;
  line-height: 1.9;
  font-size: 15px;
}

.member-guideline-list li:last-child {
  margin-bottom: 0;
}