@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 10px;
  overflow-x: hidden;
}

img {
  vertical-align: bottom;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
}

a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.for-sp {
  display: none;
}

.for-tab {
  display: none;
}

@media screen and (max-width: 1024px) {
  .for-tab {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .for-sp {
    display: block;
  }

  .for-pc {
    display: none;
  }
}

/* ----全体調整---- */

body {
  color: var(--colorBlack);
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  overflow-x: clip;
}

p,
h5,
h4,
h3,
h2,
h1,
a,
dd,
dt,
li,
figcaption,
button,
input,
label {
  font-family: var(--familyInter);
}

.primaryButton {
	width: 17.8rem;
	height: 4.9rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10rem;
	background: var(--colorPrimary);
	color: var(--colorWhite);
	font-size: 1.6rem;
	font-weight: 700;
	font-family: var(--familyInter);
	letter-spacing: 0.02em;
}

/* 管理画面ログイン */
.loginArea__top {
	padding-bottom: 2.4rem;
	border-bottom: 1px solid #DDE1E6;
	margin: 2.4rem auto 0;
	max-width: 59.2rem;
}

.loginArea__input:nth-of-type(2) {
	margin-top: 1.6rem;
}

.loginArea__input label {
	font-size: 1.4rem;
	font-family: var(--familyRoboto);
	line-height: 1.4;
	display: block;
	margin-bottom: 0.8rem;
}

.loginArea__input input {
	border: 1px solid var(--colorGray30);
	padding: 1.3rem 1.1rem;
	font-size: 1.3rem;
	line-height: 1.8;
	border-radius: 0.8rem;
	width: 100%;
}

.password-wrap {
	position: relative;
}

.password-icon {
	position: absolute;
	right: 1.1rem;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	color: var(--colorBlack);
	display: flex;
	align-items: center;
}

.loginArea__button {
	margin: 4rem auto 0;
	transition: all 0.3s;
}

@media (hover: hover) {
	.loginArea__button:hover {
		background: #224c90;
	}
}

.loginArea__forgot {
	font-size: 1.4rem;
	font-family: var(--familyRoboto);
	line-height: 1.4;
	color: var(--colorPrimary);
	margin-top: 2.4rem;
	text-decoration: underline;
	text-align: center;
}

/* =========================================
   Global Header (Navigation)
   ========================================= */
.globalHeader {
	background: var(--colorWhite);
	width: 100%;
	height: 6.4rem;
	display: flex;
	align-items: center;
	box-shadow: 0 3.22px 4.83px 0 rgb(0 0 0 / 9%);
	position: fixed;
	z-index: 10;
}

.globalHeader__logo {
	width: 20.8rem;
	transition: all 0.3s;
}

@media (hover: hover) {
	.globalHeader__logo:hover {
		opacity: 0.8;
	}
}

.globalHeader__inner {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 2.4rem;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.globalHeader__left {
	display: flex;
	align-items: center;
	gap: 1.6rem;
}

.globalHeader__title {
	font-size: 1.6rem;
	font-weight: 400;
	font-family: var(--familyInter);
	color: var(--colorBlack);
}

.globalHeader__right {
	display: flex;
	align-items: center;
	gap: 2.4rem;
}

.globalHeader__nav ul {
	display: flex;
	align-items: center;
	gap: 2.4rem;
}

.globalHeader__nav a {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--colorBlack);
	text-decoration: none;
	transition: all 0.3s;
}

@media (hover: hover) {
	.globalHeader__nav a:hover {
		color: var(--colorPrimary);
	}
}

.globalHeader__contactBtn {
	background: var(--colorPrimary);
	color: var(--colorWhite);
	padding: 1rem 2.4rem;
	border-radius: 4rem;
	font-size: 1.4rem;
	font-weight: 700;
	text-decoration: none;
}

.globalHeader__divider {
	width: 1px;
	height: 3.2rem;
	background: #DDE1E6;
}

.globalHeader__user {
	position: relative;
}

.globalHeader__userBtn {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
}

.globalHeader__userBtn--admin {
	color: var(--colorBlack);
}

.globalHeader__userBtn--front {
	color: var(--colorPrimary);
}

.globalHeader__userName {
	font-size: 1.5rem;
	font-weight: 500;
}

.globalHeader__userChevron {
	display: inline-block;
	vertical-align: middle;
	color: #333;
	line-height: 1;
	width: 0.8em;
	height: 0.8em;
  border: 0.15em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(-25%) rotate(135deg);
}

.globalHeader__dropdown {
	position: absolute;
	top: calc(100% + 1rem);
	right: 0;
	background: var(--colorWhite);
	border: 1px solid #DDE1E6;
	border-radius: 0.4rem;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	min-width: 16rem;
	z-index: 50;
	overflow: hidden;
}

.globalHeader__dropdownItem {
	display: block;
	padding: 1.2rem 1.6rem;
	font-size: 1.4rem;
	color: var(--colorBlack);
	text-decoration: none;
	border-bottom: 1px solid #f2f4f8;
	background: none;
	border-left: none;
	border-right: none;
	border-top: none;
	width: 100%;
	text-align: left;
	cursor: pointer;
}

.globalHeader__dropdownItem:last-child {
	border-bottom: none;
}

.globalHeader__dropdownItem:hover {
	background: #F2F4F8;
}

@media screen and (max-width:767px) {
	.globalHeader {
		width: 100%;
		height: 4.8rem;
	}

	.globalHeader__inner {
		padding-inline: 0;
		height: 100%;
	}

	.globalHeader__user {
		display: flex;
		gap: 1.2rem;
		height: 100%;
	}

	.globalHeader__left {
		flex-direction: column;
		gap: 0.2rem;
	}

	.globalHeader__logo {
		width: 13rem;
	}

	.globalHeader__title {
		font-size: 1rem;
	}
}

/* ハンバーガメニュー */
.hamburger {
	background: transparent;
	border: none;
	cursor: pointer;
	display: none;
	height: 4.8rem;
	position: relative;
	transition: 0.3s;
	width: 4.8rem;
}

.hamburger span {
	background: var(--colorWhite);
	height: 0.2rem;
	position: absolute;
	transition: transform 0.2s ease-out;
	width: 50%;
}

.hamburger span:nth-child(1) {
	left: 50%;
	top: 1.46rem;
	transform: translateX(-50%);
}

.navOpen .hamburger span:nth-child(1) {
	transform: translate(-1.25rem, 0.85rem) rotate(45deg);
}

.hamburger span:nth-child(2) {
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
}

.navOpen .hamburger span:nth-child(2) {
	opacity: 0;
}

.hamburger span:nth-child(3) {
	bottom: 1.46rem;
	left: 50%;
	transform: translateX(-50%);
}

.navOpen .hamburger span:nth-child(3) {
	transform: translate(-1.25rem, -0.85rem) rotate(-45deg);
}

@media screen and (max-width: 767px) {
	.hamburger {
		display: block;
		height: 4.8rem;
		background: var(--colorPrimary);
	}
}

.navdrawer {
	align-items: center;
	background: var(--colorWhite);
	display: none;
	flex-direction: column;
	gap: 18px;
	height: 100svh;
	justify-content: center;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	top: 0;
	transform: translateX(80%);
	transition: 0.3s ease-out;
	width: 100vw;
	padding-top: 4.8rem;
	z-index: 5;
}

.navOpen .navdrawer {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(0);
}

.navdrawer__container {
	display: grid;
	grid-template-columns: 1fr;
	margin: 0 auto;
	width: 100%;
	height: 100%;
	overflow-y: scroll;
}

.navdrawer__label {
	border-bottom: 1px solid var(--colorGray20);
	color: var(--colorPrimary);
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.4;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	padding: 2.5rem 1.6rem;
}

.navdrawer__badge {
	color: var(--colorWhite);
	border-radius: 50%;
	width: 1.8rem;
	height: 1.8rem;
	font-size: 1.1rem;
	line-height: 1;
	background: var(--colorRed);
	display: flex;
	align-items: center;
	justify-content: center;
}

.navdrawer__badge:empty {
	display: none;
}

.navdrawer__list {
	display: flex;
	flex-direction: column;
}

@media screen and (max-width: 767px) {
	.navdrawer {
		display: flex;
	}
}


/* =========================================
	Admin Table (共通)
	========================================= */
.adminTable {
	width: 100%;
	border-collapse: collapse;
	font-size: 1.4rem;
}


.adminTable thead {
	border-block: 1px solid var(--colorGray30);
}

.adminTable thead th {
	background: #E9EBED;
	padding: 0.95rem 0;
	text-align: left;
	font-weight: 600;
	color: var(--colorBlack);
	position: relative;
	font-size: 1.4rem;
	color: var(--colorGray60);
	text-align: center;
}

.adminTable thead th a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.77rem;
}

