/* トップ画面上部画像コントロール */

.cover-img {
	height: 600px;
	display: table;
	width: 100%;
	background-size: cover;
}

/* ワイドスクリーン用のCSS */
@media only screen and (min-width: 1500px) {
	.cover-img {
		height: 800px;
	}
}

/* タブレット用のCSS */
@media only screen and (min-width : 768px) and (max-width : 1200px) {
	.cover-img {
		height: 600px;
	}
}

/* スマホ用のCSS */
@media only screen and (max-width: 479px) {
	.cover-img {
		height: 500px;
	}
}

.cover-text {
	display: table-cell;
	vertical-align: middle;
  text-align: center;
}

/* メインテキスト */
.maintext {
  font-size:  clamp(22px, 6vw, 50px) !important;
  line-height:  1.7 !important;
color: #fff;
  
text-shadow :
 0 0 10px #3BB272,
 0 0 10px #3BB272,
 0 0 10px #3BB272,
 0 0 10px #3BB272,
 0 0 10px #3BB272,
 0 0 10px #3BB272,
 0 0 10px #3BB272,
 0 0 10px #3BB272,
 0 0 10px #3BB272,
 0 0 10px #3BB272;
  
}

.subtext {
  font-size: clamp(0.875rem, 0.693rem + 0.91vw, 1.375rem) !important;
  line-height:  1.7 !important;
color: #000;
  
text-shadow :
 0 0 10px #fff,
 0 0 10px #fff,
 0 0 10px #fff,
 0 0 10px #fff,
 0 0 10px #fff,
 0 0 10px #fff,
 0 0 10px #fff,
 0 0 10px #fff,
 0 0 10px #fff,
 0 0 10px #fff,
 0 0 10px #fff,
 0 0 10px #fff;
}

/* トップ画面上部画像コントロール ここまで*/




/* Card */
.card {
  border-color: #3BB272;
}
/* 中Card */
.card {
  border-color: #3BB272;
}

/*ここから背景リンク*/
.bklink1 {
    background-color: #3BB272;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
    }
.bklink1:hover {
    background-color: #3BB272;
    }
/*ここまで背景リンク*/

/*SP改行リンク*/
.br-sp {
  display: none;
}

@media screen and (max-width: 1080px) {
  .br-pc {
    display: none;
  }

  .br-sp {
    display: inline-block;
  }
}
/*ここまでSP改行リンク*/


.navbar-nav .nav-item {
  margin-right: -15px !important;
  letter-spacing: 0px !important;
}

/*table指定*/

.tableSample {
    width: 100%;
    border-collapse: collapse;
}
.tableSample th, td {
    padding: 10px 15px;
    border: 1px solid #ddd;
}
.tableSample th {
    background: #f4f4f4;
    width: 25%;
    text-align: left;
}

@media only screen and (max-width:650px) {
.tableSample th, td {
    width: auto;
    display: block;
    border-top: none;
}
.tableSample tr:first-child {
    border-top: 1px solid #d5d5d5;
}
}

/*カードの高さをそろえる*/

.card2 {
    height: 250px;
  }

/*タイトル横に画像*/

.icon_profile {
    display: inline-block;
    width: 45px;
    height: 40px;
    background: url("../images/menu1s.png") no-repeat left center;
}

.icon_member {
    display: inline-block;
    width: 50px;
    height: 35px;
    background: url("../images/menu3s.png") no-repeat left center;
}

.icon_zisseki {
    display: inline-block;
    width: 50px;
    height: 40px;
    background: url("../images/menu5s.png") no-repeat left center;
}

.icon_qa {
    display: inline-block;
    width: 45px;
    height: 35px;
    background: url("../images/menu4s.png") no-repeat left center;
}

.icon_other {
    display: inline-block;
    width: 45px;
    height: 30px;
    background: url("../images/menu6s.png") no-repeat left center;
}


