/* @import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300;400;500;700&display=swap'); */
/* CSS Document */

@media (prefers-color-scheme: dark) {
    .input_box {
        background-color: #ffffff !important;
        color: #000000 !important;
    }
}

/* 全体のリセットと基本設定 */
body, ul, li, h1 {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-main {
  flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: flex-start;
}
#title2 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
}

textarea {
    letter-spacing: 0.5px;
}

.language-switch {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    white-space: nowrap; /* ← これを追加 */
}


.language-switch button {
    padding: 3px 3px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    background-color: lightgray;
    color: black;
}

.language-switch button.active {
    background-color: royalblue;
    color: white;
}


/* タブレット用 (376px 以上 1024px 以下) */
@media screen and (min-width: 376px) and (max-width: 768px) {
    * {
        font-size: 12px;
    }
    .fixed-menu {
        flex-direction: row;
        align-items: center;
    }

    .language-switch {
        margin-top: 0;
    }

    .language-switch button {
    padding: 3px 3px;
    font-size: 12px;
    cursor: pointer;
    border: none;
    background-color: lightgray;
    color: black;
    }

    #title2 h1 {
        font-size: 20px;
    }
    .lang-button {
    display: inline-block;
    padding: 4px 8px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 12px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}
}

/* PC用 (769px 以上) */
@media screen and (min-width: 769px) {
    * {
        font-size: 16px;
    }
    .fixed-menu {
        flex-direction: row;
        align-items: center;
    }

    .language-switch {
        margin-top: 0;
    }
    .language-switch button {
    padding: 3px 3px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    background-color: lightgray;
    color: black;
    }
    #title2 h1 {
        font-size: 28px;
    }
}

/* スマートフォン用 (375px 以下) */
@media screen and (max-width: 375px) {
    * {
        font-size: 10px;
    }
    .fixed-menu {
        flex-direction: column;
        align-items: center;
    }

    .language-switch {
        margin-top: 10px;
    }
    .language-switch button {
    padding: 3px 3px;
    font-size: 10px;
    cursor: pointer;
    border: none;
    background-color: lightgray;
    color: black;
    }
    #title2 h1 {
        font-size: 17px;
    }
}

body {
    max-width: 1100px;
    margin: 0 auto; /* ← 横方向の中央揃え */
    padding: 2px 20px;
    font-size: 16px;
    color: #000;
    background-color: #ffffff !important;
    display: flex;
    flex-direction: column;
    align-items: center; /* ← 中央揃え */
}

header{
	width: 100%;
}

.fixed-menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    background: skyblue;
    padding: 2% 2%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 1100px; /* ← 追加 */
    margin: 0 auto;     /* ← 中央に配置 */
    top: 0;
    left: 0;          /* ← 追加 */
    right: 0;         /* ← 追加 */
    z-index: 1000;
	overflow-x: auto; /* ← 横スクロールを許可（必要に応じて） */
	 /* position: fixed; ← これが必要 */
}



   






.menu {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}



.image-link {
    display: inline-block;
    width: 120px;
    max-width: 60%;
    text-align: left; /* 左寄せにする */
}

.logo {
    width: 60%;
    height: auto;
    max-width: 100%;
    min-width: 100px;
	  display: block;
}


  
	










.jp, .en {
	display: none;
  }
  
  .visible {
	display: block;
  }
	  




/* page1テーブルサイズ */
.page1_table {
	text-align: center;
	margin: 0 5%;
}




#topButton {
	position: fixed;
	bottom: 5px;
	right: 5px;
	padding: 5px 5px;
	background-color: #007BFF;
	color: white;
	border: none;
	border-radius: 50px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.3s, box-shadow 0.3s;
	z-index: 2000;
}

#topButton:hover {
	background-color: #0056b3;
 	box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}
		





th,
td {
	width: 10%; /* 各セルの幅を指定（調整可能） */
	padding: 1px; /* 余白を追加 */
	border: 1px solid #000; /* 枠線を追加 */
	text-align: left; /* テキストを左揃え */
	overflow-wrap: break-word;
}

tr {
	text-align: left;
	border: 1px solid #ddd;
	padding: 1px;
}

.center_2 {
  width: 95%;
  max-width: 100%;
  text-align: center;
  margin: 0 auto;
}


