/*
Theme Name: Lightning Child
Template: lightning
*/

@import url(../lightning/style.css);

/* 共通CSS */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* select {
    -moz-appearance: menulist;
    -webkit-appearance: menulist;
  }
   */

li a,
p a {
  text-decoration-style: solid !important; /* ドットではなく、直線に設定 */
  text-decoration: none;
}

:where(figure) {
  margin-bottom: 0;
}

.site-header-logo img {
  margin-left: 0;
  margin-right: 0;
}

.entry-body h2 {
  position: relative;
  /* display: inline-block; */
  padding-bottom: 10px;
}


.entry-body h2 strong{
	border-bottom:3px solid #e98300;
  padding-bottom: 5px;
}

.entry-body h2::after {
/*   content: ""; */
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background-color: #e98300;
}

.entry-body h3 {
  padding-left: 16px;
  position: relative;
  font-size: 24px;
  color: #333;
}

.entry-body h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 30px;
  background-color: #ff9900;
  border-radius: 3px 3px;
  transform: translateY(-50%);
}

.sub-section .sub-section--col--two {
  display: none;
}

.entry-title--post-type--page h2 {
  border-top: none;
}

.wp-block-columns {
  display: flex;
  justify-content: center;
}

.wp-block-column {
  border-radius: 5px;
  transition: 0.5s;
}

.wp-block-column:hover {
  opacity: 0.6;
}

.wp-block-heading {
  border-top: none;
  border-bottom: none;
  padding: 8px 0;
  margin-bottom: 0 !important;
}

.has-text-align-right{
  margin-bottom: 0;
}

.has-text-align-right.pdf-text a{
  color: #00a5d9;
}

.has-text-align-center a{
  color: #00a5d9;
}

.device-mobile .global-nav-list>li .global-nav-name{
  font-size: 14px;
}

@media (max-width: 768px) {
  .wp-block-heading{
    font-size: 24px;
  }

  .entry-body h3 {
    font-size: 20px;
  }

  .wp-block-column{
    max-width: 340px;
  }
}

/*アイコン*/
.dli-chevron-round-right {
  display: inline-block;
  vertical-align: middle;
  color: #00a5d9;
  line-height: 1;
  position: relative;
  width: 8px;
  height: 8px;
  transform: translateX(-25%) rotate(45deg);
  margin-left: 8px;
}

.dli-chevron-round-right::before,
.dli-chevron-round-right::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 0.1em;
}

.dli-chevron-round-right::before {
  top: 0;
  left: 0;
  right: 0;
  height: 0.1em;
}

.dli-chevron-round-right::after {
  top: 0;
  right: 0;
  bottom: 0;
  width: 0.1em;
}

.table-footer-text a {
  position: relative;
  color: #00a5d9;
  text-decoration: none;
  padding-right: 20px; /* アイコンのスペースを空ける */
}

.table-footer-text a::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("./images/external-link.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.pdf-text{
  position: relative;
  color: #00a5d9;
  text-decoration: none;
  padding-right: 20px;
}

.pdf-text::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("./images/pdf.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.download-text a {
  position: relative;
  color: #00a5d9;
  text-decoration: none;
  padding-right: 20px;
}

.download-text a::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("./images/download.png");
  background-size: contain;
  background-repeat: no-repeat;
}


.external-link-text{
  color: #00a5d9;
}

.external-link-text a {
  position: relative;
  color: #00a5d9;
  text-decoration: none;
  padding-right: 20px;
}

.external-link-text a::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("./images/external-link.png");
  background-size: contain;
  background-repeat: no-repeat;
}


/* がん検診情報入力 */
/* テーブルのスタイル */
.table-container {
  overflow-x: auto; /* 水平方向にスクロールバーを表示 */
}

table {
  width: 100%; /* テーブルの幅を100%にする */
  min-width: 600px;
  border-collapse: collapse; /* セルの境界線を統合 */
  margin-bottom: 20px;
  border: none !important;
}

.health-check-table {
  width: 100%;
  border-collapse: collapse;
}

.health-check-table th,
.health-check-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
  vertical-align: middle;
}

.health-check-table th {
  background-color: #c9e7e7;
  font-weight: bold;
  text-align: center;
}

