CINXE.COM
トヨタ お客様相談センター 手話通訳サービス
<!DOCTYPE HTML> <html lang="ja"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" /> <meta name="format-detection" content="telephone=no"> <title> トヨタ お客様相談センター 手話通訳サービス </title> <meta name="Description" content="" /> <meta name="Keywords" content="" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <link rel="stylesheet" href="https://plusvoice.jp/p/main.css"> <link rel="stylesheet" href="https://plusvoice.jp/p/cc/css/standard.css"> <style> .disabled { pointer-events: none; } .btn_design_plus { line-height: 36px; } @media (max-width: 572.98px) { .btn_design_plus { line-height: 15px; } } .btn_red{ background-color:#ff8888; } .btn_red:hover{ background-color:#ffffff; color:#ff8888; } </style> </head> <body> <header class="header"><img src="https://plusvoice.jp/p/img/PVRTC_logo.png" width="156px" height="82px"></header> <div class="content"> <div class="base"> <div class="title tcenter">ご利用ありがとうございます<br> <span class="h2title"><span class="nw"> トヨタ </span><span class="nw">お客様相談センター</span><span class="nw"> 手話通訳サービス </span><br></span><span class="nw">のご利用窓口です。</span> </div><br> <span class="gray nw">以下のボタンを押すと</span><span class="gray nw">通訳センターにつながります。</span> <div class="btn_base"> <p><a style="white-space: nowrap;" href="https://pvrtc.plusvoice.co.jp/ocl/YN7q4zLRNCUG4sldgQsONnaCLHqy1NS2LHjq_2F95sjpg_3D/every/sl" class="btn_design btn_design_plus" onclick="callMp3();">通話開始</a></p> </div> </div> </div> <audio id="clickSound" src="/common/_sound/click.mp3" preload="auto" /> <footer class="footer">©2020 PLUSVoice</footer> </body> <script> function setBtnFontSize() { // すべてのボタンからフォントサイズを計算 const buttons = document.querySelectorAll(".btn_design"); let maxWidth = 0; let maxLength = 0; //2度押し防止 buttons.forEach((button) => { button.addEventListener('click', function() { buttons.forEach((button) => { button.classList.add('disabled'); }); }); maxWidth = Math.max(maxWidth, button.offsetWidth); maxLength = Math.max(maxLength, button.innerText.length); }); const fontSize = Math.min(45, Math.floor(maxWidth * 0.8 / maxLength) - 1); buttons.forEach((button) => { button.style.setProperty('font-size', `${fontSize}px`, 'important'); }); } // 初期化時 window.onload = function() { setBtnFontSize(); }; // ウィンドウサイズが変更された時 window.addEventListener("resize", function() { setBtnFontSize(); }); //ボタンクリック時、音を鳴らす(iOSでも鳴るように修正) function callMp3() { var audio = document.getElementById("clickSound"); audio.play(); } </script> </html>