.adminTable thead th a::after {
	content: "";
	display: inline-block;
  vertical-align: middle;
  color: var(--colorGray100);
  line-height: 1;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  border-width: 0.375em 0.375em;
  border-top-color: currentColor;
  border-bottom: 0;
}

.adminTable tbody tr {
	border-bottom: 1px solid var(--colorGray30);
	background: var(--colorWhite);
	transition: all 0.3s;
}

.adminTable tbody td {
	vertical-align: middle;
	font-size: 1.4rem;
	line-height: 1.45;
	padding: 2.6rem 1.2rem;
	text-align: center;
}

@media (hover: hover) {
	.adminTable tbody tr:has(.adminTable__titleCell a:hover) {
		background: #E5EFFF;
	}
}

.adminTable tbody tr:last-child td {
	border-bottom: none;
}

.adminTable__titleCell a {
	color: var(--colorPrimary);
	text-decoration: underline;
	display: block;
	text-align: start;
}

.adminTable__actionsInner {
	display: flex;
	gap: 0.8rem;
	align-items: center;
}

/*　Admin Buttons (共通) */
.adminBtn {
	padding: 0.56rem 0.8rem;
	border-radius: 0.4rem;
	font-size: 1.3rem;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	border: 1px solid transparent;
	font-weight: 500;
	white-space: nowrap;
}

