@charset "utf-8";

/* =========================
    全体
========================= */

*, ::after, ::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    padding: 10px 0;
    background-color: #fff;
    color: #333;
    line-height: 1.3;
    font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

/*
wrapper
*/
.wrapper,
.admin-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 544px;
    width: 648px;
    margin: 0 auto;
    border: 1px solid #333;
    background-color: #fef2cb;
}
.admin-wrapper {
    background-color: #dceaf7;
}

/* =========================
    共通layout
========================= */
/*
header
*/
.header-container,
.admin-header-container {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
    min-height: 61px;
    padding: 16px 18px;
    background-color: #fbe4d5;
}
.admin-header-container {
    background-color: #d9d9d9;
}

/*
main
*/
.wrapper main,
.admin-wrapper main {
    flex: 1;
}

/*
footer
*/
.admin-footer-container {
    min-height: 61px;
    padding: 16px 18px;
    background-color: #d9d9d9;
}

/*
section
*/
.section {
    padding: 42px 107px 14px 107px;
}
.section.complete {
    padding: 126px 107px 42px 107px;
    text-align: center;
}
.section.section-width-ver {
    padding: 42px 50px 14px 50px;
}
.section.complete-ver {
    padding: 100px 107px 42px 107px;
    text-align: center;
}
.section.regist {
    padding: 16px 70px;
}
.section.search {
    padding: 0 70px;
}
.section.result {
    padding: 0 35px 14px;
}
.section.result-product-category {
    padding: 0 70px 14px;
}
.section.section-value {
    padding: 18px 107px 18px 107px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    background-color: #d9d9d9;
}

/*
ページネーション
*/
.pagination {
    display: flex;
    margin-bottom: 35px;
    gap: 4px;
    align-items: center;
    justify-content: end;
}
.pagination a,
.pagination span {
    padding: 2px 5px;
    color: #333;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #333;
    font-size: 13px;
}
.pagination span {
    font-weight: bold;
    background-color: #aaa;
    color: #fff;
}
.pagination a:hover {
    background-color: #ddd;
    opacity: 1;
}
.previous-page {
    margin-right: 15px;
}
.next-page {
    margin-left: 15px;
}

/* =========================
    共通パーツ
========================= */

h1 {
    font-size: 20px;
    text-align: center;
    white-space: nowrap;
}

section h1 {
    margin-bottom: 36px;
}

.h1-bottom-ver {
    margin-bottom: 70px;
}

a {
    color: #152deb;
    cursor: pointer;
}
a:hover {
    opacity: 0.7;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    height: 22px;
    padding: 0 6px;
    border: 1px solid #333;
    border-radius: 0;
    background-color: #fff;
}

input[type="radio"] {
    cursor: pointer;
}

input[type="checkbox"] {
    appearance: none;
    width: 17px;
    height: 17px;
    border: 1px solid #333;
    border-radius: 0;
    background-color: #fff;
    cursor: pointer;
}
input[type="checkbox"]:checked::after {
    content: "✓";
}

select {
    height: 22px;
    padding: 0 2px;
    border: 1px solid #333;
    border-radius: 0;
    background-color: #fff;
    cursor: pointer;
}

textarea {
    padding: 2px 6px;
    border: 1px solid #333;
    border-radius: 0;
    background-color: #fff;
    font-family: inherit;
    line-height: 1.3;
    resize: none;
}

.error {
    color: #f00;
    font-size: 14px;
}

