@charset "utf-8";
/* CSS Document */
/*リセットCSS*/
html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed,figure, figcaption, footer, header, hgroup,menu, nav, output, ruby, section, summary,time, mark, audio, video,hr{
margin:0;padding:0;border:0;font-style:normal;font-weight:normal;font-size:100%;vertical-align:baseline;}
article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section{display:block;}
html{overflow-y:scroll;}
blockquote, q{quotes:none;}
blockquote:before, blockquote:after,q:before, q:after{content:'';content:none;}
input, textarea{margin:0;padding:0;}
ul{list-style:none;}
table{border-collapse:collapse; border-spacing:0;}
caption, th{text-align:left;}
*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;}
input[type="button"],input[type="submit"] {-webkit-appearance: none;}
pre{overflow:auto;white-space:pre-wrap;word-wrap:break-word;}


body {
  font-family:"Noto Sans JP", "Noto Sans JP Black", "Noto Sans JP Medium";
  line-height: 1.8;
  color: #422414;
}

/*Mobile*/
.wrapper{
	margin: 0 auto;
	overflow-y: auto;
}


/* ヘッダー */
.header {
  background-color: #f5ecda;
  padding: 5px 10px;
}
.headInner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  position: relative;
}
.logo {
  width:230px;
}
.logo img{
  width:55%;
}

/* ハンバーガーボタン */
.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  position: relative;
  transition: 0.3s;
}
.menu-btn span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background:#422414;
  transition: 0.3s;
}
.menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
/* ナビゲーション */
.nav {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background:#997d66;
  flex-direction: column;
}
.nav img{
  width:16px;
  transform: translateY(1px);
}
.nav ul {
  margin: 0;
  padding: 0;
  list-style: none; 
}
.nav li a {
  display: flex;
  padding: 15px;
  border-bottom: 1px solid #555;
  color: #fff;
  text-decoration: none;
  align-items: center;
}
.nav li img {
  width: 16px;
  margin-right: 5px;
}

.nav li a:hover {
  background: #4f3a29;
}
.nav.open {
  display: flex;
  flex-direction: column;
}
.icon-pc {
  display: none;
}

/* mainvisual */
.mainvisual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ご挨拶 */
.greeting {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
}
.greeting h2 {
  font-size: 1.4em;
  margin-bottom: 20px;
  font-weight: 600;
}
.greeting p {
  margin-bottom: 20px;
  font-size: 0.9em;
  font-weight:500;
}
.subvisual img{
  width:100%;
}

/* あなたに合った漢方 */
.kanpo {
  text-align: center;
  padding: 50px 20px 20px;
  background: #fff;
}
.kanpo h2 {
  font-size: 1.4em;
  margin-bottom: 20px;
  font-weight: 600;
}
.kanpo p {
  margin-bottom: 20px;
  font-size: 0.9em;
  font-weight: 500;
}
.kanpo123{
  padding: 10px 40px;
  margin: 0 auto;
  max-width: 1300px;
}
.kanpo-item{
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 20px;
  align-items: center;
  margin-bottom: 30px;
}
.kanpo-item img {
  height: auto;
  width: 80%;
  flex-shrink: 0;
}
.kanpo-text {
  text-align: center;
  flex-basis: auto;
}
.kanpo-text h3{
  font-size: 1.2em;
  margin-bottom: 20px;
  font-weight: 600;
}

.kanpo-item p{
  font-size: 0.8em;
  font-weight: 500;
  line-height: 1.6;
}

/*     お問い合わせください      */
.contact {
  padding:20px 40px 40px;
}
.contactInner {
  border: 3px solid #f2af18;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden; 
}
.contact-header {
  background-color: #f2af18;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  font-weight:600;
}
.contact-header p {
  font-size: 1.2rem; 
  line-height: 1.6;
  margin: 0;
}
.contact-info {
  background-color: #fff;
  padding: 36px 10px;
  text-align: center; 
}
.contact-box {
  display: flex;
  flex-wrap:nowrap;
  justify-content: center;
  align-items: center; 
  gap: 40px;
  flex-direction: column;
  font-weight:600;
  position: relative;
}
.contact-box .phone,
.contact-box .mail {
  background: transparent;
  color: #422414;
  padding:5px;
  /*width: 300px;*/
  position: relative;
  flex-wrap: wrap;
}
.phone.mail{
  width:80%;
  align-items: flex-end;
}
/* 縦の区切り線 */
.contact-box .phone::after {
  content: "";
  position: absolute;
  bottom:-20px;
  left:50%;
  width: 80%;
  height: 2px;
  background-color: #917361;
  transform: translateX(-50%);
  opacity: 0.7;
}

