@charset "utf-8";
/* CSS Document */

.contact_1{
  color:#aaa;
  font-size:35px;
  text-transform: uppercase; /* 強制的にすべて大文字にして表示する */
  letter-spacing:0.2em;
}


.contact_2{
  width:100%;
  margin:0 auto;
  margin-bottom:30px;
  padding-top:1px;
  font-size:25px;

}

.contact_3{
  width:90%;
  margin:0 auto;
  max-width:1280px;
  padding-top:100px;
}

.contact_4{
  width:90%;
  margin:0 auto;
  max-width:1280px;
  margin-bottom:100px;
}

.main_table_4line{
  border-collapse:collapse;
  margin:0 auto;
  margin-bottom:55px;
  width:90%;
  max-width:1280px;
}

.main_table_th{
  border-collapse:collapse;
}

.main_table_td1{
  line-height:2.0;
	border-top: 1px solid #b4b5b5;
	border-bottom: 1px solid #b4b5b5;
	border-collapse: collapse;
	padding: 10px;
	padding-top:30px;
	padding-bottom:30px;
	vertical-align: middle;
	width: 25%;
	text-align: left;
	background-color:#FFFFFF;
	color:#000000;
}

.main_table_td2{
	border-top: 1px solid #b4b5b5;
	border-bottom: 1px solid #b4b5b5;
	border-collapse: collapse;
	padding: 10px;
	padding-top:30px;
	padding-bottom:30px;
	vertical-align: middle;
	width: 55%;
	text-align: left;
}

.main_textbox_name{
  width:90%;
  min-width:100px;
  line-height:2.5;
  
}

.main_select_ken{
  width:80%;
  margin-bottom:10px;
  margin-left:1em;
  padding: 10px; /* 上下に余白を持たせて高さを広げる */
}

.main_textbox_si{
  width:80%;
  margin-bottom:10px;
  margin-left:1em;
  line-height:2.5;
}

.main_textbox_banti{
  width:80%;
  margin-bottom:10px;
  margin-left:1em;
  line-height:2.5;
}

.main_textbox_sonota{
  width:80%;
  margin-bottom:10px;
  margin-left:1em;
  line-height:2.5;
}

.main_textbox_tel{
  width:4em;
}

.main_textbox_email{
  width:90%;
  min-width:100px;
  line-height:2.5;
}

.main_textbox_detail{
  width:90%;
  min-width:100px;
  height:300px;
}

.main_button{
  width:170px;
  height:50px;
  background-color:#B4B4B5;
  color:#FFFFFF;
}

.contents_yohaku2{
  margin-bottom:100px;
}

/* ==========================================
   カードレイアウト（スマホ・タブレット：デフォルト縦並び）
========================================== */
.contact-box-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width:90%;
  max-width:1280px;
  margin:0 auto;
}

.contact-card {
  background-color: #ffffff;
  border: 1px solid #e1e6ed;
  border-radius: 6px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0d1527;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 13px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* LINEボタン（アクセントカラー #ffb700 を使用） */
.line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffb700;
  color: #0d1527; /* 視認性を高めるため文字色はメインカラーの濃紺 */
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(255, 183, 0, 0.3);
}

.line-btn:hover {
  background-color: #e600; /* ホバー時に少し深みのあるゴールドへ */
  background-color: #e5a500;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(255, 183, 0, 0.45);
}

/* 電話窓口スタイル */
.phone-card {
  background-color: #fcfdfe;
  border-top: 3px solid #0d1527;
}

.phone-number {
  font-size: 22px;
  font-weight: 700;
  color: #0d1527;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.business-hours {
  font-size: 12px;
  color: #777777;
  margin: 0;
}


/* デスクトップ用スタイル（1024px以上） */
@media only screen and (min-width: 1024px) {

.main_textbox_name{
  width:50%;
}

.main_textbox_email{
  width:50%;
}

.main_select_ken{
  width:50%;
}

.main_textbox_si{
  width:50%;
}

.main_textbox_banti{
  width:50%;
}

.main_textbox_sonota{
  width:50%;
}

.main_textbox_detail{
  width:60%;
}

.contact-box-group {
    flex-direction: row; /* 1024px以上で横並び2カラムに展開 */
    gap: 30px;
  }

  .contact-card {
    flex: 1;
    padding: 32px 24px;
  }

  .card-title {
    font-size: 18px;
  }

  .phone-number {
    font-size: 24px;
  }
  
  
}