/*
ボタン系
*/
.button-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
    align-items: center;
}
.admin-edit-button-area {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}
.button,
.button-a,
.upload-button,
.button-blue,
.button-white {
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 47px;
    border: 1.5px solid #ed7e33;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}
.button {
    min-width: 178px;
    background-color: #ed7d31;
    color: #fff;
}
.button-a,
.upload-button {
    width: 178px;
    background-color: #fff;
    color: #ed7d31;
}
.button-blue {
    width: 185px;
    border: 1.5px solid #4779c8;;
    color: #fff;
    background-color: #4779c8;
    font-weight: normal;
}
.button-white {
    min-width: 185px;
    border: 1.5px solid #4779c8;
    color: #4779c8;
    background-color: #fff;
    font-weight: normal;
}
.button:hover,
.button-a:hover,
.upload-button:hover,
.button-white:hover,
.button-blue:hover {
    opacity: 0.8;
}

/*
navボタン系
*/
.header-nav {
    display: flex;
    gap: 10px;
    white-space: nowrap;
}
.header-nav a,
.header-nav button {
    display: inline-block;
    padding: 6.5px 14px 8.5px;
    border: 1px solid #333;
    background-color: transparent;
    color: #333;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}
.header-nav a:hover,
.header-nav button:hover {
    opacity: 0.7;
}

/* =========================
    会員登録画面
========================= */

/*
各行
*/
.form-row,
.form-row-second {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}
.form-row-second > label {
    min-width: 128px;
}

/*
氏名(姓・名)
*/
.name-group {
    display: flex;
    gap: 12px;
}
.name-group input {
    width: 140px;
}
.name-group label:nth-child(3) {
    margin-left: 12px;
}

/*
性別
*/
.gender-group {
    display: flex;
    gap: 24px;
}
.gender-group label {
    cursor: pointer;
}

/*
パスワード、パスワード確認、メールアドレス
*/
.form-row-second input {
    width: 264px;
}

/* =========================
    会員登録確認画面
========================= */

/*
dl
*/
.section dl > div {
    display: flex;
    gap: 24px;
    margin-bottom: 32px
}

/*
dt、dd
*/
.section dt {
    min-width: 112px;
}
.section dd {
    display: flex;
    gap: 16px;
    word-break: break-all;
}
.section dl > div:last-child dd {
    color: #152deb;
}

/* =========================
    会員登録完了画面
========================= */

/* .section.complete */

.section.complete .button-container {
    margin-top: 200px;
}

/* =========================
    トップ画面
========================= */

/* header-container */
/* header-nav */

/* =========================
    ログイン画面
========================= */

.login-form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}
.login-form-row:nth-of-type(2) {
    margin-bottom: 36px;
}
.login-form-row label {
    min-width: 160px;
}
.login-form-row input {
    width: 264px;
}
.login-form-row > div > div {
    margin-top: 24px;
}
.login-form-row a {
    text-decoration: none;
}

/* =========================
    パスワード再設定メール送信画面
========================= */

.request-form-row {
    display: flex;
    gap: 24px;
    margin: 72px 0;
}
.request-form-row label {
    white-space: nowrap;
}
.request-form-row input {
    width: 264px;
}

/* =========================
    パスワード再設定メール送信完了画面
========================= */
.sent-message {
    margin: 24px 0 48px 0;
    text-align: center;
}

/* =========================
    パスワード再設定画面
========================= */

.reset-form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}
.reset-form-row label {
    min-width: 112px;
}
.reset-form-row input {
    width: 264px;
}
.reset-form-row:nth-of-type(1) {
    margin-top: 24px;
}
.reset-form-row:nth-of-type(2) {
    margin-bottom: 48px;
}

/* =========================
    商品登録画面
========================= */

.product-form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}
.product-form-row label {
    min-width: 112px;
}
.product-form-row input[type="text"] {
    width: 290px;
}
.product-form-row textarea {
    width: 290px;
    height: 112px;
}

/*
カテゴリ
*/
.category-group {
    display: flex;
    gap: 24px;
}

/*
画像
*/
.image-group {
    min-width: 150px;
}

/*
アップロードボタン
*/
.upload-button {
    height: 30px;
    width: 100px;
    font-size: 11px;
}
.upload-button-container {
    margin: 10px 0;
    text-align: center;
}

/* =========================
    商品登録確認画面
========================= */

.product-confirm dd {
    color: #333 !important;
}
.confirm-image-group {
    display: flex;
    flex-direction: column;
}