/*フォーム関連*/
form input, form select {
    border: 1px solid #ccc;
    padding: 10px;
}
form button {
    margin: 10px;
    padding: 5px;
    width: 120px;
}
.parsley-errors-list {
    color: red;
}
.parsley-error, .bs-callout-warning {
    background: #ffe4e4 !important;
}
.parsley-success, .bs-callout-info {
    background: #d5f7d5 !important;
}
.bs-callout {
    margin: 20px 0;
    padding: 20px;
}
.hidden {
    display: none !important;
    visibility: hidden !important;
}

.ssk-input, .ssk-textarea {
  width: 100%;
  box-sizing: border-box;
}

.ssk-textarea {
  height: 100px;
}


/*文字の下にアンダーライン*/
.solid{
border-bottom: solid 2px #8C6239; /* ボーダー下部のスタイルを実線で指定する */
}


/* モーダルの背景 */
.modal-wrapper {
  z-index: 999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px 10px;
  text-align: center;
}

.modal-button {
    color: #4f96f6;
    background-color: #eeeeee;
    font-weight: bold;
    text-align: center;
    cursor :pointer;
    transition: all 0.3s;
    display: block;
    margin-top: 40px;
    margin-bottom: 1px;
    padding: 12px 2px;
    max-width:300px;
    text-decoration: none;
}

.modal-button:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(2px);
  transform: translateY(2px);/*下に動く*/

}

/*アイコンを表示*/
.modal-button:after {
font-family: "Font Awesome 5 Free";
  content: "\f2d0";
    padding-left: 8px;
}

/*ラベルホバー時*/
.modal-button:hover {
  color: #FFFFFF;
  background-color: #4f96f6;
  transition: .6s;
}

.modal-wrapper:not(:target) {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.modal-wrapper:target {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s, visibility .4s;
}

.modal-wrapper::after {
  display: inline-block;
  height: 100%;
  margin-left: -.05em;
  vertical-align: middle;
  content: ""
}

.modal-wrapper .modal-window {
  box-sizing: border-box;
  display: inline-block;
  z-index: 20;
  position: relative;
  width: 70%;
  max-width: 600px;
  padding: 10px 30px 25px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, .6);
  vertical-align: middle
}

.modal-wrapper .modal-window .modal-content {
  max-height: 80vh;
  overflow-y: auto;
  text-align: left
}

.modal_title {
  font-size: 1.5em;
	position: relative;
	overflow: hidden;
  padding: 0;
}

.modal_title::before,
.modal_title::after{
	content: "";
	position: absolute;
	bottom: 0;
}

/* h2 プライマリカラー*/
.modal_title:before{
	border-bottom: 4px solid #6bb6ff;
	width: 100%;
}
/* h2 セカンダリカラー*/
.modal_title:after{
	border-bottom: 4px solid #c8e4ff;
	width: 100%;
}

.modal-content p {
  margin: 10px 0 0 0;
}

.modal-overlay {
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .8)
}

.modal-wrapper .modal-close {
  z-index: 20;
  position: absolute;
  top: 5px;
  right: 5px;
  width: 35px;
  color: #95979c !important;
  font-size: 30px;
  font-weight: 700;
  line-height: 35px;
  text-align: center;
  text-decoration: none;
  text-indent: 0
}

.modal-wrapper .modal-close:hover {
  color: #2b2e38 !important
}