.input_area {
	/* display: flex; */
	width: 100%;
  max-width: 100%;
	justify-content: center; /* 水平方向の中央揃え */
	align-items: center; /* 垂直方向の中央揃え */
	margin: auto; /* 画面中央に配置 */
}

.input_area_2 {
	justify-content: center; /* 水平方向の中央揃え */
}

.radio_wrap {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.radio_wrap input[type="radio"] {
    margin-right: 10px;
    margin-top: 4px;
}
#img_Checkbox_1,
#img_Checkbox_2{
	width: 10%;
}

.radio_wrap label {
    display: flex;
    flex-direction: column;
}

.jp, .en {
    display: none;
}

.jp.visible, .en.visible {
    display: inline;
}

input.radio {
	padding: 2%;
	width: 5%;
	display: inline-block;
}

.input_check {
	max-width: 100%;
	font-size: 1.5rem;
	justify-content: center;
	align-items: center; /* 垂直方向の中央揃え */
	margin: auto; /* 画面中央に配置 */
}

input[type='text'] {
  color: #000000 ;
	background-color: white;
}

.tr_title {
	text-align: center;
}

.section_info {
	width: 80%;
	text-align: left;
	padding: 0%;
	margin-left: 5%;
	margin-right: 5%;
}

.select_container {
	display: flex;
	justify-content: center; /* 水平方向の中央揃え */
	align-items: center; /* 垂直方向の中央揃え */
}
	
.select_box {
	margin: 1% 0%;
	text-align: left;
	width: 96%;
	font-size: 120%;
	background-color: #ffffff;
}
input {
  letter-spacing: 2px;
  border: 2px solid black; /* 枠線を表示 */
  border-radius: 4px;
}

.input_box {
  appearance:none ;
  border: 2px solid black;
	display: block;
	width: 95%;
	color: black!important;
	font-size: 1.5cap;
	text-align: left;
	background-color: #ffffff !important;
  border-radius: 4px;
  box-sizing: border-box;
}

.input_box_img {
	width: 95%;
	font-size: 1.5cap;
	color: black!important;
	text-align: left;
	background-color: #ffffff!important;
}

.img_btn {
	margin: 1px 2px;
	width: 25%;
	text-align: center;
	justify-content: center;
	padding: 5px 10px; /* ボタンの内側の余白を調整 */
	font-size: 1.5rem; /* フォントサイズを小さく */
	border-radius: 5px; /* 角を丸く */
	background-color: #4CAF50; /* ボタンの背景色 */
	color: white; /* ボタンの文字色 */
	border: none; /* ボーダーをなしに */
	cursor: pointer; /* カーソルをポインターに */
}
	
.img_btn:hover {
	 background-color: #45a049; /* ホバー時の背景色 */
}
	
.error {
	color: red;
	display: none; /*初期状態では非表示*/
}
	
.required_area {
	flex: 1;
	font-weight: bolder;
	color: crimson;
	text-align: center;
}
.required_area_2 {
	flex: 4;
}
.required_area_3 {
	font-weight: bolder;
	color: crimson;
	text-align: left;
}



.required_area_left {
	color: crimson;
}

.optional_area {
	color: blue;
	text-align: center;
}


.txtno-display {
	margin: 0;
	padding: 0;
	height: 1px;
	width: 1px;
	position: absolute;
	overflow: hidden;
}

.link_text {
	color: blue;
}

#about {
	background: rgb(242, 243, 243);
	text-align: center;
	padding: 20px;
}
#about_2 {
	background: rgb(242, 243, 243);
	text-align: left;
	padding: 20px;
}

#agree {
	background: rgb(242, 243, 243);
	text-align: center;
	padding: 20px;
}

#about_1 {
	text-align: left;
	margin-top: 10px;
	margin-left: 5%;
	margin-right: 5%;
}
#about_2 {
	text-align: left;
	margin-top: 30px;
	margin-left: 5%;
	margin-right: 5%;
}
#about_3 {
	text-align: left;
	margin-top: 30px;
	margin-left: 5%;
	margin-right: 5%;
}
.about_3 {
  text-align: left;
  padding: 0;
  margin-left: 0; /* ← ここが重要 */
}

.about_3 h4,
.about_3 label,
.about_3 span {
  margin-left: 0;
  padding-left: 0;
}
.about_3 .section_input_btn {
  display: block;
  margin-left: 0;
  text-align: left;
}
.about_3 button,
.about_3 input[type="button"] {
  display: block;
  margin-left: 0;
  text-align: left;
}


