body{
    margin:0 ;
    font-family:'Kaisei Tokumin',Italiana,serif;

}
/* ヘッダー */
header{
    position: relative;
    background-color: #A0AC60;
    width: 100%;
    height: 255px;
    box-sizing: border-box;
}

.hero {
  position: relative;
  width: 100%;
}

.FV-text-left{ 
  position: absolute;
  color: white; /* 白文字 */
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0,0,0,0.6); /* 読みやすくする影 */ 
  opacity: 0;
  transform: translateX(-40px); 
  animation: FV-text-left 0.8s ease-out forwards;
}

@keyframes FV-text-left {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.FV-text-right{ 
  position: absolute;
  color: white; /* 白文字 */
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0,0,0,0.6); /* 読みやすくする影 */ 
  opacity: 0;
  transform: translateX(40px); 
  animation: FV-text-left 0.8s ease-out forwards;
}

@keyframes FV-text-right {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

header img{
       position: absolute;
       top: 0px;
       right: 0px;
       width: 342px;
       height: 221px;
}

/* --- PC（幅1024px以上）--- */
@media (min-width: 1024px) {
  header{
    height: 600px;
  }
  .FV-text-left{
    top: 30px;
    left: 50px;
    font-size: 4rem;
    width: auto; /* ← これで文字の幅が必要分だけになる */ 
    white-space: nowrap; /* ← これで改行しない */
  }
    .FV-text-right{
    bottom: 10px;
    right: 100px;
    font-size: 4rem;
  }
  .FV img{
    height: 550px;
    width: 90%;
    object-fit: cover;
    right: 0px;
  }
  .pc { 
    display: inline;
  }
}

/* --- タブレット（768px〜1023px）--- */
@media (min-width: 768px) and (max-width: 1023px) {
  header{
    height: 600px;
  }
  .FV-text-left{
    top: 60px;
    left: 30px;
    font-size: 4rem;
    width: auto; /* ← これで文字の幅が必要分だけになる */ 
    white-space: nowrap; /* ← これで改行しない */
  }
    .FV-text-right{
    bottom: 10px;
    right: 100px;
    font-size: 4rem;
  }
  .FV img{
    height: 550px;
    width: 90%;
    object-fit: cover;
    right: 0px;
  }
  .pc { 
    display: inline;
  }
}

/* --- スマホ（〜767px）--- */
@media (max-width: 767px) {
  header{
    height: 340px;
  }
  .FV-text-left {
    top: 50px;
    left: 10px;
    font-size: 2.2rem;
    width: auto; /* ← これで文字の幅が必要分だけになる */ 
    white-space: nowrap; /* ← これで改行しない */
  }
    .FV-text-right{
    bottom: 15px;
    right: 50px;
    font-size: 2.2rem;
  }
    .FV img{
    height: 300px;
    width: 90%;
    object-fit: cover;
    right: 0px;
  }
  .sp {
    display: block;
    text-indent: 1em;
  }
}

/* Message */
.MESSAGE {
    text-align: center;
    margin-bottom: 60px;
}

h1{
    text-align: center;
    font-size: 23px;
    color: #9A675B;
    margin: 20px 0px 9px 0px;
}


.line-box-message{
    position: relative;
    width: 101px;
    height: 1px;
    background:#9A675B;
    margin: 8px auto 28px auto;
    display: block;
    margin-bottom: 40px;
}

.line-box-message::before{
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background:#9A675B;
    transform: rotate(45deg);
    left: -3px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.line-box-message::after{
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background: #9A675B;
    transform: rotate(45deg);
    right: -3px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.line-box-event{
    position: relative;
    width: 84px;
    height: 0.5px;
    margin: 8px auto 40px auto;
    background:#9A675B;
}

.line-box-event::before{
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background:#9A675B;
    transform: rotate(45deg);
    left: -3px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.line-box-event::after{
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background: #9A675B;
    transform: rotate(45deg);
    right: -3px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.line-box-info{
    position: relative;
    width: 150px;
    height: 1px;
    background:#9A675B;
    margin: 8px auto 40px auto;
    display: block;
}

.line-box-info::before{
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background:#9A675B;
    transform: rotate(45deg);
    left: -3px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.line-box-info::after{
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background: #9A675B;
    transform: rotate(45deg);
    right: -3px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.background {
  position: relative;
  overflow: hidden;
}

/* 背景画像レイヤー */
.bg-image {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("images/stone-warm.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.7; /* ← ここで背景画像だけを70%に */
  z-index: 0;
}

.content{
  position: relative;
  z-index: 1;
}

.MESSAGE p{
    color: #5c4b3a;
    margin: 30px 0px 0px 0px;
}

.myname{
  width: fit-content;   /* 中身の幅に合わせる */
  margin: 0 auto;       /* 全体を中央に配置 */
  text-align: left;     /* 文章は左揃えのまま */
  color: #5c4b3a;       /* 必要なら色も指定 */
  line-height: 1.4; /* ← 行間を適度に調整 */
  margin-top: 10px;
  margin-bottom: 20px;
}

.myname .indent-name {
  display: inline-block;
  text-indent: 2em;     /* ← 3文字分のインデント */
}


.photo{
    width: 100%;
    height: auto;
    display: block;
}

/* SECTION */

.circle{
    width: 182px;
    height: 182px;
    background-color: #A0AC60;
    border-radius: 50%;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* 外側の円をflexboxにして、中身を上下左右中央ぞろえ */
.day{
    text-align: center;
    color: #F5F4F4;
    font-size: 18px;
    font-weight: bold;
}

.time{
    text-align: right;
    color: #F5F4F4;
    font-size: 15px;
    font-weight: bold;
}

.info{
    width:fit-content;
    
    margin-left:auto;
    margin-right: auto;
    text-align: left;
}

.info-text{
    color: #5c4b3a;
    margin-top:14px;
}

.Map {
  width: 90%;
  max-width: 600px; /* 必要なら上限を設定 */ 
  margin: 0 auto; 
  margin-top:20px;
} 

.Map iframe { 
  width: 100%;
  height: 500px; /* スマホで見やすい高さ */ 
  border: 0; 
}

.bas{
    color: #5c4b3a;
    text-align: center;
}
.bas p{
    margin: 66px auto 80px auto;
}
.guest{
    background-color: #8E7153;
}

.guest-label {
  background-color: #4C5933;
  color:#EDE5E9;
  text-align: center;
  padding: 20px 0;
  width: 100%;
  margin: 0;
}
.guest-text{
    margin-top: 60px;   /* 好きな値に調整 */
    color: #EDE5E9;
    text-align: center;
    line-height: 0.8;
}

.attendance{
  display: flex;
  gap: 16px; 
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* ラジオボタンは非表示 */
.status input[type="radio"] {
  display: none;
}

/* 丸い見た目 */
.circle-status {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
  opacity: 0.8;
  transition: 0.2s;
  border: none;
}

/* 出席 */
.present {
  background-color: #F46365;
  color: #FFFFFF;
  margin-right: 10px;
}

/* 欠席 */
.absent {
  background-color: #362E2E;
  color: #FFFFFF;
  margin-left: 10px;
}

/* ★ 選択されたときに強調される */
input[type="radio"]:checked + .circle-status {
  opacity: 1;
  transform: scale(1.2);
}

label {
  color: #EDE5E9; /* お好みの色に変えてね */ 
  font-weight: bold; /* 太字にしたい場合 */ 
}

.required-mark{
  color: #FC4E51;
  font-weight: bold;
}

.required-mark2{
  color: #FC4E51;
  font-weight: bold;
}

.hidden {
  display: none; 
}

.form-center-group {
width: fit-content; /* 中身の幅に合わせる */ 
margin: 0 auto; /* ← これで中央寄せ */
}

.name{
  display: flex;
  flex-direction: column;
}

.name-form{
  display: flex;
  gap: 16px;
  height: 40px;
  padding: 5px 0px;
  box-sizing: border-box;
  font-size:18px;
}

.name-form input {
  font-size: 16px; 
  flex-shrink: 0;
    width:162px;
  }

.furigana{
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}

.furigana-form{
  display: flex;
  gap: 16px;
  height: 40px;
  padding: 5px 0px;
  box-sizing: border-box;
}

.furigana-form input {
  font-size: 16px; 
  flex-shrink: 0;
    width:162px;
  }

.e-mail{
  display: flex;
  flex-direction: column;
  margin-top: 4px;
  gap: 4px;
}

.atto{
  font-size:16px;
  color: #EDE5E9;
  font-weight: bold;
  font-size:16px;
}

.e-mail-form{
  display: flex;
  align-items: center;
  gap: 8px;
}

.e-mail-text {
  width: 190px;
  margin-bottom: 4px;
  height: 30px;
  box-sizing: border-box;
  font-size:16px;
  flex-shrink: 0;
}

.e-dmain-text {
  width: 135px;
  margin-bottom: 4px;
  height: 30px;
  box-sizing: border-box;
  font-size:16px;
  flex-shrink: 0;
}

.postal-code{
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}

.postal-code-form{
  display: flex;
  gap: 8px;
  color: #EDE5E9;
  font-weight: bold;
  height: 40px;
  padding: 5px 0px;
  box-sizing: border-box;
}

.postal-code-form input {
  font-size: 16px; 
  flex-shrink: 0;
    width:162px;
}

.adress-prefecture{
  display: flex;
}

.prefecture{
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}

.prefecture-form{
  display: flex;
  gap: 8px;
  color: #EDE5E9;
  font-weight: bold;
  height: 40px;
  padding: 5px 0px;
  box-sizing: border-box;
}

.prefecture-form input {
  font-size: 16px; 
  flex-shrink: 0;
    width:162px;
}

.municipality{
  display: flex;
  flex-direction: column;
  margin-left: 16px;
  margin-top: 4px;
}

.municipality-form{
  display: flex;
  gap: 8px;
  color: #EDE5E9;
  font-weight: bold;
  height: 40px;
  padding: 5px 0px;
  box-sizing: border-box;
  font-size: 16px;
}

.municipality-form input {
  font-size: 16px; 
  flex-shrink: 0;
    width:162px;
}

.house-number{
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}

.house-number-form{
  display: flex;
  gap: 8px;
  color: #EDE5E9;
  font-weight: bold;
  height: 40px;
  padding: 5px 0px;
  box-sizing: border-box;
  font-size:16px;
}
.house-number-form input {
  font-size: 16px; 
  flex-shrink: 0;
  width:162px;
}

.house-number-box{
  width: 361px;
}

.phone-number{
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}

.phone-number-form{
  display: flex;
  gap: 8px;
  color: #EDE5E9;
  font-weight: bold;
  height: 40px;
  padding: 5px 0px;
  box-sizing: border-box;
  font-size:16px;
}

.phone-number-form input {
  font-size: 16px; 
  flex-shrink: 0;
  width:162px;
}

.phone-number-box{
  width: 361px;
}

.allergies{
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}

.allergies-form{
  display: flex;
  gap: 8px;
  color: #EDE5E9;
  font-weight: bold;
  height: 40px;
  padding: 5px 0px;
  box-sizing: border-box;
  font-size:16px;
}

.allergies-box{
  width: 361px;
  height: 40px;
  font-size: 16px; 
  flex-shrink: 0;
}

.minibus{
  display: flex;
  flex-direction: column;
  line-height: 0.8;
  gap: 6px;
  margin-top: 30px;
}

.minibus-form{
  display: flex;
  gap: 8px;
  color: #EDE5E9;
  margin-top: 10px;
}



.comment{
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.comment-form{
  display: flex;
  gap: 8px;
  color: #EDE5E9;
  font-weight: bold;
  height: 40px;
  padding: 5px 0px;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.comment-box{
  width: 361px;
  height: 80px;
  font-size: 16px; 
  flex-shrink: 0;
  resize: none;
  font-family: 'Kaisei Tokumin' !important;
}


button[type="submit"] {
  display: block;
}

.send-button{
  display: block;
  padding: 12px 40px;
  background-color: #4C5933; /* ボタンの色 */ 
  color: #F5F4F4;
  font-size: 16px;
  border: none;
  border-radius: 9999px; /* 両端を丸くする */ 
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* スマホっぽい影 */ 
  transition: 0.2s;
  margin-top: 60px;   /* 上に20pxの余白 */
  margin-left: auto;  /* 左右中央寄せ */
  margin-right: auto;
  font-weight: bold;
}

.space{
  height: 40px;
  background-color: #8E7153;
}