@charset "utf-8";

/* *****共通設定***** */

main{
    display: block;
    background-color: #fbfbf2;
}
main .btn{
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    font-size: 1.2rem;
}
h1 { font-size: 4.5rem; }
h2, h3{
   color: #401f0f;
}
.gray {
    color: #6c757d;
}
.card{
    border-color: #e0c7b2;
}
.img-thumbnail {
    width: 100%;
    padding: .25rem;
    background-color: transparent;
    border: none;
}

/* ヘッダー(navbar) */
.navbar {
  border-bottom: 1px solid #a29080;
  background-color: #000000;
  padding-top: 0;
  padding-bottom: 0;
}
.navbar .navbar-collapse{
    flex-grow: 0;
}
.navbar .navbar-brand{
    height: 70px;
}
.navbar .navbar-brand img{
    height: 100%;
  　width: auto;
}
.navbar .navbar-nav .active > .nav-link{
    color: #ffce11;
}
.navbar .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: rgba(251,251,241,1);
}

/* フッター */
#footer{
    background-color: #000000;
}
#footer .container{
    color: #FFFFFF;
}
#footer .footer-ttl{
    font-size: 1rem;
    font-weight: bold;
    margin: 1.5rem 0;
    color: #ffce11;
}
#footer address p,
#footer #footer-news li{
    margin-bottom: 0.5rem;
}
#footer #footer-news ul{
    margin: 0;
    padding: 0
}
#footer #footer-news ul{
    list-style: none;
}
#footer #footer-news li span{
    display: inline-block;
    margin-right: 0.5rem;
}
#footer #copyright{
    border-top: 1px solid #774831;
    background-color: #000000;
    color: #e0c7b2;
}
#footer img {
	width: 360px;
}
.footer-link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  padding: 0.2em 0;
}

.footer-link:hover {
  color: inherit;
  text-decoration: underline;
}
#footer a,
#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active {
  color: inherit !important;
  text-decoration: none !important;
}

/* ✅ 全体共通 h1 スタイル */
h1 {
  font-weight: bold !important;
  color: #ffce11;
}

/* ✅ ヒーローセクション背景とレイアウト */
#page-top .jumbotron-fluid {
  min-height: 640px; /* ← 固定高さから変更 */
  background: url("../img/28382507_m.jpg") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  padding: 4rem 1rem; /* ← レスポンシブに備えて追加 */
}

/* ✅ テキストコンテナの中央寄せ */
#page-top .jumbotron-fluid .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  max-width: 1140px; 
  width: 100%; 
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ✅ テキストブロック */
.hero-text {
  margin-left: -5vw;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 10px;
  color: #fff;
  max-width: 660px;
}

/* ✅ タイトル */
.hero-text h1 {
  font-size: 2rem;
  font-weight: bold;
  color: #ffce11;
  margin-bottom: 1rem;
}

/* ✅ 説明文 */
.hero-desc {
  font-size: 1.2rem;
  line-height: 1.6;
  display: block;
  margin-bottom: 1.5rem;
  word-wrap: break-word;
}

/* ✅ ボタン */
.hero-text .btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  border-width: 3px;
  border-color: #fff;
}

/* ✅ PCサイズ縮小対応（テキスト途切れ防止） */
@media screen and (max-width: 1300px) {
  .hero-text {
    transform: none;
    margin: 0 auto;
  }

  #page-top .jumbotron-fluid .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* 各セクション */
#page-top section{
    border-bottom: 1px solid #e0c7b2;
    background-color: #fbfbf2;
	padding: 5rem 0;
}
#page-top section:nth-child(odd){
    background-color: #e0c7b2;
}
#page-top section .container > h2{
    margin-bottom: 30px;
    font-size: 2.5rem;
}
#page-top section .container > h2 + p{
    max-width: 700px;
	margin: 0 auto 50px;
}
#sec1 h3{
    font-size: 1.4rem;
}

#sec1 .card-img-top {
  height: 200px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

#sec1 .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#sec1 .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

#sec1 .card-title {
  min-height: 3em; 
  margin-bottom: 0.5rem;
}

#sec1 .card-text {
  flex: 1;
  min-height: 4em; /* 任意で調整可能 */
}

/* 価格欄を一番下に固定 */
#sec1 .price {
  margin-top: auto;
}

#sec2 {
    line-height: 180%;
}
#sec2 .row{
    min-height: 160px;
    color: #2f2f2f;
}
.center-image {
  text-align: center;
  margin-top: 0rem;
  margin-bottom: 2rem;
}

.responsive-img {
  max-width: 70%;
  height: auto;
}