/* =========================
    商品一覧画面
========================= */

/*
商品検索
*/
.product-search-container {
    width: 100%;
    padding: 25px 25px 15px;
    background-color: #fff;
    border: 1.5px solid #333;
}
.product-search-container-content {
    width: 380px;
    margin: 0 auto;
}
.product-search-row {
    display: flex;
    gap: 24px;
    margin-bottom: 15px;
}
.product-search-row label {
    width: 96px;
}
.product-search-row input[type="text"] {
    width: 227px;
}
.search-category-group {
    display: flex;
    gap: 15px;
}
.search-button-container {
    text-align: center;
}
.search-button {
    justify-content: center;
    width: 100px;
    height: 35px;
    border: 1px solid #333;
    border-radius: 0;
    background-color: #fff;
    cursor: pointer;
}
.search-button:hover {
    background-color: #ddd;
}

/*
商品一覧
*/
.product-list-container {
    width: 100%;
    margin: 15px 0;
    border-top: 1px solid #333;
}
.product-list-item {
    display: flex;
    gap: 55px;
    width: 100%;
    padding: 15px;
    border-bottom: 1px solid #333;
}
.product-list-item-content {
    display: flex;
    gap: 22px;
    flex-direction: column;
    width: 100%;
}
.list-category {
    width: 170px;
    padding: 0 10px;
    border: 1px solid #333;
    background-color: #fff;
}
.product-list-item-content a {
    text-decoration: none;
}
.button-blue-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    min-width: 55px;
    border: 1.5px solid #4779c8;;
    color: #fff;
    background-color: #4779c8;
}
.list-detail-container {
    margin-top: auto;
    text-align: end;
}

/* =========================
    商品詳細画面
========================= */

/* .section.product-detail-section */