.health-check-table tbody th {
  text-align: left;
  white-space: nowrap;
}

.health-check-table tbody td {
  background-color: #fff;
  text-align: left;
}

.health-check-table tbody .possibility{
  border: none;
  border-top: 1px solid #ccc;
}

.health-check-table tbody .possibility.--last{
  border-bottom: 1px solid #ccc;
}

@media (max-width: 768px) {
  .table-container .health-check-table .sticky-col {
    position: sticky;
    left: 0;
    top: 0;
    background: none;
    border-left: none !important;
    border-right: none !important;
    white-space: nowrap;
  }
  .table-container .health-check-table .sticky-col::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    background: #c9e7e7;
    z-index: -1;
  }
  .health-check-table tbody th {
    text-align: left;
    white-space: normal;
  }
  .health-check-table tbody .possibility{
    width: 15%;
  }
}

/* テーブルのテキストスタイル */
.note {
  font-size: 12px;
  color: #555;
  font-style: italic;
}

.table-footer-text {
  font-size: 16px;
  text-align: right;
  font-weight: bold;
}

.table-footer-text a {
  color: #00a5d9 !important;
  text-decoration-color: #00a5d9;
}

@media (max-width: 768px) {
  .table-footer-text{
    font-size: 14px;
  }
}

/* 会社名見た目 */
.company-form {
  margin-bottom: 20px; /* 各フォームグループの下にマージンを設ける */
}

.company-form-label {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
  color: #333;
  font-weight: bold;
}

.form-input {
  width: 80% !important;
  padding: 10px 12px !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 4px !important;
  box-sizing: border-box !important;
}

.input-hint {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #333;
}

.company-form .essential {
  display: inline-block;
  font-size: 14px;
  color: #e2242c;
  font-weight: bold;
}

