/*--------------------------------------------------------------*/
/*								*/
/*--------------------------------------------------------------*/
html {
    line-height: 1.4; /* 1 */
    -ms-text-size-adjust: 100%; /* 2 */
    -webkit-text-size-adjust: 100%; /* 2 */
    margin:0;
    padding:0;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}
:root {
    --primary-color: #574676;
    --secondary-color: #E63888;
    --primary-color-alpha: rgb(87, 70, 118, 0.5);
    --primary-color-alpha2: rgb(87, 70, 118, 0.2);
    --secondary-color-alpha: rgb(230, 56, 136, 0.5);
    --tertiary-color:#F6CED4;
    --tertiary-color-alpha: rgb(246, 206, 212, 0.5);
    --caution-color:#cb473e;	/* 赤 */
    --yellow-color:#fef263;
    --yellow-color-alpha:rgba(254,242,99,0.7);/*#fef263;*/
}
/*--------------------------------------------------------------*/
/*								*/
/*--------------------------------------------------------------*/
body {
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    font-family: 'Noto Sans JP', sans-serif;    
    overflow-x: hidden; /* 横スクロールを無効にする */
    margin: 0;
    padding: 0;
    text-align:center;
    color:#666;
    overflow-x: hidden;
}

.stick-regular {
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
/*  font-family: "Stick", sans-serif;*/
    font-weight: bold;
    font-style: normal;
}