.top_bg {
background: linear-gradient(#d4d6d3, #edf1f1);
}

.top_bg2 {
background: #eae1ff ;
}

.top_bg3 {
background: #ffe7d4 ;
}

.top_bg4 {
background: #e5e5e5 ;
}

.rounded-box {
	display: block;
  border: 4px solid #93278f; /* 線の太さ・種類・色 */
  border-radius: 10px;    /* 角の丸み */
  background-color: #f3ebff;
  padding: 20px;          /* 内側の余白 */
/* ここを追加 */
  margin-left: 5px;  /* 左側の外余白 */
  margin-right: 5px; /* 右側の外余白 */
box-sizing: border-box;
}


/* ボックス全体のスタイル */
        .card-container {
            max-width: 100%; /* 必要に応じて調整してください */
            border: 2px solid #942d91; /* 枠線の太さと色 */
            border-radius: 12px;       /* 角丸の大きさ */
            overflow: hidden;          /* 中の背景が角からはみ出さないようにする */
            font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
            background-color: #fff;
        }

/* タイトル部分（紫色の背景） */
        .card-header {
            background-color: #942d91; /* 背景色 */
            color: #ffffff;            /* 文字色（白） */
            padding: 12px 20px;        /* 上下・左右の余白 */
            letter-spacing: 0.05em;    /* 文字の間隔を少し広げる */
        }

        /* テキスト部分（下の白いエリア） */
        .card-body {
            padding: 25px 20px;        /* 上下・左右の余白 */
            color: #333;               /* 文字色（濃いグレー） */
        }


.check-icon-text {
    display: inline-flex;
    align-items: center;
    gap: 12px; /* アイコンと文字の間隔 */
    font-family: sans-serif;
    font-weight: bold;
    color: #333;
  }

  .check-mark {
    position: relative;
    display: inline-block;
    width: 24px;  /* 枠の幅 */
    height: 24px; /* 枠の高さ */
    flex-shrink: 0;
  }

  /* 赤い四角い枠 */
  .check-mark::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 25px;
    border: 4px solid #e52520; /* 枠の太さと色 */
    box-sizing: border-box;
  }

  /* はみ出すチェックマーク */
  .check-mark::after {
    content: "";
    position: absolute;
    top: -9px;   /* 上にはみ出す量 */
    left: 8px;   /* 右に寄せる量 */
    width: 15px;  /* チェックの短い方の長さ */
    height: 25px; /* チェックの長い方の長さ */
    border-right: 5px solid #e52520;
    border-bottom: 4px solid #e52520;
    transform: rotate(45deg);
  }


/* 固定ナビのベース */
.footer-fixed-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 1000;
    height: 60px;
}

.nav-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 14px; /* スマホ版サイズ */
}

/* アイコンの設定 */
.material-icons {
    margin-right: 8px; /* アイコンと文字の間の隙間 */
    font-size: 20px;   /* スマホ版アイコンサイズ */
}

.mail { background-color: #337ab7; }
.tel { background-color: #8cc63f; }

/* --- PC版（レスポンシブ） --- */
@media (min-width: 768px) {
    .footer-fixed-nav {
        height: 80px;
    }
    .nav-item {
        font-size: 22px; /* PC版で文字を大きく */
    }
    .material-icons {
        font-size: 28px; /* PC版でアイコンも大きく */
        margin-right: 12px;
    }
}


/* --- 前回のコードに追加・修正 --- */



/* テキストを縦に並べるためのコンテナ */
.text-container {
    display: flex;
    flex-direction: column; /* 縦並びにする */
    align-items: flex-start; /* 左寄せ（中央にしたい場合は center） */
    line-height: 1.2; /* 行間を詰める */
}

/* メインの文字サイズ（スマホ版） */
.main-text {
    font-size: 13px; 
}

/* 補足（定休日）の文字サイズ（スマホ版） */
.sub-text {
    font-size: 10px;
    font-weight: normal; /* 補足は少し細くすると読みやすい */
    display: block;
    margin-top: 2px;
}

/* --- PC版（レスポンシブ） --- */
@media (min-width: 768px) {
    .footer-fixed-nav {
        height: 90px; /* 文字が2行になるので少し高さを広げる */
    }
    
    .main-text {
        font-size: 20px; /* PC版で大きく */
    }
    
    .sub-text {
        font-size: 14px; /* PC版で大きく */
        margin-top: 4px;
    }

    .material-icons {
        font-size: 32px; /* PC版でアイコンも大きく */
    }
}

/* ページ最下部の余白設定 */
body {
    padding-bottom: 60px; /* スマホ版ボタンの高さ分 */
}

@media (min-width: 768px) {
    body {
        padding-bottom: 80px; /* PC版ボタンの高さ分 */
    }
}