/* CSS Document */
:root {
  --primary-color: hsla(247,79%,22%,1.00);
  --secondary-color: hsla(195,100%,45%,1.00);
  --tertiary-color: hsla(53,100%,50%,1.00);
  --accent-color: hsla(18,84%,50%,1.00);
  --text-color: hsla(247,79%,22%,1.00);
  --bg-color: hsla(0,0%,97%,1.00);
}
html {
  font-size: 10px;
}
@media (min-width: 992px) {
   /* 横幅が800px以上の場合に適用するスタイル */
   html {
    font-size: 18px;
  }
}
a {
    text-decoration: none;
}
body {
	font-family: 'Noto Sans JP', sans-serif;
	}
.fw100	 {
	font-weight:100
	} 
.fw300	 {
	font-weight:300
	} 
.fw400	 {
	font-weight:400
	} 
.fw500	 {
	font-weight:500
	} 
.fw600	 {
	font-weight:600
	} 
.fw700	 {
	font-weight:700
	} 
.fw900	 {
	font-weight:900
	}
p {
  font-size: 1.00rem;
}
.heading {
    display: inline-block;
    position: relative;
    transform: rotate(-5deg);
    padding: .5em .7em;
    border-left: 2px dotted rgba(0, 0, 0, .1);
    border-right: 2px dotted rgba(0, 0, 0, .1);
    box-shadow: 0 0 5px rgba(0, 0, 0, .2);
    background-color: var(--primary-color);
    color: var(--tertiary-color);
}
.heading-reverse {
    display: inline-block;
    position: relative;
    transform: rotate(-5deg);
    padding: .5em .7em;
    border-left: 2px dotted rgba(0, 0, 0, .1);
    border-right: 2px dotted rgba(0, 0, 0, .1);
    box-shadow: 0 0 5px rgba(0, 0, 0, .2);
    background-color: var(--tertiary-color);
    color: var(--primary-color);
}
.heading-sub {
    position: relative;
    padding: .3rem 0 .2rem 2.0rem;
    color: var(--primary-color);
}

.heading-sub::before {
    position: absolute;
    top: 0.3rem;
    left: 0.5rem;
    transform: rotate(30deg);
    height: 0.6rem;
    width: 0.8rem;
    background: var(--accent-color);
    content: '';
}
.heading-sub::after {
    position: absolute;
    transform: rotate(10deg);
    top: 1.2rem;
    left: 0;
    height: 0.8rem;
    width: 1.0rem;
    background: var(--accent-color);
    content: '';
}
.list-one {
    list-style-type: none;
    padding: 1em;
    border: 2px solid #2589d0;
}

.list-one li {
    display: flex;
    align-items: center;
    gap: 0 10px;
    position: relative;
    padding: .3em .3em .3em 1.5em;
}

.list-one li::before,
.list-one li::after {
    position: absolute;
    content: '';
}

.list-one li::before {
    left: 0;
    width: 1.2em;
    height: 1.2em;
    border-radius: 50%;
    background-color: #2589d0;
}

.list-one li::after {
    left: .6em;
    transform: translateX(-75%) rotate(-45deg);
    width: .3em;
    height: .3em;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
}

.list-two {
    list-style-type: none;
    padding: 1em;
}
.list-three {
    border: 2px solid  var(--secondary-color);
}

.list-three div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 10px 0;
    background-color: var(--secondary-color);
    color: #fff;
    font-weight: 600;
}

.list-three ul {
    list-style-type: disc;
    margin: 0;
    padding: 1em 1em 1em 2.5em;
}

.list-three li {
    padding: .3em .3em .3em 0;
}

.list-three li::marker {
    color: var(--secondary-color);
    font-size: 1.1em;
}
.button-confirm {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 1em 2em;
    overflow: hidden;
    border: none;
    border-radius: 25px;
    background-color: #2589d0;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
}

.button-confirm::before {
    display: block;
    position: absolute;
    top: -50%;
    left: -30%;
    transform: rotate(30deg);
    width: 70px;
    height: 100px;
    content: '';
    background-image: linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
    background-image: -webkit-gradient(linear, left bottom, right bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(255, 255, 255, 0)));
    animation: animation-button-confirm 2s infinite linear;
}

.button-confirm::after {
    transform: rotate(45deg);
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 2.5rem;
    border-top: 0.5rem solid #fff;
    border-right: 0.5rem solid #fff;
    content: '';
}

.button-confirm:hover {
    background-color: #1579c0;
}

.box-one {
    position: relative;
    margin-top: 1em;
    padding: 1.8em 1.5em 1em 1.5em;
    border: 2px solid var(--secondary-color);
}

.box-one > div {
    position: absolute;
    top: -1.15em;
    left: -.5em;
    padding: .4em 1.4em;
    border-radius: 25px;
    background-color: var(--secondary-color);
    color: #fff;
    font-size: .9em;
}

.box-one > div::before {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 8px;
    background-color: var(--secondary-color);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

.box-one p {
    margin: 0;
}

/* ベースのスタイル（必要に応じて調整してください） */
.company-profile {
  width: 100%;
  box-sizing: border-box;
  line-height: 1.8;
}

.table-container {
  width: 100%;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 20px;
  padding: 1.2rem 0; /* 上下の余白 */
}

/*-----------------------------------
  テーブル本体のデザイン
-----------------------------------*/
.profile-table {
  width: 90%; /* コンテナ内で少し小さくして左右の余白を作る */
  margin: 0 auto;
  border-collapse: collapse; /* 隙間をなくす */
  font-size: 15px;
}

.profile-table th,
.profile-table td {
  padding: 1.6rem;
  text-align: left;
  position: relative;
  vertical-align: top;
}

.profile-table th {
  width: 16rem; /* PCでの項目幅 */
  font-weight: bold;
}

/* 下線（共通） */
.profile-table tr {
  border-bottom: 1px solid #565656;
}

/* 最後の行だけ下線を消す */
.profile-table tr:last-child {
  border-bottom: none;
}

/*-----------------------------------
  thの右側の縦線（疑似要素）
-----------------------------------*/
.profile-table th::after {
  content: "";
  display: block;
  width: 2px;
  height: 50%; /* 線の高さ（余白を作るポイント） */
  background-color: #565656;
  position: absolute;
  right: 0;
  top: 25%; /* 中央に配置 */
  border-radius: 40px;
}

/*-----------------------------------
  スマホ対応（レスポンシブ）
-----------------------------------*/
@media screen and (max-width: 640px) {
  .profile-table {
    width: 90%;
  }

  /* テーブル要素をブロック化して縦積みにする */
  .profile-table tr,
  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .profile-table tr {
    margin-bottom: 5px;
    border-bottom: 1px solid #565656;
  }

  .profile-table tr:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .profile-table th {
    padding: 10px 0 5px;
    width: 100%;
  }

  .profile-table td {
    padding: 0 0 10px;
  }

  /* スマホではth右の縦線を消す */
  .profile-table th::after {
    display: none;
  }
}