
h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.3;
}
h2 {
  font-size: 3.2rem;
  font-weight: 100;
  color: #FFCA3A;
  line-height: 1.3;
}
h3 {
  font-size: 3.4rem;
  color: #0974E8;
  font-weight: 700;
  line-height: 1.2;
}
@media (min-width:768px) {
  h1 {
    font-size: 5.6rem;
    font-weight: 900;
  }
  h2 {
    font-size: 5rem;
  }
  h3 {
    font-size: 4rem;
  }
}
p {
  font-size: 1.6rem;
  line-height: 1.6;
}
@media (min-width:768px) {
  p.is-large{
    font-size: 2rem;
  }
}
section {
	margin: 0 auto;
}

.header-logo {
	width: 12rem;
}
@media (min-width:768px) {
  .header-logo {
    width: 16rem;
  }
}

.section-title {
  display: flex;
  flex-direction: column;
}
.sub-title {
  font-size: 1.6rem;
  font-weight: 700;
}
@media (min-width:768px) {
  .sub-title {
    font-size: 2rem;
  }
}

.bg-primary {
  background-color: #F1F8FE;
}
.container {
  max-width: 120rem;
  margin: auto;
  padding: 2.4rem 0;
}
@media (min-width:768px) {
  .container {
    padding: 4rem 0;
  }
  .bg-primary > .container { 
    margin: 4rem auto;
  }
}