#now {
	text-align: center;
	border: solid 2px #000; /* 枠線のスタイルと色 */
	/* padding: 3% 0%; 内側の余白 */
	/* margin: 0 20%; 外側の余白 */
}
#now_txt {
	text-align: left;
	margin-top: 0px;
	margin-left: 5%;
	margin-right: 5%;
}
#now_Caution {
	text-align: left;
	margin-top: 30px;
	margin-left: 5%;
	margin-right: 5%;
}
#now_Caution {
	text-align: center;
}

#input_1,
#input_2, 
#input_3{
	margin: 5px auto; /* 横方向の中央揃え */
	border-collapse: collapse; /* セルの枠線を統合 */
	width: 100%; /* テーブル全体の幅を調整（必要に応じて変更） */
}

#Required {
	border: 1px solid red; /* 枠線の太さと色 */
	padding: 3px; /*枠線と文字の間隔 */
	display: inline-block; /*コンテンツをブロックとして表示 */
	color: red;
}

#overview {
	text-align: left;
	height: 200px;
	width: 500px;
}

#form_1 {
	text-align: left;
	margin-top: 10px;
	margin-left: 25%;
	margin-right: 25%;
}

table {
	width: 100%; /* テーブル全体の幅を100%に */
	border-collapse: collapse; /* セルの隙間をなくす */
	table-layout: fixed; /* 列幅を均等に揃える*/
	padding: 0;
}

th, td {
  border: 1px solid #333; /* 濃い色に変更 */
  padding: 8px;
}

#option_file {
	width: 100%;
}

#_1 {
	font-weight: bold;
	color: black;
	text-align: center;
	font-size: 1.5cap;
	ime-mode: inactive;
	background-color: #ffffff;
}

.center {
	display: flex;
	justify-content: center;
	align-items: center;
	/* height: 100%; */
}

#help_desk {
	text-align: center;
}

.container {
	height: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: 10% 25%;
	width: 25%;
	margin: 5% 25%;
}

img {
	max-width: 100%; /* 画像の最大幅を100%に設定 */
	height: auto; /* 画像の高さを自動調整 */
}
input {
	accent-color: #ffffffff;
	width: 80%;
	font-size: 120%;
	margin: 2% 2%;
	padding: 1% 1%;
}

.school_name {
	width: 120%;
	margin: 2% 2%;
	padding: 1% 5%;
}








.input_wrap {
    display: flex;
	width: 100% ;
	flex-wrap: wrap;
	align-items: center;
    gap: 5px; /* 要素間のスペース */
	justify-content: center; /* 横方向の中央揃え */
}

.input_wrap .jp,
.input_wrap .en {
    margin: 0;
    white-space: nowrap;
}

.input_wrap_2 {
  margin: 2px auto;
  font-size: 80%;
  justify-content: center;
  align-items: center;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  position: relative;
  color: white; /* ← 文字色を白に設定 */
  /* z-index: 1000; */
}



.input_wrap_2 button {
  font-size: 0.8em;         /* 文字サイズを調整 */
  white-space: normal;      /* 折り返しを許可 */
  word-break: break-word;   /* 単語の途中でも折り返し */
  text-align: center;       /* 中央揃え（任意） */
  padding: 5px 10px;        /* パディング調整（任意） */
  max-width: 120px;         /* 最大幅を設定して折り返しを促す */
  color: white; /*← 文字色を白に設定*/
}


.input_wrap_2 input[type="button"] {
  font-size: 0.8em;
  white-space: normal;
  word-break: break-word;
  text-align: center;
  padding: 5px 10px;
  max-width: 120px;
  color: white; /* ← 文字色を白に設定 */
  background-color: royalblue; /* ボタン背景色（任意） */
  border: none;
  border-radius: 5px;
}





.submit {
  position: relative;  /* または absolute/fixed/sticky */
  /* z-index: 1000;         他の要素より大きくする */
}



.input_wrap_2_1 {
margin: 2px auto;
font-size: 80%;
justify-content: center;
align-items: center;
display: flex;
gap: 10px;
flex-wrap: wrap; /* ボタンを折り返し可能に */
}

.input_wrap_2_1 input[type="button"] {
white-space: normal; /* テキストの折り返しを許可 */
word-break: break-word; /* 長い単語も折り返す */
text-align: center; /* テキスト中央揃え（任意） */
padding: 8px 12px;
max-width: 100%; /* 折り返しを促すための最大幅 */
}