#sec4 .card-body .clearfix p,
#sec4 .card-body .clearfix h3{
    margin-left: 115px;
    line-height: 130%;
}
#sec4 .card-body .card-title{
    margin-bottom: 5px;
    color: #401f0f;
}
#sec4 .card-body .card-subtitle{
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #968075;
}
#sec4 img {
    width: 100%;
}
#sec4 .btn {
    width: 100%;
	background-color: #401f0f;
	border: none;
	padding: 1rem 0;
}

#sec5 article > .row {
    border: 1px solid #dddddd;
}

#sec5 h3 {
    margin-bottom: 0.1rem;
}

#sec5 article > div div header {
    padding: 10px;
}

#sec5 p.lead {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: center !important;
  box-sizing: border-box;
}

.service-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}
/* *****下層ページ***** */

#breadcrumb-wrapper{
    border-bottom: 1px solid #a29080;
}
#breadcrumb-wrapper,
.breadcrumb{
    font-size: 0.9rem;
    background-color: #563322;
}
.breadcrumb a{
    color: rgba(255,255,255,.5);
}
.breadcrumb a:hover,
.breadcrumb a:focus{
    color: rgba(255,255,255,1);
}
.breadcrumb-item+.breadcrumb-item::before{
    content: ">";
    padding-right: 1rem;
    color: rgba(255,255,255,.5);
}
.breadcrumb-item.active{
    color: #ffffff;
}
h1.page-ttl {
    font-size:2rem; 
}
#page h1 + span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 110%;
    margin-top: 0.2rem;
    display: block;
}

#page article {
    padding: 5rem 0;
}

#page section {
    padding-bottom: 5rem;
}
#page section:last-child {
    padding-bottom: 0rem;
}

#page h1 + small {
    font-size: 1.5rem;
    color: #ffffff;
    line-height: 110%;
    margin-top: 0.2rem;
}
#page .jumbotron{
    background-color: #f1efff;
    border-bottom: #dddddd;
    background: url("../img/28382507_m.jpg") no-repeat center center;
    background-size:cover;
    border-radius: initial;
}
#page .jumbotron .container{
    padding: 0;
}
#page .jumbotron .container p{
    margin-bottom: 0;
}
#page h2 + p{
    margin: 0 0 1.2rem;
}
#page main img{
    max-width: 100%;
}
#page .sample-title{
    display: flex;
    align-items: center;
    text-align: center;	
}

#page .sample-title::after {
    border-top: 3px dotted;
    content: "";
    display: inline; /* for IE */
    flex-grow: 1;
    margin-left: 0.5em;
}
#page .sample-title span{
    background-color: #fbfbf2;
}
#page .sample-subtitle{
    font-size: 1.5rem;
    font-weight: bold;
    color: #401f0f;
}


/* *****会社概要***** */
.company-table {
  width: 80%;
  margin: 2rem auto;
  border-collapse: collapse;
  border: 1px solid #ccc;
}

.company-table th,
.company-table td {
  border: 1px solid #ccc;
  padding: 0.75rem;
  vertical-align: top;
}

.company-table td.left-cell {
  text-align: justify;
  text-justify: inter-ideograph;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.company-table th {
  background-color: #f5f5f5;
  text-align: left;
}

/* *****フォーム***** */

.form1 label{
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.form1 input,
.form1 textarea,
.form1 select{
    max-width: 768px;
}
.form1 .form-group{
    margin-bottom: 2rem;
}

.required-mark {
  color: red !important;
  font-weight: bold;
}

#drop-area {
  border: 2px dashed #ccc;
  padding: 20px;
  text-align: center;
  cursor: pointer;
}
#drop-area.hover {
  background-color: #f8f9fa;
}

#sec1 .signature {
  text-align: right;
  margin-top: 2rem;
}
#sec1 .signature .sigbox {
  display: inline-block;
  text-align: right;
}
#sec1 .signature .rline {
  display: block;
  text-align: right;
  padding-right: var(--offset, 0);
  transform: translateX(var(--shift,0)); 
}

@font-face{
  font-family: "AoyagiReishoShimo";
  src:
    url("../assets/fonts/tamanegi.woff2") format("woff2"),
    url("../assets/fonts/tamanegi.woff") format("woff");
  font-display: swap; 
}

.page-exclusiondeclaration #sec1 .signature .sig-hand{
  font-family: "AoyagiReishoShimo", "Yuji Syuku", "Yu Gothic", sans-serif;
  font-size: 1.5em;
  letter-spacing: .02em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* 右寄せの行を個別に微調整（既存の rline を継続利用） */
.page-exclusiondeclaration #sec1 .signature .rline{
  display:block;
  text-align:right;
  padding-right: var(--offset, 0);     /* 右端から内側へ：+で左に寄る */
  transform: translateX(var(--shift,0)); /* まとめて水平移動：-で左 */
}

