@charset "utf-8";
/* CSS Document */
	.page_title_wrap + section > div h2:first-of-type{
		margin-top: calc(32px + 17px);
	}
	
	
section {
position: relative;
    z-index: 0;
}
	
		
section > div p,section .box h4 {
	letter-spacing: 0.05em; 
	/*letter-spacing: 0.075em; */
	text-align: justify; 
	font-family: 'BIZ UDPGothic', sans-serif; 
	font-weight: 700;    
	line-height: 1.875;
}
	
section:not(.page_title_wrap)::before {
        content: '';
        position: absolute;
        top: -17px;
        left: 50%;
        width: 100vw;
        height: 34px;
        transform: translateX(-50%);
        z-index: -1;
        background-image: radial-gradient(#fffbee 70%, transparent 71%);
        background-size: 34px 34px;
        background-repeat: repeat-x;
        background-position: center top;
    }		
section:not(.page_title_wrap)::after {
        content: '';
        position: absolute;
        bottom: -17px;
        left: 50%;
        width: 100vw;
        height: 34px;
        transform: translateX(-50%);
        z-index: -1;
        background-image: radial-gradient(#fffbee 70%, transparent 71%);
        background-size: 34px 34px;
        background-repeat: repeat-x;
        background-position: center top;
    }
	
	section > div div.shadow{
		position: relative;
		
	}
	section > div div.shadow::after{
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background-image:
      linear-gradient(
        90deg,
        rgba(95,191,173,1),
        rgba(242,142,30,1)
      );
        opacity: calc(.54 / 1.5);
	}


	.card.shadow::after {
filter: blur(calc(3.8rem / 4));
        width: calc(100vw - 3.8rem / 2);
        height: calc(100% + 3.8rem / 2);
        top: 50%;
        bottom: calc(50% - 3.8rem / 1);
        margin: auto;
        transform: translateX(-50%);
        left: 50%;
    }
	
        :root {
            --primary-color: #36998F;
            --primary-light: #e8f5e9;
            --accent-color: #ff6b6b;
            --text-main: #333333;
            --text-muted: #777777;
            --bg-gradient: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
            --card-bg: rgba(255, 255, 255, 0.95);
        }
		
		section.page_title_wrap::after{
			        background: #fffbee;
		}
		
		section#tool_simulation{
			background: #FFFBEE;
			padding-bottom: 4.25rem;
			margin-bottom: 9.5rem;
			        margin-top: -1.4rem;
		}
        .container {
			width: 90.28%;
        }

        .card {
            background: #fff;
            border-radius: 1rem;
            padding: 2rem 1.8rem;
            text-align: center;
            position: relative;
			    width: min(100%);
    margin-inline: auto;
			        box-sizing: border-box;
        }
        .header-desc {
        font-size: 1.3rem;
        line-height: 1.66;
		        margin-inline: 0.75rem;
        text-align: justify;
        }
        .header-desc span{
        }

        /* 聴力入力セクション */
        .input-section {
        background: #F4F9ED;
        border-radius: 1rem;
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 1.5rem;
        }

        .db-display {
                    font-size: 3rem;
            font-weight: 700;
            display: flex;
            align-items: baseline;
            gap: 3px;
			font-family: "Noto Sans JP", sans-serif;
        }

        .db-unit {
            font-size: 1.5rem;
        }

        /* カスタムスライダー */
        .slider-container {
            width: 100%;
            position: relative;
			max-width: 26.32rem;
        }

        input[type="range"] {
            -webkit-appearance: none;
            width: 85.48%;
                height: 0.5rem;
                border-radius: 1000px;
            background: #d3d3d3;
            outline: none;
            transition: all 0.2s;
        }

        input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 1.5rem;
            height: 1.5rem;
            border-radius: 50%;
            background: var(--primary-color);
            cursor: pointer;
            box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.35);
            transition: transform 0.1s;
        }

        input[type="range"]::-webkit-slider-thumb:hover {
            transform: scale(1.1);
        }

        .slider-labels {
        display: flex;
        justify-content: center;
        margin-top: 0.5rem;
        font-size: 1rem;
        transform: translateX(0.5rem);
        gap: 2.6rem;
        }
        .slider-labels span{
			display: flex;
			flex-direction: column;
			align-items: center;
        }
        .slider-labels span:first-of-type{
        }

        /* 装用シミュレーションスイッチ */
        .toggle-container {
            margin-top: 1.6rem;
            display: flex;
            align-items: center;
            gap: 0.83em;
			    font-size: 1rem;
        }

        .switch {
            position: relative;
            display: inline-block;
            width: 32px;
            height: 16px;
        }

        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider-toggle {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;

            background-color: #ccc;
            transition: .4s;
            border-radius: 24px;
        }

        .slider-toggle:before {
            position: absolute;
            content: "";
        height: 11px;
        width: 11px;
        left: 2px;
        bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked+.slider-toggle {
            background-color: var(--accent-color);
        }

        input:checked+.slider-toggle:before {
            transform: translateX(16px);
        }

        /* 日常の音ビジュアライザー */
        .visualizer {
            display: flex;
            justify-content: center;
            align-items: flex-end;
            position: relative;
            margin-inline: auto;
			max-width: 29rem;
			    margin-top: 1.9rem;
			
        }

        .sound-item {
            display: flex;
            flex-direction: column;
            align-items: center;
                gap: 0.6rem;
            transition: all 0.4s ease;
            position: relative;
            width: 20%;
        }

        .sound-icon {
            width: 4rem;
            height: 4rem;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            transition: all 0.4s ease;
			    position: relative;
        }

        .sound-name {
            font-size: 1rem;
        }

        .sound-name span{
            display: block
        }

        .sound-db {
            background: #F1F2F0;
            border-radius: 1000px;
padding: 0.1rem 0.5rem;
        min-width: 4.4rem;
        font-size: 0.8rem;
        box-sizing: border-box;
        }

        /* 聞こえない状態のスタイル */
        .sound-item.deafened .sound-icon,
        .sound-item.partial .sound-icon  {
            opacity: 0.25;
 
        }

        .sound-item.deafened::after {
            content: "";
            position: absolute;
			background: url("../images/tool/icon_cross.svg");
			width: 1.9rem;
			height: 1.9rem;
            pointer-events: none;
			        top: 1rem;
  right: 0;
  left: 0;
  margin: auto; /*上下左右中央に*/
			        background-repeat: no-repeat;
			
        }

        .sound-item.deafened .sound-name,
        .sound-item.deafened .sound-db {
            /*opacity: 0.5;*/
        }

        .sound-item.partial::after {
            content: "";
            position: absolute;
			background: url("../images/tool/icon_triangle.svg");
			width: 2rem;
			        height: 1.7rem;
            pointer-events: none;
			top: 1.1rem;
  right: 0;
  left: 0;
  margin: auto; /*上下左右中央に*/
			        background-repeat: no-repeat;
			
        }

        /* 解説テキストエリア */
		div:has( > .explanation-box){
        margin-top: 2.6rem;
        padding-top: 2.3rem;
			border-top: 1px solid #E1E1E1;
		}
		
		
		.explanation-box {
    background: #fff;
    padding-inline: 0.8rem 1.5rem;
    border-radius: 1rem;
    text-align: left;
    box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.15);
    min-height: 80px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
			
			    padding-block: 1.15rem;
			gap: 1.6rem;
			
        }
		
		.explanation-box::before {
    content: "";
    width: 0.3rem;
    background: var(--primary-color);
    align-self: stretch;
    flex-shrink: 0;
			
			
        }

		.explanation-box > div {
			padding-block:1.1rem 2rem;
        }

        .explanation-title {
            font-weight: bold;
            color: var(--primary-color);
            font-size: 1.65rem;
			font-family: "Noto Sans JP", sans-serif;
        }

        .explanation-text {
            color: var(--text-main);
            line-height: 1.53;
            font-size: 1.3rem;
			         margin-top: 1.5rem;
        }

        /* 装用時の強調 */
        .supported-mode .explanation-box {
            border-left-color: var(--accent-color);
            background: #fff9f9;
        }

        .supported-mode .explanation-title {
            color: var(--accent-color);
        }
        .supported-mode .explanation-box::before {
            background: var(--accent-color);
        }

	

