        body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,figure,legend,input,textarea,p,blockquote,th,td {
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Noto Sans JP', sans-serif;
            font-size: 14px;
        }

        .wrapper {
            padding-top: 0px;
            background: #fff;
            width: 100%;
        }

        .hidden {
            display: none;
        }

        input[type="radio"] {
            display: none;
            /* ラジオボタンを非表示に */
        }

        .custom-radio {
            display: inline-block;
            padding: 10px 20px;
            border: 2px solid #ccc;
            border-radius: 5px;
            margin: 5px;
            cursor: pointer;
            transition: all 0.2s;
        }

        input[type="radio"]:checked+.custom-radio {
            background-color: #4caf50;
            color: white;
            border-color: #4caf50;
        }

        button {
            padding: 12px 30px;
            /* 押しやすいサイズ */
            font-size: 18px;
            /* 見やすい文字 */
            border: none;
            border-radius: 8px;
            /* 丸み */
            background-color: #464999;
            /* 緑 */
            color: white;
            margin: 5px;
            cursor: pointer;
            transition: 0.2s;
        }
        
        button:disabled {
            background-color: #ccc;   /* 薄いグレー */
            color: #666;              /* 暗めの文字 */
            cursor: not-allowed;      /* 押せないマーク */
            opacity: 0.7;             /* 少し透けさせる */
        }
        
        .block-header-logo {
            width: 100%;
            min-width: 100%;
            text-align: center;
            margin: 30px auto 30px;
        }

        .block-header-logo {
            width: 300px;
            font-size: 0;
        }

        h1,
        .h1 {
            font-size: inherit;
            margin: 20px 0 20px;
        }

        h1,
        .h1 {
            margin: 20px 0 20px;
            font-size: 32px;
            font-weight: normal;
        }

        a {
            text-decoration: none;
            color: #444;
        }

        .block-header-logo img {
            width: 120px !important;
            margin: 0 auto;
        }

        img {
            max-width: 100%;
        }

        .pane-main-title {
            background-color: #333;
            max-width: 1200px;
            width: 100%;
            margin-left: auto;
            margin-right: auto;
            text-align: center;
            color: #fff;
            padding: 10px 0 20px;
        }

        .mb30 {
            margin-bottom: 30px;
        }

        .legend {
            background-color: #EBEBEB;
            border: none;
            margin: 20px 0 20px;
            padding: 10px;
            font-size: 18px;
            font-weight: bold;
        }

        .pane-main-title div {
            font-size: 24px;
            font-weight: 400;
            position: relative;
            margin-bottom: 5px;
        }

        .pane-main-title div:before {
            content: '';
            position: absolute;
            bottom: -2px;
            display: inline-block;
            width: 400px;
            height: 1px;
            left: 50%;
            -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
            background-color: #E50012;
        }

        .pane-main-title p {
            font-size: 36px;
            font-weight: 700;
        }

        .pane-contents {
            min-height: 600px;
            padding-bottom: 50px;
        }

        .container {
            max-width: 1200px;
            /* width: 100%; */
            margin-left: auto;
            margin-right: auto;
        }

        .pane-contents .container {
            display: block;
        }

        .pane-contents .container {
            display: grid;
            grid-template-columns: auto 1fr;
            grid-template-rows: auto 1fr;
            display: -ms-grid;
            -ms-grid-columns: auto 1fr;
            -ms-grid-rows: auto 1fr;
        }

        .pane-main {
            display: block;
            grid-column-start: 2;
            grid-column-end: 3;
            grid-row-start: 1;
            grid-row-end: 2;
            -ms-grid-column: 2;
            -ms-grid-row: 1;
            width: 100%;
        }

        .block-eraberu {
            /* width: 900px; */
            padding: 10px;
            margin: 0 auto;
        }

        /* ----メール入力フォーム---- */
        .eraberuset .eraberumail {
            margin:20px 0;
            border: #e5e5e5 1px solid;
        }
        .eraberuset input[type="email"] {
            padding: 4px;
            border: 1px solid #ccc;
            background-color: #fff;
            height: 40px;
            margin-left: 10px;
            width: calc(100% - 30px);
        }

        .eraberuset {
            margin-top: 10px;
            margin-bottom: 10px;
            width: 100%;
        }

        .eraberuset .eraberu-group {
            display: table;
            width: 100%;
            border-bottom: #e5e5e5 1px solid;
        }
        .eraberuset .eraberu-group:first-of-type {
            border-top: #e5e5e5 1px solid;
        }

        .eraberuset .eraberumail {
            display: table;
            width: 100%;
            border: #e5e5e5 1px solid;
        }

        .eraberuset .eraberu-group:nth-child(even) {
            background-color: #fdfdfd;
        }

        .eraberuset h3 {
            display: table-cell;
        }

        .eraberuset h3 {
            width: 13%;
            padding: 25px 10px 25px 25px;
            font-weight: bold;
            text-align: left;
            border-right: #e5e5e5 1px solid;
        }

        *,
        *:before,
        *:after {
            box-sizing: border-box;
        }

        .eraberu-group {
            width: 100%;
            display: flex;
            flex-wrap: wrap;
        }

        .eraberu-group>label {
            width: calc(50% - 11px);
        }
        .eraberu-group>label:nth-child(2n) {
            margin-right: auto;
        }
        .setProduct {
            margin: 20px;
        }

        .custom-dialog-overlay {
            display: none;
            position: fixed;
            top: 0; left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.4);
            z-index: 1000;
        
            /* 子要素（白ボックス）を中央に配置するためのflex */
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        /* 白地のダイアログ本体 */
        .custom-dialog-box {
            background: white; /* ← これが白地 */
            border-radius: 12px;
            padding: 20px;
            width: 90%;
            max-width: 600px;
            text-align: left;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
            display: flex;
            flex-direction: column; /* ← 中身を縦並びに */
        }
        
        /* タイトル部分（濃い緑＋白字） */
        .custom-dialog-title {
            margin-top: 0;
            font-size: 18px;
            background-color: #006400;
            color: white;
            padding: 10px 15px;
        }
        
        /* メッセージ本文 */
        .custom-dialog-message {
            font-size: 16px;
            margin: 15px 0;
        }
        
        /* ボタン配置 */
        .custom-dialog-buttons {
            margin-top: 10px;
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }
        
        /* ボタン共通デザイン */
        .custom-dialog-btn {
            padding: 10px 20px;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            cursor: pointer;
        }
        
        /* OKボタン */
        .custom-dialog-btn.ok {
            background-color: #007AFF;
            color: white;
        }
        
        /* キャンセルボタン */
        .custom-dialog-btn.cancel {
            background-color: #ccc;
            color: #333;
        }
        
        #emailAddress {
            font-size: 18px;      /* 好みの大きさに調整 */
            padding: 8px 12px;    /* 入力しやすい余白 */
            border-radius: 6px;
            border: 1px solid #ccc;
            width: 95%;          /* 横幅いっぱいに */
            box-sizing: border-box;
        }        
        .setProduct {
            font-size: 18px;          /* 基本文字サイズ大きめ */
            line-height: 1.6;         /* 行間広め */
            background-color: #f9f9f9;/* 薄い背景 */
            padding: 15px 20px;       /* 内側余白 */
            border-radius: 10px;      
            border: 1px solid #ccc;   
            margin-bottom: 15px;      
            word-break: break-word;   
        }
        @media screen and (max-width: 960px) {
            h1, .h1, .legend {margin: auto}
            .block-header-logo {
                min-width: 100%;
                margin: 15px auto 15px;
            }
            .pane-main-title {
                max-width: 100%;
            }
            .pane-main-title p { font-size: 28px;}
            .eraberu-group>label {
                width: calc(50% - 11px);
            }
            .eraberu-group>label:nth-child(2n) {
                margin-right: auto;
            }
        }

        @media screen and (max-width: 580px) {
            h1, .h1, .legend {margin: auto}
            .block-header-logo {
                min-width: 100%;
                margin: 15px auto 15px;
            }
            .pane-main-title {
                max-width: 100%;
            }
            .pane-main-title p { font-size: 22px;}
            .eraberu-group h3,.eraberumail h3 {
                display: block;
                width: 100%;
                border: none;
            }
            .eraberu-group>label {
                width: 100%;
                margin-right: auto;
            }
            .eraberu-group>label:nth-child(3n+1) {
                margin-right: auto;
            }
        }
