@charset "UTF-8";


/*---------------------------- PC向けのスタイル ----------------------------*/
@media screen and (min-width: 680px) {


/*---------- GitHub Stats ----------*/

/* GitHub統計コンテナ */
#github-stats {
  margin: 20px 0;
}

/* エラー表示のスタイル調整 */
#github-stats[data-error="true"] {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: 6px;
  padding: 20px;
  text-align: center;
  color: #d73a49;
}

/* 詳細表示の調整 */
details {
  margin: 10px 0;
}

details summary {
  padding: 10px;
  background: #f6f8fa;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  outline: none;
}

details summary:hover {
  background: #e1e4e8;
}

details[open] summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

details[open] div {
  border: 1px solid #e1e4e8;
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: 15px;
  background: white;
}

/* レスポンシブ対応 */
@media (max-width: 680px) {
  #github-stats {
    margin: 10px 0;
  }
  
  details summary {
    font-size: 14px;
  }
}

/* GitHub Stats カードのレスポンシブ調整 */
@media (max-width: 680px) {
  #github-stats > div {
    flex: 1 1 calc(50% - 16px) !important;
    min-width: 120px;
  }
  
  #github-stats > div:nth-child(n+7) {
    flex: 1 1 100% !important;
  }
}

@media (max-width: 480px) {
  #github-stats > div {
    flex: 1 1 100% !important;
  }
}

.github-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.stat-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #e9ecef;
}

.stat-card h4 {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #666;
  font-weight: normal;
}

.stat-number {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.languages-chart {
  margin: 30px 0;
}

.languages-chart h4 {
  margin-bottom: 15px;
  color: #333;
}

.language-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.language-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-name {
  min-width: 80px;
  text-align: left;
  font-size: 14px;
  color: #666;
}

.bar-container {
  flex: 1;
  height: 20px;
  background: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
}

.bar {
  height: 100%;
  background: linear-gradient(90deg, #4f94d4 0%, #5aa7f7 100%);
  border-radius: 10px;
  transition: width 0.3s ease;
}

.percentage {
  min-width: 40px;
  text-align: right;
  font-size: 12px;
  color: #666;
}

/*---------- ソーシャルリンク ----------*/

.social-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.social-links a[href*="github"]:hover {
  background: #555 !important;
}

.social-links a[href*="linkedin"]:hover {
  background: #0056b3 !important;
}

.social-links a[href*="mailto"]:hover {
  background: #c82333 !important;
}

.social-links a[href*="bio-zan"]:hover {
  background: #218838 !important;
}

@media (max-width: 480px) {
  .social-links > div {
    flex-direction: column;
    gap: 10px;
  }
  
  .social-links a {
    width: 100%;
    justify-content: center;
  }
}

/*---------- ページ全体の指定 ----------*/

body {
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic Medium', 'Meiryo', sans-serif;
  margin: 0;
  padding: 0;
  font-size: 16px;
  color: #333333;
  background-color: #ffffff;
  -webkit-text-size-adjust: none;
  overflow-x: hidden;
}

.img_a {
  display: block;
}

.img_b {
  display: none;
}


/*---------- メイン ----------*/

#main {
  width: 100%;
  overflow: hidden;
  margin: 0 auto 0 auto;
  padding: 0;
  text-align: center;
  background-color: #ffffff;
}


/*---------- ヘッダー ----------*/

#header {
  width: 100%;
  margin: 0 auto 0 auto;
  border-top: solid 3px #a5967a;
  background-image: url(../img/header.png);  /*-- 背景 --*/
  background-repeat: repeat-x;
}

#header h1 {
  margin: 0 auto 0 auto;
  width: 900px;
  padding: 2px 0 0 5px;
  font-weight: normal;
  text-align: left;
  font-size: 10px;
  color: #9d896c;
}


/*---------- ヘッダー内 ----------*/