.font_v{
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}
.font-gothic{
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

ul{
    padding:0;
    margin:0;
}

a:focus { outline:none;}
a {
    color:#444;
    text-decoration:none;		/*リンクの下線を無くす*/
    transition: 0.3s;
}
a:hover {
    color:#c44;
}

img {
    border-style:none;
    vertical-align: bottom;
}
h1,h2,h3,h4,h5,h6{
    padding:0;
    margin:0;
}

h1 {
    font-weight: bold;
    font-style: normal;
    color: #444; /* 文字色を白に設定 */
    font-size:30px;
    display:inline-block;
    padding:0 10px;
    border-bottom:10px solid var(--primary-color-alpha);
}
h1.primary {
    color: #fff; /* 文字色を白に設定 */
    border-bottom:4px solid var(--secondary-color);
}

h1.block{
    display:block !important;
}

h2 {
    font-weight: bold;
    font-style: normal;
    font-size:20px;
    position: relative;
    padding: 10px 20px;
    margin-bottom:10px;
    background-color:var(--primary-color);
    color:#fff;
}
h2.secondary{
    background-color:var(--secondary-color);
}
h2.yellow{
    background-color:var(--yellow-color);
    color:#444;
}
h2.white{
    background-color:#fff;
    color:var(--secondary-color);
}

h1{
    padding:0;
}
h3{
    display:inline-block;
    border-bottom:5px solid var(--primary-color-alpha);
    font-size:18px;
    color:#444;
    padding:0 10px;
}
h3.white{
    border-bottom:4px solid var(--primary-color);
    color:#fff;
}

h4 {
    font-size:20px;
    position: relative;
    padding: 10px;
    background: var(--yellow-color);
    color:var(--primary-color);
}

h5 {
    display:inline-block;
    font-size:18px;
    padding: 5px;
    border-bottom:4px solid var(--secondary-color-alpha);
    margin-bottom:5px;
}
h5.primary {
    background-color:var(--primary-color);
}
h5.caution {
    background-color:var(--caution-color);
}

h6{
    background-color:var(--primary-color-alpha);
    padding:10px;
    font-size:16px;
    color:#fff;
    font-weight:normal;
}
h7{
    display:block;
    font-size:20px;
    color:#fff;
    font-weight:bold;
    border-bottom:2px solid #fff;
    margin-bottom:5px;
}
h7.pink{
    color:#7a4171;
    border-bottom:2px solid #7a4171;
}
h8{
    display:block;
    font-size:20px;
    color:#222;
    font-weight:bold;
}
table{
    table-layout: fixed;
    word-break: break-all;
    border:none;
    border-spacing: 0;
    padding:0;
    margin:0 auto;
}
table th{
    border-right:1px solid #eee;
    border-bottom:1px solid #eee;
    padding:10px;
    background-color: var(--primary-color-alpha);
    color:#fff;
}
table td{
    border-bottom:1px solid #eee;
    padding:10px;
}
table.noborder td{
    border-bottom:0;
    padding:10px;
}


.pc-only{
    display:inline !important;
}
.sp-only{
    display:none !important;
}
.textput{
    text-align:center;
}
.cdatan{ 
  display:none;
}
.mar-b10{
    margin-bottom:10px;
}
.mar-r10{
    margin-right:10px;
}
.pad-0-5{
    padding:0 5px;
}
.pad-0-10{
    padding:0 10px;
}
.pad-0-10-10{
    padding:0 10px 10px 0;
}
.pad-0-10-0-0{
    padding:0 10px 0 0;
}
.pad-2{
    padding:2px;
}
.pad-5{
    padding:5px;
}
.pad-15{
    padding:15px;
}
.pad-5-0{
    padding:5px 0;
}
.pad-2{
    padding:2px;
}
.pad-5-10{
    padding:5px 10px;
}
.pad-0-20{
    padding:0 20px;
}
.pad-0-20-20{
    padding:0 20px 20px;
}
.pad-10{
    padding:10px;
}
.pad-20{
    padding:20px;
}
.pad-20-0{
    padding:20px 0;
}
.pad-20-10{
    padding:20px 10px;
}
.pad-20-40{
    padding:20px 40px;
}
.pad-20-80{
    padding:20px 80px;
}
.pad-0-20-20-80{
    padding:0px 20px 20px 80px;
}
.pad-0-40{
    padding:0 40px;
}
.pad-40{
    padding:40px;
}
.pad-40-40-40-0{
    padding:40px 40px 40px 0;
}
.pad-40-60{
    padding:40px 60px;
}
.pad-40-80{
    padding:40px 80px;
}
.pad-40-0{
    padding:40px 0px;
}
.pad-0-0-0-40{
    padding:0 0 0 40px;
}
.pad-40-20{
    padding:40px 20px;
}
.pad-5-10{
    padding:5px 10px;
}
.pad-5-20{
    padding:5px 20px;
}
.pad-10-0{
    padding:10px 0px;
}
.pad-10-20{
    padding:10px 20px;
}
.pad-20-0{
    padding:20px 0px;
}
.pad-80{
    padding:80px;
}
.pad-50{
    padding:41px;
}
.pad-80-40{
    padding:80px 40px;
}
.align-c{
    text-align:center;
}
.align-r{
    text-align:right;
}
.align-l{
    text-align:left;
}
.clearfix{
    clear: both;
}
.floatl{
    float:left;
}
.floatr{
    float:right;
}
.floatl25{
    float:left;
    width:25%;
}
.floatl75{
    float:left;
    width:75%;
}
.floatl35{
    float:left;
    width:35%;
}
.floatl65{
    float:left;
    width:65%;
}
.floatl70{
    float:left;
    width:70%;
}
.floatl30{
    float:left;
    width:30%;
}
.floatl50{
    float:left;
    width:50%;
}
.floatr50{
    float:right;
    width:50%;
}
.floatr30{
    float:right;
    width:30%;
}
.floatl10{
    float:left;
    width:10%;
}
.floatl90{
    float:left;
    width:90%;
}
.floatl70{
    float:left;
    width:70%;
}
.floatl30{
    float:left;
    width:30%;
}
.floatl80{
    float:left;
    width:80%;
}
.floatl20{
    float:left;
    width:20%;
}
.floatl33{
    float:left;
    width:33.333333333333%;
}
.floatl40{
    float:left;
    width:40%;
}
.floatl60{
    float:left;
    width:60%;
}

.flex-container {
    display: flex;
    flex-wrap: wrap; /* スマホで縦に並べるために必須 */
    gap: 20px;       /* 要素間の余白（任意） */
    padding: 20px;
}
.flex20{
    width: calc(20% - 10px);
}
.flex30{
    width: calc(30% - 10px);
}
.flex40{
    width: calc(40% - 10px);
}
.flex50{
    width: calc(50% - 10px);
}
.flex60{
    width: calc(60% - 10px);
}
.flex70{
    width: calc(70% - 10px);
}
.flex80{
    width: calc(80% - 10px);
}


.bgfff{
    background-color:#fff;
}
.bgw{
    background-color:rgba(255,255,255,0.6);
}
.bgeee{
/*    background-color:rgba(213,196,207,0.1);*/
    background-color:rgba(0,154,163,0.05);
}
.bg_primary{
    background-color:var(--primary-color);
    color:#fff;
}
.bg_primary a{
    color:#fff;
}
.bg_pink{
    background-color:#eebbcb;
    color:#7a4171;
}
.bg_secondary{
    background-color:var(--secondary-color);
}
.bg_secondary_a{
    background-color:#2f87c9 ;
}
.bg_yellow{
    background-color:var(--yellow-color);
}
.parent,	/* 親 */
.pos-rel{	/* 親 */
    position: relative;
}
.child,	/* 子 */
.pos-abs{	/* 子 */
    position: absolute;
    top:0;
    left:0;
    width:100%;
}
.child-c{	/* 子 */
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
}
.child-top100{	/* 子 */
    top:200px;
    left:50%;
    transform: translateX(-50%);
}
.child-bottom100{	/* 子 */
    position: absolute;
    bottom:50px;
    left:50%;
    transform: translateX(-50%);
}

.mask{
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
.wid100p{
    width:100%;
}
.wid1080{
    max-width:1080px;
    margin:0 auto;
}
.wid1080 img{
/*    max-width:100%;*/
}
.wid1000{
    max-width:1000px;
    margin:0 auto;
}
.wid920{
    max-width:920px;
    margin:0 auto;
}
.wid820{
    max-width:820px;
    margin:0 auto;
}
.wid780{
    max-width:780px;
    margin:0 auto;
}
.wid720{
    max-width:720px;
    margin:0 auto;
}
.wid640{
    max-width:640px;
    margin:0 auto;
}
.wid500{
    max-width:500px;
    margin:0 auto;
}
.wid540{
    max-width:540px;
    margin:0 auto;
}
.wid480{
    max-width:480px;
    margin:0 auto;
}
.wid320{
    max-width:320px;
    margin:0 auto;
}
.wid80{
    width:80%;
    margin:0 auto;
}
.wid70{
    width:70%;
}
.wid50{
    width:50%;
    margin:0 auto;
}
.wid20p{
    width:20%;
}
.p30{
    width:30%;
}
.p20{
    width:20%;
}
.p15{
    width:15%;
}
.p10{
    width:10%;
}
.p12{
    width:12%;
}
.rot5p {
  transform: rotate(5deg);
}
.rot5m {
  transform: rotate(-5deg);
}
.rot3p {
  transform: rotate(3deg);
}
.rot3m {
  transform: rotate(-3deg);
}
.rot1p {
  transform: rotate(1deg);
}
.rot1m {
  transform: rotate(-1deg);
}
.child-center{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);    
}

.button.mini{
    display: inline-block;
    border-radius: 10px;
    padding:10px 20px;
    margin-left:10px;
    background-color:var(--tertiary-color-alpha);
    color:var(--primary-color);
}
.button{
/*    display: inline-block;*/
/*    font-family: "Stick", sans-serif;*/
    font-weight: bold;
    font-style: normal;
    padding:20px;
    transition: 0.3s;
    cursor: pointer;
    color:#fff;
    font-size:20px;
    background-color:var(--primary-color-alpha);
    border-radius: 5px;
}
.button:hover{
    background-color:var(--secondary-color-alpha);
}
.button.gray{
    background-color:#c0c6c9;
}
.button.gray:hover{
    background-color:#888084l;
}
.button.cgray{
    background-color:#ccc;
    color:#444;
}
.button.pink{
    background-color:#eebbcb;
    color:#7a4171;
}
.button.purple{
    background-color:#7a4171;
    color:#fff;
}
.button.cbule{
    background-color:#007bbb;
    color:#fff;
}
.button.cbule2{
    background-color:#165e83;
    color:#fff;
}
.button.cyel{
    background-color:#ffdb4f;
    color:#0f2350;
}
.button.cyel:hover{
    background-color:#f8e58c;
}
.button.skew{
    -webkit-transform: skew(-3deg);
    transform: skew(-3deg);
}
.button.cgreen{
    background-color:#00a381;
    color:#fff;
}
.button.cgreen:hover{
    background-color:#02c3a1;
}
.button.cred{
    background-color:var(--caution-color);
    color:#fff;
}


.button.white{
/*    display: inline-block;*/
/*    font-family: "Stick", sans-serif;*/
    font-weight: 400;
    font-style: normal;
    padding:20px;
    transition: 0.3s;
    cursor: pointer;
    color:#fff;
    font-size:20px;
    background-color:var(--primary-color);
}
.button.white:hover{
    background-color:#fff;
    color:var(--primary-color);
}
.button_yellow{
    padding:20px;
    transition: 0.3s;
    cursor: pointer;
    color:var(--primary-color);
    font-size:20px;
    background-color:var(--yellow-color);
}
.button_yellow:hover{
    background-color:#fff;
    color:var(--primary-color);
}
.button2{
    padding:20px;
    transition: 0.3s;
    cursor: pointer;
    background-color:#d9333f;
    color:#fff;
    font-size:20px;
    animation: bounceAndMove 1s infinite;
}
.button2:hover{
    background-color:#68699b;
}

.button3{
    background: #98d98e;
    width: 320px;
    color:#fff;
    font-size:20px;
    position: relative;
}
.button3:before,
.button3:after{
    width: calc(100% - 20px);
    height: 0;
    display: block;
    position: absolute;
    left: 0;
    content: "";
}
.button3:before{
    border-bottom: solid 20px #98d98e;
    border-right: solid 20px transparent;
    bottom: 100%;
}
.button3:after{
    border-top: solid 20px #98d98e;
    border-left: solid 20px transparent;
    top: 100%;
}


.border1-top{
    border-top:1px solid #888;
}
.border1-bottom{
    border-bottom:1px solid #ccc;
}
.border1{
    border:2px dotted var(--primary-color);
}
.border1-ccc{
    border:1px solid #ccc;
    border-radius: 10px;
    padding:20px;
    margin-bottom:10px;
}
.border1-fff{
    border:1px solid #fff;
    border-radius: 0px;
}
.border1-f00{
    border:1px solid var(--primary-color);
    border-radius: 0px;
}
.border1-box{
    border:1px solid #ccc;
    border-radius: 2px;
}
.fs-50{
    font-size:50px;
}
.fs-40{
    font-size:40px;
}
.fs-34{
    font-size:34px;
}
.fs-30{
    font-size:30px;
}
.fs-28{
    font-size:28px;
}
.fs-26{
    font-size:26px;
}
.fs-24{
    font-size:24px;
}
.fs-20{
    font-size:20px;
}
.fs-18{
    font-size:18px;
}
.fs-16{
    font-size:16px;
}
.fs-14{
    font-size:14px;
}
.fs-12{
    font-size:12px;
}
.fw-bold{
    font-weight:bold;
}
.col-black{
    color:#444;
}
.col-white{
    color:#fff;
}
.col-yellow{
    color:#ffec47;/*ac962c;*/
}
.col-primary{
    color:var(--primary-color);
}
.col-r{
    color:#cb473e;/*e45e32;*/
}
.col-money{
    color:var(--yellow-color);
}
.col-money2{
    color:#ee7800;
}
.col-EC7AA1{
    color:#EC7AA1;
}
.col-00afcc{
    color:#00afcc;
}
.col-primary{
    color:var(--primary-color);
}
.col-secondary{
    color:var(--secondary-color);
}
img.img100{
    object-fit: cover;
    width:100%;
}
.col-00a269{
    color:#00a269;
}
.rad-rd{
    border-radius:0 0 20px 0;
}
.border-b-org{
    border-bottom:4px dotted #f6ad49;
}
.no-wrap {
    white-space: nowrap;
}
.normal-wrap {
    white-space: normal; /* 通常の折り返しルールに従う */
    word-break: keep-all; /* 単語の途中での折り返しを防ぐ */
    overflow-wrap: anywhere;   /* Safari 13+ / Firefox 72+ */
    line-break: strict;        /* 日本語禁則を優先 */
}
.text-container {
    width: 100%; /* または任意の幅 */
    word-wrap: break-word; /* 長い単語も折り返し */
}
.scrollable-table-container {
    overflow-x: auto;
}
.scroll-toast {
    display: none; /* デフォルトでは非表示 */
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.border4red{
    border:4px solid var(--caution-color);
}


li {
  list-style-type: disc; /* マーカーを「・」に設定 */
}
#page-top {
    position: fixed;
    bottom: 80px;
    right: -10px;
    z-index:100;
    width: 100px; /* 画像の幅を調整 */
    height: 100px; /* 高さは自動調整（アスペクト比を保持） */
    z-index: 9999; /* 他の要素よりも手前に表示 */
    background-color: var(--primary-color-alpha);
    border: 4px solid white;
    font-weight: bold; /* 太さを調整 */
    color:#fff;
    display: flex;
    justify-content: center; /* 横方向に中央配置 */
    align-items: center; /* 縦方向に中央配置 */
    transition: transform 0.3s ease;
}
#page-top:hover {
    transform: scale(1.2); /* ホバー時のスケール（例: 1.5倍に拡大） */
}
#page-top a{
    color:#fff;
}