.input_wrap input {
	padding: 5px 10px; /* 内側の余白を小さくする */
	font-size: 14px; /* 文字のサイズを少し小さくする */
	width: 30%; /* ボタンの幅を調整 */
	height: 10%; /* ボタンの高さを調整 */
}
button,
input[type='submit'],
input[type='button'] {
	color: black;
	justify-content: left;
	background-color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 5px; /*角を丸くする */
	cursor: pointer; /* マウスポインタを変更 */
	font-size: 2cap; /* フォントサイズ */
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* ボタンの影 */
}
.container {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh; /* コンテナの高さを設定 */
}

#submit:hover {
	background-color: #45a049; /* ホバー時の背景色 */
}

#submit:active {
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* 押したときの影 */
	transform: translateY(2px); /* 押したときの位置を少し下げる */
}

#footer {
	background-color: #f8f8f8; /* フッター背景色 */
	padding: 15px 20px; /* 上下左右の余白 */
	border-top: 2px solid #ddd; /* 上部のボーダーライン */
}

.footer-menu {
	display: flex; /* フレックスボックスを有効化 */
	justify-content: space-between; /* 要素間を均等に配置 */
	align-items: center; /* 垂直方向で中央揃え */
	list-style: none; /* リストマーカーを非表示 */
	padding: 0; /* リストの内側余白を削除 */
	margin: 0; /* リストの外側余白を削除 */
}

.footer-menu li {
	margin: 0 10px; /* 項目間の余白を調整 */
}


.re {
	color: #0078d4; /* リンク文字色 */
}

.re:hover {
	text-decoration: underline; /* ホバー時の下線を追加 */
	color: #005a9e; /* ホバー時の文字色 */
}

@media (prefers-color-scheme: dark) {
input[type="checkbox"],
input[type="radio"] {
	accent-color: #ffffff /* ダークモード用にさらに明るい色 */
}
}

.custom-checkbox{
  display: flex;
  align-items: center;
  gap: 10px;
}
.default_Checkbox{
  width: 30px;
  margin: 0;
}

/* チェックボックスの見た目をリセット */
.custom-checkbox input[type="checkbox"] {
  flex-shrink: 0; 
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 30px !important;
  height: 30px !important;
  border: 2px solid #000;
  background-color: #ffffff;
  cursor: pointer;
  position: relative;
}

/* チェックされたときのチェックマーク */
.custom-checkbox input[type="checkbox"]:checked::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 9px;
  width: 6px;
  height: 12px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 100%;
}


.custom-radio input[type="radio"] {
  appearance: none;
  width: 20px !important;
  height: 20px;
  border: 2px solid #000;
  border-radius: 50%;
  background-color: #ffffff;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
  flex-shrink: 0;
}


.custom-radio input[type="radio"]:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background-color: #000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}





/* ラベルのスタイル */
.custom-radio label {
  display: inline-block;
  cursor: pointer;
  color: #000;
}

  .autocomplete-item {
    padding: 8px;
    cursor: pointer;
  }

  .autocomplete-item:hover {
    background-color: #f0f0f0;
  }


.language-switch {
    list-style: none;
    display: flex;
    gap: 10px;
}

.lang-button {
    display: inline-block;
    padding: 6px 10px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.lang-button:hover {
    background-color: #0056b3;
}


.lang-button .jp,
.lang-button .en {
    display: block;
}
#lang-jp.lang-button {
    background-color: #cccccc; /* グレー */
    color: #333333; /* 文字色も少し暗めに */
}

#lang-jp-en.lang-button:hover {
    background-color: #aaaaaa; /* ホバー時に少し濃いグレー */
}
#lang-jp-en.lang-button {
    background-color: #cccccc; /* グレー */
    color: #333333; /* 文字色も少し暗めに */
}

#lang-jp-en.lang-button:hover {
    background-color: #aaaaaa; /* ホバー時に少し濃いグレー */
}

.btn_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px; /* ボタン間の余白 */
  margin-top: 20px;
}

.input_wrap_2 {
  flex: 1 1 200px; /* 最小幅200pxで折り返し可能 */
  display: flex;
  justify-content: center;
}

.input_wrap_2 input[type="button"] {
  padding: 12px 24px;
  font-size: 24px;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
}