#header #header_inner {
  width: 900px;
  height: 70px;  /*-- 高さ --*/
  padding: 4px;  /*-- 余白 --*/
  margin: 0 auto 0 auto;
}


/*----- 左 logo -----*/

#h_logo {
  padding: 0;
  text-align: left;
  font-size: 14px;
  color: #444444;
  line-height: 1.5;
  text-decoration: none;
  float: left;
}

#h_logo h2 {
  margin: 0;
  padding: 22px 0 0 10px;  /*-- logo 位置 --*/
  text-align: left;
  font-size: 22px;
  color: #444444;
  letter-spacing: 0.05em;
}

#h_logo a {
  font-size: 22px;
  color: #666666;
  text-decoration: none;
}

#h_logo a:hover {
  font-size: 22px;
  color: #888888;
  text-decoration: none;
}


/*----- 右 info -----*/

#h_info{
  margin: 0;
  padding: 0 10px 0 0;  /*-- info 位置 --*/
  text-align: right;
  font-size: 16px;
  color: #555555;
  line-height: 1.6;
  text-decoration: none;
  float: right;
}

#h_info p{
  margin: 0;
  padding: 3px 0 0 0;
  text-align: left;
  font-size: 14px;
  color: #444444;
  letter-spacing: 0.05em;
}

#h_info a{
  font-size: 13px;
  color: #333333;
  text-decoration: none;
}

#h_info a:hover{
  font-size: 13px;
  color: #666666;
  text-decoration: none;
}

#h_info .tel {
  font-size: 20px;
  color: #c9171e;
  line-height: 1.2;
  font-weight: bold;
}

#h_info .tel a {
  font-size: 20px;
  color: #c9171e;
  line-height: 1.2;
  font-weight: bold;
}


/*---------- ヘッダーメニュー ----------*/

#header-menu {
  clear: both;
  width: 100%;
  margin: 4px 0 0 0;
  padding: 0;
  height: 50px;
  text-align: left;
  background-color: #ffffff;
}

#header-menu ul {
  width: 900px;
  text-align: left;
  margin: 0 auto 0 auto;
  padding: 0;
  background-color: #ffffff;
}

#header-menu li {
  display: inline;
  list-style-type: none;
  float: left;
  color: #ffffff;
}

#header-menu li a {
  font-size: 13px;
  color: #765c47;
  text-align: center;
  display: block;
  line-height: 1.3;
  letter-spacing: 0.05em;
  border-left: solid 1px #d6c6af;
  text-decoration: none;
  margin-top: 8px;
  padding: 6px 38px 2px 38px;
}

#header-menu li a:hover {
  color: #765c47;
  background-image: url(../img/head_menu_back_hover.gif);
  background-repeat: repeat-x;
}

#header-menu li.home a {
  padding: 6px 38px 2px 38px;
  border-left: none;
}

#header-menu span.sub {
  color: #b29164;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
  height: 0; 
  visibility: hidden;
}


/*---------- SP電話ボタン ----------*/

.phone {
  display: none;
}


/*---------- メイン画像 ----------*/

#header-img {
  width: 100%;
  margin: 12px 0 12px 0;
  text-align: center;
  background-image: url(../img/head_img_bg.png);
}

.main_photo {
  display: block;
  margin: 0 auto 0 auto;
}


/*---------- コンテンツ ----------*/

#container {
  max-width: 1400px;
  width: 95%;
  margin: 0 auto 0 auto;
  overflow: hidden;
  padding: 6px 30px 0 30px;
  background-color: #ffffff;
}


/*---------- メインコンテンツ ----------*/

#contents {
  margin: 0;
  padding: 0;
  font-size: 16px;
  width: 100%;
  letter-spacing: 0.05em;
  text-align: left;
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: anywhere;
}

#contents p,
#contents li,
#contents a {
  word-break: break-word;
  overflow-wrap: anywhere;
}

#contents #pannavi {
  margin: 0 0 6px 0;
  padding: 0 0 8px 0;
  font-size: 15px;
}