.contact-box p.title {
  font-size: 0.9rem;
  color: #917361;
  margin: 0 0 10px;
  font-weight: 400;
}

.phone-icon {
  font-size: 24px;
  margin-right: 10px;
  width:30px;
  height:30px;
  display: flex;
  align-items: center;
  justify-content:center;
}
.phone-icon img{
  width: 100%;
}
.phone_group{
padding:12px;
}
.phone-number {
font-size: 24px; 
  color: #422414;
  font-weight: 600;
  line-height: 1;
}
.contact-box .phone a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-box .reception-time {
  font-size: 0.9rem;
  color: #917361;
  margin-top: 15px;
  font-weight: 400;
}
.sp-br {
  display: block;
    }
.btn {
  display: inline-block;
  background-color: #f2af18;
  color: #fff;
  padding: 12px 30px; 
  border-radius: 50px; 
  text-decoration: none;
  font-weight: 600;
  font-size: 20px; 
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.contact-form-container .error{
color: red;
}

.exterior img{
  width:100%;
}

.infoInner{
  display: flex;
  gap: 30px;
  padding: 20px 20px;
  max-width: 1300px;
  margin: 0 auto;
  align-items: center;
  flex-direction: column; 
}
.map {
  flex: 1; 
  position: relative;
  width:100%;
  height: auto;
}
.map-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3; 
  min-height:150px; 
  padding:15px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
}
.info-content{
  flex: 1;
  text-align: center; 
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  
}
/* テーブルのスタイル調整 */
.info-content table {
  width: auto;
  margin: auto;
  border-collapse: collapse;
  table-layout: auto;
}

.info-content th,
.info-content td {
  padding: 10px;
  vertical-align: top;
  text-align: left;
  font-weight:500;
  font-size: 14px;
  white-space: nowrap; 
}
.info-content th {
  width: 30%; 
}
.info-content h2 {
  margin-bottom: 14px;
  font-weight: 600;
  font-size: 1.2em;
  text-align: center;
}
.info-content table .address {
    white-space: nowrap;
  }
.time-table th{
  text-align:right;
}
.time-grid {
  display: grid;
  grid-template-columns: max-content 1fr; 
  gap: 4px 0;
}
.info-content .time-grid .label {
  text-align: right;  
  white-space: nowrap;
  padding-right: 4px;
  font-weight:500;
}
.time-grid .label::after {
  content: "：";     
}
.time-grid .value {
  font-weight: 500;
}

/*フッター*/
.footer{
  background-color: #f5ecda;
  padding: 20px 30px;
  text-align: center;
  font-size: 14px;
}
.footerInner{
  max-width: 1300px;
  margin: 0 auto;
  display: flex; 
  flex-direction: column; 
  align-items: center;
  padding-top: 20px;
}
.footer-logo{
  width:250px;
}
.footer-logo img {
  width: 55%;
}
.footer-address p {
  color: #422414;
  font-weight: 500;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  margin: 20px 0;
  padding: 0;
  list-style: none; 
  justify-content: center;
}
.footer-nav a {
  text-decoration: none;
  color: #422414;
  font-weight:500;
}


/*ここから下層ページ*/
/*会社概要*/
.company-profile {
  margin: 20px auto;
  max-width: 1000px;
  padding:0 20px;
  }