.autocomplete-container {
  position: relative;
  /* display: inline-block; */
  width: 100%;
  /* max-width: 100%; */
  /* margin: 10px; */
}

.autocomplete-input {
  width: 95%;
  padding: 8px 24px 8px 8px;
  font-size: 14px;
  color: #000; 
  background-color: white;
  box-sizing: border-box;
}

.autocomplete-list {
  display: none;
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  max-height: 200px;
  max-width: 100%;
  top: 95%;
  overflow-y: auto;
  z-index: 1000;
  width: 80%; /* 親要素と同じ幅 */
  left: 5%; /* 左端に揃える */
  box-sizing: border-box;
  margin: 0;
}

.autocomplete-item {
  padding: 8px;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
}

.autocomplete-item:hover {
  background-color: #eee;
}
 
.autocomplete-row {
  display: flex;
  gap: 10px; /* 各入力欄の間隔を調整 */
  flex-wrap: wrap; /* 必要に応じて折り返し可能に */
}
.dropdown-arrow {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 14px;
  color: #666;
}

.birthday-set {
  display: flex;
  gap: 10px; /* 各入力欄の間隔を調整 */
  align-items: center; /* 垂直方向の中央揃え（必要に応じて） */
}
.relationship {
  margin: 2%;
  height: 35px;
  width: 100%;
  font-size: 1.5cap;
  background-color: white;
  appearance: none; /* ブラウザ標準の矢印を非表示に */
  -webkit-appearance: none;
  -moz-appearance: none;
  box-sizing: border-box;
}

.select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-left:2%;
  max-width: 80%;
  box-sizing: border-box;
  padding-left: 2%;
  }

.select-wrapper select {
  width: 100%;
  height: 40px;
  padding-right: 30px; /* 矢印のスペースを確保 */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-sizing: border-box;
}
.select-wrapper select.input_box {
  appearance: none; /* ブラウザのデフォルト矢印を消す */
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  padding-right: 30px; /* ▼マークのスペースを確保 */
}
.select-wrapper .dropdown-arrow {
  position: absolute;
  right: 20%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 14px;
  color: #555;
}
.suggestion-list {
  list-style: none;
  left: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  position: absolute;
  background-color: #ffffff; /* 白背景 */
  z-index: 1000;
  /* width: 300px; 幅を広げる */
}

.suggestion-list li {
  padding: 8px;
  background-color: #f0f0f0;
  cursor: pointer;
}

.suggestion-list li:hover {
  background-color: #f0f0f0;
}
/* 
.branch_selector {
  max-width: 100%;
  width: 300px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  padding: 8px;
} */

#branch_selector {
  background-color: white !important;
  width: 100%;
}



.tashi_division {
    display: none; /* デフォルトは非表示 */
    margin-top: 20px;
    padding: 10px;
    background-color: #f0f8ff;
    border: 1px solid #ccc;
}
.status {
    font-weight: bold;
    color: red;
margin-left: 10px;
}
.status.done {
  color: green;
}

.section_input_btn {
  font-size: 1.0em;
  padding: 8px 10px;
}



  .step {
    text-align: left;
    font-weight: bold;
    margin: 20px 0;
  }

.suggestion-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  background: white;
  position: absolute;
  z-index: 1000;
}

.suggestion-list li {
  padding: 5px 10px;
  cursor: pointer;
}

.suggestion-list li:hover {
  background-color: #f0f0f0;
}

  #branch-suggestions {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    position: absolute;
    background-color: white;
    z-index: 1000;
  }

  #branch-suggestions li {
    padding: 8px;
    cursor: pointer;
  }

  #branch-suggestions li:hover {
    background-color: #f0f0f0;
  }

.input_wrap_2_1 input[type="button"] {
  background-color:royalblue; /* 緑色 */
  color: white;              /* 文字色 */
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

.input_wrap_2_1 input[type="button"]:hover {
    background-color: #0056b3; /* ホバー時の色 */
}

.input_wrap_2 input[type="button"] {
  background-color:royalblue; /* 緑色 */
}

.input_wrap_2 input[type="button"]:hover {
  background-color: #0056b3; /* ホバー時の色 */
}



.right-align-logo {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}



.right-align-logo .image-link {
  display: inline-block;
  width: 30% !important;
}

input:valid,
input:invalid {
  background-color: white; /* または元の色 */
  box-shadow: none;
}

@media screen and (max-width: 375px) {
  .right-align-logo img {
    width: 100px;
    height: auto !important;
    max-height: none !important;
  }

  .site-main .logo {
    width: 15%;
    height: auto !important;
    max-height: none !important;
  }

  #topButton {
    padding: 5px 5px;
    font-size: 12px;
    bottom: 5px;
    right: 5px;
  }

  .lang-button {
    display: inline-block;
    padding: 3px 5px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}
}
.errorMessages{
    color: red;
    font-weight: bold;
    text-align: center;
    background-color: yellow;
}

