
## 修正・統合済みの完全版CSS

```css
@charset "utf-8";

/* 全体の設定
---------------------------------------------------------------------------*/
@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);
@import url(https://fonts.googleapis.com/css?family=Merriweather);

html { 
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    background-color: #f5f5f5; /* 画面全体の左右の背景（薄いグレー） */
    font-size: 19px;
}

/* 全要素のサイズ計算を「パディングを含めた幅」にする */
* {
    box-sizing: border-box;
}

/* 記事コンテンツが表示される中央のエリア */
body {
    color: #000000;
    margin: 0 auto;            /* 左右の余白を自動調整して中央寄せ */
    padding: 0px;
    font-family: Hiragino Sans, Arial, sans-serif;
    background-color: #fff;    /* 記事の中身（画像や文字の後ろ）は真っ白 */
    font-size: 19px;           /* htmlのfont-sizeを基準にする */
    
    /* ★ここを追加：文字の行間を画像のようにゆったり空ける設定 */
    line-height: 1.8;          
    
    /* スマホサイズに横幅を固定する */
    width: 100%;
    max-width: 600px;          /* 600pxでガチッと固定 */
    
    /* 記事の左右にうっすら影をつけて立体感を出す */
    box-shadow: 0 0 10px rgba(0,0,0,0.1); 
}

/* 各種要素の余白リセット */
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure {
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   【最重要】すべての要素を強制的にbody（600px）の枠内に収める設定
   ========================================================================== */

/* bodyの中にある全要素の最大幅を親要素（600px）までに制限 */
body * {
    max-width: 100% !important;
}

/* 画像が横に引き伸ばされたり、はみ出したりするのを強制防止 */
img {
    width: 100% !important;     /* 常に親要素の幅いっぱいに広げる（自動縮小も兼ねる） */
    max-width: 100% !important; /* 絶対にはみ出させない */
    height: auto !important;    /* 縦横比を絶対に崩さない */
    display: block;             /* 画像の下に変な隙間ができるのを防ぐ */
    
    /* ★ここを変更：左右は中央寄せ、上下に添付画像のようなしっかりとした余白（約35px）を確保 */
    margin: 35px auto !important; 
    
    vertical-align: bottom;
}

/* 動画（videoタグやYouTubeのiframeなど）のサイズ最適化 */
video.no-top-space,
iframe.no-top-space {
    margin-top: 0px !important;
    margin-bottom: 35px !important;
}

video, iframe, embed, object {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    
    /* ★ここを変更：画像と同様に、上下にしっかりとした余白（約35px）を確保 */
    margin: 35px auto !important;
    display: block;
    
    /* 16:9に固定する命令を削除し、動画本来の縦横比を維持させる */
    aspect-ratio: auto !important; 
}

/* テキストやブロック要素が右にはみ出るのを防ぐ（自動改行させる） */
p, div, span, h1, h2, h3, h4, h5, h6 {
    word-break: break-all;      /* 長い英単語やURLがあっても強制改行 */
    white-space: normal !important; /* 横一列に並び続ける命令を解除 */
}

/* ==========================================================================
   その他のベース設定
   ========================================================================== */
input, textarea, select {
    font-size: 1em;
}

form {
    margin: 0px;
}

article, aside, canvas, details, figcaption, figure,
header, footer, main, menu, nav, section, summary {
    display: block;
}

em {
    font-style: normal;
}

/* header
---------------------------------------------------------------------------*/
header.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 600px; /* 全体幅に合わせて追従制限 */
    z-index: 10;
    background-color: #ffa500;
}

header.fixed .header-inner .logo {
    background-image: url(../images/logo.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 280px;
    height: 48px;
    margin: 0 auto;
}

header.fixed2 {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 600px; /* 全体幅に合わせて追従制限 */
    z-index: 10;
    background-color: #0075c2;
}

header.fixed2 .header-inner .logo {
    background-image: url(../images/logo.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 280px;
    height: 48px;
    margin: 0 auto;
}

header.fixed .header-inner .logo .logo-link,
header.fixed2 .header-inner .logo .logo-link {
    display: block;
}

header h1 {
    font-size: 12px;
}

/* 文字装飾・テキストカラー設定
---------------------------------------------------------------------------*/
.red-text    { color: red; font-size: 115%; font-weight: bold; }
.blue-text   { color: blue; font-size: 115%; font-weight: bold; }
.pink-text   { color: #FF3399; font-size: 115%; font-weight: bold; }
.black-text  { color: black; font-size: 115%; font-weight: bold; }
.orange-text { color: orange; font-size: 115%; font-weight: bold; }

/* 背景黄色つき */
.red-text2   { color: red; font-size: 115%; font-weight: bold; background-color: yellow; }
.blue-text2  { color: blue; font-size: 100%; font-weight: bold; background-color: yellow; }
.pink-text2  { color: #FF3399; font-size: 115%; font-weight: bold; background-color: yellow; }
.black-text2 { color: black; font-size: 115%; font-weight: bold; background-color: yellow; }

.red-text3   { color: red; font-size: 100%; font-weight: bold; background-color: yellow; }
.pink-text3  { color: #FF3399; font-size: 100%; font-weight: bold; background-color: yellow; }
.black-text3 { color: black; font-size: 100%; font-weight: bold; background-color: yellow; }

.red-text4   { color: red; font-size: 100%; font-weight: bold; }
.blue-text4  { color: blue; font-size: 100%; font-weight: bold; }
.pink-text4  { color: #FF3399; font-size: 100%; font-weight: bold; }
.black-text4 { color: black; font-size: 100%; font-weight: bold; }

/* 蛍光ペン（マーカー風） */
.red-text5 {
    color: #E60000;
    font-size: 21px;
    font-weight: bold;
    background: linear-gradient(transparent 60%, #ffff00 0%);
}

.black-text5 {
    color: black;
    font-size: 21px;
    font-weight: bold;
    background: linear-gradient(transparent 60%, yellow 0%);
}

.blue-text3 {
    display: inline !important;
    color: blue !important;
    font-weight: bold !important;
    background: linear-gradient(transparent 50%, #ffff00 50%) !important;
    line-height: 1.5;
}

/* マーカーアニメーション */
.black-text6 {
    color: black;
    font-size: 100%;
    font-weight: bold;
    background: linear-gradient(transparent 60%, yellow 60%);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    display: inline-block;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, background-size 0.8s ease-out;
}

.black-text6.show {
    opacity: 1;
    transform: translateX(0);
    background-size: 100% 100%;
}

@keyframes slideAndLine {
    0% {
        opacity: 0;
        transform: translateX(-30px);
        background-size: 0% 100%;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        background-size: 100% 100%;
    }
}

/* 旧仕様テキストユーティリティ */
.emphasis_txt { font-size:130%; line-height: 1.3em; font-weight: bold; }
.underline_txt { text-decoration: underline; font-weight: bold; }
.pr_txt { font-size:11px; color:#333333; }
.bold_txt { font-weight:bold; }
.small_txt { font-size:12px; }
.line_txt { background-color:#FFFF73; font-weight:bold; }
.bg_txt { font-weight:bold; background-color:#888; color:#FFF; }
.pink_txt { font-weight:bold; color:#FF007F; }
.red_txt { font-weight:bold; color:#ff4500; }
.yellow_txt { font-weight:bold; color:#fff100; }
.blue_txt { font-weight:bold; color:#0085B2; }
.big_txt { font-weight:bold; font-size:140%; }
.big_txt2 { font-weight:bold; font-size:120%; }
.big_txt4 { font-weight:bold; font-size:170%; }
.big_txt5 { font-weight:bold; font-size:125%; }
.small_blue_txt { color:#0085B2; font-size:12px; }
.small_red_txt { color:#FF0000; font-size:12px; font-weight:bold; }
.center { text-align:center; }
.text-hide { font: 0/0 a; color: transparent; text-shadow: none; background-color: transparent; border: 0; }
.example { font-size: 0.5em; vertical-align: top; }

/* 見出し・コンテンツレイアウト
---------------------------------------------------------------------------*/
h1 {
    font-size: 2em;
    color: #FFF;
    margin: 0.67em 0;
}

h2 {
    border-bottom: double 5px #0068b7;
}

h5 {
    border-bottom: double 5px #000080;
    font-size: 20px;
    letter-spacing: -0.01em;
    padding: 10px;
    line-height: 1.3;
}

h12.midashi1 {
    background: linear-gradient(transparent 70%, #a7d6ff 70%);
    font-size: 21px;
}

section#main {
    height: auto;
    width: 100%; /* 固定幅720pxをレスポンシブに修正 */
    margin: 20px auto;
    padding: 0 10px;
}

article {
    width: 100%;
    margin: 0 0 20px 0;
}

article h3, h7 {
    padding: 0.4em 0.5em;
    color: #494949;
    background: #f4f4f4;
    border-left: solid 10px #ff8c00;
    border-bottom: solid 3px #d7d7d7;
}

.h3_blue {
    padding: 0.4em 0.5em;
    color: #494949;
    background: #f4f4f4;
    border-left: solid 10px #0073a8;
    border-bottom: solid 3px #d7d7d7;
}

.box_content {
    padding: 0 10px;
    position: relative;
}

.main_img {
    display: block;
    border: 1px solid #b7b7b7;
}

.waku {
    border: solid #CCC 1px;
    box-sizing: border-box;
    padding: 10px;
    margin: 10px 0;
}

/* レイアウトボックス (img_rectangle等) */
.img_rectangle, .img_square, .img_square2 {
    width: 100%; /* はみ出し防止のため一律100%に適合 */
    margin: 10px auto;
    display: block;
    border: solid 1px #ddd;
}

div#double-rectangle { margin: auto; text-align: center; width: 100%; }
div#left-rectangle, div#right-rectangle { display: inline-block; padding: 10px; }
article.box { margin: 0 0 20px 0; }
.quotation { background-color: #eee; border-left: solid 8px #ddd; padding: 10px; box-sizing: border-box; }

/* 各種デザインコンポーネント (囲み枠・装飾・目次)
---------------------------------------------------------------------------*/
.boxred {
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #5d627b;
    background: white;
    border-top: solid 5px #5d627b;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.boxred p { margin: 0; padding: 0; }

.boxblue {
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #000000;
    background: #FFF;
    border: solid 3px #6091d3;
    border-radius: 10px;
}
.boxblue p { margin: 0; padding: 0; }

.boxblack {
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #000000;
    background: #FFF;
    border: solid 3px #000000;
    border-radius: 10px;
}
.boxblack p { margin: 0; padding: 0; }

/* 吹き出し風ボックス */
.box23 {
    position: relative;
    margin: 2em 0 2em 40px;
    padding: 8px 15px;
    background: #bbe2f1;
    border-radius: 30px;
}
.box23:before {
    content: "●";
    position: absolute;
    font-size: 15px;
    left: -30px;
    bottom: 5px;
    color: #bbe2f1;
}
.box23:after {
    content: "●";
    position: absolute;
    font-size: 23px;
    left: -18px;
    bottom: 2px;
    color: #bbe2f1;
}
.box23 p { margin: 0; padding: 0; }

/* チェックアイコン見出し */
h11 {
    position: relative;
    padding-left: 1.2em;
    line-height: 1.4;
}
h11:before {
    content: "✓";
    font-weight: 900;
    position: absolute;
    font-size: 1em;
    left: 0;
    top: 0;
    color: #5ab9ff;
}

/* 星評価 */
.star5_rating {
    position: relative;
    z-index: 0;
    display: inline-block;
    white-space: nowrap;
    color: #CCCCCC;
}
.star5_rating:before, .star5_rating:after { content: '★★★★★'; }
.star5_rating:after {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #ffcf32;
}
.star5_rating[data-rate="5"]:after { width: 100%; }

/* タイトル装飾 04 */
.heading04 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    text-align: center;
    margin: 40px auto;
    width: 100%;
}
.heading04::before, .heading04::after {
    content: '';
    flex-shrink: 0;
    width: 3px;
    height: 40px;
    background-color: #3fc1c9;
}
.heading04::before { margin-right: 30px; transform: rotate(-35deg); }
.heading04::after { margin-left: 30px; transform: rotate(35deg); }

/* 見出しタイトルリメイク (h9兼用) */
h9.heading04 { font-size: 26px; }

/* 目次設定 */
.toc-005 { margin-bottom: 30px; border-radius: 3px; }
.toc-005 div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 10px 0;
    background-color: #2589d0;
    color: #fff;
    font-weight: 600;
    font-size: 1.1em;
}
.toc-005 div::before {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4H21V6H8V4ZM3 3.5H6V6.5H3V3.5ZM3 10.5H6V13.5H3V10.5ZM3 17.5H6V20.5H3V17.5ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
    content: '';
}
.toc-005 ol { list-style-type: disc; margin: 0; overflow: hidden; background-color: #f2f2f2; }
.toc-005 > ol { padding: 1em 1em 1em 3em; }
.toc-005 ol ol { padding-left: 10%; }
.toc-005 li { padding: 5px 0; font-weight: 600; }
.toc-005 ol li { font-weight: 500; font-size: 1.2em; }
.toc-005 a { color: #333; text-decoration: none; }
.toc-005 a:hover { text-decoration: underline; }
a.anchor { display: block; padding-top: 70px; margin-top: -70px; }

/* 動く下向き矢印 */
.inulin_arrows *, .inulin_arrows *:before, .inulin_arrows*:after { box-sizing: border-box; }
.inulin_arrows {
    position: relative;
    display: flex;
    height: 60px;
    margin: 0em auto;
    justify-content: center;
    align-items: center;
}
.inulin_arrows .inulin_arrows {
    position: absolute;
    left: 50%;
    width: 60px;
    height: 10px;
    transform: scale(0.3);
    animation: arrow-move07 3s ease-out infinite;
    opacity: 0;
}
.inulin_arrows .inulin_arrows:first-child { animation: arrow-move07 3s ease-out 1s infinite; }
.inulin_arrows .inulin_arrows:nth-child(2) { animation: arrow-move07 3s ease-out 2s infinite; }
.inulin_arrows .inulin_arrows:before, .inulin_arrows .inulin_arrows:after {
    position: absolute;
    top: 0;
    width: 40%;
    height: 100%;
    content: '';
    border-radius: 2px;
    background: #2196f3;
}
.inulin_arrows .inulin_arrows:before { left: 2px; transform: skewY(10deg); }
.inulin_arrows .inulin_arrows:after { right: 2px; transform: skewY(-10deg); }

@keyframes arrow-move07 {
    25% { opacity: 0.6; }
    43.75% { transform: translateY(1em); opacity: 0.8; }
    62.5% { transform: translateY(2em); opacity: 1; }
    100% { transform: translateY(3em) scale(0.5); opacity: 0; }
}

/* タイトル見出し見出し枠 */
.allbox2 {
    position: relative;
    margin: 1.5em 0;
    padding: 0.5em 1em;
    border: solid 4px #0067c0;
}
.allbox2 .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 22px;
    background: #0067c0;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.allbox2 p { margin: 0; padding: 0; }

/* アンケート用選択ボタン設定 */
.example2 {
    display: flex;
    width: 100%;
}
.example2 label {
    display: block;
    width: 100%;
    background: #c8eac3;
    color: #000;
    padding: 10px;
    margin: 5px;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    cursor: pointer;
}
.example2 input:checked + label {
    background: #1a720d;
    color: #FFF;
}
.example2 input {
    display: none;
}

/* フルスクリーンベース背景色設定 */
.inner {
    width: 100%;
    margin: 0 auto;
}
.box2 {
    background-color: #ee7800;
    color: white;
    font-weight: bold;
    font-size: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto; /* はみ出し・スクロール崩れ防止で100vhから変更 */
    padding: 40px 0;
    margin: 0;
}

/* 汎用矢印アニメーション */
.cp_arrows {
    position: relative;
    display: flex;
    height: 200px;
    justify-content: center;
    align-items: center;
}
.cp_arrows .cp_arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 10px;
    opacity: 0;
}
.cp_arrows .cp_arrow:first-child { animation: arrow-move08 2s ease-in-out infinite; }
.cp_arrows .cp_arrow:nth-child(2) { animation: arrow-move08 2s 1s ease-in-out infinite; }
.cp_arrows .cp_arrow:before, .cp_arrows .cp_arrow:after {
    position: absolute;
    content: '';
    top: 0;
    width: 30px;
    height: 3px;
    background: #E91E63;
}
.cp_arrows .cp_arrow:before { left: 3px; transform: rotate(30deg); }
.cp_arrows .cp_arrow:after { right: 3px; transform: rotate(-30deg); }

@keyframes arrow-move08 {
    0% { opacity: 0; top: 40%;}
    70% { opacity: 1;}
    100% { opacity: 0;}
}

/* チャット・会話風吹き出し (スクロール・縮小完全防衛) */
.balloon5, .balloon6 {
    width: 100%;
    margin: 1.5em 0;
    display: flex;
    align-items: center;
    gap: 15px;
}
.balloon5 .faceicon img, .balloon6 .faceicon img {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}
.balloon5 .chatting, .balloon6 .chatting {
    flex: 1;
    min-width: 0;
}
.balloon5 .says {
    position: relative;
    display: inline-block;
    padding: 12px 20px;
    background: #cff2ff;
    border-radius: 15px;
    color: #000;
    font-weight: bold;
    word-break: break-all;
    z-index: 1;
}
.balloon5 .says::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -10px;
    margin-top: -10px;
    border-style: solid;
    border-width: 10px 12px 10px 0;
    border-color: transparent #cff2ff transparent transparent;
    z-index: 2;
}
.balloon6 { flex-direction: row-reverse; }
.balloon6 .chatting { text-align: right; }
.balloon6 .says {
    position: relative;
    display: inline-block;
    padding: 12px 20px;
    background: #eee;
    border-radius: 15px;
    color: #000;
    font-weight: bold;
    text-align: left;
    word-break: break-all;
    z-index: 1;
}
.balloon6 .says::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10px;
    margin-top: -10px;
    border-style: solid;
    border-width: 10px 0 10px 12px;
    border-color: transparent transparent transparent #eee;
    z-index: 2;
}

/* 見出し付きボックス 30 */
.box30 { margin: 2em 0; background: #f1f1f1; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22); }
.box30 .box-title { font-size: 1.2em; background: #5fc2f5; padding: 4px; text-align: center; color: #FFF; font-weight: bold; letter-spacing: 0.05em; }
.box30 p { padding: 15px 20px; margin: 0; }

.box27 { position: relative; margin: 2em 0; padding: 0.5em 1em; border: solid 3px #62c1ce; }
.box27 .box-title { position: absolute; display: inline-block; top: -27px; left: -3px; padding: 0 9px; height: 25px; line-height: 25px; font-size: 17px; background: #62c1ce; color: #ffffff; font-weight: bold; border-radius: 5px 5px 0 0; }
.box27 p { margin: 0; padding: 0; }

/* カルーセルスライダー */
.carousel-container { position: relative; width: 100%; margin: 0 auto; overflow: hidden; }
.carousel-track-container { height: 300px; }
.carousel-track { display: flex; padding: 0; margin: 0; list-style: none; transition: transform 0.5s ease-in-out; }
.carousel-slide { min-width: 100%; height: 100%; }
.content { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: white; }
.carousel-button { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; border: none; cursor: pointer; padding: 10px; }
.button-left { left: 10px; }
.button-right { right: 10px; }
.carousel-nav { display: flex; justify-content: center; padding: 10px 0; }
.indicator { width: 12px; height: 12px; border-radius: 50%; background: #ccc; margin: 0 5px; border: none; cursor: pointer; }
.indicator.current-indicator { background: #333; }

/* CVリンク・ボタン装飾
---------------------------------------------------------------------------*/
a { text-decoration: none; }
a.cv_link {
    display: block;
    width: 90%;
    margin: 25px auto;
    background-color: #0059B2;
    border-radius: 30px;
    text-align: center;
    padding: 15px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.4;
    color: #ffffff;
}
a.cv_bana { display: block; margin: 0 auto; background-color: #FFF; text-align: center; line-height: 1.4em; }

/* フローティング・固定フッターボタン */
.f_btn {
    width: 100%;
    max-width: 600px; /* 親幅と同じに制限 */
    position: fixed;
    z-index: 333;
    text-align: center;
    left: 50%;
    transform: translateX(-50%); /* 中央寄せを維持 */
    bottom: 70px;
    padding: 0;
}
.f_btn a { margin: 0 auto; }

/* footer
---------------------------------------------------------------------------*/
footer {
    width: 100%;
    text-align: center;
    background-color: #ffa500;
    clear: both;
    position: relative;
    padding: 15px 0;
    font-size: 14px;
    margin-top: 80px;
}
footer p, a[href="./manage.html"] { color: #FFF; }

.footer-container { background-color: #9e9e9e; padding: 10px 0; text-align: center; margin-top: 60px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 15px; }
.footer-list a { color: #ffffff; text-decoration: none; font-weight: bold; font-size: 12px; display: inline-block; }

#back_top_btn {
    color: #fff;
    background-color: #666;
    width: 50px;
    height: 50px;
    position: fixed;
    right: calc(50% - 280px); /* 600pxの枠線の端付近に配置されるよう調整 */
    bottom: 1%;
    line-height: 50px;
    font-size: 30px;
    border-radius: 10px;
    opacity: 0.8;
    z-index: 99;
}

/* 特殊アニメーション (キラッと光る・バウンド)
---------------------------------------------------------------------------*/
.reflection { display: inline-block; position: relative; overflow: hidden; }
.reflection:after {
    content: "";
    height: 100%;
    width: 30px;
    position: absolute;
    top: -180px;
    left: 0;
    background-color: #fff;
    opacity: 0;
    transform: rotate(45deg);
    animation: reflection 2s ease-in-out infinite;
}

@keyframes reflection {
    0% { transform: scale(0) rotate(45deg); opacity: 0; }
    80% { transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { transform: scale(4) rotate(45deg); opacity: 1; }
    100% { transform: scale(50) rotate(45deg); opacity: 0; }
}

.bound { animation: 2s 0s bound linear infinite; }
@keyframes bound {
    79%, 90%, 97%, 100% { transform: translate(0); }
    85% { transform: translateY(-35px); }
    94% { transform: translateY(-4px); }
    99% { transform: translateY(-2px); }
}

/* レスポンシブ・各種環境バグ修正用メディアクエリ
---------------------------------------------------------------------------*/
@media screen and (max-width: 760px) {
    section#main { margin: 10px auto; padding: 0 5px; }
    article { width: auto; margin: 10px 0; }
    article h3 { font-size: 150%; line-height: 1.5em; padding: 10px 0 10px 10px; margin-bottom: 10px; }
    article p { font-size: 15px; line-height: 1.6em; margin: 20px 0; }
    .main_img { width: 99%; margin: 15px auto; }
    h2 { font-size: 22px; letter-spacing: -0.01em; padding: 10px; line-height: 1.3; }
    a.cv_link { width: 95%; height: auto; padding: 15px 0; margin: 25px auto; }
}

@media (min-width: 768px) {
    .footer-container { margin-top: 80px; }
}

/* 未使用レガシーコードのClearfix */
.clearfix:after { content: "."; display: block; clear: both; height: 0; visibility: hidden; }
.clearfix { min-height: 1px; }

```