/* HERO */
.home-cover {
  padding-top: 6.4rem;
  position: relative;
}
.hero-bg {
  background: linear-gradient(161.46deg, #0974E8 36.57%, #0094FF 87.44%);
  height: min(81rem, 100%);
  width: 100%;
  position: absolute;
  top: -6.675rem;;
  z-index: -1;
}
.hero-title-wrapper {
  padding: 0 2.4rem;
}
.hero-img { 
  width: 100%;
}
.hero-title {
  color: #ffffff;
  text-align: center;
  margin: 0 0 1.6rem;
}
.br-for-tablet {
  display: none;
}
@media (min-width:768px) {
  .hero-title {
    margin: 0 0 6.4rem;
  }
  .hero-bg {
    top: -9.7rem;;
    height: min(60rem, 100%);
  }
  .hero-img {
    max-width: 120rem;
    margin: auto;
    display:flex;
  }
}
@media (min-width:900px) {
  .br-for-tablet {
    display: block;
  }
}

/* Button */
.recruit-button-base {
  border-radius: 0.6rem;
  border: 2px solid #0974E8;
  padding: 1.2rem 0;
  width: 100%;
  display: grid;
  gap: 0.4rem;
  justify-content: center;
  line-height: 1.5;
  text-align: center;
  font-weight: 600;
}
.recruit-button-base.is-floating-button {
  padding: 0.8rem 0;
  width: 25.6rem;
}
.recruit-button-base:not(.outline-white):hover {
  border: 2px solid #075BB7;
}
.outline {
  background-color: #ffffff;
  color: #0974E8;
}
.outline-white {
  border: 2px solid #ffffff;
}
.outline-white span {
  color: #ffffff;
}
.primary {
  background-color: #0974E8;
  color: #ffffff;
}
.outline span {
  color: #0974E8;
  transition: color 0.2s ease-in; 
}
.outline:hover span {
  color: #075BB7;
}
.primary span {
  color: #ffffff;
}
.button-title{
  font-size: 2.4rem;
}
.button-subtitle {
  font-size: 1.4rem;
}
.floating-button-title {
  font-size: 1.8rem;
}
.floating-button-subtitle {
  font-size: 1.2rem;
}
@media (min-width:768px) {
  .recruit-button-base {
    width: 32rem;
  }
  .button-title{
    font-size: 2.4rem;
  }
  .button-subtitle {
    font-size: 1.6rem;
  }
}


/* COMPANY MESSAGE */
.company-messages-section {
  padding: 2.4rem 0 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #252729;
}
.company-message {
  padding: 0 2.4rem;
  line-height: 2;
}
.company-message-building-mb {
  width: 14rem;
  margin: 0 2.4rem 0 auto;
  display: block;
}
.company-message-building {
  display: none;
  z-index: -1;
}
.recruit-buttons{
  display: flex;
  flex-direction: column;
  padding: 0 2.4rem;
  gap: 1.6rem;
  margin: 1.6rem 0 0;
}
@media (min-width:768px) {
  .company-messages-section {
    padding: 6rem 0;
    border: none;
  }
  .company-message {
    max-width: 80rem;
    margin: auto;
  }
  .company-message-building-mb {
    display: none;
  }
  .company-message-building {
    display: block;
    width: 100%;
    height: auto;
    position: absolute;
    bottom: -8.8vw;
  }
  .recruit-buttons{
    flex-direction: row;
    justify-content: center;
    margin: 3.2rem 0 0;
  }
}

/* VALUE */
.value-list{
  margin-top: 2.4rem;
}
.value-list li:not(:last-child) {
  margin-bottom: 4rem;
}
.value-title {
  font-size: 3.2rem;
  margin-bottom: 0.8rem;
}
@media (min-width:768px) {
  .value-title {
    font-size: 5.6rem;
    margin-bottom: 1.6rem;
  }
}

/* CREDO */
.credo-list {
  display: grid;
  margin-top: 2.4rem;
  gap: 4rem;
}
.credo-item-title {
  margin-bottom: 0.8rem;
}
@media (min-width:768px) {
  .credo-item-title {
    margin-bottom: 1.6rem;
  }
  .credo-list {
    grid-template-columns: 1fr 1fr;
    gap: 6rem 4rem;
  }
}
@media (min-width:1024px) {
  .credo-list {
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    gap: 6rem;
  }
}

/* HISTORY */
.history-contents {
  display: grid;
  gap: 1.6rem;
  margin-top: 2.4rem;
  position: relative;
}
.history-table {
  background-color: #f7f7f8;
  border-radius: 0.6rem;
  padding: 1.6rem;
  box-sizing: border-box;
}
.history-table-row {
  font-size: 1.4rem;
}
.history-table-row dt {
  font-weight: 600;
  width: 8.6rem;
  margin-bottom: 0.4rem;
  flex-shrink: 0;
  line-height: 1.8;
}
.history-table-row dd {
  line-height: 1.8;
}
.history-table-row:not(:last-child) dd {
  margin-bottom: 1.2rem;
}
.history-table-row:last-child dd {
  margin-bottom: 0;
}
.history-chart-contents {
  position: relative; 
  width: 100%;
  max-width: calc(100vw - 4.8rem);
  max-height: 46rem; 
}
.history-chart-wrapper {
  position: relative; 
}
.chart-label-x{
  position: absolute;
  color:#8C9197;
  font-size: 1rem;
}
.chart-label-y{
  position: absolute;
  color:#8C9197;
  font-size: 1rem;
  top: -2rem;
  left: 0.4rem;
}
@media (min-width:768px) {
  .history-contents {
    display: flex;
    gap: 3.2rem;
    margin-top: 2.4rem;
  }
  .history-table {
    padding: 3.2rem;
    height: 100%;
    min-height: 49.2rem;
    max-width: 49rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .history-table-row {
    display: flex;
    gap: 1.6rem;
  }
  .history-table-row:not(:last-child) dd {
    margin-bottom: 1.6rem;
  }
  .history-chart-contents {
    max-width: 68rem;
    margin-top: 3.2rem;
  }
  .history-chart-wrapper canvas {
    position: absolute; 
    top: 0; 
    left: 0; 
  }
  .chart-label-y{
    top: -3.6rem;
    font-size: 1.6rem;
    left: 0.4rem;
  }
}

/* PRODUCT */
.product {
  position: relative;
}
.product-message {
  margin: 2.4rem 0 1.6rem;
}
.product-image {
  display: none;
}
@media (min-width:768px) {
  .product-message {
    margin: 2.4rem 0;
  }
  .product-image {
    display: block;
    max-width: min(26%, 30rem);
    width: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
  }
}
@media (min-width:1024px) {
  .product-image {
    max-width: min(25%, 36rem);
    right: 0;
  }
}

/* ABOUT */
.speakerdeck-wrapper {
  margin-top: 2.4rem;
}
.speakerdeck-wrapper p {
  margin-top: 1.6rem;
}
.speakerdeck-embed-wrapper:nth-child(2) {
  margin: 1.6rem auto 0;
}
@media (min-width:768px) {
  .speakerdeck-wrapper {
    margin-top: 2.4rem;
  }
  .speakerdeck-wrapper p {
    text-align: center;
    margin-top: 2.4rem;
  }
  .speakerdeck-embed-wrapper {
		max-width: 96rem;
		margin: auto;
		width: 100%;
	}
  .speakerdeck-embed-wrapper:nth-child(2) {
		margin: 2.4rem auto 0;
	}
}

/* MEMBER */
.member-contents {
  display: grid;
  grid-template-areas: "position"
  "age"
  "gender"
  "residence"
  "raising-children";
  gap: 1.6rem;
  margin-top: 2.4rem;
}
.member-contents > li {
  padding: 1.6rem;
  box-shadow: 0px 0px 16px rgb(0 0 0 / 10%);
  border-radius: 0.6rem;
}
.position{
  grid-area: position;
  position: relative;
}
.age{
  grid-area: age;
  position: relative;
}
.gender{
  grid-area: gender;
  position: relative;
}
.residence{
  grid-area: residence;
}
.raising-children{
  grid-area: raising-children;
}
.member-contents-title {
  font-size: 2rem;
  font-weight: 600;
}
.chart-wrapper {
  max-width: 20rem;
  margin: auto;
}
.doughnut-chart-text {
  font-size: 2rem;
  font-weight: 600;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.residence-area-ul{
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr 1fr;
  margin-top: 0.8rem;
}
.residence-area-ul > li{
  background-color: #f1f8fe;
  border-radius: 0.6rem;
  display: grid;
  justify-content: center;
  text-align: center;
  padding: 0.8rem;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.5;
}
.residence-num {
  font-size: 2.4rem;
}
.residence-num  span{
  font-size: 1.6rem;
}
.residence .description {
  font-size: 1.2rem;
  margin-top: 0.4rem;
}
.raising-children{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.6rem;
}
.num {
  font-size: 2.4rem;
}
.num span {
  font-size: 1.6rem;
}
.raising-children img {
  width: 8rem;
  height: auto;
}
.raising-children-text-block {
  line-height: 1.5;
  display: grid;
  gap: 0.4rem;
  word-break: keep-all;
}
.raising-children-num {
  font-size: 2.4rem;
}
.raising-children-num span {
  font-size: 1.6rem;
}
@media (min-width:768px) {
  .member-contents {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-areas: "position position age age gender gender"
    "residence residence residence raising-children raising-children raising-children";
    gap: 2.4rem;
  }
  .member-contents > li {
    padding: 3.2rem;
  }
  .member-contents-title {
    font-size: 2.4rem;
  }
  .chart-wrapper {
    max-width: 30rem;
  }
  .doughnut-chart-text {
    font-size: 2.4rem;
  }
  .residence-area-ul{
    grid-template-columns: 1fr 1fr;
    margin-top: 1.6rem;
  }
  .residence-area-ul > li{
    padding: 1.6rem 1.2rem;
    word-break: keep-all;
  }
  .area-name {
    font-size: 2.4rem;
  }
  .residence-num {
    font-size: 4rem;
  }
  .residence-num span {
    font-size: 2.6rem;
  }
  .residence .description {
    font-size: 1.4rem;
    margin-top: 0.8rem;
  }
  .raising-children-num {
    font-size: 6.4rem;
  }
  .raising-children-num span {
    font-size: 4rem;
  }
  .raising-children img {
    max-width: 20rem;
    width: 100%;
  }
}
@media (min-width:1024px) {
  .member-contents-title {
    font-size: 3.2rem;
  }
  .doughnut-chart-text {
    font-size: 3.2rem;
  }
  .raising-children-text-block {
    padding-left: 3.2rem;
  }
  .raising-children-num {
    font-size: 10rem;
    word-break: keep-all;
  }
  .raising-children-num span {
    font-size: 6.4rem;
  }
}
@media (min-width:1220px) {
  .residence-area-ul{
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

/* WELFARE */
.welfare-contents {
  display: flex;
  flex-direction: column-reverse;
  margin-top: 2.4rem;
}
.welfare-image-wrapper {
  margin: auto;
}
.welfare-contents img {
  width: 20rem;
  margin: auto;
}
.welfare-contents li li {
  font-size: 1.6rem;
  font-weight: 700;
  list-style: disc !important;
  list-style-type: disc;
	margin-left: 2.4rem;
}
.is-small {
  font-size: 1.2rem;
}
@media (min-width:768px) {
  .welfare-contents {
    flex-direction: row;
    gap: 5.6rem;
  }
  .welfare-image-wrapper {
    margin: 0;
  }
  .welfare-contents > ul {
    display: flex;
    gap: 5.6rem;
  }
  .welfare-contents img {
    width: 28rem;
    height: auto;
  }
  .welfare-contents li {
    font-size: 1.8rem;
  }
  .is-small {
    font-size: 1.4rem;
  }
}

/* recruitment-container */
.recruitment-container{
  display: grid;
  grid-template-areas: "header"
  "image"
  "buttons"
  ;
} 
.recruitment-image-wrapper {
  margin: auto;
  grid-area: image;
}
.recruitment-container img{
  width: 20rem;
}
.recruitment-container h4{
  grid-area: header;
  font-size: 2rem;
  color: #252729;
  line-height: 1.5;
  margin-bottom: 0;
}
.recruitment-container ul{
  grid-area: buttons;
  font-size: 2rem;
  color: #252729;
}
@media (min-width:1024px) {
  .recruitment-container{
    grid-template-areas: "image header"
    "image buttons";
  }
  .recruitment-container img{
    width: 32rem;
  }
  .recruitment-container h4{
    font-size: 3.2rem;
    margin: auto 0 0;
  }
}

/* MANAGEMENT */
.management-ul  {
  display: grid;
  gap: 4rem;
}
.management-title {
  width: 100%;
  height: 45vw;
  position: relative;
  margin-bottom: 1.6rem;
  border-radius: 5rem;
  overflow-y: hidden;
}
.management-title-bg {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: end;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  padding: 0 2.4rem;
  border-radius: 20rem;
  width: 100%;
  height: 10rem;
  box-sizing: border-box;
}
.management-img {
  width: 70%;
  height: auto;
  left: -2.4rem;
  bottom: 0;
}
.management-position {
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: right;
  white-space: pre-wrap;
}
.management-name {
  font-size: 1.6rem;
}
.management-img {
 position: absolute;
}
.note-button {
  background-color: #252729;
  padding: 8px 16px 8px 16px;
  color: #ffffff;
  border-radius: 10rem;
  display: inline-flex;
  margin-left: 0.8rem;
  transition: background-color .2s ease-in;
}
.logo-note {
  height: 2.5rem;
  width: auto;
}
.management-note-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.6rem;
}
.management-note-link:hover .note-button {
  background-color: #4E5156;
}
.management-note-title {
  font-size: 1.4rem;
  color: #252729;
}
.disabled-title {
  color: #8C9197;
}
.disabled-button {
  opacity: 0.1;
}
.management-description {
 font-weight: 600;
 white-space: pre-wrap;
}
@media (min-width:768px) {
  .management-position {
    font-size: 1.4rem;
  }
  .management-title {
    height: 26vw;
    border-radius: 7rem;
  }
  .management-title-bg {
    height: 14rem;
    width: 100%;
    padding: 0 4.8rem;
  }
  .management-img {
    max-width: 32rem;
    width: 60%;
    height: auto;
    left: 8%;
  }
}
@media (min-width:900px) {
  .management-ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8rem 0;
  }
  .management-ul li {
    width: 50%;
    box-sizing: border-box;
    margin: 0;
  }
  .management-ul li:nth-child(even) {
    padding-left: 3rem;
  }
  .management-ul li:nth-child(odd) {
    padding-right: 3rem;
  }
  .management-title {
    width: 100%;
    height: 21rem;
  }
  .management-position {
    font-size: 1.6rem;
    width: 52%;
  }
  .management-name {
    font-size: 2rem;
  }
  .management-description {
    max-width: 44rem;
    margin: auto;
  }
}

.primary {
  background-color: #0974E8;
}
.primary:not(.is-floating-button):hover{
  background-color: #0974E8;
}
.yellow {
  background-color: #FFCA3A;
}
.pink {
  background-color: #FF708B;
}
.purple {
  background-color: #9D6AF0;
}
.green {
  background-color: #35AD8B;
}
.brown {
  background-color: #796B69;
}

/* VOICE */
.voice-ul {
	display: grid;
	gap: 1.6rem;
	width: 100%;
	margin-top: 2.4rem;
}
.voice-ul img {
	width: 100%;
	border-radius: 0.6rem;
}
@media (min-width: 768px) {
  .voice-ul {
		gap: 2.4rem;
		grid-template-columns: 1fr 1fr 1fr;
	}
}

/* EVENT */
.event-list li.card-container {
  margin-bottom: 1.6rem;
}
.event-list {
  margin-top: 2.4rem;
}
@media (min-width:768px) {
  .event-list {
    display: flex;
    flex-wrap: wrap;
  }
  .event-list li.card-container {
    width: 50%;
    box-sizing: border-box;
    margin: 0;
    max-width: 60rem;
  }
  .event-list li.card-container:nth-child(-n+2) {
    margin-bottom: 8rem;
  }
  .event-list li.card-container:nth-child(odd) {
    padding-right: 1.5rem;
  }
  .event-list li.card-container:nth-child(even) {
    padding-left: 1.5rem;
  }
}

/* Card */
.card-list-container {
	gap: 1.6rem;
	display: grid;
}
.tab-contents > .card-list-container {
	padding: 3.2rem 2.4rem 0;
	box-sizing: border-box;
}
.card-container {
	width: 100%;
}
.card-container > a {
	display: flex;
  flex-direction: column;
  box-shadow: 0px 0px 16px rgb(0 0 0 / 10%);
  border-radius: 6px;
  background-color: #ffffff;
  transition: box-shadow .2s ease-in;
}
.card-container > a:hover {
	box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.2);
}
.card-image {
	width: 100%;
  height: auto;
	border-radius: 6px 6px 0 0;
}
.card-description {
	padding: 2.4rem;
	word-break: break-all;
	height: 100%;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-description > div {
	display: grid;
	gap: 1.6rem;
	margin-bottom: 1.6rem;
}
.card-tags{
	display: flex;
	gap: 0.8rem;
  font-size: 1.2rem;
  color: #72777E;
}
.tag {
	font-size: 1.2rem;
	line-height: 1.5;
	color: #4E5156;
	padding: 0.4rem 0.6rem;
	border-radius: 3px;
	background-color: #EAEBEC;
}
.card-event {
	position: relative;
}
.event-finish-tag {
	padding: 0.1rem 0.2rem;
	background-color: #4E5156;
	border-radius: 3px;
	font-size: 1rem;
	color: #ffffff;
	position: absolute;
	top: 0.8rem;
	right: 0.8rem;
	line-height: 1.5;
}
.card-event-date {
	margin-top: -0.8rem;
  color: #72777E;
  font-size: 1.2rem;
}
.horizontal-card-event-date {
	margin-top: 0.8rem;
}
.card-title {
	font-size: 1.6rem;
  color: #0974E8;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .card-container > a {
    height: 100%;
  }
	.card-list-container {
		gap: 2.4rem;
		grid-template-columns: 1fr 1fr 1fr;
	}
	.tab-contents > .card-list-container {
		padding: 8rem 4rem 0;
		box-sizing: border-box;
	}
	.card-container {
    max-width: 57rem;
	}
  .event-list li.card-container:nth-child(odd) .event-finish-tag {
    right: 2.3rem;
  }
}

/* INTERVIEW */
.interview-text-block {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  height: 100%;
  gap:1.6rem;
}
.interview-text-block > div:first-child {
  display: grid;
  gap: 0.8rem;
}
.interview-detail {
  display: grid;
  gap: 0.4rem;
}
.tag {
  width:-moz-fit-content; 
  width:fit-content;
}
.horizontal-card-container {
  min-width: unset;
}
.horizontal-card-container > a {
  display: grid;
  padding: 0;
}
.interview-card-image {
  width: 100%;
  height: auto;
}
.interview-card-image > img {
  border-radius: 0.6rem 0.6rem 0 0;
}
.interview-ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
}
.horizontal-card-description {
  padding: 2.4rem;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .horizontal-card-container {
    max-width: unset;
  }
  .horizontal-card-container > a {
    display: flex;
    padding: 0.8rem 1.6rem 0.8rem 0.8rem;
  }
  .interview-ul {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    gap: 2.4rem;
  }
  .interview-card-image {
    max-width: 24rem;
  }
  .interview-card-image > img {
    border-radius: 0.6rem;
  }
  .interview-text-block {
    flex-direction: column;
  }
  .horizontal-card-description {
    padding: 0 0 0 1.6rem;
  }
}
@media (min-width: 900px) {
  .interview-ul {
    grid-template-columns: 1fr 1fr;
    max-width: 128rem;
  }
  .horizontal-card-container {
    max-width: 62.8rem;
  }
}

/* PAGE BOTTOM IMAGE */
.full-member-image-container {
	width: 100%;
  height: 48rem;
  position: relative;
}
.full-member-image-container > img {
	object-fit: cover;
  height: 100%;
}
.bottom-text-block {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  flex-direction: column;
  gap: 1.2rem;
  margin: 0 2.4rem;
}
.bottom-text-block h5 {
  font-size: 2rem;
  text-align: center;
  color: #ffffff;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .full-member-image-container {
    height: 100%;
    margin-top: 4rem;
  }
  .bottom-text-block {
    gap: 3.2rem;
  }
  .bottom-text-block h5 {
    font-size: 3.2rem;
  }
}

/* FLOATING BOX */
.recruit-floating-box {
  display: none;
}
.is-show {
	display: block;
}
@media (min-width: 768px) {
  .recruit-floating-box {
    position: fixed;
    bottom: 1.6rem;
    right: 1.6rem;
    z-index: 20;
    border-radius: 0.6rem;
    box-shadow: 0px 0px 16px rgb(0 0 0 / 10%);
    background-color: #ffffff;
    padding: 1.6rem;
    box-sizing: border-box;
  }
  .recruit-floating-box > h6 {
    color: #252729;
    font-size: 1.6rem;
    text-align: center;
    line-height: 1.5;
  }
  .recruit-floating-box-buttons{
    margin-top: 0.8rem;
  }
  .recruit-floating-box-buttons li:first-child{
    margin-bottom: 0.8rem;
  }
}