/*
Inazumaweb2 Plugin front css
*/

#login #loginform {
    border-radius: 8px;
    box-shadow: 0 4px 8px #eef3fe0d, 0 -4px 8px #eef3fe0d !important;
    box-sizing: border-box;
    border: solid 2px #3088f2;
}



/* 背景の暗いオーバーレイ */
.front-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    /* 初期状態は非表示 */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* 中央のコンテンツボックス */
.front-overlay-content {
    width: 90vw;
    height: 90vh;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    overflow: auto;
}

/* 閉じるボタン */
.front-close-btn {
    float: right;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 10px;
}


/* ここから フロント編集ボタン関連　✏ */

/* JS で付与する親用クラス */
.editpen-parent {
  position: relative;
}

/* ペン本体（クリック領域） */
.editpen {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(50%, 50%);   /* ちょっと外にはみ出させる */
  width: 1.5em;
  height: 1.5em;
  pointer-events: auto;
}

/* 見た目は疑似要素で */
.editpen::before {
  content: "✏";
  font-size: 0.9em;
  line-height: 1;
  display: inline-block;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
  padding: 0.1em 0.2em;
}

/* ここまで フロント編集ボタン関連　✏ */







/* ここから 検索関連　 */

.inazuma-search {
    max-width: 1150px;
    margin: 0 auto 40px;
    padding: 40px 36px 36px;
    box-sizing: border-box;
}

.inazuma-search-title {
    max-width: 900px;
    margin: 0 auto 24px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.5;
}

.inazuma-search-form {
    max-width: 900px;
    margin: 0 auto;
}

.inazuma-search-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
}

.inazuma-search-field {
    display: grid;
    gap: 8px;
}

.inazuma-search-field-wide {
    grid-column: 1 / -1;
}

.inazuma-search-label {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.inazuma-search-input {
    width: 100%;
    min-height: 56px;
    padding: 12px 18px;
    font-size: 16px;
    line-height: 1.5;
    box-sizing: border-box;
}

.inazuma-search-button-wrap {
    margin-top: 30px;
    text-align: center;
}

.inazuma-search-button {
    min-width: 280px;
    padding: 16px 32px;
    border: none;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.inazuma-search-button:hover {
    opacity: 0.86;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .inazuma-search {
        padding: 28px 18px;
    }

    .inazuma-search-form,
    .inazuma-search-title {
        max-width: none;
    }

    .inazuma-search-title {
        margin-bottom: 20px;
        font-size: 22px;
    }

    .inazuma-search-fields {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .inazuma-search-field-wide {
        grid-column: auto;
    }

    .inazuma-search-input {
        min-height: 52px;
    }

    .inazuma-search-button {
        width: 100%;
        min-width: 0;
        font-size: 17px;
    }
}


/* ここまで　検索関連　 */