.product-detail-row {
    margin-bottom: 15px;
}
.product-detail-row-second {
    margin-bottom: 40px;
}
.detail-product-title-group {
    display: flex;
    gap: 30px;
}
.detail-product-title {
    font-weight: bold;
    width: 250px;
    font-size: 18px;
}
.product-detail-images {
    display: flex;
}
.product-detail-images div {
    width: 25%;
}
.product-detail-row-second {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.product-detail-row-second a {
    text-decoration: none;
}

/*
ボタン
*/
.detail-button-container {
    display: flex;
    align-items: end;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

/* =========================
    商品レビュー登録画面
========================= */

/*
商品情報
*/
.review-info-container {
    display: flex;
    gap: 30px;
    padding: 0 15px 15px;
    border-bottom: 1px solid #333;
}
.review-info-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-top: 15px;
}

/*
評価・コメント
*/
.review-input-container {
    padding: 30px 30px 0;
}

.review-input-row {
    display: flex;
    margin-bottom: 15px;
}
.review-input-row:nth-child(3) {
    margin-bottom: 30px;
}
.review-input-row label {
    width: 135px;
}
.review-input-row select {
    text-align: center;
}
.review-input-row textarea {
    width: 290px;
    height: 108px;
}

/* =========================
    商品レビュー登録確認画面
========================= */

.review-input-container-conf {
    padding: 30px 30px 0;
}
.review-input-row-conf {
    display: flex;
    margin-bottom: 15px;
    word-break: break-all;
}
.review-input-row-conf:nth-child(2) {
    margin-bottom: 30px;
}
.review-input-row-conf p:nth-child(1) {
    min-width: 135px;
}
.review-input-row-conf p:nth-child(2) {
    width: 350px;
}

/* =========================
    商品レビュー登録完了画面
========================= */

.section.complete-ver p {
    margin-bottom: 100px;
}

/* =========================
    商品レビュー一覧画面
========================= */

.review-wrapper {
    margin-bottom: 20px;
}
.review-container {
    padding: 25px 40px 7px;
    border-bottom: 1px solid #333;
}
.review-row {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
}
.review-row p:nth-child(1) {
    flex: 0 0 140px;
}
.review-row p:nth-child(2) {
    flex: 1;
    min-width: 0;
}
.review-row p {
    word-break: break-all;
}

/* =========================
    マイページ
========================= */

.mypage-group {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.button-container.mypage-button-container {
    padding-left: 24px;
    margin-top: 80px;
}

/* =========================
    マイページ:パスワード変更画面
========================= */

/* .h1-bottom-ver */


/* =========================
    マイページ:会員情報変更画面
========================= */

.form-row.mypage-form-row,
.form-row-second.mypage-form-row {
    margin-bottom: 40px;
}

/* =========================
    マイページ:会員情報変更確認画面
========================= */

.mypage-member-confirm-dd {
    color: #333 !important;
}

/* =========================
    マイページ:メールアドレス変更画面
========================= */

.mypage-email-row {
    display: grid;
    grid-template-columns: 205px 1fr;
    margin-bottom: 24px;
}
.mypage-email-row input {
    width: 80%;
}
.mypage-email-form-content {
    margin-bottom: 70px;
}
.email-p {
    color: #152deb;
}

/* =========================
    マイページ:メールアドレス認証コード入力画面
========================= */

.email-auth-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    margin: 40px 0 80px;
}
.email-auth-row input {
    width: 200px;
}

/* =========================
    マイページ:商品レビュー管理画面
========================= */

.review-management-button-area {
    display: flex;
    gap: 15px;
}
.review-management-button-area a {
    height: 32px;
    width: 110px;
    font-size: 14px;
}










/* =========================
    管理者画面トップ
========================= */

.header-info {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
}

/* =========================
    会員一覧ページ
========================= */

/* -------------
    会員登録エリア
-------------- */
.regist a {
    height: 40px;
    width: 120px;
}


/* -------------
    会員検索エリア
-------------- */
.search table {
    width: 100%;
    margin-bottom: 16px;
    border: 2px solid #333;
    border-collapse: collapse;
}
.search th,
.search td {
    justify-content: center;
    border: 1px solid #333;
}
.search th {
    padding: 8px 12px;
    width: 124px;
    background-color: #d9d9d9;
    text-align: left;
}
.search td {
    padding: 8px 77.25px;
    text-align: left;
}
.search-checkbox-group label:nth-of-type(1) {
    margin-right: 16px;
}
.search-checkbox-group input {
    margin-right: 8px;
}
.search input[type="text"] {
    width: 225px;
}

/* -------------
    会員一覧エリア
-------------- */
.result table {
    width: 100%;
    margin-bottom: 16px;
    border: 2px solid #333;
    border-collapse: collapse;
}
.result th,
.result td {
    height: 24px;
    border: 1px dotted #333;
    text-align: center;
    font-size: 13px;
}
.result th {
    border-bottom: 1px solid #333;
    background-color: #d9d9d9;
    font-weight: normal;
}
.result th a {
    color: #333;
    text-decoration: none;
}
.result td a {
    text-decoration: none;
}
.result td {
    word-break: break-all;
    background-color: #fff;
}

.result th:nth-child(1),
.result td:nth-child(1) {
    width: 7%;
    text-align: center;
}
.result th:nth-child(2),
.result td:nth-child(2) {
    width: 19%;
    text-align: center;
}
.result th:nth-child(3),
.result td:nth-child(3) {
    width: 7%;
    text-align: center;
}
.result th:nth-child(4),
.result td:nth-child(4) {
    width: 38%;
    text-align: center;
}
.result td:nth-child(4) {
    color: #606fe4;
}
.result th:nth-child(5),
.result td:nth-child(5) {
    width: 15%;
    text-align: center;
}
.result th:nth-child(6),
.result td:nth-child(6) {
    width: 7%;
    text-align: center;
}
.result th:nth-child(7),
.result td:nth-child(7) {
    width: 7%;
    text-align: center;
}

/* =========================
    商品カテゴリ一覧ページ
========================= */

/* -------------
    商品カテゴリ登録エリア
-------------- */

.regist-second a {
    width: 180px;
}

/* -------------
    商品カテゴリ検索エリア
-------------- */

/* -------------
    商品カテゴリ一覧エリア
-------------- */

.result-product-category table {
    width: 100%;
    margin-bottom: 16px;
    border: 2px solid #333;
    border-collapse: collapse;
}
.result-product-category th,
.result-product-category td {
    height: 24px;
    border: 1px dotted #333;
    text-align: center;
    font-size: 13px;
}
.result-product-category th {
    border-bottom: 1px solid #333;
    background-color: #d9d9d9;
    font-weight: normal;
}
.result-product-category th a {
    color: #333;
    text-decoration: none;
}
.result-product-category td a {
    text-decoration: none;
}
.result-product-category td {
    word-break: break-all;
    background-color: #fff;
}

.result-product-category th:nth-child(1),
.result-product-category td:nth-child(1) {
    width: 8%;
    text-align: center;
}
.result-product-category th:nth-child(2),
.result-product-category td:nth-child(2) {
    width: 54%;
    text-align: center;
}
.result-product-category th:nth-child(3),
.result-product-category td:nth-child(3) {
    width: 20%;
    text-align: center;
}
.result-product-category th:nth-child(4),
.result-product-category td:nth-child(4) {
    width: 9%;
    text-align: center;
}
.result-product-category th:nth-child(5),
.result-product-category td:nth-child(5) {
    width: 9%;
    text-align: center;
}

/* =========================
    商品カテゴリフォーム
========================= */

.admin-product-category-form-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    margin-bottom: 38px;
}
.admin-product-category-form-row input[type="text"] {
    width: 100%;
}
.admin-product-category-input-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* =========================
    商品詳細