.policy .num ul {

}
.policy .num ul li{
    list-style-type: decimal;
}
.policy .num ul li::before {
    margin-right: 5px; /* 「・」とテキストの間に少しスペースを追加 */
}
.ib{
    display: inline-block;
}
.d-b{
    display: block;
}

.parallelogram {
  width: 100%;
  height: 200px;
  margin-right:5px;
  background-color: #3498db; /* 色を指定 */
  transform: skew(-10deg); /* 20度傾ける */
  margin: 50px auto;
  transition: transform 0.3s ease, z-index 0s; 
  z-index: 1; 
}
.parallelogram:hover {
    transform: skew(-10deg) scale(1.2); /* skewを維持したまま1.2倍にスケール */
    z-index: 10;
}
.parallelogram.s2nd{
  background-color: #ec6800; /* 色を指定 */
}
.parallelogram.s3rd{
  background-color: #82ae46; /* 色を指定 */
}

.parallelogram h6{
    margin:0 0 10px;
}
.parallelogram-re {
    padding:20px 30px 20px 10px;
    transform: skew(10deg); /* 20度傾ける */
}
.parallelogram .entry{
    padding:10px;
    background-color:#fff;
    transform: skew(-10deg); /* 20度傾ける */
    color:#3498db;
    font-weight:bold;
    margin-top:5px;
}
.col-1st{
    color:#3498db;
}
.col-2nd{
    color: #ec6800; /* 色を指定 */
}
.col-3rd{
    color: #82ae46; /* 色を指定 */
}


