
/*------------------ リセット-------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
}
section,aside,header,footer,main,nav {
  display: block;
  box-sizing: border-box;
}
body {
  font-family: "Zen Maru Gothic", "Noto Sans JP", "Noto Serif JP", "Hiragino Kaku Gothic ProN", Meiryo, Arial, sans-serif;
  letter-spacing: 0.12em;
  height: 100vh;
  /* background-image: url(../common/images/bk_image2.png);
  background-size: 30%; */
}
img {
  display: block;
  border: none;
  width: 100%;
  height: auto;
  object-fit: cover;
}
a, a:visited {
  text-decoration: none; 
  color: #333; 
}
a:hover {
  color: #895794;
}
li {   
  list-style-type: none;
}
/*------------------ リセット-------------------------------------------------- */
/* 文字の設定 */
h2 {
  font-size: 30px;
  font-weight: 500;
  text-align: center;
  color: #636363;
  }
h3 {
  margin:20px 0 10px;
  line-height: 2.0em;
}

/* 枠付きタイトル */
h4 {
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.4em;
  line-height: 2.4em;
  background-color: #fff;
  /* border-radius: 10px;  */
  border-image: linear-gradient(90deg, #fff, #6e6381, #ffffff)1 / 0 0 3px;
  border-style: solid;
}

/* 施工の流れ */
#sekou h5 {
  text-align: center;
  padding-bottom: 20px;
}
/* リフォーム例、施工例 下線付き*/
h6 {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.8em;
  border-bottom: 2px solid #6e6381;
}
.hibari {
  font-size: 16px;
  letter-spacing: 0;
  line-height: 2.25em;
}
@media (hover:none) {
  .hibari {
    font-size: 16px ;
    letter-spacing: -0.1em;
    line-height: 2.25em;
  }
}  
p {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8em;
  letter-spacing: 0.05em;
}
li {
  color: #473b19;
  font-size: 18px;
  font-weight: 500;
}

/* chromeで画像をクリアに ？*/
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {
	img {
		image-rendering: -webkit-optimize-contrast;
	}
}
/* ▲マーク */
#sekou span, #sekourei span, .reform-items span {
  font-size: 24px;
  line-height: 2.0em;
  color: navy;
}
/* フッター文字強調 */
footer span {
  font-size: 32px;   
}

/* 最寄りの駅、バス停 文字おおきめ*/
.moyori {
  font-size: 20px;
  text-decoration: underline;
  color: #91908d;
}

/* ニュース枠 */
.news-item {
  display: flex;
  flex-direction: row;
  justify-content: left;
  gap: 10px;
  margin-bottom: 10px;
}
.news-content {
  width: 80%;
}
.news-date {
  width: 100px;
  padding: 0 10px 10px;
  overflow-wrap: anywhere;
  font-size: 12px;
  color: #050505;
}


/*  ポリシー・永代供養墓の写真　*/
figure {
  float: right;
  margin-left: 20px; 
  width: 30%; 
  }
  figure img {
  width: 100%; 
  height: auto; 
  display: block;
  margin-bottom: 10px; 
  }
  /* figureのあと下げ */
  .clearboth {    
  clear: both;
  margin-top: 50px;
}

/* 会社概要 */
#company {
  margin: 80px auto;
}
#company-table {
  margin-top: 20px;
  width: 100%;
}
#company-table > div {
  display: flex;
  justify-content: start;
  align-items: stretch;
  padding: 10px 0; /* 上下の余白を調整 */
}
.tableheader, .tableheader-first {
  width: 100px; 
  text-align: left; 
  font-weight: bold;  /* 強調表示 */
  padding: 10px 20px;
}
.tableheader {
  border-bottom: 1px solid #333; 
}
.tableheader-first {
  border: solid #333;
  border-width: 1px 0;
}
.cell, .cell-first {
  flex: 1;
  text-align: left; /* 右揃え */
  padding: 10px 20px;
}
.cell {
  border-bottom: 1px solid #ececec;
}
.cell-first {
  border: solid #ececec;
  border-width: 1px 0;
}
/*交通案内 地図 */
#access p {
  margin-left: 30px;
}
#access > iframe {
  width: 100%;
  height: 60vh;
  margin-top: 40px;
}
/* 霊園、施工例の画像を均等配置＆ラップ*/
.reien-container, #sekourei-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}
#hinojirei-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px; /* アイテム間の余白 */
  justify-content: center;
  margin-top: 20px;
}
/* 当店の施工の横に完成までの流れを配置 */
#sekou {
  display: flex;
  flex-direction: row;
  gap: 10px;  
} 