<style>
/* ==========================================
   完全独立型・チャットバルーン（imgタグ・高さ完全一致版）
   ========================================== */

/* 全体の行（他からの干渉を完全にリセット） */
.m-balloon-block-left,
.m-balloon-block-right {
  display: block !important;
  width: 100% !important;
  margin-top: 15px !important;    /* ★上のチャットとの隙間を15pxに拡大 */
  margin-bottom: 15px !important; /* ★下のチャットとの隙間を15pxに拡大 */
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  clear: both !important;
}

.m-balloon-block-right {
  text-align: right !important; /* 右側は全体を右寄せ */
}

/* --- アイコンを入れる絶対崩れない外箱（55pxの正方形・上揃え） --- */
.m-balloon-avatar-box {
  display: inline-block !important;
  vertical-align: top !important; /* ★ここでチャットの頭と高さを100%揃える */
  width: 55px !important;
  height: 55px !important;
  min-width: 55px !important;
  min-height: 55px !important;
  max-width: 55px !important;
  max-height: 55px !important;
  border-radius: 50% !important;
  overflow: hidden !important;    /* はみ出た画像を丸くカット */
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  background: #f0f0f0 !important;
}

/* --- 中の img タグ（ビヨンドのJSによるワープ・縮小を完全防止） --- */
.m-balloon-avatar-box img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;    /* 以前上空へ飛んでいった原因の命令を拒否 */
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;  /* 縦横比を保ったまま綺麗に収める */
  border-radius: 50% !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* --- 吹き出し本体（左側用：横幅に10pxの隙間を確保） --- */
