/* ===============================
   contact共通
================================= */
input[type="radio"] {
  appearance: none; /* ブラウザのデフォルトスタイルを無効化 */
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ccc;
  position: relative;
}

/* checked状態のスタイル */
input[type="radio"]:checked {
  background-color: #007aff;
  border-color: #007aff;
}

.contact-bg{
    background-image: url("../img/all/haikei.jpg");
    background-repeat: repeat;
    background-size: auto;
    background-color:white;
}




/* ===============================
   contact-top
================================= */
.contact-top {
  padding:0 0 0 0;
}
.contact-top .area {
  display: grid;
  position: relative;
  height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
}
.contact-top .area h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
  z-index: 1;
}
.contact-top .area h1::before {
  content: "";
  position: absolute;
  top: calc(-100vh - 1rem);
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100vh;
  background-color: #fff;
  z-index: 0;
}
.contact-top .area .image {
  grid-area: 1 / 1;
  z-index: 0;
  height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
}
.contact-top .area .image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.contact-top .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* ←暗さの度合い */
  z-index: 0;
}
@media only screen and (max-width: 768px) {
.contact-top .area {
  height: auto;
}
.contact-top .area .image {
  height:auto;
}
}




/* ===============================
   contact-sec01
================================= */
.contact-sec01 {
    color:black;
    padding:10% 5% 0 5%;
}
.contact-sec01 .area {
    width: 100%;
    max-width:850px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap:4rem;
}
.contact-sec01 .area .title{
    font-size:2rem;
    font-weight:bold;
    text-align:center;
    display: flex;
    flex-direction: column;
    gap:1rem;
}
.contact-sec01 .area .line{
    width:100px;
    height:1px;
    background-color: #7F6000;
    margin:0 auto;
}
.contact-sec01 .area .wrap{
    display: flex;
    flex-direction: column;
    gap:1rem;
}
.contact-sec01 .area .wrap .ttl{
    font-size:1.5rem;
    font-weight:bold;
}
.contact-sec01 .area .wrap .text{
    font-size:1rem;
    line-height: 2rem;
}
.contact-sec01 .area .wrap .text a{
}
.contact-sec01 .area .wrap .text a:hover{
}
@media (max-width: 768px) {
.contact-sec01 .area .wrap .ttl{
    font-size:1.5rem;
    text-align: left;
}
.contact-sec01 .area .wrap .text{
    font-size:1rem;
    line-height: 2rem;
    text-align: left;
}
}





/* ===============================
   contact-sec02
================================= */
.contact-sec02 {
    color:black;
    padding:10% 5% 10% 5%;
}
.contact-sec02 .area {
    width: 100%;
    max-width:850px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap:4rem;
}
.contact-sec02 .area .title{
    font-size:2rem;
    font-weight:bold;
    text-align:center;
    display: flex;
    flex-direction: column;
    gap:1rem;
}
.contact-sec02 .area .line{
    width:100px;
    height:1px;
    background-color: #7F6000;
    margin:0 auto;
}
/* 全体のフォームスタイル */
.contact-sec02 .area .form {
  padding: 32px 24px;
  background-color: #fdfdfd;
  border-radius: 8px;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  color: #000;
}

/* 各行のレイアウト */
.contact-sec02 .area .form-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2rem;
    gap:1rem;
}

/* ラベル側 */
.contact-sec02 .area .ttl {
  width: 100%;
  max-width: 200px;
  font-weight: bold;display: flex;align-items: center;
}

/* 入力欄側 */
.form-row__input {
  flex: 1;
  min-width: 200px;
}

.form-row__input input,
.form-row__input textarea,
.form-row__input select {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: #fff;
}

.form-row__input textarea {
  min-height: 120px;
  resize: vertical;
}

/* ラジオボタンのグループ */
.form-row__input--group {
  display: flex;
  gap: 1rem;
  align-items: center;flex-wrap: wrap;
}

.form-row__input--group label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

/* 必須マーク */
label span {
  color: #d93025;
  margin-left: 4px;
  font-size: 14px;
}

/* 送信・リセットボタン */
.form-submit {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.form-submit button {
  padding: 10px 24px;
  background-color: #fff;
  color: #000;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border:1px solid  #603813;
}

.form-submit button:hover {
  background-color: #603813;
  color: #fff;
}

.form-reset {
  display: inline-block;
  padding: 10px 24px;
  background-color: #eee;
  color: #333;
  border-radius: 4px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.form-reset:hover {
  background-color: #ddd;
}
select {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
  .ttl {
    max-width: 100%;
  }
  .form-submit {
    flex-direction: column;
    gap: 12px;
  }
}