#contents #pannavi a {
  font-size: 15px;
}

#contents h2 {
  height: 43px;
  margin: 0 0 10px 0;
  padding: 14px 0 0 34px;
  font-size: 18px;
  color: #333333;
  background-image: url(../img/titlebar.gif);
  background-repeat: no-repeat;
}

#contents h2.page_title {
  margin: 0 0 18px 0;
  padding: 18px 0 4px 30px;
  line-height: 1.7;
  font-size: 20px;
  color: #333333;
  border: none;
  background-image: url(../img/page_title.gif);
  background-repeat: no-repeat;
}

#contents h2.txt {
  height: auto;
  margin: 0 0 7px 0;
  padding: 0;
  border: none;
  font-size: 16px;
  color: #54351f;
  background: none;
}

#contents h3 {
  margin: 12px 3px 10px 3px;
  padding: 15px 10px 10px 18px;
  line-height: 1.4;
  font-size: 17px;
  color: #54351f;
  border-top: solid 1px #dddddd;
  border-right: solid 1px #dddddd;
  border-bottom: solid 1px #966934;
  border-left: solid 5px #966934;
  background-color: #f9f2d5;
}

#contents h3.beta {
  margin: 12px 2px 10px 2px;
  padding: 14px 10px 12px 16px;
  line-height: 1.4;
  font-size: 18px;
  color: #fffffc;
  border: none;
  background-image: url(../img/h3_beta.gif);
  background-repeat: no-repeat;
}

#contents h3.point {
  margin: 10px 0 10px 0;
  padding: 10px 10px 8px 10px;
  line-height: 1.4;
  font-size: 18px;
  color: #882200;
  border-top: solid 1px #999999;
  border-right: solid 1px #bbbbbb;
  border-bottom: solid 4px #663300;
  border-left: solid 1px #bbbbbb;
  background-image: url(../img/h3_point.gif);
  background-repeat: repeat-x;
}

#contents h3.gold {
  height: 41px;
  margin: 12px 2px 10px 2px;
  padding: 14px 10px 0 18px;
  line-height: 170%;
  font-size: 19px;
  text-align: left;
  color: #662200;
  border: none;
  background-image: url(../img/h3_gold.gif);
  background-repeat: no-repeat;
}

#contents h3.gold02 {
  height: 71px;
  margin: 12px 2px 10px 2px;
  padding: 14px 2px 0 18px;
  line-height: 170%;
  font-size: 18px;
  text-align: left;
  color: #662200;
  border: none;
  background-image: url(../img/h3_gold02.gif);
  background-repeat: no-repeat;
}

#contents h3.gray {
  height: 41px;
  margin: 12px 2px 10px 2px;
  padding: 14px 10px 0 18px;
  line-height: 170%;
  font-size: 19px;
  text-align: left;
  color: #662200;
  border: none;
  background-image: url(../img/h3_gray.gif);
  background-repeat: no-repeat;
}

#contents h3.gray02 {
  height: 71px;
  margin: 12px 2px 10px 2px;
  padding: 14px 2px 0 18px;
  line-height: 170%;
  font-size: 18px;
  text-align: left;
  color: #662200;
  border: none;
  background-image: url(../img/h3_gray02.gif);
  background-repeat: no-repeat;
}

#contents p {
  margin: 15px 0 15px 0;
  padding: 0 2px 0 2px;
  line-height: 1.7;
  font-size: 16px;
}


/*---------- 画像の回り込み ----------*/

img.picture {
  margin: 0 10px 10px 0;
  float: left;
}

img.picture_r {
  margin: 0 5px 10px 10px;
  float: right;
}


/*---------- 表（テーブル） ----------*/

table.t01 {
  width: 310px;
  padding: 4px;
  border: solid 1px #cccccc;
  border-collapse: collapse;
}

td.t01 {
  padding: 10px;
  border-collapse: collapse;
}