.parallelogram .entry.s2nd{
    color: #ec6800; /* 色を指定 */
}
.parallelogram .entry.s3rd{
    color: #82ae46; /* 色を指定 */
}
.scale-up {
    transform: skew(-10deg) scale(1.05); /* skewを維持したまま1.2倍にスケール */
    transition: transform 0.5s ease; /* スムーズな変化 */
}

/*--------------------------------------------------------------*/
/*								*/
/*--------------------------------------------------------------*/
.overflow_hidden img:hover {
    /* カーソルが合わさった時のスタイル */
    transform: scale(1.2); /* 画像を20%大きく表示 */
    transition: transform 0.3s ease-in-out; /* トランジション効果 */
}

.overflow_hidden img {
    /* 基本のスタイル */
    transform-origin: center; /* 拡大の基点を中央に設定 */
    transition: transform 0.3s ease-in-out; /* トランジション効果 */
}

/*--------------------------------------------------------------*/
/*								*/
/*--------------------------------------------------------------*/
canvas.p100wh,
#topimg img.p100wh{
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* アスペクト比を維持 */
}
#logo-image{
    display: none; /* 矢印アイコンを非表示に */
}

.topcourse{
    background-color:#fff;
    padding:20px;
}
.topcourse .km{
    background-color:var(--secondary-color);
    padding:10px;
    display:inline-block;
    color:#fff;
    font-weight:bold;
    margin-bottom:5px;
}
.topcourse .link{
    padding:5px 10px;
    background-color:var(--caution-color);
    display:inline-block;
    color:#fff;
}


