@charset "shift_jis";


/*---------- ページ全体の指定 ----------*/

body {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS P ゴシック", "MS P Gothic", sans-Serif;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: #333333;
  background: linear-gradient(to top, #d5a6d4 0%, #ffffff 80%);
  background-attachment: fixed;
  min-height: 100vh;
}
/*
  background-image: url(img/back.gif);
  background-repeat: repeat-x;
*/


/* IE7 用 */

*:first-child+html * {
  font-family: "メイリオ", Meiryo, "MS P ゴシック", "MS P Gothic", sans-Serif;
}


/* IE6 用 */
* html * {
  font-family: "メイリオ", Meiryo, "MS P ゴシック", "MS P Gothic", sans-Serif;
}


a:link {
  color: #004080;
  font-size: 13px;
}

a:hover {
  color: #005ebb;
  font-size: 13px;
}

a:visited {
  color: #004080;
  font-size: 13px;
}

p {
  margin: 18px 0 18px 0;
  line-height: 180%;
  letter-spacing: 1px;
}


/*---------- メイン ----------*/

#main {
  width: 900px;
  margin: 0 auto 0 auto;
  padding: 0;
  text-align: center;
  border-top: solid 1px #cccccc;
  border-right: solid 1px #cccccc;
  border-bottom: solid 1px #cccccc;
  border-left: solid 1px #cccccc;
  background-color: #ffffff;
}



/*---------- ヘッダー ----------*/

#header {
  width: 900px;
  height: 80px;
  margin: 0 auto 0 auto;
  text-align: center;
  background-color: #ffffff;
}

#header h1 {
  margin: 0;
  padding: 2px 0 2px 10px;
  text-align: left;
  font-weight: normal;
  font-size: 10px;
  color: #666666;
  background-color: #eeeeee;
}

#header h2 {
  margin: 0;
  padding: 2px 10px 0 12px;
  width: 400px;
  text-align: left;
  font-size: 20px;
  color: #666666;
  letter-spacing: 1px;
}

#header p {
  margin: 0;
  padding:  4px 0 0 30px;
  text-align: left;
  font-size: 13px;
  color: #666666;
  letter-spacing: 1px;
}

#table-left{
  text-align: left;
  font-size: 13px;
  color: #666666;
  line-height: 150%;
  text-decoration: none;
}

#table-left a{
  font-size: 20px;
  color: #666666;
  text-decoration: none;
}

#table-left a:hover{
  font-size: 20px;
  color: #999999;
  text-decoration: none;
}


#table-right{
  text-align: right;
  margin: 0;
  padding: 8px 20px 2px 0;
  font-size: 16px;
  color: #c9171e;
  line-height: 150%;
  text-decoration: none;
}

#table-right a{
  font-size: 12px;
  color: #333333;
  text-decoration: none;
}

#table-right a:hover{
  font-size: 12px;
  color: #666666;
  text-decoration: none;
}

#header-menu {
  width: 880px;
  margin: 0 10px 6px 10px;
  padding: 0;
  border-top: solid 3px #007bbb;
  border-right: solid 1px #aaaaaa;
  border-bottom: solid 1px #aaaaaa;
  border-left: solid 1px #aaaaaa;
  height: 30px;
  text-align: left;
  background-image: url(img/head_menu_back.gif);
  background-repeat: repeat-x;
}

#header-menu ul {
  text-align: left;
  margin: 0px;
  padding: 0px
}

#header-menu li {
  display: inline;
  list-style-type: none;
  float: left;
  color: #ffffff;
}

#header-menu li a {
  width: 110px;
  padding: 7px 0 3px 0;
  font-size: 11px;
  line-height: 20px;
  color: #666666;
  background-image: url(img/head_menu_back.gif);
  text-align: center;
  display: block;
  border-right: solid 1px #aaaaaa;
  text-decoration: none;
}

#header-menu li a:hover {
  background-image: url(img/head_menu_back_hover.gif);
}

#header-img {
  margin: 0 0 8px 0;
  padding: 0
  background-color: #ffffff;
}


/*---------- コンテンツ ----------*/

#container {
  width: 888px;
  margin: 0 auto 0 auto;
  overflow: hidden;
  padding: 2px 6px 6px 6px;
  background: #ffffff url(img/side_yback.jpg);
  background-repeat: repeat-y;
}


/*---------- メインコンテンツ ----------*/

#contents {
  float: right;
  margin: 0;
  padding: 2px 10px 5px 0;
  font-size: 14px;
  line-height: 180%;
  width: 640px;
  letter-spacing: 1px;
  text-align: left;
}

#contents #pannavi {
  margin: 0;
  padding: 3px 0 5px 0;
  font-size: 12px;
}

#contents h2 {
  height: 30px;
  margin: 0 0 7px 0;
  padding: 9px 0 0 20px;
  font-size: 14px;
  color: #004080;
  background-image: url(img/titlebar.gif);
  background-repeat: no-repeat;
}

#contents p {
  margin: 18px 0 18px 0;
  padding: 0 5px 0 5px;
  line-height: 180%;
  font-size: 14px;
}

#contents img.head_photo {
  margin: 0 0 8px 0;
}

#contents img.photo {
  float: left;
  margin: 10px 20px 0 0;
}

#contents img.picture {
  margin: 0 10px 10px 0;
  float: left;
}

#contents p.photo {
  margin: 0 0 20px 0;
  padding: 0;
}


table#t01 {
  border: solid 1px #999999;
  border-collapse: collapse;
}


td#t01 {
  border: solid 1px #999999;
  border-collapse: collapse;
}


td#head {
  padding: 6px;
  border: solid 1px #999999;
  border-collapse: collapse;
}