td.head {
  padding: 9px 6px 6px 15px;
  border: solid 1px #cccccc;
  border-collapse: collapse;
  background-image: url(../img/main_block_bg.gif);
}

td.t00 {
  padding: 4px;
}


table.table_line {
  border-collapse: collapse;
  border: solid 1px #999999;
  width: 100%;
}

td.table_head {
  border-collapse: collapse;
  border: solid 1px #999999;
  padding: 12px 14px 8px 14px;
  background-color: #fff8e3;
  width: 100px;
}

td.table_left {
  border-collapse: collapse;
  border: solid 1px #999999;
  padding: 12px 14px 8px 14px;
  width: auto;
  background-color: #fff8e3;
}

td.table_right {
  border-collapse: collapse;
  border: solid 1px #999999;
  padding: 12px 14px 8px 14px;
  width: 500px;
  background-color: #ffffff;
}

td.table_line {
  border-collapse: collapse;
  border: solid 1px #999999;
  padding: 12px 14px 8px 14px;
  width: auto;
}


/*---------- サイドエリア ----------*/

#menu {
  float: left;
  margin: 0 0 15px 0;
  padding: 0;
  width: 22%;
  text-align: left;
  letter-spacing: 0.05em;
  background-color: #ffffff;
}

.menulist {
  margin: 0 0 28px 0;
  padding: 0;
  width: 220px;
  text-align: left;
}

.menulist h2 {
  height: 27px;
  margin: 0;
  padding: 12px 0 5px 14px;
  font-size: 15px;
  color: #fffffc;
  background-image: url(../img/sidebar.gif);
  background-repeat: no-repeat;
}

.menulist h3 {
  height: 27px;
  margin: 0;
  padding: 12px 0 5px 14px;
  font-size: 15px;
  color: #fffffc;
  background-image: url(../img/sidebar.gif);
  background-repeat: no-repeat;
}

.menulist ul {
  margin: 0;
  padding: 0;
}

.menulist li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menulist li a{
  color: #54351f;
  display: block;
  border-right: solid 1px #dddddd;
  border-bottom: solid 1px #dddddd;
  border-left: solid 1px #dddddd;
  padding: 11px 4px 6px 26px;
  font-size: 14px;
  line-height: 1.9;
  text-decoration: none;
  background-image: url(../img/side_menu_bg.gif);
  background-repeat: no-repeat;
}

.menulist li a:hover{
  color: #745a45;
  background-image: url(../img/side_menu_bg_hover.gif);
  background-repeat: no-repeat;
}

.menu_free {
  margin: 0 0 28px 0;
  padding: 0;
  width: 220px;
  text-align: left;
  background-color: #f7f5f5;
}

.menu_free h2 {
  height: 27px;
  margin: 0;
  padding: 12px 0 5px 14px;
  font-size: 15px;
  color: #fffffc;
  background-image: url(../img/sidebar.gif);
  background-repeat: no-repeat;
}

.menu_free h3 {
  height: 27px;
  margin: 0;
  padding: 12px 0 5px 14px;
  font-size: 15px;
  color: #fffffc;
  background-image: url(../img/sidebar.gif);
  background-repeat: no-repeat;
}

.menu_free p{
  margin: 0;
  padding: 8px 8px 14px 8px;
  font-size: 14px;
  line-height: 1.8;
}

.menu_top {
  margin: 0 0 5px 0;
  padding: 0;
  text-align: left;
}

.menu_top a{
  color: #993300;
  padding: 6px 0 6px 0;
  line-height: 1.8;
}

.menu_top a:hover{
  color: #666666;
}

.menu_top p{
  margin: 0;
  padding: 0;
  line-height: 1.8;
}

.menu_btn {
  margin: 0 0 14px 0;
  padding: 0;
  width: 220px;
  text-align: left;
}

.menu_btn a{
  margin: 0 0 8px 0;
  color: #583822;
  display: block;
  border: solid 1px #dddddd;
  padding: 8px 4px 4px 30px;
  font-size: 14px;
  line-height: 1.9;
  text-decoration: none;
  background-image: url(../img/side_menu_btn_bg.gif);
  background-repeat: no-repeat;
 }

