.title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    padding: 0 40px 0px;
    box-sizing: border-box;
}

.title-left {
    flex: 1 1 30%;
    text-align: center;
}

.title-center {
    flex: 1 1 60%;
    text-align: center;
}

.blase-main-title{
    color: #ffffff;
	margin: auto;
    text-align: center;
    font-size: 3.5rem;
    padding: 0px;
    display: table;
    line-height: 1.4;
}

.section-inner {
    padding-bottom: 10px;
}

.main-title{
    text-align: center;
    font-weight: normal;
    line-height: 1.6;
}

.blase-series-normal {
    font-weight: normal;
}

/* カード型レイアウトの実装 */
.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 40px;
    box-sizing: border-box;
    max-width: 1400px;
    margin: 0 auto;
}

.product-block {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 0px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid #e0e0e0; /* 薄い灰色の線 */
    text-align: center;
    text-decoration: none; /* リンクの下線を消す */
    color: inherit; /* リンクの色を継承 */
    display: block; /* ブロック要素として表示 */
}

.product-block::before {
    display: none;
}

.product-block:hover {
    transform: scale(1.05);
}



.main-subtitle {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.main-image-block {
    margin: 25px 0;
    position: relative;
}

.main-image-product {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
    margin-top: 0;
}

.main-image-product-X {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
    margin-top: 0;
}

.product-block:hover .main-image-product {
    transform: scale(1.05);
}

.product-description {
    font-size: 1.25rem;
    line-height: 2;
    text-align: left;
    color: #333333;
    margin-top: 20px;
    padding: 0;
}

/* アニメーション効果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-block {
    animation: fadeInUp 0.6s ease forwards;
}

.product-block:nth-child(1) { animation-delay: 0.1s; }
.product-block:nth-child(2) { animation-delay: 0.2s; }
.product-block:nth-child(3) { animation-delay: 0.3s; }

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .product-container {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }
    
    .product-block {
        padding: 20px;
    }
    
    .main-subtitle {
        font-size: 1.3rem;
    }
    
    .title-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .single-line,
    .double-line {
        min-height: auto;
    }
}

@media (max-width: 600px) {
    .product-block {
        flex: 1 1 100%;
    }
}


.element-img {
    cursor: pointer; /* 手の形のカーソルに変更 */
    transition: transform 0.2s ease-in-out; /* アニメーション追加 */
}
  
.element-img:hover {
    transform: scale(1.1); /* マウスを乗せたときに少し拡大 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* 影をつける */
}
.insert-img {
    width: 100%; /* コンテナに合わせて全幅にする場合 */
    max-width: 1000px; /* 最大幅を指定 */
    height: auto; /* 縦横比を維持 */
    display: block; /* デフォルトではインラインなので、ブロック要素に変更 */
    margin: 0 auto; /* 中央寄せ（必要に応じて） */
}

.main-image-product {
    margin-top: 50px;
}

.section-block-inner ul {
    font-size: 16px;
    text-align: left;
    margin-bottom: 100px;
    padding: 10px;
}

.section-block-inner ul p {
    font-size: 15px;
    text-align: center;
    margin-bottom: 80px;
    font-weight: normal;
    text-decoration: underline;
    text-underline-offset: 5px; /* 下線と文字の間隔を指定 */
}

.blase-main-movie {
    display: flex;
    justify-content: center; /* 横方向の中央揃え */
    align-items: center; /* 縦方向の中央揃え */
    margin: 0; /* 余白をなくす */
}

video{
    width: 50%;
    margin-bottom: 100px;
}

@media screen and (max-width: 1100px) {
    video{
        width: 100%;
        margin-bottom: 100px;
    }
}

@media screen and (max-width: 768px) {
    .swbv-main-title{
        font-size: 25px;
    }

    .insert-img {
        max-width: 100%; /* スマホなどでは画面幅に合わせる */
    }

    .section-block-inner {
        height: 450px;
    }

    .section-block-inner ul {
        font-size: 14px;
        text-align: left;
        margin-bottom: 50px;
    }

    .section-basic-block{
        margin-bottom: 100px;
    }

    video{
        width: 100%;
        margin-bottom: 100px;
    }
}

.pta-btn {
    display: inline-block;
    background: linear-gradient(90deg, #007bff, #6610f2);
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    padding: 10px 28px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, transform 0.2s;
    margin: 20px 0 0 0;
    text-decoration: none;
}
.pta-btn:hover, .pta-btn:focus {
    background: linear-gradient(90deg, #6610f2, #007bff);
    transform: translateY(-2px) scale(1.05);
    outline: none;
}

/* モーダルウィンドウのスタイル */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}
.modal-overlay.active {
    display: flex;
}
.modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    max-width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    position: relative;
    animation: fadeInUp 0.3s;
    font-size: 1.35rem;
    line-height: 2.1;
}
.modal-content h2, .modal-content h3 {
    font-size: 1.5em;
    margin-top: 1em;
    margin-bottom: 0.5em;
    text-decoration: none;
}
.modal-content ul, .modal-content p {
    font-size: 1.15em;
    margin-bottom: 1.2em;
}
.modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 2rem;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}
.modal-close:hover {
    color: #007bff;
}

@media (max-width: 600px) {
    .modal-content {
        font-size: 1.05rem;
        padding: 18px 6px;
    }
    .modal-content h2, .modal-content h3 {
        font-size: 1.1em;
    }
}

.product-video-block video {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto 16px auto;
}

/* お問い合わせセクションのスタイル */
.section-contact{
	background: #fff;
	margin-bottom:35px;
}

.section-contact-inner{
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 110px 0px 150px;
}

.section-contact h2{
	font-size: 3.2rem;
	font-weight: bold;
	letter-spacing: 1px;
	margin-bottom: 30px;
}

.section-contact p{
	line-height: 1.8;
	font-size: 1.6rem;
	margin-bottom: 40px;
}

.section-contact .button{
	padding-bottom:140px;
}

.section-contact .btn{
	display: block;
	width: 250px;
	margin-top:50px;
	padding: 18px;
	background: #333;
	color: #fff;
	text-align: center;
	transition:0.4s;
	z-index: 5;
	text-decoration: underline;
}

.section-contact .btn:hover{
	opacity:0.8;
}

h3{
	text-decoration: underline;
}