.company-info{
  padding: 24px;
  background: #fffbed;
  border-radius: 30px;
}
.company-profile h1 {
  text-align: center;
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 20px;
}
.company-profile dl {
  display: flex;
  flex-direction: column;
  gap:10px;
  margin: 0;
  padding:0;
}
.company-item-row{
  display: flex;
  flex-direction: row;
  align-items: center;
  border-bottom: 2px dashed #917361;
  padding-bottom: 10px;
  padding-top: 10px;
}
.company-item-row dt {
  font-weight: 600;
  font-size: 1em;
  line-height: 1.6;
  padding-right: 0; 
  margin-bottom: 5px;
  white-space: nowrap;
  flex: 0 0 36%;
  display:flex;
  align-items: center;
}
.company-item-row dd {
  flex: 1; 
  margin: 0;
  font-weight: 500;
  line-height: 2;
  font-size: 1em;
  margin-bottom: 10px;
}
.company-profile a {
  color: #5a3e2b;
  text-decoration: none;
  font-weight: 500;
}
.company-profile a:hover {
  text-decoration: underline;
}

/*お問い合わせページ*/
.contact-form-container {
  max-width: 1000px; 
  margin: 40px auto; 
  padding: 40px 80px 0;
}
.contact-form-container h1 {
  ont-size: 1.2em;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
  color: #5a3e2b;
}

.form-group {
  display: flex;
  flex-direction: column; 
  margin-bottom: 20px;
  gap: 5px; 
}

.form-label-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 8px; 
}

.form-label-wrapper label {
  font-weight: 600;
  font-size: 1em;
  color: #5a3e2b;
  margin-right: 10px; 
  white-space: nowrap; 
}
.required-tag {
    display: inline-block;
    background-color: #f2af18;
    color: #FFF;
    font-size: 0.75em;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%; 
    padding: 12px;
    border: 1px solid #917361;
    font-size: 1em;
    box-sizing: border-box;
    appearance: none;
}
.form-group textarea {
    min-height: 180px;
    resize: vertical;
}
.submit-button-wrapper {
    text-align: center;
    margin-top: 30px;
}
.submit-button {
    background: #f2af18;
    color: #FFF;
    border: none;
    padding: 15px 40px;
    font-size: 1.3em;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 1px rgba(181, 130, 12, 1);
}
.submit-button:hover { 
    opacity: 0.9;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}


/*thanks-page*/
.thanks-page{
  padding: 40px 60px;
  margin:0 auto;
  max-width: 1000px;
}
.thanks-page h2 {
  font-size:1.4em;
  font-weight:600;
  text-align: center;
}
.thanks-message{
  padding:40px 0;
}
.thanks-page p{
   font-size:1em;
  font-weight:500;
}

/*privacy-policy*/
.privacypolicy{
  padding: 40px;
}
.ppWrapper{
  max-width: 1000px;
  margin: 0 auto;
}
.privacypolicy h1 {
  font-size: 1.8em;
  text-align: center;
  margin-bottom: 40px;
 font-weight:600;
        }
.privacypolicy h2 {
  font-size: 1.3em;
  margin-top: 30px;
  padding-bottom: 5px;
  font-weight: 600;
        }
.privacypolicy p,.address-info{
  margin-bottom: 1em;
  font-weight: 500;
        }
.ppList {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 1em;
        }
.ppList li{
   font-weight: 500;
}        
.address-info p{
   margin-top:40px;
}




@media (min-width: 425px) {
.kanpo-text h3{
   font-size: 1.4em;
}

.kanpo-item p{
   font-size: 0.9em;
}
.contact-header p {
   font-size: 16px;
  }
 .phone-number {
   font-size: 32px;
}
.contact-box p.title {
   font-size: 16px;
}
.btn {
   font-size: 20px;
    } 
.privacypolicy h1 {
   font-size: 2em;
}
}