.adminBtn svg {
	width: 1.4rem;
	height: 1.4rem;
}

/* table　スクロールバー */
@media screen and (max-width: 1440px) {
	.pageAdmin__tableWrap {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 2.4rem;
	}

	.adminTable {
		min-width: 115.2rem;
	}

	.pageAdmin__tableWrap::-webkit-scrollbar {
		height: 0.6rem;
	}

	.pageAdmin__tableWrap::-webkit-scrollbar-track {
		background: rgba(120, 120, 120, 0.2);
		margin-inline: 1.6rem;
		border-radius: 0.3rem;
	}

	.pageAdmin__tableWrap::-webkit-scrollbar-thumb {
		background: var(--colorPrimary);
		border-radius: 0.3rem;
	}
}


/* =========================================
	Status Badges (対応状況)
	========================================= */
.adminBadge {
	width: 9rem;
	height: 2.4rem;
	border-radius: 10rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	font-weight: 500;
	gap: 0.6rem;
}

.adminBadge--replied {
	background: #FF492D;
	color: var(--colorWhite);
	position: relative;
}

.adminBadge--unreplied {
	background: #D0F6DB;
	color: #1E8D02;
}

.adminBadge--replied::before {
	content: "";
	width: 0.6rem;
	height: 0.6rem;
	background: var(--colorWhite);
	border-radius: 50%;
}

.adminBadge--done {
	background: var(--colorGray20);
	color: var(--colorGray60);
}