/* 施工例、生花の画像に付随した文字を中央に */
.sekou-cases p,.flower-items p {
  text-align: center;
}
/* リフォームの画面遷移用メニュー */
#reform-menu {
  display: flex;
  justify-content: space-between;  
  flex-direction: row;
  width: 100%;
  margin: 0 auto 30px;
}
#reform-menu div {  
  border: #6e6381 1px solid;
  border-radius: 20px;
  padding: 20px;
  background-color: #fff;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;
}
#reform-menu a {
  color: #333;
}
#reform-menu div:hover {
  background-color: #6e6381;
}
/* リフォームの画像の幅をそろえる */
.reform-items img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
/* ジャンプ先下げ調整 */
.jump-adjust::before {
    content:'';
    display: block;
    padding-top: 120px;
    margin-top: -120px;
}

/* 霊園の画像並べる */
.reien-container img {
    width: 30%;
    height: auto;
}

/* ひばりの森の情報テーブル */
#hibari-table > div {
  display: flex;
  padding: 4px 0;
  border-bottom: 1px solid #ccc;
}

#hibari-table > div > div:first-child {
  width: 120px; /* ラベルの幅を固定 */
  font-weight: bold;
}

#hibari-table > div > div:last-child {
  flex: 1; /* 内容は残りの幅を使う */
}

/* 見出しのラベル */
.otoiawase-label {
  font-weight: bold;
}
/* 必須 */
.otoiawase-span {
  font-size: 18px;
  color: #ce2222;
  margin-left: 20px;
  font-weight: bold;
}
/*テキストボックス*/
.otoiawase-textbox {
  line-height: 3.0em;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1px #707070 solid;
  background-color: #fafafa;
  min-width: 300px;
  width: 100%;
}
/*お問い合わせ内容のテキストエリア*/
.otoiawase-textarea {
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1px #707070 solid;
  background-color: #fafafa;
  width: 100%;
  height: 150px;
}

/* ラジオボタンのラベル */
.radiobutton +label::after {
  content: "\A";
  white-space: pre;
 }
/* 送信ボタン */
#submit {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

/* 日野地図 */
#hinokouenmap img {
  width: 40%;
  height: auto;
  margin: 30px;
}
/* 日野アンダーライン */
.underline {
  font-weight: 600;
  font-size: 20px;
  text-decoration: underline;
  line-height: 2.4rem;
  margin: 30px 0 20px;
  text-align: left
}

/* 日野インデント */
.indent {
  padding-left: 40px;
}
/* 日野　必要書類 */
.necessary-document {
  display: flex;
  width: 76px;
  border: #333 1px solid;
  border-radius: 5px;
  padding: 10px;
  margin: 10px;
}
/* ※マーク赤 */
.red {
  color: red;
}
/* 問い合わせページ */
#inquire_form {
  /* font-family: sans-serif; */
  background: #f4f4f4;
  color: #333;
  padding: 20px;
}

#inquire_form form {
  background: white;
  padding: 20px;
  border: 1px solid #999;
  max-width: 700px;
  margin: auto;
}

#inquire_form table {
  width: 100%;
  background: #e6e1f8;
  border-collapse: collapse;
}

#inquire_form td {
  padding: 10px;
  vertical-align: top;
}

.required {
  color: red;
}