.m-balloon-bubble-left {
  display: inline-block !important;
  vertical-align: top !important; /* ★ここでアイコンの頭と高さを100%揃える */
  margin: 0 0 0 10px !important;  /* アイコンとの間隔を10pxに固定 */
  text-align: left !important;
  width: auto !important;
  max-width: 65% !important;
  min-height: 27px !important;
  padding: 8px 14px !important;
  border-radius: 22px !important;
  position: relative !important;
  box-sizing: border-box !important;
  background: #baeaff !important; 
  box-shadow: 2px 2px 3px 0px #cccccc !important;
}

/* --- 吹き出し本体（右側用：横幅に10pxの隙間を確保） --- */
.m-balloon-bubble-right {
  display: inline-block !important;
  vertical-align: top !important; /* ★ここでアイコンの頭と高さを100%揃える */
  margin: 0 10px 0 0 !important;  /* アイコンとの間隔を75pxに固定 */
  text-align: left !important;
  width: auto !important;
  max-width: 65% !important;
  min-height: 27px !important;
  padding: 8px 14px !important;
  border-radius: 22px !important;
  position: relative !important;
  box-sizing: border-box !important;
  background: #baeaff !important; 
  box-shadow: 2px 2px 3px 0px #cccccc !important;
}

/* --- 吹き出しのしっぽ（左側） --- */
.m-balloon-bubble-left:before {
  border-right: 12px solid #baeaff !important;
  border-right-color: #baeaff !important;
  left: -13px !important;
  border-top-right-radius: 100% !important;
  transform: rotate(285deg) !important;
  width: 24px !important;
  height: 18px !important;
  top: 10px !important;
  content: '' !important;
  position: absolute !important;
  box-sizing: border-box !important;
}