.caution{
    color: red;
    margin: 2px;
}

.txt_center{
    text-align: center;
}

.link_style{
  color: blue;
}
.req{
    color: red;
    margin: 2px;
}
.req_non{
    color: blue;
    margin: 2px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkbox-row input[type="checkbox"] {
  width: 30px;
  margin: 0;
}
.checkbox-text {
  display: flex;
  flex-direction: column;
}

.text_left{
  text-align: left;
}

.text_center{
  text-align: center;
}

.input_wrap_2 input {
    border: 2px solid #000; /* 太さ2px、色は黒 */
}

.step{
  text-align: left;
  font-weight: bold;
}

.section_background{
  background:rgba(193, 232, 242, 0.94);
}
.no_display{
  display:none;
}

.autocomplete-input{
  background-color:white;
}

.pdfPreview{
  display:none; 
  width:100%; 
  height:500px; 
  border:1px solid #000;
} 
.imagePreview{
  display:none;
  max-width: 100%;
}

.tashi_division{
  display: none;
  margin-top: 10px; 
  padding: 10px;
}

.pos_relative{
  position: relative;
}

.bank-form {
    padding: 0 20px;
    box-sizing: border-box;
    text-align: left;
  }
.bank-form .form-group {
 height: 100%;
}
.bank-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch; /* ← 高さを揃える */
  margin-bottom: 20px;
  justify-content: flex-start;
}
.bank-form .form-group.one-third,
.bank-form .form-group.flexible {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 高さを均等に保つ */
}
  .bank-form .form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: flex-start;
  }
.bank-form .form-group label {
   margin-bottom: 3px; /* ラベルと入力欄の間隔を統一 */
}
.bank-form .form-group input,
.bank-form .form-group select {
  appearance: none; /* ブラウザのデフォルトスタイルを無効化 */
  margin-bottom: 3px;
  -webkit-appearance: none;
  -moz-appearance: none;
  height: 40px;
  line-height: 40px;
  padding: 0 8px;
  box-sizing: border-box;
  vertical-align: middle;
}
  /* 枠の3分の1幅にする項目 */
  .bank-form .form-group.one-third input,
  .bank-form .form-group.one-third select {
    width: 100%;
    max-width: 200px;
}
.bank-form .form-group.flexible {
  flex: none; /* ← これが重要 */
  width: 70%;
}
.bank-form .form-group.flexible input {
  width: 100%;
  max-width: 300px; /* 必要に応じて調整 */
}
  /* スマホ対応 */
  @media screen and (max-width: 600px) {
    .bank-form .form-row {
      flex-direction: column;
    }
    .bank-form .form-group input,
    .bank-form .form-group select {
      max-width: 100%;
    }
  }
  .bank-form .form-group.half-width {
  flex: 1;
  min-width: 200px;
}

button[id^="clear_image_"] {
  background-color: #f4a299; /* 赤系の削除ボタン */
  color: white;
  border: none;
  padding: 6px 12px;
  margin-left: 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

button[id^="clear_image_"]:hover {
  background-color: #c0392b; /* ホバー時に濃い赤に */
}

#purchase_amount_wrapper {
  display: flex;
  align-items: center;
  gap: 8px; /* 入力欄と「円」の間隔 */
}

#generalProgressContainer {
    display: none;
    text-align: center;
    margin-top: 20px;
}

#generalProgressBar {
    width: 80%;
}

.upload-progress {
    width: 100%;
    display: none;
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.spinner {
  margin: 10px auto;
  width: 40px;
  height: 40px;
  border: 4px solid #ccc;
  border-top: 4px solid #0078D7; /* アクティブカラー */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


#address_1,
#address_2,
#address_3,
#address_4,
#address_5 {
  width: 95%; /* 必要に応じて 100% → 80% や 500px などに調整可能 */
  max-width: 100%;
  box-sizing: border-box; /* パディングやボーダーを含めて幅を計算 */
}
