@media screen and (min-width: 768px) {
	.resize{
		width: 448px;
	}
}

.h2-mb{
	margin-bottom: 85px;
}

.block-wrap ol,
.type-decimal{
  list-style: disc;
  padding-left: 20px; /* 調整 */
  counter-reset: none;
}

.block-wrap ol > li,
.type-decimal > li{
  padding-left: 0;
}

.block-wrap ol > li:before,
.type-decimal > li:before{
  content: none;
}

.link{
    position: relative;
    display: inline-block;
    font-weight: bold;
    line-height: 20px;
    letter-spacing: 0.04em;
    color: #0099D9;
    padding: 11px 46px 11px 35px;
    border: 1px solid #CCCCCC;
    background-color: #fff;
    margin: 0 0 14px;
}
.link:before {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: url(/jp/ja/img/common/arrow.png) no-repeat center center;
    background-size: 100% auto;
}

.mb-1{
    margin-bottom: 1em;
}
.mb-15{
    margin-bottom: 15px;
}
.mb-5{
    margin-bottom: 30px;
}

/* Growth Story Flow Diagram */
.growth-story-flow {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin: 40px 0;
    gap: 20px;
}

.growth-story-item {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
    min-height: 100px;
}

.growth-story-box {
    border: 1px solid #000;
    padding: 10px;
    line-height: 1.4;
    text-align: left;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    z-index: 1;
    word-break: break-all;
    text-align: center;
}

a.growth-story-box {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
    word-break: normal;
}

a.growth-story-box:hover {
    background: #004F99;
    color: #fff;
}

/* Arrow between items */
.growth-story-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -25px; /* Adjust based on gap */
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 35px;
    background-color: #00B2A5; /* Green color from image */
    clip-path: polygon(0% 20%, 65% 20%, 65% 0%, 100% 50%, 65% 100%, 65% 80%, 0% 80%);
    z-index: 2;
}

@media screen and (max-width: 1024px) {
    .growth-story-box {
        padding: 20px;
        text-align: center !important;
    }
}

@media screen and (max-width: 767px) {
    .growth-story-box{
        display: block;
    }
    .growth-story-flow {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .growth-story-item {
        width: 100%;
    }
    .growth-story-item:not(:last-child)::after {
        right: 50%;
        bottom: -25px;
        top: auto;
        transform: translateX(50%) rotate(90deg);
    }
}
.text-center{
    text-align: center !important;
}

.licence-h3{
    position: relative;
    display:inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    background: #004F99;
    color: #fff;
}
.licence-h3:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 45%;
    border: 8px solid transparent;
    border-top: 8px solid #004F99;
}

.licence-h4{
    font-size: 1.5rem;
    margin-bottom: 0px !important;
    border: none !important;
    color: #004F99;;
}

.licence-h5{
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.row{
    display: flex;
    align-items: center;
}

.contents_body .row .col {
    width: 48%;
  }

  .color-green{
        color: #00B2A5;
  }

  .text-right{
    text-align: right !important;
  }
  small{
    font-size: 1.3rem;
    line-height: 1 !important;
  }

  .row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

/* ===== row ===== */
.row {
  --bs-gutter-x: 30px; /* 横余白 */
  --bs-gutter-y: 0px;  /* 縦余白 */

  display: flex;
  flex-wrap: wrap;

  margin-right: calc(var(--bs-gutter-x) / -2);
  margin-left:  calc(var(--bs-gutter-x) / -2);
  margin-top:   calc(var(--bs-gutter-y) * -1);
}

/* ===== row ===== */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}

/* ===== col 共通 ===== */
.row > [class^="col-"],
.row > [class*=" col-"] {
  padding-left: 2%;
  padding-right: 20px;
  width: 100%;
}

/* ===== md以上 ===== */
@media (min-width: 768px) {

  /* ★ これ追加：自動均等割り */
  .col-md {
    flex: 1 0 0;
    max-width: 100%;
  }

  .col-md-1  { flex: 0 0 8.333333%;  max-width: 8.333333%; }
  .col-md-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-md-3  { flex: 0 0 25%;        max-width: 25%; }
  .col-md-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-md-6  { flex: 0 0 50%;        max-width: 50%; }
  .col-md-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-md-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-9  { flex: 0 0 75%;        max-width: 75%; }
  .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-md-12 { flex: 0 0 100%;       max-width: 100%; }
}

.decimal-dl dt{
    position: relative;
    line-height: 28px;
    padding-left: 20px;
}
.decimal-dl dt:before{
    position: absolute;
    top: 0;
    left: 0;
    font-size: 13px;
    line-height: 28px;
    content:'●';
    color: #004F99;
}
.decimal-dl dd{
    margin-bottom: 15px;
    padding: 1em;
    border-bottom: 1px dotted #ccc;
}
.decimal-dl dd:last-child{
    border-bottom: none;
}

/* ===== margin all ===== */
.m-0  { margin: 0 !important; }
.m-1  { margin: 8px !important; }
.m-2  { margin: 16px !important; }
.m-3  { margin: 24px !important; }
.m-4  { margin: 32px !important; }

/* ===== x（左右） ===== */
.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-1 { margin-left: 8px !important; margin-right: 8px !important; }
.mx-2 { margin-left: 16px !important; margin-right: 16px !important; }
.mx-3 { margin-left: 24px !important; margin-right: 24px !important; }
.mx-4 { margin-left: 32px !important; margin-right: 32px !important; }

/* ===== y（上下） ===== */
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1 { margin-top: 8px !important; margin-bottom: 8px !important; }
.my-2 { margin-top: 16px !important; margin-bottom: 16px !important; }
.my-3 { margin-top: 24px !important; margin-bottom: 24px !important; }
.my-4 { margin-top: 32px !important; margin-bottom: 32px !important; }

/* ===== top ===== */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 32px !important; }

/* ===== bottom ===== */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }

/* ===== left ===== */
.ms-0 { margin-left: 0 !important; }
.ms-1 { margin-left: 8px !important; }
.ms-2 { margin-left: 16px !important; }
.ms-3 { margin-left: 24px !important; }
.ms-4 { margin-left: 32px !important; }

/* ===== right ===== */
.me-0 { margin-right: 0 !important; }
.me-1 { margin-right: 8px !important; }
.me-2 { margin-right: 16px !important; }
.me-3 { margin-right: 24px !important; }
.me-4 { margin-right: 32px !important; }

/* ===== auto ===== */
.mx-auto { margin-left: auto !important; margin-right: auto !important; }


/* ===== 基本 ===== */
.order-0 { order: 0 !important; }
.order-1 { order: 1 !important; }
.order-2 { order: 2 !important; }
.order-3 { order: 3 !important; }
.order-4 { order: 4 !important; }
.order-5 { order: 5 !important; }

/* ===== 便利系 ===== */
.order-first { order: -1 !important; }
.order-last  { order: 999 !important; }

/* ===== md以上 ===== */
@media (min-width: 768px) {
  .order-md-0 { order: 0 !important; }
  .order-md-1 { order: 1 !important; }
  .order-md-2 { order: 2 !important; }
  .order-md-3 { order: 3 !important; }
  .order-md-4 { order: 4 !important; }
  .order-md-5 { order: 5 !important; }

  .order-md-first { order: -1 !important; }
  .order-md-last  { order: 999 !important; }
}

.red{
    color: #FF0000;
}
.max-img80{
    text-align: center;
}
.max-img80 img{
    width: 80%;
}

h2.grayh2{
    border: none;
    border-bottom: 2px solid #ccc;
}
h2.grayh2::before, h2.grayh2::after{
    display: none !important;
}