/*--------------------------------------------------------------*/
/*								*/
/*--------------------------------------------------------------*/
.line-add-friend-button img {
    width: 200px !important; /* 例えば、元のサイズの2倍に設定 */
    height: auto; /* 高さを自動調整 */
}
/*--------------------------------------------------------------*/
/*								*/
/*--------------------------------------------------------------*/
#contact label{
    text-align:left;
}
input[type="submit"] {
    -webkit-appearance: none;
    border-radius: 0;
}
.contact .text{
    width:80%;
    padding:10px;
    text-align:left;
    margin:0 auto;
}

.info iframe,
.contact iframe{
    width:100%;
}
.contact select{
    background-color:#eee;
    width:100%;
    padding:10px;
    border-radius: 4px;
    border:0px;
}
.contact input[type="date"],
.contact input[type="text"],
.contact input[type="tel"],
.contact input[type="email"],
.contact textarea{
    background-color:#eee;
    width:calc( 100% - 20px );
    padding:10px;
    border-radius: 4px;
    border:0px;
}
.contact input[type="submit"]{
    width:80%;
    padding:20px 0;
    margin:0 auto;
    background:#d9333f;
    border:none;
    color:#fff;
    transition: 0.3s;
    cursor: pointer;
    border-radius: 4px;
    font-size:24px;
    display:block;
}
.contact input[type="submit"]:hover{
    background:#9ea1a3;
}
.contact p{
    margin:5px 5px 10px 5px;
}
.contact h2{
    border-radius: 0px 0px 0px 0px;
}
.contact-title{
    width:80%;
    padding:0px 0;
    text-align:left;
    margin:0 auto;
    font-weight:bold;
}
header{
    /*
    font-family: "Stick", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color:#fff;
    width:100%;
    color:var(--secondary-color);
    text-align:left;
    padding:5px;
   */
    border-top:6px solid var(--primary-color);
    margin:0;
}

footer{
/*    color:#fff;*/
    width:100%;
    position: relative;
    font-size:16px;
/*    background-color:var(--primary-color);*/
    /*    background-repeat: repeat;*/
    border-top:4px solid var(--primary-color);
}
footer .contact{
    background-color:#d66a35;
    color:#ffffff;
}
footer iframe{
    width:100%;
    height:260px;
}
.maruc{
    padding:10px;
    text-align:center;
}

.container{
    padding:80px;
}

.header .open{
    background-color:var(--secondary-color);
    padding:10px;
    display: inline-block;
    border:4px solid var(--secondary-color);
    color:#fff;
    border-radius:10px;
    display: inline-block;
}
/* Google翻訳プルダウンメニューのコンテナにスタイルを適用 */
.google_translate_element {
    padding:5px 0;
    display: inline-block;
}

/* Google翻訳プルダウンメニュー内の要素にスタイルを適用 */
.google_translate_element .goog-te-gadget-simple {
    padding:5px;
    border-radius: 0; /* ボーダーの角を直角に */
    border:1px solid #ccc;
    font-size: 14px; /* フォントサイズを調整 */
    background-color: transparent; /* 背景色を透明に */
    color: #333; /* テキストカラーを指定 */
}
.google_translate_element .goog-te-gadget-simple span {
    border: 0 !important;
}

/* Google翻訳プルダウンメニュー内の矢印アイコンにスタイルを適用 */
.google_translate_element img {
    display: none; /* 矢印アイコンを非表示に */
}

.width-default{
    width:100%;
/*    max-width:1280px;*/
    margin:0 auto;
}
#menu {
/*    position: absolute;*/
    z-index:100;
    background-color:rgba(255,255,255,0.4);
}
#menu a {
    color:var(--primary-color);
    text-decoration:none;		/*リンクの下線を無くす*/
    transition: 0.3s;
}
#menu a:hover {
    color:var(--secondary-color);
}
#movie{
    width: 100%;
    max-width:1280px;
    position:relative;
    margin:0 auto;
}
.videoparent{
    width: 100%;
    height: calc(100% * 9 / 16);
    max-height:calc(100% - 159px);
    overflow: hidden;
}
#video{
    position:relative;
    width: 100%;
    padding-top:calc( 100% * 9 / 16);
}
#video iframe{
    position:absolute;
    top:0;
    right:0;
    width:100%;
    height:100%;
}