========================= */

.overall-evaluation {
    border: 1px solid #333;
}
.section-value div {
    display: flex;
    gap: 75px;
}
.section-value p {
    font-size: 18px;
    font-weight: bold;
}

.product-review-area {
    padding: 16px 32px 16px 40px;
}
.review-item {
    display: grid;
    gap: 16px;
    grid-template-columns: 350px 1fr;
    padding: 20px 16px;
    word-break: break-all;
    border-bottom: 1px solid #333;
    margin-bottom: 16px;
}
.review-item > div {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.review-item > div > div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
}
.review-item a {
    text-decoration: none;
}
.admin-edit-button-area-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 50px;
}
.review-item-button-container {
    justify-content: end;
}
.button-gray {
    width: 160px;
    display: inline-block;
    padding: 6.5px 14px 8.5px;
    border: 1px solid #333;
    background-color: transparent;
    color: #333;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

/* =========================
    商品レビュー登録・編集
========================= */

.review-input-row-2 {
    display: flex;
    margin-bottom: 20px;
}
.review-input-row-2:nth-of-type(5) {
    margin-bottom: 40px;
}
.review-input-row-2 label {
    width: 125px;
}
.review-input-row-2 select {
    text-align: center;
    width: 130px;
}
.review-input-row-2 textarea {
    width: 290px;
    height: 108px;
}

/* =========================
    商品レビュー登録・編集確認
========================= */

.review-info-container-2 {
    display: flex;
    gap: 45px;
    padding: 0 0 45px 30px;
    border-bottom: 1px solid #333;
}
.review-info-content-2 {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.review-input-container-2 {
    padding: 30px 45px 0;
}
.review-input-container-conf-2 {
    padding: 30px 30px 0;
}
.review-input-row-conf-2 {
    display: flex;
    margin-bottom: 15px;
    word-break: break-all;
}
.review-input-row-conf-2:nth-child(3) {
    margin-bottom: 30px;
}
.review-input-row-conf-2 p:nth-child(1) {
    min-width: 135px;
}
.review-input-row-conf-2 p:nth-child(2) {
    width: 350px;
}