/* --- 吹き出しのしっぽ（右側） --- */
.m-balloon-bubble-right:before {
  border-left: 12px solid #baeaff !important;
  border-left-color: #baeaff !important;
  right: -13px !important;
  border-top-left-radius: 100% !important;
  transform: rotate(75deg) !important;
  width: 24px !important;
  height: 18px !important;
  top: 10px !important;
  content: '' !important;
  position: absolute !important;
  box-sizing: border-box !important;
}

/* --- テキスト装飾 --- */
.m-balloon-text p {
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.4 !important;
  color: #333333 !important; 
}
</style>

/* --- 隙間 --- */
.small-space {
  display: block;      /* 隙間を作るためにブロック要素化 */
  height: 15px;         /* 隙間の高さを指定（brより狭く） */
  content: "";         /* 空白を維持 */
}

/* ==========================================================================
   【例外設定】画像の直後に .pr_txt が来る場合の余白最適化
   ========================================================================== */

/* 画像の直後に .pr_txt がある場合、画像の margin-bottom を強制的に 5px まで縮小 */
img + .pr_txt,
img + * .pr_txt {
    margin-top: -30px !important; /* 35px空いてしまう隙間を上に引き戻す */
    position: relative;
    z-index: 1;
}

/* .pr_txt 自体の上下余白をリセットし、画像に自然に寄り添うように調整 */
.pr_txt {
    display: block !important;
    text-align: right;         /* 右寄せ画像に合わせる */
    margin-top: 5px !important;  /* 画像との最小限の隙間 */
    margin-bottom: 8px !important; /* 次の本文テキストとの隙間 */
}