table.table_line {
  border-collapse: collapse;
  border: solid 1px #999999;
}


td.table_line {
  border-collapse: collapse;
  border: solid 1px #999999;
  padding : 8px 14px 8px 14px;
}


/*---------- メニュー ----------*/

#menu {
  float: left;
  margin: 0 0 15px 0;
  padding: 0;
  width: 220px;
  text-align: left;
  letter-spacing: 1px;
}

.menulist {
  margin: 0 0 15px 0;
  padding: 5px 2px 0px 5px;
  width: 210px;
  text-align: left;
}

.menulist h2 {
  height: 20px;
  margin: 0;
  padding: 6px 0 4px 12px;
  font-size: 13px;
  color: #fffffc;
  background-image: url(img/sidebar.gif);
  background-repeat: no-repeat;
}

.menulist a{
  color: #004080;
  display: block;
  border-right: solid 1px #dddddd;
  border-bottom: solid 2px #cccccc;
  border-left: solid 1px #dddddd;
  width: 174px;
  padding: 10px 4px 5px 30px;
  font-size: 13px;
  line-height: 160%;
  text-decoration: none;
  background-image: url(img/side_menu_bg.gif);
  background-repeat: no-repeat;
 }

.menulist a:hover{
  color: #005ebb;
  text-decoration: underline;
  background-image: url(img/side_menu_bg_hover.gif);
  background-repeat: no-repeat;
}

.menu_free {
  margin: 0 0 14px 5px;
  padding: 0;
  width: 210px;
  text-align: left;
  background-image: url(img/menu_back.gif);
}

.menu_free h2 {
  height: 19px;
  margin: 0;
  padding: 6px 0 4px 12px;
  font-size: 13px;
  color: #fffffc;
  background-image: url(img/sidebar.gif);
  background-repeat: no-repeat;
}

.menu_free a{
  color: #004080;
  width: 198px;
  padding: 6px 0 5px 0;
  font-size: 13px;
  line-height: 180%;
 }

.menu_free a:hover{
  color: #005ebb;
  line-height: 180%;
}

.menu_free p{
  margin: 0;
  padding: 8px 8px 14px 8px;
  font-size: 12px;
  background-color: #ffffff;
  background-image: url(img/menu_back.gif);
  line-height: 180%;
}


/*---------- フッター ----------*/

#footer {
  clear: both;
  width: 100%;
  margin: 0;
  padding: 15px 0 15px 0;
  text-align: center;
  font-size: 13px;
  color: #333333;
  border-top: solid 3px;
  border-top-color: #cccccc;
  background-color: #ffffff;
}

#footer a {
  color: #333333;
  font-size: 13px;
 }

#footer a:hover {
  color: #333333;
}


/* スライダーの下部に自動で付く隙間（マージン）を強制的にゼロ（5px）にします */
#classmatch-slider-container .bx-wrapper,
#classmatch2-slider-container .bx-wrapper,
#taiikusai-slider-container .bx-wrapper,
#open-slider-container .bx-wrapper {
    margin-bottom: 5px !important; 
}

/* いいねボタンの共通デザイン */
.like-button-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: sans-serif;
    padding: 10px;
    vertical-align: middle;
}
.like-button {
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.thumb-image {
    width: 20px;
    height: 20px;
    opacity: 0.4;
    transition: opacity 0.2s ease, filter 0.2s ease;
    position: relative;
    z-index: 2;
}
.like-button:hover .thumb-image {
    opacity: 0.7;
    animation: wiggle 0.35s ease-in-out infinite alternate;
}
.like-button.is-active:hover .thumb-image {
    opacity: 1;
    animation: wiggle 0.35s ease-in-out infinite alternate;
}
.like-button.is-active .thumb-image {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(29%) sepia(91%) saturate(3025%) hue-rotate(256deg) brightness(93%) contrast(100%);
}
.like-button.anim-active .thumb-image {
    animation: cute-pop 0.3s ease-in-out;
}
.like-button::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 40px; height: 40px;
    border: 2px solid #9400D3;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}
.like-button.anim-active::before {
    animation: ripple-effect 0.6s ease-out;
}
.like-count {
    font-size: 18px;
    font-weight: bold;
    color: #666;
    user-select: none;
    min-width: 24px; 
}
.like-count.is-updated {
    color: #9400D3;
    animation: cute-pop 0.3s ease-in-out;
}
.floating-plus {
    position: absolute;
    color: #9400D3;
    font-weight: bold;
    font-size: 18px;
    pointer-events: none;
    z-index: 4;
    animation: floatUp 0.6s ease-out forwards;
}

@keyframes cute-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.25); } 
    100% { transform: scale(1); }
}
@keyframes wiggle {
    0% { transform: scale(1.05) translateX(0) rotate(0deg); }
    50% { transform: scale(1.05) translateX(-2px) rotate(-12deg); }
    100% { transform: scale(1.05) translateX(2px) rotate(12deg); }
}
@keyframes floatUp {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-30px) scale(1.5); }
}
@keyframes ripple-effect {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; border-width: 8px; }
    100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; border-width: 0px; }
}
    
/* 文字の基本設定 */
.kirakira {
    color: red;           /* 文字の色（ゴールド） */
    font-weight: bold;     /* 文字を太くして目立たせる */
    /* アニメーションの設定: 0.8秒かけて行ったり来たりを無限に繰り返す */
    animation: sparkle 0.8s infinite alternate;
}

  /* キラキラ（発光と透明度）の動きを設定 */
@keyframes sparkle {
    0%   { opacity: 0.3; text-shadow: 0 0 2px yellow; } /* 暗い時 */
    100% { opacity: 1.0; text-shadow: 0 0 12px orange; } /* 光る時 */
}
