@charset "utf-8";

body {
    font-family: Meiryo, Osaka, "Myriad Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif, "HG正楷書体-PRO", "小塚明朝 Pro EL", serif;
    margin: auto;
}

/*-----------全ページ共通★--------------*/

.to_top {
  position: fixed;
  right: 0;
  bottom: 100px;
  margin-right: -30px;
  transition: 0.4s;
  opacity: 0.75;
  z-index: 501;
}

.to_top:hover {
  margin-right: 0;
  opacity: 1;
}

/*------------header------------*/
/*-------グローバルメニュー---------*/
.gr_menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #f0f0f0;
}

.gr_menu img {
  height: 50px;
}

.gr_menu nav {
  flex-grow: 1;
  text-align: right;
}

.gr_menu nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.gr_menu nav li {
  margin-left: 20px;
}

.gr_menu nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.gr_menu nav a:hover {
  color: #007bff;
}

/* ページ上部の見出しセクション */
.page-title-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #f5f5f5;
  margin-bottom: 30px;
}

.page-title-section .subtitle {
  font-size: 1.2rem;
  color: #888;
  letter-spacing: 2px;
}

.page-title-section .title {
  font-size: 2.5rem;
  color: #333;
  font-weight: bold;
  margin-top: 5px;
}

/* お問い合わせフォームのコンテナ */
.form-container {
  max-width: 800px;
  margin: 95px auto;
  padding: 30px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-title {
  text-align: center;
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.note {
  text-align: center;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}

.bold {
  font-weight: bold;
  color: #d35400;
}

/* フォームの行 */
.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-label {
  flex-basis: 200px;
}

.form-field {
  flex-grow: 1;
}

/* 入力フィールドの共通スタイル */
.in_tex {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
}

.in_tex:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

/* エラーメッセージ */
.form_error {
  color: #e74c3c;
  font-size: 0.75rem;
  font-weight: bold;
  display: block;
}

/* 送信ボタンのコンテナ */
.form-submit {
  text-align: center;
  margin-top: 30px;
}

.form-submit input[type="submit"] {
  padding: 12px 30px;
  background-color: #3498db;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.form-submit input[type="submit"]:hover {
  background-color: #2980b9;
}

/* フッターメニューのコンテナ */
.ft_menu {
  background-color: #f8f8f8;
  border-top: 1px solid #e0e0e0;
  padding: 20px 0;
}

/* ナビゲーションリスト（ul）のスタイル */
.ft_menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

/* リンク（a）のスタイル */
.ft_menu a {
  text-decoration: none;
  color: #555;
  font-size: 14px;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

.ft_menu a:hover {
  color: #007bff;
}

/* 著作権表示のコンテナ */
.copy {
  text-align: center;
  background-color: #e8e8e8;
  padding: 10px 0;
  font-size: 12px;
  color: #777;
}

.hissu {
  display: block;
  color: red;
  font-size: 12px;
}

/*-------form_error_hidden---------------*/

.hidden {
  display: none;
}

/*==================================================
  レスポンシブ対応
===================================================*/
/*(428px以上)*/
@media (min-width: 428px) {
    .gr_menu {
        flex-wrap: nowrap; /*折り返さない*/
        justify-content: space-between;
    }

    .gr_menu nav {
        text-align: right;
    }

    .gr_menu nav ul {
        align-items: baseline;
        /* flex-wrap: nowrap;
        justify-content: flex-end; */
    }

    /* .form-row {
        flex-direction: row;
        align-items: center;
    } */

    .form-label {
        margin-bottom: 0;
        margin-right: 20px;
        flex-basis: 130px;
        font-weight: bold;
        flex-basis: 0px;
    }

    .hissu {
        font-size: 15px;
    }

    .form_error {
        font-size: 0.95rem;
    }
}

/*(428px以下)*/
@media (max-width: 428px){
    .form-label {
        margin-bottom: 0;
        margin-right: 20px;
        flex-basis: 130px;
        font-weight: bold;
        flex-basis: 0px;
    }

    .form-title {
        font-size: 1.3rem;
    }

    .note {
        font-size: 14px;
    }
}

/*(768px以上)*/
/* @media (min-width: 768px) {
    .form-label {
        flex-basis: 200px;
    }
} */