/* 動画の直後に .pr_txt がある場合、動画の margin-bottom を強制的に 5px まで縮小 */
video + .pr_txt,
video + * .pr_txt {
    margin-top: -30px !important; /* 35px空いてしまう隙間を上に引き戻す */
    position: relative;
    z-index: 1;
}

/* .pr_txt 自体の上下余白をリセットし、画像に自然に寄り添うように調整 */
.pr_txt {
    display: block !important;
    text-align: right;         /* 右寄せ画像に合わせる */
    margin-top: 1px !important;  /* 画像との最小限の隙間 */
    margin-bottom: 1px !important; /* 次の本文テキストとの隙間 */
}

/* ==========================================================================
   アンケートコンポーネント（PC画像見切れ＆クリック反応バグ修正版）
   ========================================================================== */

/* ==========================================================================
   アンケートコンポーネント（％表示・結果エリアなし・シンプル色変え版）
   ========================================================================== */

.survey-wrap { 
    font-family: Hiragino Sans, Arial, sans-serif; 
    width: 100%;
    max-width: 600px !important; /* PCでの広がりすぎを防止 */
    margin: 35px auto !important;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: #fff;
}

/* 設問ラベル */
.survey-q-label {
    background: #e0262a;
    color: #fff;
    font-size: 19px;
    font-weight: bold;
    padding: 16px 20px;
    line-height: 1.5;
}