.menu_btn a:hover{
  color: #765c47;
  background-image: url(../img/side_menu_btn_bg_hover.gif);
  background-repeat: no-repeat;
}


.menu_btn_under {
  margin: 0 0 10px 0;
  padding: 0;
  width: 220px;
  text-align: left;
}

.menu_btn_under a{
  margin: 0 0 8px 0;
  color: #583822;
  display: block;
  border: solid 1px #dddddd;
  padding: 10px 4px 6px 12px;
  font-size: 13px;
  line-height: 1.9;
  text-decoration: none;
  background-image: url(../img/side_menu_btn_under_bg.gif);
  background-repeat: no-repeat;
 }

.menu_btn_under a:hover{
  color: #765c47;
}


/*---------- サイドエリア・トップに戻る ----------*/

.menu_back {
  display: none;
}


/*---------- フッター ----------*/

#footer {
  clear: both;
  width: 100%;
  margin: 0;
  padding: 30px 0 30px 0;
  text-align: center;
  font-size: 14px;
  color: #333333;
  line-height: 1.8;
  background-image: url(../img/head_img_bg.png);
}

#footer a {
  color: #333333;
  font-size: 14px;
  text-decoration: none;
}

#footer a:hover {
  color: #555555;
  text-decoration: none;
}

#footer .footer_navi {
  margin: 0;
  padding: 0;
}

#footer .footer_navi a {
  color: #333333;
  font-size: 14px;
  text-decoration: none;
}

#footer .footer_navi a:hover {
  color: #555555;
  text-decoration: none;
}

#footer .copy {
  margin: 5px 0 0 0;
  padding: 10px 0 0 0;
}

}




/*---------------------------- タブレット向けのスタイル ----------------------------*/
@media screen and (min-width:680px) and (max-width:920px) {


/*---------- メイン ----------*/

#main {
  min-width: 900px;
}

}




/*---------------------------- 共通部分（コンテンツ） ----------------------------*/


/*---------- 見出しタイトル装飾 ----------*/

#contents h3.white {
  margin: 20px 4px 20px 4px;
  padding: 10px 0 6px 0;
  line-height: 1.6;
  color: #792b04;
  border-top: none;
  border-right: none;
  border-bottom: solid 2px #aaaaaa;
  border-left: none;
  background-color: #ffffff;
  background-image: none;
}

#contents h4.memo {
  margin: 12px 0 10px 0;
  padding: 15px 10px 11px 16px;
  line-height: 1.4;
  color: #df5f08;
  border-bottom: solid 1px #df5f08;
  border-left: solid 5px #df5f08;
  background-color: #fbe8d3;
}

#contents h4.memo_w {
  margin: 12px 0 10px 0;
  padding: 16px 10px 10px 16px;
  line-height: 1.4;
  color: #54351f;
  background-color: #fff8ee;
}

#contents h4.border {
  height: 34px;
  margin: 10px 0 15px 0;
  padding: 10px 10px 0 4px;
  line-height: 1.4;
  color: #e85922;
  border-top: none;
  border-right: none;
  border-bottom: solid 3px #966934;
  border-left: none;
  background-color: #ffffff;
}


/*---------- メインコンテンツ ----------*/

img.line {
  margin: 0 8px 4px 0;
  vertical-align: middle;
}

img.head_photo {
  margin: 0 0 16px 0;
}

hr.line {
  margin: 0 0 10px 0;
  padding: 2px 0 6px 0;
  border: 0;
  border-bottom: dotted 1px #666666;
}

#news {
  height: 170px;
  overflow: auto;
  line-height: 1.8;
  padding: 8px 6px 7px 6px;
  margin: 12px 0 7px 0;
  border: solid 1px #cccccc;
  background-color: #ffffff;
}