#inquire_form button {
  background: #aa9be8;
  border: none;
  padding: 10px 20px;
  color: white;
  font-size: 16px;
  margin-top: 10px;
}
/* 問い合わせページここまで */

/* フッター */
footer {
  display: flex;
  margin: 0 auto;
  background-color: #6e6381;
  padding: 30px;
  color: #fff;
}
/* フッターのリンク */
footer a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
/* フッターのリンクホバー */
footer a:hover {
  color: #f8f188;
}
/* フッターのリンクアクティブ */
footer a:active {
  color: #ad8d35;
}
/* ボット対策 */
.bot-note {
  font-size: 0.85em;
  color: #555;
  margin-top: 0.3em;
  margin-bottom: 1em;
}

/*===============================================================================
 PC用のスタイル 
===============================================================================*/
@media screen and (min-width: 481px) {
  .sp {
    display: none;
  } 
  main {
    max-width: 1200px;
    margin: 0 auto 120px;
    width: 80%; 
  }
  header {
    position: relative;
    margin: 0 auto;
    padding: 20px 10px;
  }
  nav {
    display: flex;
    flex-flow: column;    
    justify-content: center;
    align-content: center;
    padding: 10px;
  }
.background {
    background-image: url(../common/images/sky.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  /* ロゴ */
.top-text {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.2;
  white-space: nowrap;
  color: #4c4458;
}

/* 中央に配置 */
.company-info {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  padding-left: 60px;
  /* text-align: center; */
  margin: 0 auto;
  width: fit-content;
}

/* h1と電話アイコンを揃える */
.company-info h1 {
  font-size: 52px;
  margin: 0;
  color: #4c4458;
  font-weight: 500;
  display: inline;
  vertical-align: baseline;
  line-height: 1.2;
  padding-right: 20px;
}
/* アイコンサイズを文字にフィットさせる */
.company-info li img{
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 20px;
  margin-right: 5px;
  vertical-align: baseline;
}

  h2 {
    font-size: 30px;
    margin: 20px;
    font-weight: 500;
   }
  h3 {
    font-weight: 500;
    font-size: 22px;
  }
  /*下線付きタイトル余白 */
  h4 { 
  margin: 30px 0;
  font-size: 28px;
  }
  h5 {
    font-size: 22px; 
  }
  /* グローバルナビ枠 */
  .gnav-list {
    text-align: center;
    display: flex; /* メニューを横並びにする */
    margin: 20px 20px 0;
    padding: 0;
    background-color: #6e6381;
  }
  /* グローバルナビ */
  .gnav-item a {
    color: #fff;
    font-size: 18px;
    white-space:nowrap;
  }
  .gnav-item {
    display: inline-block;
    width: 20%;
    min-width: 90px;
    line-height: 2.0rem;
    position: relative;  
  } 
  .gnav-item:not(:last-child) { 
    border-right: 2px solid #ffffff;
  }
  .gnav-item a.current {
    color: #f8f188;
    border-bottom:2px solid #62838f;
  }
  /* ドロップダウンリスト */
  .dropdown-list {
    display: none; /* デフォルトで非表示 */
    position: absolute;
    top: 100%; /* ナビゲーションの下に配置 */
    left: 0;
    background-color: #fff;
    padding: 0;
    margin: 0;
    width: 100%;
    z-index: 1000;
    border-radius: 10px;
    overflow: hidden;
  }

/* ホバーできる端末用 */
@media (hover: hover) and (pointer: fine) {
  .gnav-item:hover .dropdown-list {
    display: block;
    color: #ad8d35;
  }
  .dropdown-item a:hover {
    color: #993535;
  }
}

/* タッチ端末用 */
@media (hover: none) {
  .gnav-item.active .dropdown-list {
    display: block;
    color: #ad8d35;
  }

  .dropdown-item a.active {
    color: #993535;
  }
}

.dropdown-item {
  background-color: #f3f2ee;
  line-height: 4.0em;
  transition: all 0.5s;
  position: relative;
  border-bottom: #ffffff 1px solid;
}

.dropdown-item:not(:first-child)::before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  position: absolute;
  top: 0;
  left: 0;
}

.dropdown-item a {
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000000;
  text-decoration: none;
  position: relative;
}
/* ドロップダウンメニューここまで */

/* 最新情報フォント */
.news-content h5 {
  font-size: 18px;
}
.news-content p {
  font-size: 16px;
}
.news-category {
  font-size: 14px;
  width: 210px;
}
/* 定休日NEW */
.inline-new {
  display: inline-block;
  height: 1em;
  width: auto;
  margin-left: 0.5em;
}
  /* 右折禁止地図 */
  #kakudai {
    width: 30%;
    height: auto;
  }
  /* 右折禁止赤文字 */
  .red {
    font-size: 24px; color: red; font-weight: 500;
  }
  /* 画像拡大 */
  #hinokouenmap img:hover, #kakudai img:hover, #reform img:hover, #sekourei img:hover {
    transform: scale(1.6);
    transition:0.5s all;
  }
  /* ご挨拶の画像 */
  #greeting-img {
    float: left;
    margin: 30px 50px 30px 20px;
    width: 50%;
    height: auto;
    filter: drop-shadow(5px 5px 5px #aaa);
  }
  
  /* 施工左と右に */
  .left-container {
    width: 90%;
    margin-right: auto;
    letter-spacing: 0.05em;
  }
  /* リフォームの画像と文字 */
  .reform-items {
    display: flex;
    flex-direction: row;  
    align-items: center;
    margin: 20px 0 0 auto;
    justify-content: end;
  }
  .reform-items img {
    width: calc(50% - 10px);
    max-width: 240px;
    min-width: 240px;
    height: auto;
  }
  /* 生花、和洋墓地の画像を横に並べる */
  .sbs-container {
    display: flex;
    margin: 0 auto 30px;
    justify-content: center; 
    gap: 20px;
  }  
  /* 追加彫刻の画像サイズを調整 */
  #sculpture {
    margin-top: 20px;
    width: 40%; 
    height: auto;
    gap: 60px; 
  }
  /* 施工例の画像を横３つずつ表示 */
  .sekou-cases {
    text-align: center;  
    width: calc(33.333% - 10px); 
    margin-bottom: 20px;
  }
  /* 日野施工例の画像を横に並べる */
  .hinojirei-items {
  width: calc(25% - 16px); /* 横に4つ並べる（余白分を調整） */
  box-sizing: border-box;
  }
  /* お問い合わせ */
  #otoiawase {
    margin: 80px 20px;
  }
  .center {
    text-align: center;

  }
  /* otoiawaseの見出し、外枠、左の見出し */
  #otoiawase > form > div, .otoiawase-heading {
    margin-bottom: 20px;
  }
  /* ラジオボタン */
  .radiobutton {
    margin: 20px;
  }
  footer {
    display: flex;
    max-width: 1200px;
    width: 80%; 
  }
  .footer-left-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-grow: 1;
  margin-right: auto;
  letter-spacing: 0.05em;
}
.footer-right-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
  text-align: right;
  letter-spacing: 0.05em;
  justify-content: center;
}
}
/*===============================================================================
 SP用のスタイル　 
 ==============================================================================*/
 @media screen and (max-width: 480px) {
  .pc {
    display: none;
  }
  header { 
    margin: 0 20px;
    position: fixed;
    z-index: 9;
    display: flex;
    justify-content: center;
  }
  main {  
    z-index: 100;
    margin: 0 30px;
    padding-top: 120px;
  
  }
  h1 {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
  }
  h2 {
    margin: 10px 0;
    font-size: 18px;
    line-height: 1.2em;
  }
  h3,h4,h5,h6
   {font-size: 16px;
    letter-spacing: 0.1em;
    font-weight: 400;
  }
  h4 {
    margin: 20px 0;
  }
  h6 {
    border-bottom: 2px solid #636364;
    line-height: 1.2em;
    margin: 0;  
  }
  p {font-size: 14px;
    line-height: 1.6em;
    letter-spacing: 0.05em;
    font-weight: 400; 
  }
  li {font-size: 16px;}
  img {margin: 10px 0;}
  .sp-header { 
    position: fixed;
    top: 0;
    left: 0;
    text-align: center; 
    margin: 0 auto;
    z-index: 1000;
    background-color: #6e6381;
    width: 100%;
  }
  #logo {
    padding: 10px 10px 0;
  }
  #logo a {
    color: #ffffff;
  }
  h1::before {
    content: "日野公園墓地となりの";
    display: block;
    font-size: 14px;
    font-weight: 500;
    white-space:pre;
  }
  .company-info-sp a {
  display: inline-block;
  text-align: center;
  margin: 0 auto;
  width: fit-content;
  color: #ffffff;
  font-size: small;
}

  .company-info-sp img{
  display: inline-block;
  width: 14px;
  height: auto;
  margin-left: 10px;
  margin-right: 5px;
  vertical-align: -12px;
}

  .hamburger {
    position: fixed;
    top: 40px;
    right: 20px;
    height: 25px;
    z-index: 1000;
  }
  .hamburger > div {
    position: relative;
    width: 30px;
  } 
  .hamburger span {
    width: 100%;
    height: 3px;
    left: 0;
    display: block;
    background: rgb(189, 213, 219);   
    position: absolute;
    transition: transform .6s ease-in-out, top .5s ease;
  }    
  .hamburger span:nth-child(1) {
    top: 0;
  } 
  .hamburger span:nth-child(2) {
    top: 10px;
  }    
  .hamburger span:nth-child(3) {
    top: 20px;
  }
  .open .hamburger span {
    background: rgb(189, 213, 219);
  }
  .open .hamburger span:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
  }
  .open .hamburger span:nth-child(2) {
    top: 15px;
    width: 0;
    left: 50%;
  }
  .open .hamburger span:nth-child(3) {
    top: 15px;
    transform: rotate(-45deg);
  }
  #accordion-menu {
    background: #f9f9f9ed;
    color: #333;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    font-size: 29px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity .6s ease, visibility .6s ease;
  }    
  #accordion-menu a {
    display: block;
    color: #111111;
    text-decoration: none;
    padding: 10px 0;
    transition: color .6s ease;
  }   
  #accordion-menu a:hover {
    color: #666;
  }    
  #accordion-list {
    list-style: none;
  }   
  #accordion-item {
    opacity: 0;
    transform: translateX(200px);
    transition: transform .6s ease, opacity .2s ease;
  }    
  #accordion-item:nth-child(2) {
    transition-delay: .15s;
  }   
  #accordion-item:nth-child(3) {
    transition-delay: .3s;
  }    
  #accordion-item:nth-child(4) {
    transition-delay: .45s;
  }   
  #accordion-item:nth-child(5) {
    transition-delay: .6s;
  }    
  #accordion-item:nth-child(6) {
    transition-delay: .75s;
  }
  /* open */
  .open {
    overflow: hidden;
  }    
  .open #accordion-menu {
    visibility: visible;
    opacity: 1;
  }    
  .open #accordion-item {
    opacity: 1;
    transform: translateX(0);
    transition: transform 1s ease, opacity .9s ease;
  }    
  #accordion-menu nav li:last-child a {
    display: block;
    text-decoration: none;
    transition: ease all .3s;
    line-height: 100%;
    text-align: center;
    background: #560404;
    background: -moz-linear-gradient(right, #560404 0%, #912b07 100%);
    background: -webkit-linear-gradient(right, #560404 0%, #912b07 100%);
    background: linear-gradient(to right, #560404, #912b07);
    color: #fff;
    padding: 10px 30px;
  }
  /* ご挨拶 */
  #greeting {
    position: relative;
    margin-top: 60px;
  }
  #greeting::before {
    position: absolute;
    content: "ご挨拶";
    font-size: 20px;
    font-weight: 400;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
  }
  /* ご挨拶の画像 */
  #greeting-img {
    float: none;
    margin: 0 auto;
    width: 100%;
    height: auto;
    filter: drop-shadow(5px 5px 5px #aaa);
  }
  
  /* 最新情報 */
  .news-item {
    margin-top: 20px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .news-date {
    text-align: center;
    width: auto;
    padding: 0;
  }
  .news-category {
    font-size: 12px;
    width: 60%;
    margin: 0 auto 0 0;
      /* align-self: center; */
  }
  .news-content {
    width: 100%;
    letter-spacing: 0.05em;
  }
  .news-content h5 {
    font-size: 12px;
  }
  .news-content p {
    font-size: 12px;
    color: #171d35;
  }
  /* 定休日NEW */
  .inline-new {
   display: inline-block;
   height: 1em;
   width: auto;
   margin: 0 0 0 0.5em;   
  }

  /* 会社概要 */
  #company {
    margin: 0;
  }
  .tableheader {
    padding: 10px 0;
    width: 16%;
  }
  .tableheader-first {
    padding: 10px 0;
    width: 16%;
  }
  .cell,.cell-first {
    width: 80%;  
  }
  #kakudai {
    width: 100%;
    height: auto;
  }
 .reien-container,#sekourei-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  #sekou {
    display: flex;
    flex-direction: column;
  }

  /* 会社概要 */
  #company-table > div {
    padding: 0;
  } 
  /* 右折禁止赤文字 */
  .red {
    font-size: 18px; color: red; font-weight: 500;
  }
  #access p {
    margin-left: 0;
  }
  .moyori {
    font-size: 16px;
  }
  /* 当店の施工SPAN */
  #sekou span {
    font-size: 20px;
    color: #8b1d1d;
    line-height: 1.6em;
  }
  /* 完成までの流れ枠 */
  .right-container {
    padding: 30px 0;
    width: 100%;
  }
  /* リフォーム施工例選択 */
  #reform-menu div {
    padding: 10px;   
  }
  #reform-menu p {
    line-height: 1.2em;
    writing-mode: vertical-rl;
  }
  /* リフォーム、施工例を一つずつ表示 */
  .sekou-cases, .reform-right {
    margin: 0 auto 20px;
    text-align: center;
  }
  /* リフォームの▼マークの位置調整 */
  .reform-items {
    text-align: center; /* 横中央配置に関与しないが、他要素に影響する可能性あり */
    display: flex;
    flex-direction: column;
    align-items: center;
 }
   /* リフォームの三角の向きを変えて中央に */
  .reform-items span {
    display: inline-block;
    transform: rotate(90deg);
    left: 50%;
    transform: translateX(-50%) rotate(90deg); /* 横中央に配置＋回転 */
  }
  /* 納骨 */
  #sculpture {
    width: 50%;
    margin: 0 auto;
  }


  /* 日野公園地図 */
  #hinokouenmap img {
    width: 90%;
    height: auto;
    margin: 20px;
  }
  /* 問い合わせフォーム */
  #inquire_form {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow-x: hidden; /* ← はみ出したときに横スクロールが出ないように */
  }

  #inquire_form table {
    width: 100%; /* ← テーブルを画面幅に合わせる */
    table-layout: fixed; /* ← はみ出し防止 */
    word-wrap: break-word;
    border-collapse: collapse;
  }


#inquire_form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  resize: vertical;
  display: block;
  padding: 0.5em; /* 必要に応じて調整 */
  font-family: inherit;
  font-size: 1em;
}

  #inquire_form tr {
    display: block;
    margin-bottom: 1em;
  }

  #inquire_form td {
    display: block;
    width: 100%;
    padding: 0;
  }

#inquire_form td:first-child {
  font-weight: bold;
  margin-bottom: 4px;
  display: block;
  width: 100%;
  padding: 0;       /* ← これがあるとズレにくくなる */
  box-sizing: border-box;
}


  /* フッター */
  footer {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    font-size: 14px;
  }

}    