.submit-area {
  width: 260px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.submit-button {
  border-radius: 80px !important;
  padding: 20px 0 !important;
}

/* 改行した要素に適用 */
.health-check-table td br {
  margin-bottom: 10px;
}

/* プルダウンメニュー（select）のスタイル */
select {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* 送信ボタンのスタイル */
input[type="submit"] {
  width: 100%;
  padding: 12px;
  background-color: #E98300;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: .3s;
  font-weight: bold;
}

/* ボタンのホバー時のスタイル */
input[type="submit"]:hover {
  opacity: .6;
}

input[type="submit"]:not(:disabled):hover {
  background-color: #E98300;
  opacity: .6;
}

.company-line {
  display: block;
  border-bottom: 2px solid #d9d9d9;
  padding-bottom: 3px;
  font-size: 20px;
  font-weight: bold;
}

.card-container {
  display: flex;
  gap: 16px;
  padding: 16px;
  box-sizing: border-box;
}

/* カードのスタイル */
.card {
  width: 100%;
  max-width: 530px;
  height: 130px;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  padding: 24px;
  box-sizing: border-box;
  gap: 16px;
  position: relative;
}

/* 左側のアイコン */
.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* カードの内容 */
.card-content {
  flex: 1;
}

/* タイトル */
.card-title {
  font-size: 16px;
  margin: 0;
  font-weight: bold;
}

/* テキスト */
.card-text {
  font-size: 14px;
  margin: 4px 0 0;
  color: #333;
}

/* 右上の外部リンクアイコン */
.external-link {
  position: absolute;
  top: 24px;
  right: 24px;
}

.link-icon {
  width: 24px;
  height: 24px;
}

/* 従業員向けログイン画面 */
.login-form-container {
  background-color: #e8f0f2;
  padding: 30px;
  width: 640px;
  margin: 20px auto;
  border-radius: 8px;
}

.form-description {
  color: #333;
  font-size: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.input-label {
  display: block;
  margin-bottom: 5px;
  color: #333;
  font-size: 14px;
}

.input-field {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.submit-btn {
  width: 100%;
  padding: 10px 0;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

/* 利用企業専用ページ */
/* タブ切り替え */
.tab-wrap {
  margin-bottom: 200px;
}

.tab-group {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  align-items: flex-end;
  border-bottom: 3px solid #00a5d9;
}

.tab {
  width: 100%;
  max-width: 500px;
  flex-grow: 1;
  background: #fff; /* タブのカラー */
  border-radius: 8px 8px 0 0;
  color: #6f6f6f;
  cursor: pointer;
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  margin: 0 5px;
  padding: 16px 0 16px;
  text-align: center;
  vertical-align: bottom;
  border: 1px solid #d9d9d9;
  border-bottom: none;
}

.panel-group {
  width: 100%;
  max-width: 640px;
  min-height: 100px;
  margin: 0 auto;
  border-radius: 5px;
  padding: 20px;
  margin-top: 56px;
  background-color: #daeef7;
}

.message {
  text-align: center;
}

.panel {
  display: none;
}
.tab.is-active {
  color: #fff;
  background: #00a5d9;
  border: none;
}

.panel.is-show {
  display: block;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

input[type="text"],
input[type="password"] {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 15px;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
  color: #ccc;
}

@media (max-width: 768px) {
  .tab{
    font-size: 14px;
  }
}

/* フッター全体のスタイル */
.site-footer {
  background-color: #f8f8f8;
  color: #333;
  font-size: 14px;
  border-top: none;
}

.container.site-footer-copyright{
  display: none;
}

.custom-footer-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding-top: 40px;
}

.footer-logo p {
  font-size: 14px;
  color: #333;
  margin: 5px 0 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: left;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .footer-links{
    gap: 24px;
  }
  .footer-links .footer-column{
    text-align: left;
  }
}

.footer-column {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.footer-column h4 {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 5px;
}

.footer-column h4 .arrow {
  font-size: 18px;
  color: #00a3db;
  font-weight: bold;
}

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

.footer-column ul li {
  margin-bottom: 5px;
  line-height: 1.6;
}

.footer-column ul li a {
  color: #333;
  text-decoration: none;
}

.footer-column ul li a:hover {
  border-bottom: 1px solid #00a5d9;
}

.footer-column ul li span {
  font-size: 12px;
  color: #333;
}

.footer-column-title {
  position: relative;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 0;
}

.footer-column-title a{
  color: #333;
  text-decoration: none;
  padding-bottom: 3px;
  position: relative;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid transparent;
}

.footer-column-title :hover{
  border-bottom-color: #00a5d9;
}

/* 矢印画像のスタイル */
.footer-column-title .arrow {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url('./images/arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 25px;
  margin-bottom: 2px;
}

.footer-column-title .external {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url('./images/external-link.png');
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 25px;
  margin-bottom: 2px;
}

.footer-column-title a:hover::after {
  opacity: 1;
}

.footer-copyright {
  text-align: center;
  padding: 12px 0;
  background-color: #1c3664;
  margin-top: 40px;
}

.footer-copyright p {
  margin-bottom: 0;
  color: #ffffff;
}

@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    padding-left: 24px;
    padding-right: 24px;
  }
}

.site-footer-copyright p:nth-child(2) {
  display: none;
}

/* Lightningテーマのデフォルトのフッターを非表示 */
.footerCopyright {
  display: none;
}

.site-footer .container .site-footer-copyright {
  display: none !important;
}

.site-footer-copyright p:nth-child(1) {
  display: none;
}

/* 仕事の両立 */
.su-tabs {
  background: #fff !important;
}

.su-tabs-nav span {
  display: flex;
  background: #fff;
  justify-content: center;
  flex-wrap: wrap;
  align-items: flex-end;
  flex-grow: 1;
  border-radius: 8px 8px 0 0;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  margin: 0 5px;
  padding: 14px 0 12px;
  text-align: center;
  vertical-align: bottom;
  border: 1px solid #d9d9d9;
  border-bottom: none;
  width: 100%;
  max-width: 543px;
}

.su-tabs-nav {
  border-bottom: 3px solid #00a5d9;
}

.su-tabs-nav span.su-tabs-current {
  background: #00a5d9 !important;
  color: #fff;
}

.su-tabs-nav {
  display: flex;
}

.page-header{
  display: none !important;
}

.mainSection-col-two {
  width: 100% !important;
}

.wp-block-columns.is-not-stacked-on-mobile{
  flex-wrap: wrap !important;
}