p.back {
  margin: 0;
  padding: 0 5px 0 0;
  text-align: right;
}


/*---------- 画像の回り込み ----------*/

img.picture_le {
  margin: 0 10px 10px 0;
  float: left;
}

img.picture_ri {
  margin: 0 5px 10px 10px;
  float: right;
}

br.clear {
  display: block;
  clear: both;
}


/*---------- コンテンツ枠装飾 ----------*/

.gray_bg {
  margin: 18px 0 18px 0;
  padding: 2px 18px 2px 18px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  border-top: solid 1px #dddddd;
  border-right: solid 1px #dddddd;
  border-bottom: solid 1px #dddddd;
  border-left: solid 1px #dddddd;
  background-color: #eeeeee;
}

.gray_bg p {
  padding: 3px;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.brown_bg {
  margin: 18px 2px 18px 2px;
  padding: 2px 8px 2px 18px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  border-top: solid 1px #dddddd;
  border-right: solid 1px #dddddd;
  border-bottom: solid 1px #dddddd;
  border-left: solid 1px #dddddd;
  background-color: #f8f4e6;
}

.pink_bg {
  margin: 18px 2px 18px 2px;
  padding: 2px 8px 2px 18px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  border-top: solid 1px #dddddd;
  border-right: solid 1px #dddddd;
  border-bottom: solid 1px #dddddd;
  border-left: solid 1px #dddddd;
  background-color: #fdeee6;
}

.green_bg {
  margin: 18px 2px 18px 2px;
  padding: 2px 8px 2px 18px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  border-top: solid 1px #dddddd;
  border-right: solid 1px #dddddd;
  border-bottom: solid 1px #dddddd;
  border-left: solid 1px #dddddd;
  background-color: #f0f6da;
}

.blue_bg {
  margin: 18px 2px 18px 2px;
  padding: 2px 8px 2px 18px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  border-top: solid 1px #dddddd;
  border-right: solid 1px #dddddd;
  border-bottom: solid 1px #dddddd;
  border-left: solid 1px #dddddd;
  background-color: #ebf6f7;
}

.info_bg {
  margin: 18px 2px 18px 2px;
  padding: 2px 8px 2px 18px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  background-color: #fff8e3;
}

.point_bg {
  margin: 10px 2px 10px 2px;
  padding: 2px 5px 2px 15px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  border: solid 1px #dfcf98;
  background-color: #fcfbf9;
}

.pale_bg {
  margin: 18px 2px 18px 2px;
  padding: 8px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  background-color: #fffedf;
}

.message_bg {
  margin: 18px 2px 18px 2px;
  padding: 2px 8px 2px 18px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  background-color: #fff8e3;
  background-image: url(../img/message.png);
  background-repeat: no-repeat;
}

.memo_bg {
  margin: 8px 0 18px 0;
  padding: 6px 18px 6px 18px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  background-color: #faf2e2;
}

.memo_w_bg {
  margin: 8px 0 12px 0;
  padding: 6px 18px 6px 18px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  background-color: #fff8ee;
}

.koe_bg {
  margin: 0;
  padding: 0;
}

.koe_beta_bg {
  margin: 8px 0 8px 0;
  padding: 2px 10px 2px 10px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  background-color: #7e6a41;
}

.check_bg {
  margin: 8px 0 18px 0;
  padding: 2px 18px 2px 18px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: #6c4e1f;
  border: solid 6px #ded0b2;
  background-color: #faf1e3;
}

.check_bg p {
  margin: 18px 0 18px 0;
  padding: 0 2px 0 2px;
  line-height: 1.7;
  color: #6c4e1f;
}

.banner_bg {
  margin: 3px 0 10px 0;
  padding: 10px 10px 10px 14px;
  border-top: solid 3px #dec58e;
  border-right: solid 3px #dec58e;
  border-bottom: solid 3px #dec58e;
  border-left: solid 3px #dec58e;
  background-color: #fff8e3;
}

.waku_bg {
  margin: 14px 2px 14px 2px;
  padding: 2px 8px 2px 10px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  border-top: solid 10px #f1eae0;
  border-right: solid 6px #f1eae0;
  border-bottom: solid 10px #f1eae0;
  border-left: solid 6px #f1eae0;
}

.waku_gray_bg {
  margin: 14px 2px 14px 2px;
  padding: 6px 14px 2px 14px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  border-top: solid 2px #dddddd;
  border-right: solid 2px #dddddd;
  border-bottom: solid 2px #dddddd;
  border-left: solid 2px #dddddd;
  background-color: #fcfbf9;
}

#contents .waku_tone_bg {
  margin: 14px 2px 14px 2px;
  padding: 2px 8px 2px 10px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  border-top: solid 10px #f1eae0;
  border-right: solid 6px #f1eae0;
  border-bottom: solid 10px #f1eae0;
  border-left: solid 6px #f1eae0;
  background-color: #fffcf7;
}