#sponsor,
#aboutus {
/*    background-color: var(--primary-color);*/
    padding:40px 0;
/*    color:#fff;*/
}
#sponsor a{
/*    color:#fff;*/
}
#sponsor .box{
    float:left;
    width:calc(33.3333% - 22px);
    aspect-ratio: 1;
/*    height: calc((100% - 22px) * 0.666);*/
    text-align:center;
    border:1px solid var(--primary-color);
    margin:10px;
/*    background-color:var(--primary-color);*/
/*    color:#fff;*/
}
#sponsor .box:hover{
    background-color:var(--primary-color-alpha);
    color:#fff;
}
.center-image {
  position: relative;
  width:100%;
  aspect-ratio: 5/4;
}
.center-image img {
    width:calc(100% - 20px);
    padding:10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#overview table{
    width:auto;
    min-width:100%;
}
#overview .frame{
    display:inline-block;
    padding:10px;
    background-color:var(--yellow-color);
}
#overview #course img{
    width:100%;
}
.shops{
    border:1px solid #ccc;
    width: calc(100% - 20px);
    max-width:400px;
    padding:10px;
    margin:0 auto;
}
.line-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 20px; /* 左側に余白を追加 */
}
.line-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}
.line-arrow {
    margin-right: 10px; /* 矢印とテキストの間にスペースを追加 */
    font-size: 20px; /* 矢印のサイズを調整 */
}

#kin a{
    color:#fff;
}
.title {
    /*    display: flex;*/
    padding:10px 0 10px 20px;
    justify-content: center;
    align-items: center;
/*    height: 60px;*/ /* 任意の高さに設定 */
}
.google-auto-placed{
    display:none;
}

#topmenu{

}

#ambassador h2{
    background-color:#ffdb4f;
    color:#0f2350;
}
#ambassador h4{
    background:#fff;
    border-bottom:6px solid var(--yellow-color);
    padding:0;
}
#ambassador h5{
    background-color: var(--yellow-color);
    padding:10px;
    margin-bottom:10px;
    display:inline-block;
    color:var(--primary-color);
}
#ambassador img{
    width:240px;
    height:240px;
}
/*
.link_button{
    background-color: var(--caution-color);
    padding:20px;
    margin-top:10px;
    display:inline-block;
    color:#fff;
}
.link_button a,
.link_button a:hover {
    color:#fff;
}
*/
.link_button {
    background-color: var(--caution-color);
    padding: 15px 20px; /* 内側の余白を調整 */
    margin-top: 10px;
    display: inline-block;
    color: #fff;
    position: relative;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
    line-height: 1; /* 行の高さを1に設定 */
}

#ambassador .link_button:after {
    content: "";
    position: absolute;
    top: 0;
    right: -20px;
    width: 0;
    height: 0;
    border-top: 24px solid transparent; /* 三角形の高さを調整 */
    border-bottom: 24px solid transparent; /* 三角形の高さを調整 */
    border-left: 20px solid var(--caution-color);
    transition: border-left-color 0.3s;
}

.link_button:hover {
    background-color: #cc0000; /* 例として、元の色より少し暗い色を指定 */
}

#ambassador .link_button:hover:after {
    border-left-color: #cc0000; /* 同じ色を指定 */
}

.link_button a,
.link_button a:hover {
    color: #fff;
    text-decoration: none;
}

#player h3{
    font-size:20px;
}
#player h4{
    font-size:20px;
}
#player h5{
    font-size:20px;
}
#player h5.red{
    font-size:20px;
    background-color:var(--caution-color);
}

@keyframes shake {
  0% { transform: translate(1px, 1px); }
  10% { transform: translate(-1px, -2px); }
  20% { transform: translate(-3px, 0px); }
  30% { transform: translate(3px, 2px); }
  40% { transform: translate(1px, -1px); }
  50% { transform: translate(-1px, 2px); }
  60% { transform: translate(-3px, 1px); }
  70% { transform: translate(3px, 1px); }
  80% { transform: translate(-1px, -1px); }
  90% { transform: translate(1px, 2px); }
  100% { transform: translate(1px, -2px); }
}
.shake-animation {
  -webkit-animation: shake 0.5s ease;
  animation: shake 0.5s ease;
}
.expand-animation {
  transform: scale(1.1); /* 拡大倍率 */
  transition: transform 10s ease; /* 2秒で拡大 */
}

#topimg {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: #000;
}

.changing-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0; /* 基本は見えない */
  transform: scale(1.1); /* 待機中は少し大きくしておくか、1にするかはお好みで */
}

/* 次に出番が来る画像（背面で準備） */
.changing-image.active {
  opacity: 1;
  z-index: 2; /* 前面 */
  animation: zoom-up 6.5s linear forwards;
}