/*FOR TABLET*/
@media (min-width:768px){
.logo img ,
.footer-logo img{
   width: 75%;
}
.headInner{
   padding: 10px 40px;
}
.menu-btn {
   display: none; 
}
.contact-box .reception-time {
   font-size: 16px;
}
/* ナビゲーションを常に表示 */
.nav {
   display: block ;
   position: static;
   flex-direction: row;
   background: transparent;
   width: auto;
}
.nav ul {
   display: flex;
   flex-direction: row;
   gap: 15px;
}
.nav li a {
    display: flex;
    border-bottom: none;
    align-items: center;
    padding: 10px 5px;
    color: #422414;
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
    font-weight:600;
  }
.nav li a:hover {
  background: transparent;
}
.icon-sp{
    display: none;
  }
.icon-pc {
    display: inline-block;
  }

.nav li {
  position: relative; 
}

/* お問い合わせ（3番目の子要素）とアクセス（4番目の子要素）の::afterに縦線を追加 */
.nav li:nth-child(3)::after,
.nav li:nth-child(4)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 1px; 
  height: 1.5em; 
  background-color: #422414; 
  transform: translateY(-50%);
  opacity: 0.2;
}


.kanpo-item{
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap:20px;
  padding: 40px 0;
}
.kanpo-item img{
  width:30%;
}
.kanpo-text{
  text-align: left;
  flex:1;
}

.kanpo123,
.contact{
  padding: 10px 80px 30px;
    }
.contactInner{
  max-width: 1000px
}
.contact-header {
  padding: 20px 20px;
}
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1px 1fr; 
  align-items: stretch;
  gap: 0;
  position: relative;
}

.contact-box .phone,
.contact-box .mail {
  padding: 0 20px;
  }
.contact-box::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  background-color: #917361;
  width: 1px;
  height: 65%;
  justify-self: center;
  align-self: center;
}
.contact-box .phone::after {
  content: none;
  }  
.infoInner {
  display: grid;
  grid-template-columns: 1fr 1px 1fr; 
  align-items: flex-start;
  gap: 0;
  padding: 40px 80px;
   max-width: 1000px;
}
.map {
  grid-column: 1;
  width: 100%; 
}
.info-content {
  grid-column: 3;
  width: 100%; 
  padding-left: 10px;
}
.infoInner::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  background-color: transparent; 
  width: 1px;
}
.info-content h2 {
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 1.2em;
  text-align: left;
}
.info-content th,
.info-content td {
  font-size: 16px;
}
.info-content table {
  margin: 0;
}
.footer{
  font-size: 16px;
}
.footer-nav ul {
  flex-direction: row;
  gap: 20px;
}


/*下層ページ*/
/*about*/
.company-profile{
  padding: 40px 80px;
}
.company-info{
  padding: 16px 60px 60px;
       }
.company-profile dl {
  gap: 15px; 
  }
.company-item-row {
  padding-top: 32px; 
  padding-bottom: 32px;
  }
 /*contact*/ 
 /* 各フォームグループをグリッドコンテナとして扱う */
.form-group {
  display: grid; 
  grid-template-columns: minmax(120px, 200px) 1fr; 
  gap: 40px; 
  align-items: flex-start; 
  margin-bottom: 32px;
}

.form-label-wrapper {
   display: grid; 
   grid-template-columns: 1fr auto;
   align-items: baseline; 
   gap:8px;
} 
.required-tag {
   display: inline-block;
   background-color: #f2af18;
   color: #FFF;
   font-size: 0.75em;
   font-weight: bold;
   padding: 3px 8px;
   border-radius: 4px;
   white-space: nowrap;
   line-height: 1.4; 
}
}

@media(min-width:1024px){
.headInner {
   padding: 10px 100px;
}
.kanpo123 {
   padding: 10px 130px;
}

.sp-br {
   display: none;
}
}

/*FOR PC*/
@media (min-width:1200px){
.logo img ,
.footer-logo img{
   width: 100%;
}
.header{
   height:150px;
}
.headInner {
   height: 150px;
   padding: 10px 170px;
    }
.greeting h2,
.kanpo h2,
.contact-header p,
.info-content h2{
  font-size: 25px;
}
.greeting p,
.kanpo p,
.kanpo-text p,
.contact-box p,
.info-content td,
.footer-address,
.footer-nav{
  font-size: 17px;
}
.kanpo-text h3{
  font-size: 21px;
}
.contact{
  padding:20px 130px;
}
.phone-number{
  font-size: 42px;
}
.info-content th{
  font-size: 17px;
}
}




