
:root {
  --primary-red: #CF131B;
  --primary-orange: #F4A14C;
  --text-color: #000;
  --white: #FFFFFF;
  --light-gray: #D9D9D9;
  --dark-gray: #505050;
  --red-grad: linear-gradient(180deg , #F4A14C 0%, #CF131B 100%);

  --ttl-fontSize: 2.625rem;;
  --ttl-fontSizeSP: 2rem;;
  --ttl-fontWeight: 700;
  --ttl-lineHeight: 1;

  --font-Ssize: 1rem;
  --font-XSsize:  0.875rem;

  --table-border:#D9D9D9;
  --table-bg:#F1F1F1;


  --content-marginTop-pc: 6.25rem;
  --content-marginTop-sp: 1.91rem;

  --header-height: 5.2rem;

      
  --footer-marginTop-pc:20rem;
  --footer-marginTop-sp:4rem;
}
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.6;
    font-weight: normal;
    color: var(--text-color);
    overflow-x: hidden;
  }
  a {
    word-wrap: break-word;
  }

  @media (max-width: 768px) {
    body {
      font-size: var(--font-Ssize);
    }
  }


   /* --------------
   
    section Title

   -----------------*/


/* 左にborderのつくタイトル */
  .sec-heading {
    display: flex;
    flex-direction: column;
    row-gap: .31rem;
  }
  
  .sec-heading-title {
    line-height: var(--ttl-lineHeight);
    font-size: var(--font-Ssize);
  }
  
  .sec-heading-en {
    line-height: var(--ttl-lineHeight);
    font-size: var(--ttl-fontSize);
    font-weight: var(--ttl-fontWeight);
    color: var(--primary-red);
  }



  /* 赤文字タイトル */

  .red-heading {
    font-size: var(--ttl-fontSizeSP);
    color: var(--primary-red);
    font-weight: var(--ttl-fontWeight);
  }


  @media (max-width: 768px) {

    .sec-heading-title {
      font-size: var(--font-XSsize);
  }

  .sec-heading-en {
      font-size: var(--ttl-fontSizeSP);
  }


  .red-heading {
    font-size: var(--font-Ssize);
  }
  }



   /* --------------
   
    Hover Animation

    ------
    gray shape layer slide

   -----------------*/


  .layer-anime  {
    position: relative;
    overflow: hidden;
    transition: transform 0.6s ease;
  }


    .layer-anime::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    transition: width 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
    transform-origin: left;
  }
  
    .layer-anime::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--primary-red);
    transition: width 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
    transform-origin: left;
  }

  @media (hover: hover) {
    .layer-anime:hover::before,
    .layer-anime:hover::after {
    width: 100%;
    left: 0;
  }
  }
  




  /* ------------
  
  circle button 
  
  -----------------*/

  .circle-arrow {
    display: block;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    border: solid 1px var(--primary-red);
    color: var(--primary-red);

    display: flex;
    align-items: center;
    justify-self: center;
    transition: .3s ease all;
  }

  .circle-arrow::after {
    content: "";
    background: url('../img/common/arrow-r-red.svg') no-repeat;
    background-position: center;
    background-size: contain;
    width: 50%;
    height: 100%;
    margin: 0 auto;
  }


  @media (hover: hover) {

    .circle-arrow:hover {
      background-color: var(--primary-red);
    }
  
    .circle-arrow:hover::after {
      content: "";
      background: url('../img/common/arrow-r-w.svg') no-repeat;
      background-position: center;
      background-size: contain;
    }

  }




  /* パンくずリスト */
  .breadcrumb {
    margin-top:var(--header-height);
    background-color: var(--gray-light);
    padding: 1.25rem 0;
  }
  
  .breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    font-size: 0.8rem;
    color: var(--gray-dark);
  }
  
  .breadcrumb a {
    color: var(--gray-dark);
    text-decoration: none;
  }
  
  .breadcrumb li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: .62rem;
    transition: .3s ease;
  }
  .breadcrumb li::after {
    content: '>';
    display: block;
    font-size: 0.8rem;
    color: #000;
    margin-right: .62rem;
    text-decoration: none;
  }

  .breadcrumb a:hover::after {
    text-decoration: none;
  }
  
  .breadcrumb li:last-child::after  {
    content: none;
  }
  
  .breadcrumb a:hover .name {
    text-decoration: underline;
  }
  
  @media (max-width: 1200px) {
    .breadcrumb {
      padding-left: 1rem;
    }
  }
  



  /* --------------
  
  ページ内のタブ
  
  -----------------*/
  .tab-container {
    max-width: 1200px;
    margin: 0 auto 3rem;
    transition: all 0.6s ease;
  }
  
  
  .tab-nav {
    display: flex;
    border-bottom: 1px solid var(--gray-medium);
    margin-bottom: 2rem;
    width: 100%;
  }

  .tab-nav.two-btn .tab-button {
    width: calc(100% / 2);
  }
  
  .tab-button {
    width: calc(100% / 3);
    padding: 2.44rem 2rem;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    color: var(--dark-gray);
    transition: all 0.3s ease;
  }
  .tab-button::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--dark-gray);
  }
  
  .tab-button.active {
    color: var(--primary-red);
    font-weight: bold;
  }
  
  .tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-red);
  }
  
  .tab-pane {
    display: none;
  }
  
  .tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @media (max-width: 1300px) {
    .tab-container {
      max-width: 100%;
        padding-top: 1rem;
    }
  }

  @media (max-width: 768px) {

  
    .tab-nav {
      overflow-x: auto;
      white-space: nowrap;
      padding-bottom: 0.5rem;
      margin-bottom: 0;
    }
  
    .tab-button{
      padding: 1rem 1.2rem;
      font-size: 1rem;
      white-space: break-spaces;
    }

  
  }


    /* ------------
  
    その他共通のレイアウト
  
  --------------*/

  /* 下線 */
  .underline {
    text-decoration: underline;
  }

  /* リンク */

  .link {
    text-decoration: underline;
    transition: .3s ease all;
  }
  .link:hover {
    opacity: 0.7;
  }




  /* テキストの改行位置の変更 */

  .br-sp {
    display: none;
  }

  @media (max-width: 768px) {

  .br-sp {
    display: block;
  }

  .br-pc {
    display: none;
  }

}

  /* ------------
  
  第二階層
  セクションレイアウト
  タイトル
  
  --------------*/

  main {
    padding-bottom: var(--footer-marginTop-pc);
  }

  .sec-section {
  max-width: 1200px;
  margin: 12.5rem auto 0;
  }


  .sec-section-title {
    font-size: 2.625rem;
    font-style: normal;
    font-weight: 700;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 1.88rem;
    margin-bottom: var(--content-marginTop-pc);
  }

  .sec-section-title::before {
    content: "";
    position: absolute;
    background: var(--primary-red);
    height: 80%;
    width: 3px;
  }

  .sec-wrapper .sec-heading {
    margin-bottom: var(--content-marginTop-pc);
  }

  @media (max-width: 1300px) {
    .sec-section {
      margin-top: 5rem;
      padding:0;
    }

      .sec-wrapper {
        padding: 0 2.2rem;
  }
  }

  @media (max-width: 768px) {

    main {
      padding-bottom: var(--footer-marginTop-sp);
    }

  .sec-section {
    max-width:100%;
    margin: 5rem auto 0;
    padding: 0;
    }

    .sec-wrapper {
      padding: 0 2.2rem;
    }

    .sec-section-title {
      font-size: 2rem;
      column-gap: .94rem;
      margin-bottom: var(--content-marginTop-sp);
    }

    .sec-wrapper .sec-heading {
      margin-bottom: var(--content-marginTop-sp);
    }
  }
  

  /* --------------
  
  記事のレイアウト
  
  ----------------*/

  .article-item{
    margin-top: 3.13rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards 0.4s;
  }

  .article-item.report,
  .article-item.qna {
    margin-top: var(--content-marginTop-pc);
  }

  .art-text {
    margin-top: 1.87rem;
    font-size: var(--font-Ssize);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards 0.4s;
  }
  

  @media (max-width: 768px) {
    .article-item.report,
    .article-item.qna  {
      margin-top: var(--content-marginTop-sp);
    }

  }
  
  /* -------------
  
  moodBoard

  ----------------- */
  .page-header {
    background: linear-gradient(90deg, var(--primary-orange) 0%, var(--primary-red) 100%);
    height: 15rem;
    position: relative;
    overflow: hidden;

  }
  
  .page-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 ;
    z-index: 1;
  }
  
  .page-title {
    color: var(--white);
    font-size: 2.625rem;
    font-style: normal;
    font-weight: 700;
    padding-bottom: 3rem;
    line-height: 15rem;
    text-align: left;
  }
  
  .martial-arts-silhouettes {
    position: absolute;
    bottom: 0;
    right: 11%;
    width: 59.375rem;
    height: 11.98644rem;
    background-image: url('../img/common/moodBoard-img-pc.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 0;
    background-position: bottom;
  }


  @media (max-width: 1300px) {

    .page-header-content {
        max-width: 100%;
            padding:0 2.2rem;
    }
    .martial-arts-silhouettes {
        width: 43.375rem;
    }
  }
  
  @media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
        padding-bottom: .63rem;
    }
  
    .page-header-content {
      flex-direction: column;
      align-items: center;
    }

    .page-title{    
      text-align: center;
    }
  
    .martial-arts-silhouettes {
      width: 100%;
      margin: 0 auto;
      height: 5rem;
      right: 0;
      left: 0;
      background-position: bottom;
    }
  }



    /* ------------
    
    table layout 

    ----------------*/
  
    .table-content {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 3rem;
      border-top: 1px solid var(--table-border);
      border-bottom: 1px solid var(--table-border);
    }
    
    .table-content th,
    .table-content td {
      padding: .97rem 1.87rem;
      border-bottom: 1px solid var(--table-border);
      text-align: left;
      vertical-align: top;
      font-weight: normal;
      font-size: 1rem;
      font-weight: 400;
    }
    
    .table-content th {
      width: 20%;
      background-color: var(--table-bg);
    }
    
    .table-content td {
      width: 80%;
    }

    .data-column {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      align-items: flex-start;
      flex-direction: column;
      column-gap: 5%;
      row-gap: .6rem;
    }

    .data-column-item {
      display: flex;
      align-items: center;
      justify-content: center;
      column-gap: .4rem;
    }
  
    .data-grid {
      display: grid;
      grid-template-columns: repeat(2, auto);
      gap: .5rem .5rem;
    }

    .table-title {
      margin-bottom: .62rem;
    }

    .table-content ol {
      list-style: decimal;
      padding-left: 1rem;
    }

    .table-content ol li {
      padding-left: .4rem;
    }

    .table-content a {
      color: var(--primary-red);
      text-decoration: underline;
      transition: .3s ease all;
    }

    .table-content a:hover {
      opacity: 0.7;
    }

    @media (max-width: 1024px) {
      .data-grid {
        grid-template-columns: 1fr;
      }
    }
    @media (max-width: 768px) {
 
  
      /* スマホ表示のテーブル */
      .table-content {
        display: block;
        border-top: 1px solid var(--table-border);
        margin-bottom: 1.88rem;
      }
      
      .table-content tbody {
        display: block;
      }
      
      .table-content tr {
        display: block;
        border-bottom: 1px solid var(--table-border);
      }
      
      .table-content th,
      .table-content td {
        display: block;
        width: 100%;
        border-bottom: none;
        padding-left: 0;
        padding-right: 0;
      }
      
      .table-content th {
        background-color: transparent;
        padding: .62rem 0 0.31rem 0;
        color: var(--primary-red);
        font-weight: bold;
        font-size: 0.93rem;
      }å
      .table-content td {
        padding: 0.31rem 0 .62rem 0;
        font-size: 1rem;
      }

      .data-column {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        row-gap: 0.6rem;
      }
      .data-grid {
        grid-template-columns: 1fr;
      }
    }



    /* ----------------
    
    記事系の共通レイアウト
    
    ------------------*/

    .art-content {
      margin-bottom: 1.2rem;
      font-size: 0.875rem;
      opacity: 0;
      transform: translateY(20px);
      animation: fadeInUp 0.6s ease forwards;
    }  
  
    .art-content:last-child {
      margin-bottom: 0;
    }


       /* ---------------
    
    多言語ボタンのレイアウト調整
    
    -----------------*/

    .bogo-language-switcher {
      display: flex;
      align-items: center;
      justify-content: center;
      column-gap: 1rem;
    }

    ul.bogo-language-switcher li {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }



    .bogo-language-switcher li:first-child::after {
      content: '/';
      display: block;
      width: 1px;
      height: 100%;
      padding-left: .6em;
      background-color: var(--gray-dark);

    }

    .bogoflags, .bogoflags-before:before {
      display: none;
    }

    .bogoflags-us:before,
    .bogoflags-jp:before {
      display: none;
    }


    .nav-sp-list .bogo-language-switcher li {
      border-bottom: none;
    }



     /* --------------
   
Link Button　Section

   -----------------*/


  
  .link-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.9rem;
  }
  
  .link-button {
    position: relative;
    display: block;
    height: 10rem;
    text-decoration: none;
    color: var(--white);
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  
  .link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.50);
  }
  
  .link-button:hover::before {
    background: rgba(0, 0, 0, 0.8);
  }
  
  .button-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
  }
  
  .button-imgWrap {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 1rem;
    width: 100%;
  }
  .button-icon {
    width: 2.5rem;
    height: 2.5rem;
    filter: brightness(0) invert(1);
  }
  
  .link-button h2 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  .click-text {
    bottom: 20px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
  }
  
  .link-button:hover .click-text {
    opacity: 1;
    transform: translateY(0);
  }
  
  .corner-shape {
    position: absolute;
    bottom: 2.1%;
    right: 1%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 30px 30px;
    border-color: transparent transparent rgba(255, 255, 255, 1) transparent;
    z-index: 1;
  }
  

  /* 背景の画像差し替え予定 */
  .search {
    background:url('http://jabudo.ac/wordpress/wp-content/themes/budo-site/src/img/top/論文検索.jpg') no-repeat;
    background-size: cover;
    background-position: center;
  }
  
  .edit {
    background:url('http://jabudo.ac/wordpress/wp-content/themes/budo-site/src/img/top/論文投稿.jpg') no-repeat;
    background-size: cover;
    background-position: center;
  }
  
  .login {
    background:url('http://jabudo.ac/wordpress/wp-content/themes/budo-site/src/img/top/会員ページログイン.jpg') no-repeat;    
    background-size: cover;
    background-position: center;
  }
  @media (max-width: 1024px) {
    .link-container {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  @media (max-width: 768px) {
    .link-container {
      grid-template-columns: 1fr;
    }

    .link-container {
        gap: 1.8rem;
    }
  
    .link-button {
      height: 9rem;
    }
    .link-button h2 {
        font-size: 1.5rem;
    }
  
    .button-icon {
      width: 2.4rem;
      height: 2.4rem;
    }
  
    .corner-shape {
      border-width: 0 0 20px 20px;
      bottom: 3%;
      right: 1%;
    }
  }



.jump-point {
  padding-top: 530px;
  margin-top: -530px;
}

/* 英語時の余白調整 */
.en-br ,
.en-br-sp {
  display: none;
}
html[lang="en"] .en-br {
  display: block;
}


@media (max-width: 768px) {

  html[lang="en"] .en-br {
    display: none;
  }

  html[lang="en"] .en-br-sp {
    display: block;
  }
}