/* 消えていく画像（背面に残る） */
.changing-image.fade-out {
  opacity: 0;
  z-index: 1; /* 背面 */
  transition: opacity 1.5s ease-in-out;
  /* アニメーションは継続させるか、固定する */
  transform: scale(1.15); 
}

@keyframes zoom-up {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}
.post-nav{
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-top:20px;
}

.post-nav a{
  display:inline-block;
  padding:10px 14px;
  border-bottom:1px solid #ddd;
  text-decoration:none;
}

.post-nav a:hover{
  opacity:0.85;
}

/* 片方が無いとき */
.post-nav-prev, .post-nav-next{
  width:50%;
}
.post-nav-prev{ text-align:left; }
.post-nav-next{ text-align:right; }

/* 投稿本文内のリンクをボタン化 */
#post-main a { /* クラス名は環境に合わせて調整してください */
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color); /* 先ほどの第3の色 */
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

/* FontAwesomeのアイコンを擬似要素で追加 */
#post-main a::before {
    font-family: "Font Awesome 6 Free";
    content: "\f18e"; /* circle-arrow-right のアイコンコード */
    font-weight: 900;
    margin-right: 8px;
}

#post-main a:hover {
    opacity: 0.8;
    transform: translateX(3px);
}
.post-category-label{
    background-color:var(--primary-color);
    padding:4px 8px;
    border-radius: 4px;
    color:#fff;
}
.post-category-label.cat-record{
    background-color:var(--tertiary-color);
    color:var(--primary-color);
}
.post-category-label.cat-event{
    background-color:var(--secondary-color);
    color:#fff;
}