/* アンケート内のコンテンツエリアの左右余白を確保 */
.survey-options {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* 画像エリア */
.survey-image-wrap {
    position: relative;
    width: 100%;
    background: #f5f5f5;
    overflow: hidden;
    max-height: none !important; 
}

.survey-image-wrap img { 
    width: 100% !important; 
    max-width: 100% !important;
    height: auto !important;
    display: block !important; 
    object-fit: contain !important;
    margin: 0 !important;
}

.survey-caption {
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: 13px;
    color: #fff;
    background: rgba(0,0,0,0.6);
    padding: 3px 8px;
    border-radius: 2px;
}

/* 選択肢の並び */
.survey-options { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    padding-top: 20px;
    padding-bottom: 20px; /* 下部余白 */
}

/* 選択肢ボタン単体 */
.survey-option {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid #e0262a;
    border-radius: 30px;
    padding: 14px 24px;
    cursor: pointer;
    background: #fff !important;
    font-size: 17px;  
    font-weight: bold;
    color: #000 !important;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.4;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
    -webkit-tap-highlight-color: rgba(224, 38, 42, 0.1);
}

/* PCでのマウスホバー時 */
.survey-option:hover { 
    background: #fff0f0 !important; 
    transform: translateY(-1px);
}

/* 押した瞬間 */
.survey-option:active {
    background: #ffe5e5 !important;
    transform: translateY(1px);
}

/* 【重要】選択された状態（JavaScript連動） */
.survey-option.selected {
    background: #e0262a !important;
    color: #fff !important;
    border-color: #e0262a !important;
    transform: none !important;
}

.survey-option .num {
    font-weight: bold;
    min-width: 20px;
    font-size: 17px;
    color: #e0262a; /* 通常時は数字も赤 */
}

/* 選択された状態の数字の文字色 */
.survey-option.selected .num { 
    color: #fff !important; 
}
/* 結果表示エリア（最初は非表示、JSでshowがつくと表示） */
.survey-result {
    display: none;
    padding-top: 25px;
    padding-bottom: 25px;
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    border-top: 1px solid #ddd;
}
.survey-result.show { 
    display: block !important; 
}

/* グラフレイアウト */
.bar-row { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    margin-bottom: 12px; 
}
.bar-label { 
    font-size: 15px; 
    color: #000; 
    min-width: 140px; 
    line-height: 1.4; 
    font-weight: bold;
}
.bar-track { 
    flex: 1; 
    height: 14px; 
    background: #f0f0f0;
    border-radius: 7px; 
    overflow: hidden; 
}
.bar-fill { 
    height: 100%; 
    background: #e0262a; 
    border-radius: 7px; 
    width: 0; /* JS実行前に一瞬 0 にしてアニメーションを際立たせる */
    transition: width 0.8s cubic-bezier(0.1, 1, 0.1, 1); /* グラフが伸びるアニメーション */
}
.bar-pct { 
    font-size: 14px; 
    color: #333; 
    min-width: 40px; 
    text-align: right; 
    font-weight: bold;
}
.result-note { 
    font-size: 13px; 
    color: #666; 
    margin-top: 15px; 
    line-height: 1.5;
}



/* ==========================================================================
   フッター下の謎の空白を消去する修正
   ========================================================================== */
footer, .footer, [class*="footer"] {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* フッター内（またはフッター以降）にある画像やパーツの強制余白をリセット */
footer img, .footer img, [class*="footer"] img, 
footer + *, .footer + * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 万が一、フッター直下にトラッキング用の見えない画像がある場合の対策 */
body > img:last-of-type, 
body > div:last-child img {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* 1. 初期状態：FV動画より下のメインコンテンツを非表示（透明・操作不可）にする */
.wait-for-fv {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* 少し下から浮き上がるアニメーション用 */
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
}

/* 2. 動画の準備ができたらクラスを追加して滑らかに表示 */
.fv-ready .wait-for-fv {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 3. 動画読み込み中のプレースホルダー（動画の枠を先に確保してガタつきを防ぐ） */
.fv-video-container {
    width: 100%;
    max-width: 600px;
    margin: 35px auto !important;
    background: #f0f0f0; /* 動画が映る前の薄いグレー背景 */
    position: relative;
    min-height: 250px; /* 動画のおおよその最小高さを指定しておくと親切です */
}



/* ==========================================================================
   【FV動画専用】読み込み完了前の下部コンテンツ非表示制御
   ========================================================================== */

/* 初期状態：動画より下にあるコンテンツを完全に非表示（透明＋操作不可）にする */
.wait-for-fv-video {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* 下からふわっと浮き上がるアニメーション */
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
}

/* 動画の準備が整ったら、クラスを付与して滑らかに表示させる */
.fv-video-ready .wait-for-fv-video {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 1. 外枠は元の中央揃えの記述に戻す */
.fv-video-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto !important; /* 元の記述に戻す */
    background: #ffffff;
}

/* 2. ★ここを追加・修正：videoタグの上下余白をどちらも「0」にする */
video.no-top-space {
    margin-top: 0px !important;    /* これで上の余白が消える */
    margin-bottom: 0px !important; /* ★ここを追加！これで下の余白も消えます */
}



/* ==========================================================================
   見出しバナー
   ========================================================================== */

.sugoi-banner {
  background-color: #e0041d;
  color: #FFFFFF;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.sugoi-banner::before,
.sugoi-banner::after {
  content: "▼";
  color: white;
  font-size: 28px;
}


/* ==========================================================================
   画像エラー
   ========================================================================== */
img:not([src]) {
    display: none;
}