.waku_gold_bg {
  margin: 14px 2px 14px 2px;
  padding: 2px 6px 2px 8px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  border-top: solid 5px #f0ddb2;
  border-right: solid 5px #f0ddb2;
  border-bottom: solid 5px #f0ddb2;
  border-left: solid 5px #f0ddb2;
  background-color: #fff8e3;
}

.gray_bg_contact {
  margin: 18px 2px 10px 2px;
  padding: 10px 8px 10px 18px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  border-top: solid 1px #dddddd;
  border-right: solid 1px #dddddd;
  border-bottom: solid 1px #dddddd;
  border-left: solid 1px #dddddd;
  background-color: #f7f5f5;
}

.gray_bg_contact p {
  margin: 0;
  padding: 3px 0 3px 0;
  line-height: 1.7;
}


/*---------- 文字装飾 ----------*/

span.big {
  font-size: 1.12em;
  line-height: 1.9;
}

span.b_big {
  font-weight: bold;
  font-size: 1.12em;
  line-height: 1.7;
}

span.b_big_x {
  font-weight: bold;
  font-size: 1.25em;
  line-height: 1.7;
}

span.check {
  font-weight: bold;
  font-size: 1.12em;
  line-height: 1.7;
  color: #555555;
}

span.red {
  color: #e60033;
}

span.red_x {
  color: #e60033;
  font-size: 1.12em;
  line-height: 1.7;
}

span.red_b {
  color: #e60033;
  font-weight: bold;
  line-height: 1.7;
}

span.red_big {
  color: #e60033;
  font-weight: bold;
  font-size: 1.12em;
  line-height: 1.7;
}

span.red_big_x {
  color: #e60033;
  font-weight: bold;
  font-size: 1.25em;
  line-height: 1.7;
}

span.brown {
  color: #5c1d01;
}

span.brown_b {
  color: #5c1d01;
  font-weight: bold;
}

span.brown_x {
  color: #5c1d01;
  font-size: 1.12em;
  line-height: 1.7;
}

span.brown_b {
  color: #5c1d01;
  font-weight: bold;
  line-height: 1.7;
}

span.brown_big {
  color: #5c1d01;
  font-weight: bold;
  font-size: 1.12em;
  line-height: 1.7;
}

span.brown_big_x {
  color: #5c1d01;
  font-weight: bold;
  font-size: 1.25em;
  line-height: 1.7;
}

span.blue {
  color: #007bbb;
}

span.blue_b {
  color: #007bbb;
  font-weight: bold;
  line-height: 1.7;
}

span.blue_big {
  color: #007bbb;
  font-weight: bold;
  font-size: 1.12em;
  line-height: 1.7;
}

span.pink {
  color: #c53d43;
}

span.pink_b {
  color: #c53d43;
  font-weight: bold;
  line-height: 1.7;
}

span.pink_big {
  color: #c53d43;
  font-weight: bold;
  font-size: 1.12em;
  line-height: 1.7;
}