/*--------------------------------------------------------------*/
/*								*/
/*--------------------------------------------------------------*/
@media screen and (max-width: 1020px) {
    .wid1080_{
	width:calc(170px * 5);
    }
}
@media screen and (max-width: 1000px) {
    .menumain{
	text-align:right;
    }
}
@media screen and (max-width: 850px) {
    .wid1080_{
	width:calc(170px * 4);
    }
}
@media screen and (max-width: 768px) {
    #menu {
/*	position: absolute;*/
	z-index:100;
	background-color:rgba(255,255,255,0.8);
    }
    
    .pc-only{
	display:none !important;
    }
    .sp-only{
	display:inline !important;
    }
    .textput{
	text-align:left !important;
    }
    .imgput{
	width:100%;
    }
    .fs-50{
	font-size:36px;
    }
    .fs-40{
	font-size:30px;
    }
    .fs-34{
	font-size:28px;
    }
    .fs-30{
	font-size:24px;
    }
    .fs-28{
	font-size:20px;
    }
    .fs-26{
	font-size:20px;
    }
    .fs-24{
	font-size:18px;
    }
    .fs-20{
	font-size:16px;
    }
    .fs-18{
	font-size:15px;
    }
    .fs-16{
	font-size:13px;
    }
    .fs-14{
	font-size:11px;
    }
    .fs-12{
	font-size:10px;
    }

    
    body {
	width:100%;
	min-width:100%;
	max-width:100%;
	font-size:14px;
	margin:0;
    }
    h3 {
	font-size:18px;
    }
    h2 {
	font-size:18px;
	padding: 10px;
	width:calc(100% - 20px);
	margin:0 auto;
	margin-bottom:5px;
    }
    h4 {
	padding: 10px;
	font-size:18px;
    }
    h5 {
	font-size:16px;
    }
    .ishidatami,
    .fullwidth{
	padding:10px;
    }
    .wid1080_{
	width:calc(114px * 3);
	margin:0 auto;
    }
    .font-vdl{
	filter: none;
	font-size:16px;
    }
    .normal-wrap {
	white-space: normal;
	word-break: break-word;
    }
    .floatl20,
    .floatl80,
    .floatl30,
    .floatl70,
    .floatl75,
    .floatl33,
    .floatl60,
    .floatl40,
    .floatl50,
    .floatr50,
    .floatl25{
	width:100%;
    }
    .flex20,
    .flex30,
    .flex40,
    .flex50,
    .flex60,
    .flex70,
    .flex80{
	width: 100%;
    }
    .child-bottom100{
	width:100%;
	bottom:10px;
    }
    .floatl70.sp{
	width:70%;
    }
    .floatl30.sp{
	width:30%;
    }
    .menubutton {
	display: inline-block;
	padding: 10px 0px;
	margin: 0;
	width: 42px;
	text-align: center;
	background-color: var(--primary-color);
	color:#fff;
    }
    
    .floatl50{
	margin-bottom:10px;
    }
    .floatl33{
	height:auto;/*260px;*/
    }
    .pad-20-40{
	padding:10px;
    }
    ul.pad-20-40{
	padding:20px 40px;
    }
    .pad-40,
    .pad-50,
    .pad-10-20,
    .pad-20{
	padding:20px;
    }
    .pad-0-20,
    .pad-0-10{
	padding:0 0 0 20px;
    }
    .button{
	padding:10px;
    }
    table td{
	padding:10px;
    }
    #coursemenu .floatl50 .pad-20,
    #contact .floatl50 .pad-20{
	padding:0;
    }
    .floatl50 .pad-20 .pad-20{
	padding:10px;
    }
    #contact .floatl50 .border1-ccc.pad-20{
	padding:10px;
    }
    .border1-ccc{
	width:calc( 100% - 40px);
	margin:10px auto;
    }

    .warning.pad-20,
    .greenbacktext .pad-20,
    .whitebacktext .pad-20{
	padding:10px !important;
    }
    #content h1{
	padding-left:10px;
    }
    #content section{
	padding:5px 10px;
    }
    .wid50,
    .wid480,
    .wid820,
    .wid640,
    .wid500,
    .wid720,
    .wid780,
    .wid1080{
	width:100%;
    }
    .balloon-container {
	display: block;
    }
    .balloon {
	margin-left: 0px; /* 吹き出しの左マージン */
    }
    .balloon::before {
	content: none;
    }
    footer .wid1080{
	width:calc( 100% - 20px );
	padding:10px;
    }
    .header{
	position:fixed;
	width:100%;
	top: 0px;
	left: 0px;
	z-index:200;
	background-color:#fff;
    }
    .menuicon {
	width: 60px; /* 画像の幅を調整 */
	height: 60px; /* 高さは自動調整（アスペクト比を保持） */
	background-color: rgba(255, 255, 255, 0.6);
	border:1px dotted #ccc;
    }
    #sp-menu {
	font-weight:bold;
	border-bottom:4px solid var(--secondary-color);
    }
    #sp-menu .link{
	padding:10px;
	border-bottom:1px dotted #ccc;
    }
    #sp-menu a.border{
	display:block;
	border-bottom:1px dotted var(--secondary-color);
	padding:5px 10px;
	margin:0;
    }
    #page-top {
	width: 60px; /* 画像の幅を調整 */
	height: 60px; /* 高さは自動調整（アスペクト比を保持） */
	bottom: 80px;
	right: -5px;
	border-radius: 4px;
	border:1px dotted #ccc;
    }
    #aboutus iframe,
    #access iframe {
	width: 100%;
    }
    #_blog,
    #_recruit{
	padding:10px;
    }
    .container{
	padding:40px 0;
    }
    .maruc{
	font-size:14px;
    }
    #aboutyaimaru .pad-20 .floatl30.align-r{
	text-align:center;
    }
    .overflow_hidden{
	width: 100%;  /* または他のサイズ */
	padding-top: 100%; /* 幅と同じパーセンテージのパディングを上に設定 */
	position: relative; /* 子要素の絶対位置指定の基準になる */
	overflow: hidden;
    }
    .overflow_hidden img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	/* 基本のスタイル */
	transform-origin: center; /* 拡大の基点を中央に設定 */
	transition: transform 0.3s ease-in-out; /* トランジション効果 */
    }
    .pad-m20{
	padding:20px;
    }    
    .rot5p {
	transform: rotate(0deg);
    }
    .rot5m {
	transform: rotate(0deg);
    }
    .rot3p {
	transform: rotate(0deg);
    }
    .rot3m {
	transform: rotate(0deg);
    }
    .rot1p {
	transform: rotate(0deg);
    }
    .rot1m {
	transform: rotate(0deg);
    }
    #aboutus .mark,
    #coursemenu .mark{
	line-height:46px;
    }
    .pad-20.sp{
	padding:0px;
    }
    .pad-20.sptxt{
	padding:10px !important;
    }
    #topimg .child img{
	width:50%;
    }
    #topimg .child-top100{	/* 子 */
	width:100%;
	top:60px;
    }
    #topimg .child .fs-30{
	font-size:20px;
    }
    #news {
	width:100%;
    }
    #overview table{
/*	width:100%;*/
	overflow-x: auto;
    }
    #overview table.tbl640{
	width:640px;
    }
    #ambassador .p10{
	width:30%;
    }
    #ambassador .link_button:after {
	content: "";
	position: absolute;
	top: 0;
	right: -20px;
	width: 0;
	height: 0;
	border-top: 0; /* 三角形の高さを調整 */
	border-bottom: 0; /* 三角形の高さを調整 */
	border-left: 0;
	transition: border-left-color 0.3s;
    }
    .topcourse{
	background-color:#fff;
	padding:10px;
    }
    #tournament table.wid100p{
	width:820px;
    }
    #topimg img.p100wh{
	height: 50vh;
    }
    #sponsor .box{
	width:calc( 50% - 12px );
	margin:5px;
	font-size:12px;
    }
    #sponsor .box .pad-20{
	padding:10px 5px;
    }
    canvas.p100wh{
	width: 100vw;
	height: 500px;
	object-fit: cover; /* アスペクト比を維持 */
    }
    img.sp100{
	width:100%;
    }
    #list .pad-20{
	padding:10px;
    }
    #_blog iframe{
	width:100% !important;
    }
}
