html {
  scroll-padding-top: 120px;
}
p {
	    letter-spacing: 0.02rem;
	    line-height: 1.8em;
}

h1, h2, h3 {
	    letter-spacing: 0.02rem;

}

.full-width-bg {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
  left: 0;
  right: 0;
}
.jumbo-bg {
    background-image: url('../img/bg.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-cyan {
    background-color: rgb(242 249 255) !important;
}

th, td {
padding-left: 2rem !important;
padding-top: 2rem !important;
padding-bottom: 2rem !important;
padding-right: 2rem !important;	
}

th {
  text-align: justify;      /* 両端揃え */
  text-align-last: justify; /* 最終行も両端揃え */
}
@media (max-width: 768px) {
th {
text-align-last: auto;
}
}

.bd-placeholder-img {
        font-size: 1.125rem;
        text-anchor: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
      }

      @media (min-width: 768px) {
        .bd-placeholder-img-lg {
          font-size: 3.5rem;
        }
      }

      .b-example-divider {
        width: 100%;
        height: 3rem;
        background-color: rgba(0, 0, 0, .1);
        border: solid rgba(0, 0, 0, .15);
        border-width: 1px 0;
        box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
      }

      .b-example-vr {
        flex-shrink: 0;
        width: 1.5rem;
        height: 100vh;
      }

      .bi {
        vertical-align: -.125em;
        fill: currentColor;
      }

      .nav-scroller {
        position: relative;
        z-index: 2;
        height: 2.75rem;
        overflow-y: hidden;
      }

      .nav-scroller .nav {
        display: flex;
        flex-wrap: nowrap;
        padding-bottom: 1rem;
        margin-top: -1px;
        overflow-x: auto;
        text-align: center;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
      }

      .btn-bd-primary {
        --bd-violet-bg: #712cf9;
        --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

        --bs-btn-font-weight: 600;
        --bs-btn-color: var(--bs-white);
        --bs-btn-bg: var(--bd-violet-bg);
        --bs-btn-border-color: var(--bd-violet-bg);
        --bs-btn-hover-color: var(--bs-white);
        --bs-btn-hover-bg: #6528e0;
        --bs-btn-hover-border-color: #6528e0;
        --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
        --bs-btn-active-color: var(--bs-btn-hover-color);
        --bs-btn-active-bg: #5a23c8;
        --bs-btn-active-border-color: #5a23c8;
      }
      .bd-mode-toggle {
        z-index: 1500;
      }

.fa-regular, .far {
    font-size: xxx-large;
}
.border-dashed { 
	--bs-border-style: dashed;
}

.title {
  position: relative;
  padding: 1.5rem;
  text-align: center;
}

.title:before {
  position: absolute;
  bottom: -10px;
  left: calc(50% - 30px);
  width: 60px;
  height: 5px;
  content: '';
  border-radius: 3px;
  background: #e50038;
}

.mb-6 {
    margin-bottom: 6rem !important;
}

.feature-title {
        /*margin-top: 7rem;*/
    }

.bg-body {
    background-color: rgb(127 199 232 / 35%) !important;
}

.dbc {
color: #1E2E53 !important;	
}


.ttl_line1 {
  font-weight: bold;
  border-left: 5px solid #e50038;
  padding: 0.25em 0 0.3em 0.5em;
}

/* 500px以下の画面で適用 */
@media only screen and (max-width: 500px) {
  .mobile-blocky tr,
  .mobile-blocky th,
  .mobile-blocky td {
    display: block; /* セルを縦に */
  }
}

@media only screen and (max-width: 500px) {
.mobile-blocky {
	width: 100% !important;
  }
}


.mobile-blocky {
justify-content: center;
	width: 80%;
}

/* to-top */
#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
	border-radius: 50%;
	box-shadow: 0 4px 9px -4px #d1485f;
}
/* hero */
.hero {
    background-image: url("../img/cover.jpg");
    background-position: center;
    background-size: cover;
    background-attachment: flex;
    position: relative;
	height: 100vh;
    z-index: 2;
}
.hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
 /* background-color: rgba(0, 0, 0, 0.3);*/
  z-index: -1;
}

.herotext {
    line-height: 1.3;
    letter-spacing: 0.02em;
}
.herotext2 {
    line-height: 1.8;
    letter-spacing: 0.02em;
}
@media (max-width: 500px) {
	
	.sp{
	font-size: x-large;			
	}	
	.hero{
		height: 100vh;
	}
	
}

.border-red {
    border: 2px solid #e50038;
   display: table;
    padding: 12px;
	margin-left: auto;  /* 左の余白を自動調整 */
    margin-right: auto; /* 右の余白を自動調整 */
	background-color: white;
}


/* 大見出し：鉤括弧 */
.heading-37 {
    position: relative;
    display: inline-block; /* これで文字幅になる */
    padding: .2em 1.5em;
    margin: 0 auto;        /* 中央配置 */
    color: #000000;
}

/* 小見出し：赤い枠 */
.border-red {
    border: 2px solid #e50038;
    display: inline-block; /* これで文字幅になる */
    padding: 12px;
    margin-bottom: 1rem;
    width: auto;
}

/* 鉤括弧のパーツ（共通） */
.heading-37::before,
.heading-37::after {
    position: absolute;
    width: 10px;
    height: 100%;
    border: 3px solid #d02525;
    box-sizing: border-box;
    content: '';
}
.heading-37::before { top: 0; left: 0; border-right: none; }
.heading-37::after { bottom: 0; right: 0; border-left: none; }


.custom-card {
    background-color: #fff;
    padding: 30px;
    height: 100%;
    border-radius: 12px; /* 角を少し丸く */
    text-align: center;  /* 中身を中央寄せ */
    
    /* 影の設定：水平 垂直 ぼかし 広がり 色 */
    /* 垂直を 0 にするかマイナスにすると上方向にも影が出ます */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); 
    
    transition: all 0.3s ease;
}

/* アイコンのスタイル */
.card-icon {
    margin-bottom: 20px;
    display: inline-block;
    /* アイコンの色を調整したい場合はここに fill や color を指定 */
}

.custom-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); /* ホバーでさらに濃く */
    transform: translateY(-5px);
}