@charset "UTF-8";
@import url('../css/fonts.css');

:root {
  --color-theme: #29B160;
  --color-theme-sub: #65D55E;
  --color-theme-3d443d: #3D443D;
  --color-theme-ff4040: #FF4040;
  --color-text: #333333;
  --color-white: #ffffff;
  --color-gray-cccccc: #cccccc;
  --color-gray-999999: #999999;
  --color-gray-666666: #666666;
}

*, :after, :before {
  box-sizing: border-box;
  min-width: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-size: 62.5%;
}

body {
  font-feature-settings: "palt" 1;
  --tw-text-opacity: 1;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--color-text);
  font-family: Noto Sans JP, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-break: strict;
  line-height: 1.8;
  overflow-wrap: anywhere;
  word-break: normal;
  margin: 0;
}

h1,h2,h3,h4,h5,h6 {
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* スクリーンリーダー用 */
.sr-only {
  position: absolute;
  width: 0px;
  height: 0px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/*
=====================================
  IR - Feed
=====================================
*/

.c-block-feed {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.c-block-feed__link {
  display: flex;
  flex-direction: column;
  column-gap: 30px;
  row-gap: 10px;
  padding-block: 20px;
  padding-inline: 10px;
  border-bottom: 1px solid var(--color-gray-cccccc);
  text-decoration: none;
}

@media (min-width: 768px) {
  .c-block-feed__link {
    flex-direction: row;
    column-gap: 0;
    flex-wrap: nowrap;
    align-items: center;
    padding-block: 40px;
  }
}

@media (min-width: 1024px) {
  .c-block-feed__link:hover,
  .c-block-feed__link:focus {
    .c-block-feed__title h3 {
      color: var(--color-theme);
    }
  }
}

.c-block-feed__header {
  display: flex;
  flex-direction: row;
  flex: none;
  flex-wrap: nowrap;
  align-items: center;
  column-gap: 20px;
  margin-right: 0;
}

@media (min-width: 768px) {
  .c-block-feed__header {
    margin-right: 20px;
  }
}

.c-block-feed__category {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 90px;
  padding: 5px;
  background-color: var(--color-theme);
  border-radius: calc(infinity * 1px);
  text-align: center;
  font-size: clamp(12px, calc(14 / 768 * 100vw), 14px);
  font-weight: 700;
  line-height: 1;
  color: var(--color-white);
}

@media (min-width: 768px) {
  .c-block-feed__category {
    min-width: 120px;
    padding: 8px;
  }
}

.c-block-feed__time {
  flex: none;
  width: 100px;
  font-family: figtree, sans-serif;
  font-size: clamp(12px, calc(14 / 1380 * 100vw), 14px);
  font-weight: 500;
  line-height: 1;
  color: var(--color-gray-999999);
}

.c-block-feed__title {
  width: 100%;
  font-size: clamp(14px, calc(16 / 1380 * 100vw), 16px);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 5%;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .c-block-calendar__title {
    width: auto;
  }
}

.c-block-feed__title h3 {
  display: inline;
  margin-right: 10px;
  font-size: 1em;
  font-weight: 500;
  transition: color 0.3s ease;
}

.c-block-feed__file {
  display: inline-flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  margin-top: -3px;
  vertical-align: middle;
  white-space: nowrap;
}

.c-block-feed__file__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: auto;
  min-width: 50px;
  height: 20px;
  border: 1px solid var(--color-theme-ff4040);
  border-radius: calc(infinity * 1px);
  font-family: figtree, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-theme-ff4040);
}

.c-block-feed__file__size {
  color: var(--color-gray-999999);
}


/*
=====================================
  IR - Feed Archive
=====================================
*/

.c-block-feed-archive {
  text-align: right;
}

.c-block-feed-archive__wrapper {
  position: relative;
  z-index: 0;
  display: inline-flex;
  justify-content: center;
  max-width: 170px;
  width: max-content;
  margin-right: 0;
  margin-left: auto;
  border: 1px solid var(--color-gray-cccccc);
  border-radius: calc(infinity * 1px);
}

.c-block-feed-archive__wrapper::before {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: -1;
  width: 30px;
  height: 32px;
  background-color: var(--color-theme);
  border-radius: 0 calc(infinity * 1px) calc(infinity * 1px) 0;
  pointer-events: none;
  content: "";
}

.c-block-feed-archive__wrapper::after {
  position: absolute;
  top: calc(50% - 1px);
  right: 12px;
  transform: translateY(-50%) rotate(-45deg);
  z-index: 0;
  width: 7px;
  height: 7px;
  border-bottom: 2px solid var(--color-white);
  border-left: 2px solid var(--color-white);
  pointer-events: none;
  content: "";
}

.c-block-feed-archive select {
  display: block;
  height: 30px;
  padding-inline: 28px 58px;
  background-color: transparent;
  border: none;
  border-radius: calc(infinity * 1px);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 5%;
  appearance: none;
  cursor: pointer;
  color: var(--color-theme);
}


/*
    =====================================
      IRインデックス
    =====================================
    */

    .c-block-feed__title {
      font-size: clamp(14px, calc(16 / 576 * 100vw), 16px);
    }

    @media (min-width: 576px) {
      .c-block-index .c-block-feed__link {
        padding-block: 40px;
      }

      .c-block-feed__link:hover,
      .c-block-feed__link:focus {
        .c-block-feed__title h3 {
          color: var(--color-theme);
        }
      }

      .c-block-feed__category {
        min-width: 120px;
        padding: 8px;
      }
    }

    @media (min-width: 768px) {
      .c-block-index .c-block-feed__link {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    @media (min-width: 1024px) {
      .c-block-index {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(30px, calc(80 / 1380 * 100vw), 80px);
        max-width: 1170px;
      }
    }


@media (min-width: 768px) {
  .c-block-index .c-block-feed__link {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 1024px) {
  .c-block-index {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(30px, calc(80 / 1380 * 100vw), 80px);
    max-width: 1170px;
  }
}


/*
=====================================
  IRニュース
=====================================
*/

.c-block-news-tab {
  margin: 40px 0 60px;
}

.c-block-news-tab__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

@media (min-width: 768px) {
  .c-block-news-tab__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 950px;
    margin-inline: auto;
  }
}

.c-block-news-tab__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  padding-inline: 10px;
  background-color: var(--color-theme-3d443d);
  border-radius: calc(infinity * 1px);
  text-decoration: none;
  font-size: clamp(14px, calc(16 / 1380 * 100vw), 16px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 5%;
  color: var(--color-white);
  transition: background-color 0.3s ease;
}

@media (min-width: 768px) {
  .c-block-news-tab__link {
    height: 52px;
    padding-inline: 30px;
  }
}

.c-block-news-tab__link:hover,
.c-block-news-tab__link:focus {
  background-color: var(--color-theme);
}

.tab__is-active {
  background-color: var(--color-theme);
  pointer-events: none;
}

.c-block-news-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.c-block-news-content .c-block-feed {
  display: none;
}

.c-block-news-content .c-block-feed.is-active {
  display: block;
}


/*
=====================================
  財務ハイライト
=====================================
*/
.c-block-highlight {
  display: grid;
  grid-template-columns: 100%;
  gap: 40px;
}

@media (min-width: 768px) {
  .c-block-highlight {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(30px, calc(80 / 1380 * 100vw), 80px);
    max-width: 1170px;
    margin-inline: auto;
  }
}

.c-block-highlight h3 {
  margin-bottom: 20px;
  font-size: clamp(20px, calc(28 / 1380 * 100vw), 28px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 3%;
}

.c-block-graph {
  width: 100%;
}

.c-block-graph svg {
  width: 100%;
  height: auto;
}

.c-block-table {
  margin-top: 20px;
}

.c-block-table table {
  width: 100%;
  font-size: clamp(12px, calc(14 / 1380 * 100vw), 14px);
  font-weight: 500;
  line-height: 1;
}

.c-block-table table thead,
.c-block-table table tbody {
  display: block;
}

.c-block-table table tr {
  display: flex;
  flex-wrap: nowrap;
}

.c-block-table table th,
.c-block-table table td {
  flex: 1;
  text-align: center;
  padding: 12px 5px;
}

.c-block-table table th {
  background-color: var(--color-text);
  border-right: 1px solid var(--color-gray-999999);
  border-bottom: 1px solid var(--color-gray-999999);
  color: var(--color-white);
}

.c-block-table table thead th:last-child {
  border-right: none;
}

.c-block-table table td {
  border-bottom: 1px solid var(--color-gray-cccccc);
}


/*
=====================================
  IRカレンダー
=====================================
*/
.c-block-calendar {
  display: grid;
  grid-template-columns: 100%;
  gap: clamp(40px, calc(80 / 1380 * 100vw), 80px);
}

.c-block-calendar__wrapper {
  display: flex;
  flex-direction: column;
  column-gap: 20px;
}

@media (min-width: 768px) {
  .c-block-calendar__wrapper {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
  }
}

.c-block-calendar__wrapper h3 {
  flex: none;
  width: 170px;
  font-family: figtree, sans-serif;
  font-size: clamp(40px, calc(57 / 768 * 100vw), 57px);
  font-weight: 700;
  color: var(--color-theme);
}

.c-block-calendar__list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.c-block-calendar__item {
  display: flex;
  flex-direction: column;
  column-gap: 30px;
  row-gap: 10px;
  padding-block: 20px;
  padding-inline: 10px;
  border-bottom: 1px solid var(--color-gray-cccccc);
}

@media (min-width: 768px) {
  .c-block-calendar__item {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding-block: 40px;
  }
}

.c-block-calendar__time {
  flex: none;
  width: 100px;
  font-family: figtree, sans-serif;
  font-size: clamp(12px, calc(14 / 1380 * 100vw), 14px);
  font-weight: 500;
  line-height: 1;
  color: var(--color-gray-999999);
}

.c-block-calendar__title {
  width: 100%;
  font-size: clamp(14px, calc(16 / 1380 * 100vw), 16px);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 3%;
}

@media (min-width: 768px) {
  .c-block-calendar__title {
    width: auto;
  }
}

.c-block-calendar__title ul {
  margin-top: 10px;
}

.c-block-calendar__title ul li {
  padding-left: 1em;
  text-indent: -1em;
  font-size: clamp(12px, calc(14 / 1380 * 100vw), 14px);
  line-height: 1.6;
  color: var(--color-gray-666666);
}

.c-block-calendar__title ul li::before {
  content: "※";
}


/*
=====================================
  ENページ
=====================================
*/
.l-en * {
  font-family: figtree, sans-serif;
}

.l-en .c-block-feed__category {
  width: 180px;
  line-height: 1.4;
  padding-inline: 10px;
}

@media (min-width: 576px) {
  .l-en .c-block-index .c-block-feed__category {
    width: 200px;
  }
}

@media (min-width: 768px) {
  .l-en .c-block-feed__link {
    flex-direction: column;
    align-items: flex-start;
  }

  .l-en .c-block-feed__category {
    width: 200px;
  }
}

@media (min-width: 1024px) {
  .l-en .c-block-feed__link {
    flex-direction: row;
    align-items: center;
  }
}