span.orange {
  color: #e85922;
  line-height: 1.7;
}

span.orange_b {
  color: #e85922;
  font-weight: bold;
  line-height: 1.7;
}

span.orange_big {
  color: #e85922;
  font-weight: bold;
  font-size: 1.12em;
  line-height: 1.7;
}

span.orange_big_x {
  color: #e85922;
  font-weight: bold;
  font-size: 1.25em;
  line-height: 1.7;
}

span.green {
  color: #00ae4f;
}

span.green_b {
  color: #688119;
  font-weight: bold;
  line-height: 1.7;
}

span.green_big {
  color: #688119;
  font-weight: bold;
  font-size: 1.12em;
  line-height: 1.7;
}

span.mark {
  padding: 2px 2px 0 2px;
  color: #54351f;
  line-height: 1.7;
  background-color: #fdfaab;
}

span.mark_b {
  padding: 2px 2px 0 2px;
  color: #54351f;
  line-height: 1.7;
  font-weight: bold;
  background-color: #fdfaab;
}

span.mark_big {
  padding: 2px 2px 0 2px;
  color: #54351f;
  font-size: 1.12em;
  line-height: 1.7;
  font-weight: bold;
  background-color: #fdfaab;
}

 span.mark_red {
  padding: 2px 2px 0 2px;
  color: #e60033;
  line-height: 1.7;
  background-color: #fdfaab;
}

span.mark_red_b {
  padding: 2px 2px 0 2px;
  color: #e60033;
  font-weight: bold;
  line-height: 1.7;
  background-color: #fdfaab;
}

span.mark_brown {
  padding: 2px 2px 0 2px;
  color: #993300;
  line-height: 1.7;
  background-color: #fdfaab;
}

span.mark_brown_b {
  padding: 2px 2px 0 2px;
  color: #993300;
  font-weight: bold;
  line-height: 1.7;
  background-color: #fdfaab;
}


/*---------- サイドエリア ----------*/

#menu hr.line {
  margin: 0;
  padding: 2px 0 6px 0;
  border: 0;
  border-bottom: dotted 1px #666666;
}


/*---------- トップに戻る ----------*/

.menu_back p.back {
  margin: 6px 0 0 0;
  padding: 0 5px 0 0;
  text-align: right;
}


/*---------- タイムライン ----------*/

.timeline {
  position: relative;
  padding-left: 30px;
  margin: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #2ca7a0, #7bc0ff);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
}

.timeline-date {
  min-width: 100px;
  font-weight: bold;
  color: #1f6f8b;
  font-size: 14px;
  margin-right: 20px;
  text-align: right;
  padding-top: 5px;
}

.timeline-content {
  position: relative;
  flex: 1;
  background: #f4f9ff;
  border: 1px solid #d6e8ff;
  border-radius: 8px;
  padding: 10px 15px;
  margin-left: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid #f4f9ff;
}

.timeline-marker {
  position: absolute;
  left: -46px;
  top: 15px;
  width: 12px;
  height: 12px;
  background: #2ca7a0;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.timeline-marker.award {
  background: #FFD700;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.timeline-marker.conference {
  background: #4169E1;
  box-shadow: 0 2px 8px rgba(65, 105, 225, 0.4);
}

.timeline-marker.publication {
  background: #ff7f50;
  box-shadow: 0 2px 8px rgba(255, 127, 80, 0.4);
}

.timeline-content p {
  margin: 0;
  line-height: 1.6;
  color: #333;
}

@media screen and (max-width: 680px) {
  .timeline {
    padding-left: 20px;
  }
  
  .timeline-item {
    flex-direction: column;
  }
  
  .timeline-date {
    text-align: left;
    margin-bottom: 10px;
    margin-right: 0;
  }
  
  .timeline-content {
    margin-left: 0;
  }
  
  .timeline-marker {
    left: -36px;
  }
}

.scroll {
  width: 180px;
  height: 28px;
}
