@charset "utf-8";

/* common */

* {
    margin: 0;   
    padding: 0;
}

a {
  text-decoration-line:none;
}

html {
  width: 100%;
  min-height: 100vh;
  position: relative; /*←相対位置*/
  padding-bottom: 120px; /*←footerの高さ*/
  box-sizing: border-box; /*←全て含めてmin-height:100vhに*/

  /* ページトップへ戻るボタンをHTMLとCSSのみで実装する方法 */
  scroll-behavior: smooth;
  
}

/* 動画 */

.ribbon {
  position: relative;
  padding: 0.6em;
  background: #e0edff;
  width: 550px;
  margin: 0 auto;
}

.ribbon:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #e0edff;
  width: 0;
  height: 0;
}

hr {
  width: 1000px;
  margin: 0 auto;
}

.daitou-video {
  width: 100%;
  height: 600px;
}

.daitou-video p{
  padding-top: 32px;
  font-size: 32px;
}

.daitou-video-content {
  margin: 32px auto 16px;
  justify-content: center;
  display: flex;
  align-items: center;
}

video {
  width: 800px;
}

/* ページトップへ戻るボタンをHTMLとCSSのみで実装する方法 */
.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #fff;
  border: solid 2px #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  opacity: 0.5;
}

.pagetop__arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #000;
  border-right: 3px solid #000;
  transform: translateY(20%) rotate(-45deg);
}

@media (hover: hover) and (pointer: fine) {
  .pagetop:hover, .pagetop:hover .pagetop__arrow {
      border-color: #3293e7;
  }
}

body {
  width: 100%;
  overflow-x:hidden;
}

/* header */

header {
  width: 100%;
}

.header_rogo img {
  padding: 12px 12px 4px;
  width: 200px;
}

header ul {
  width: 100%;
  background: black;
  color: white;
  display: flex;
  font-size: 14px;
  padding: 10px;
}

header li {
  list-style: none;
  width: auto;
  padding: 0 16px;
}

.home_header_li {
  color: white;
  text-decoration-line:none;
}  

/* マウスオーバー時 */
.home_header_li:hover {
  color: orange;
}


/* ハンバーガーメニュー */

/* チェックボックスを非表示にする */
#menu-toggle {
  display: none;
}


/* パンくずリスト */
.breadcrumb {
  margin: 0;
  padding: 1.1em 1em;
  list-style: none;
  /* background: #e9edf5; */
  overflow: hidden;
}

.breadcrumb li {
  display: inline;/*横に並ぶように*/
  list-style: none;
}

.breadcrumb li:after {
  /* >を表示*/
  font-family: FontAwesome;
  content: '>';
  padding: 0 0.2em;
  color: #8186a0;
}

.breadcrumb li:last-child:after {
  content: '';
}

.breadcrumb li a {
  text-decoration: none;
  color: #273376;
}

.breadcrumb li:first-child a:before {/*家アイコンに*/
  font-family: FontAwesome;
  /* content: '🏠'; */
  font-weight: normal;
  font-size: 1.1em;
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

/* main */

main {
  text-align: center;
}

h1 {
  color: rgb(10, 177, 236);
  font-family:'Times New Roman', Times, serif;
  font-size: 60px;
}

h2 {
  color: rgb(10, 177, 236);
  font-family:'Times New Roman', Times, serif;
  font-size: 40px;
  margin: 0 auto;
  padding: 0;
}

.main_philosophy_1{
  font-size: 20px;
  margin: 4px;
}

.main_philosophy_2 {
  width: 750px;
  margin: 0 auto;
  font-size: 19px;
}

.main_introduction {
  width: 750px;
  margin: 0 auto;
  text-align:left;
  padding-left:1em;
	text-indent:1em;

}

.main_History_1 {
  width: 500px;
  margin: 0 auto;
  font-weight:bold;
}

.main_History_2 {
  width: 750px;
  margin: 0 auto;
  text-align:left
}

.main_History_2 td {
  vertical-align: top;
  line-height: 32px;
}

.main_History_2 table {
  border-spacing: 0;
  font-size: 15px;
}

.main_History_2 td {
  border-bottom:black 1px solid;
  /* background: lightgrey; */
}

.main_History_2 tr:first-child td {
  border-top:black 1px solid;
}

.main_History_td_year {
  width: 64px;
}

.main_History_td_month {
  text-align: right;
  width: 38px;
  padding-left: 0;
  margin-left: 0;
}

.main_History_td_p {
  width: auto;
  padding-left: 16px;
}


.Offices_1 {
  color: rgb(10, 177, 236);
  font-family:'Times New Roman', Times, serif;
  font-size: 40px;
  width: 750px;
  margin: 0 auto;
  padding: 0;
}

.Offices_2 {
  width: 750px;
  margin: 0 auto;
  font-weight:bold;
}

.Offices_img {
  width: 100%;
  display: flex;
  margin: 0 auto;
  justify-content:space-between;
}

.Offices_img img {
  width: 100%;
}

.home_office_img_item {
  padding: 0 16px;
}

.Offices_img_access {
  color: rgb(10, 177, 236);
  font-family:'Times New Roman', Times, serif;
  margin: 16px;
  font-size: 20px;
}

.main_button {
  display:inline-block;
  background: rgb(10, 177, 236);
  width: 160px;
  margin: 20px auto;
  padding: 8px 0;
  color: white;
  text-decoration:none;
  border-radius: 30px;
}

/* ホームページ_お問い合わせ */

.main_inquiry {
  background: #eff;
  width: 100%;
  padding-top: 32px;
}

.main_inquiry_container {
  display: flex;
  justify-content:space-between;
}

.main_inquiry_guidance {
  flex: 1;
}

.main_inquiry_guidance2 {
  width: 490px;
  margin: 0 auto;
}

.main_inquiry_guidance img:hover {
  background: orange;
  border-radius: 50%;
}

.main_inquiry_form {
  flex: 1;
}

.main_inquiry_form2 {
  width: 490px;
  margin: 0 auto;
}

.main_inquiry_form3 {
  width: 490px;
  margin: 0 auto;
  display:flex;
  padding: 4px 0;
  text-align: left;
  margin-bottom: 12px;  
  margin-top: 12px;
}

.main_inquiry_form3_input {
  display: block;
  width: 245px;
  height: 40px;
  border: 1px red solid;
  background: #eff;
}

.main_inquiry_form3_1 {
  margin: auto;
}

.main_inquiry_form4 {
  width: 490px;
  margin: auto;
  display: flex;
  padding: 4px 0;
  text-align: left;
  margin-bottom: 12px;  
}

.main_inquiry_form4_input {
  display: block;
  width: 245px;
  height: 40px;
  border: none;
  border-bottom: black 1px solid;
  background: #eff;
}

.main_inquiry_form4_1 {
  margin: auto;
}

.main_inquiry_form5 {
  text-align: left;
  margin-bottom: 12px;
}

.main_inquiry_form5_input {
  display: block;
  width: 490px;
  height: 40px;
  border: none;
  border-bottom: black 1px solid;
  background: #eff;
}

.main_inquiry_form6 {
  text-align: left;
  margin-bottom: 12px;
}

.main_inquiry_form6_input {
  display: block;
  width: 490px;
  height: 40px;
  border: none;
  border-bottom: black 1px solid;
  background: #eff;
}

.main_inquiry_form7_submit {
  background: black;
  color: white;
  border: 1px black solid;
  width: 490px;
  height: 50px;
  margin-top: 8px;
  font-size: 20px;
}


/* footer */

footer {
  text-align: center;
  width: 100%;
  background-color: #89c7de;
  color: #fff;
  text-align: center;
  padding: 30px 0;
  position: absolute; /*←絶対位置*/
  bottom: 0; /*下に固定*/
}

small {
  font-size: 14px;
}

.product {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.product div {
  flex: 1;
}

.product p {
  margin-top: 16px;
}

.product button {
  margin-top: 16px;
  padding: 8px 16px;
  cursor: pointer;
}

.product img {
  width: 100%;
  height: auto;
}

/* プライバシーポリシー */

.privacy_main {
  width: 750px;
  margin: 0 auto;
}

.privacy_main_h2 {
  text-align:left;
  font-weight: bold;
  font-size: 1.5em;
}

.privacy_main_p {
  text-align:left;
  padding-left:1em;
	text-indent:1em;
}


/* サービス内容 */

.service_main_container {
  justify-content: center;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns	:repeat(3, 400px);
  gap: 48px;
}

.service_main_item_h2 {
  color: rgb(10, 177, 236);
  font-size: 20px;
  margin: 16px;
}

.service-main-p {
  text-indent: 1em;
  text-align: left;
}




/* 事業所一覧 */

.office_main_container {
  display: grid;
  grid-template-columns: repeat(2, 380px);
  grid-row: repeat(3, 300px);
  gap: 5%;
  justify-content: center;
  height: 1700px;
}

.office_main_item {
  background: #fed;
  padding: 0;
  text-align: left;
  font-size: 15px;
  line-height: 32px;
  font-family:'Times New Roman', Times, serif;
  box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
  border-radius: 10px;
}

.office_main_item_img_daito {
  object-fit: cover;
  height: 250px;
  background-image: url("images/にこにこﾌﾟﾗｻﾞだいとう2.webp");
  background-position:center;
  background-size: cover;
  border-radius: 10px 10px 0 0;
}

.office_main_item_img_higasiyama {
  object-fit: cover;
  height: 250px;
  background-image: url("images/にこにこﾌﾟﾗｻﾞひがしやま2.webp");
  background-position:center;
  background-size: cover;
  border-radius: 10px 10px 0 0;
}

.office_main_item_h2 {
  text-align: center;
  color: rgb(10, 177, 236);
  font-weight:800;
  font-size: 20px;
}

.office_main_item_btn {
  display: block;
  background: rgb(10, 177, 236);
  width: 160px;
  margin: 20px auto;
  padding: 8px 16px;
  color: white;
  text-decoration:none;
  text-align: center;
  border-radius: 30px;
}

.office_main_item_p {
  color: #000;
  text-indent: 16px;
  font-size: large;
  padding-top: 16px;
}


/* だいとうDS */

.daitou-ds_container {
  display: flex;
  /* justify-content: center; */
  width: 1100px;
  margin: 0 auto;
}

.daitou-ds_content {
  flex: 1;
  text-align: left;
}

.daitou-ds_content_h2 {
  color: rgb(10, 177, 236);
  font-family:'Times New Roman', Times, serif;
  font-weight:800;
  font-size: 38px;
}

.daitou-ds_content_p {
  font-size: 20px;
}

.daitou-ds_content_p_tel {
  display: flex;
  gap: 16px;
}

.daitou-ds_content_btn_line {
  display: flex;
  justify-content: flex-start; 
}

.daitou-ds_content_btn {
  background: rgb(10, 177, 236);
  width: 80px;
  margin: 20px auto;
  margin-left: 0;
  margin-right: 42px;
  padding: 8px 16px;
  color: white;
  text-align: center;
  justify-content: left;
  border-radius: 30px;
}

.daitou-ds_content_btn2 {
  background: linear-gradient(
    to right,
    rgba(247, 207, 0, 0.7),
    rgba(246, 37, 2, 0.7) 45%,
    rgba(182, 47, 82, 0.7) 75%,
    rgba(113, 58, 166, 0.7)
    );
    width: 80px;
    margin: 20px auto;
    margin-left: 0;
    margin-right: 42px;
    padding: 8px 16px;
    color: white;
    text-align: center;
    justify-content: left;
    border-radius: 30px;
}




.daitou-ds_img {
  flex: 1;
  height: 400px;
}

.daitou-ds_img img {
  box-shadow: 15px 15px 0px 0 black;
}


/* 採用情報 */

.Recruitment_main {
  width: 1120px;
  display:block;
  margin: 0 auto;
}

.Recruitment_main_block1 {
  display:flex;
  justify-content: center;
}

.Recruitment_main_block1_explanation {
  width: 460px;
  text-align:left;
  margin-left: 60px;
  font-size: 18px;
}

.Recruitment_main_block1_explanation p {
  line-height: 32px;
}

.Recruitment_main_ul {
  background: white;
  color: black;
  display: block;
  margin: 0 auto;
  padding: 0;
}

.Recruitment_main_li {
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.Recruitment_main_li div {
  padding: 16px 48px;
}

.Recruitment_main_li div img {
  object-fit: cover;
  height: 400px;
  width: 500px;
}


.Recruitment_main_li:nth-child(odd) {
  background: rgb(244, 251, 250);
  flex-direction: row-reverse;
}

.Recruitment_main_table {
  font-size: 18px;
}


/* 福利厚生 */

.welfare_main_container {
  display: grid;
  grid-template-columns: repeat(4, 254px); /* 3列の幅を254pxに設定 */
  grid-template-rows: repeat(2, 1fr); /* 2行の等高 */
  gap: 10%;
  justify-content: center;

}

.welfare_main_item {
  /* background: lightcyan; */
  padding: 0;
  text-align: left;
  font-size: 15px;
  line-height: 32px;
  font-family:'Times New Roman', Times, serif;
}

.welfare_main_item img {
  object-fit: cover;
  height: 200px;
}

.welfare_main_item_h2 {
  text-align: center;
  color: rgb(10, 177, 236);
  font-size: 20px;
  padding-top: 16px;
}



/* スマホ用 */

@media screen and (max-width: 600px) {

html {
  width: 100%;
  overflow-x:hidden;
}

.pagetop {
  display: none;
}

.pagetop__arrow {
  display: none;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
  
body {
  width: 100%;
}

ul {
  width: 100%;
}



/* スマホ：ホームページ */

.main_h1 {
  font-size: 48px;
}

.main_h2 {
  width: 350px;
  font-size: 24px;
  text-align: left;
  text-indent: 1em;
}

.main_inquiry_h2 {
  text-align: center;
}


.main_inquiry_guidance2 {
  width: 350px;
}

.main_inquiry_form6_input {
  width: 350px;
}

.main_inquiry_form7_submit {
  width: 350px;
}

.main_philosophy_2 {
  width: 350px;
  text-indent: 1em;
  font-size: 16px;
  line-height: 28px;
  text-align: left;
}

.main_introduction {
  width: 350px;
  padding: 0;
  font-size: 16px;
  line-height: 28px;
}

.main_History_1 {
  width: 350px;
}

.main_History_2 {
  width: 100%;
  font-size: 14px;
  line-height: 32px;
  padding: 4px;
  margin: 4px;
  width: fit-content;
}

.main_History_2 table {
  border-collapse: collapse;
  padding: 0;
  margin: 0;
}

.main_History_2 table td {
  vertical-align: top;
}

.main_History_td_year {
  width: 52px;
}

.main_History_td_month {
  width: 36px;
}

.main_History_td_p {
  padding-left: 4px;
}

.Offices_1 {
  width: 100%;
  margin: 0;
  padding: 0;
}

.Offices_2 {
  width: 100%;
  margin: 0;
}

.Offices_img {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
}

.Offices_img img{
  padding-top: 48px;
  object-fit: cover;
}

.Offices_img_access {
  color: rgb(10, 177, 236);
  font-family:'Times New Roman', Times, serif;
  margin: 16px;
  font-size: 20px;
}


/* スマホ：採用情報 */

.Recruitment_main {
  display:block;
  width: 350px;
  margin: 0 auto;
  justify-content: center;
}

.Recruitment_main img{
  margin: 0 auto;
  justify-content: center;
  width: 100%;
}

.Recruitment_main_block1 {
  display:block;
  justify-content: center;
}

.Recruitment_main_block1_explanation {
  width: 350px;
  margin: 32px auto 0;
  text-indent: 1em;
}

.Recruitment_main_block1_explanation p {
  line-height: 32px;
}

.Recruitment_main_ul {
  background: white;
  color: rgb(0, 0, 0);
  display: block;
  margin: 0 auto;
  padding: 0;
}

.Recruitment_main_li {
  margin: 0 auto;
  display: block;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.Recruitment_main_li div {
  padding: 12px 10px;
}

.Recruitment_main_li h2 {
  text-align: center;
}

.Recruitment_main_li td {
  font-size: 13px;
  line-height: 26px;
}

.Recruitment_main_li div img {
  object-fit: cover;
  height: 400px;
  width: 100%;
}


.Recruitment_main_li:nth-child(odd) {
  background: rgb(244, 251, 250);
  flex-direction: row-reverse;
}

.Recruitment_main_table {
  font-size: 13px;
}



/* スマホ：サービス内容 */

.service_main_container {
  padding: 16px;
  display: block;
}

.service_main_item {
  margin: 32px 0;
  padding: 32px 0;
}

.service_main_item:nth-child(odd)  {
  background: rgb(244, 251, 250);
}

.service_main_item_h2 {
  color: rgb(10, 177, 236);
  font-size: 20px;
  margin: 16px;
}

.service-main-p {
  text-align: left;
  text-indent: 1em;
}



/* スマホ：事業所一覧 */

.office_main_container {
  display: grid;
  grid-template-columns: repeat(1, 350px);
  grid-row: repeat(6, 400px); /* 1列の幅を254pxに設定 */
  gap: 16px;
  justify-content: center;
  height: 1700px;
}

.office_main_item {
  background: #fed;
  padding: 0;
  text-align: left;
  font-size: 14px;
  line-height: 24px;
  font-family:'Times New Roman', Times, serif;
  box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
}

.office_main_item_img_daito {
  object-fit: cover;
  height: 250px;
  background-image: url("images/にこにこﾌﾟﾗｻﾞだいとう2.webp");
  background-position:center;
  background-size: cover;
}

.office_main_item_img_higasiyama {
  object-fit: cover;
  height: 250px;
  background-image: url("images/にこにこﾌﾟﾗｻﾞひがしやま2.webp");
  background-position:center;
  background-size: cover;
}

.office_main_item_h2 {
  text-align: center;
  color: rgb(10, 177, 236);
  font-weight:800;
  font-size: 16px;
}

.office_main_item_btn {
  display: block;
  background: rgb(10, 177, 236);
  width: 160px;
  margin: 20px auto;
  padding: 8px 16px;
  color: white;
  text-decoration:none;
  text-align: center;
}

.office_main_item_p {
  color: #000;
  text-indent: 16px;
  font-size: 14px;
  padding-top: 4px;
  padding-bottom: 16px;
}


/* スマホ：だいとうDS */

.daitou-ds_container {
  display:grid;
  margin: 0;
  padding: 0;
  width: 100%;
  object-fit: cover;
}

.daitou-ds_content {
  padding: 16px;
  flex: 1;
  text-align: left;
  order: 2;
}

.daitou-ds_content_h2 {
  color: rgb(10, 177, 236);
  font-family:'Times New Roman', Times, serif;
  font-weight:800;
  font-size: 28px;
  text-align: center;
}

.daitou-ds_content_p {
  font-size: 18px;
  line-height: 30px;
}

.daitou-ds_content_p_tel {
  display: flex;
  gap: 16px;
}

.daitou-ds_content_btn_line {
  /* display: block; */
  /* text-align: center; */
  justify-content: center;
  margin-top: 16px;
}

.daitou-ds_content_btn {
  margin: 0 auto;
  justify-content: center;
  height: 26px;
}

.daitou-ds_content_btn2 {
  margin: 0 auto;
  justify-content: center;
  height: 26px;
}

.daitou-ds_img {
  text-align: left;
  width: 100%;
  height: 300px;
  order: 1;
}

.daitou-ds_img img {
  box-shadow: 15px 15px 0px 0 black;
  margin: 16px;
  width: 350px;
  object-fit: cover;
  box-shadow: none;
}



/* 動画 */

.ribbon {
  position: relative;
  padding: 0.6em;
  background: #e0edff;
  width: 320px;
  margin: 0 auto;
}

.ribbon:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #e0edff;
  width: 0;
  height: 0;
}

hr {
  width: 100%;
  margin: 0 auto;
}



.daitou-video {
  width: 100%;
  height: 350px;
}

.daitou-video p{
  font-size: 18px;
}

.daitou-video-content {
  margin: 32px auto 16px;
  justify-content: center;
  display: flex;
  align-items: center;
}

video {
  width: 360px;
}





/* スマホ：福利厚生 */

.welfare_main {
  width: 100%;
}

.welfare_main_p {
  text-align: left;
  text-indent: 16px;
  padding: 16px;
}

.welfare_main_strong {
  text-align: left;
  text-indent: 16px;
  padding: 16px;
}

.welfare_main h2 {
  font-size: 28px;
}

.welfare_main_container {
  grid-template-columns: repeat(1, 350px); /* 1列の幅を254pxに設定 */
  gap: 16px;
}

.welfare_main_item {
  padding: 0;
  text-align: left;
  font-size: 16px;
  line-height: 32px;
  font-family:'Times New Roman', Times, serif;
}

.welfare_main_item p {
  text-indent: 16px;
}

.welfare_main_item img {
  object-fit: cover;
  height: 260px;
}

.welfare_main_item_h2 {
  text-align: center;
  color: rgb(10, 177, 236);
  font-size: 20px;
  padding-top: 16px;
}

/* スマホ：プライバシーポリシー */

.privacy_main {
  width: 100%;
  margin: 0 auto;
}

.main_h1 {
  font-size: 28px;
}

.privacy_main_h2 {
  font-size: 16px;
  padding-left: 1.2em; 
  text-indent: -1.2em;
}

.privacy_main_p {
  font-size: 14px;
  line-height: 26px;
}



/* --- ハンバーガーメニュー --- */

.menu-container {
  /* position: fixed; */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.menu-button {
  display: block;
  position: fixed;
  top: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 2;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: #333;
  transition: 0.4s;
}

#menu-toggle:checked ~ .menu-button .bar:nth-child(1) {
  transform: rotate(45deg) translate(-2px, 3px);
}

#menu-toggle:checked ~ .menu-button .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .menu-button .bar:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -13px);
}

#menu-toggle {
  display: none;
}

.menu {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: auto;
  background-color: #f3f3f3;
  transition: 0.4s;
  z-index: 1;
  overflow-y: auto;
}

#menu-toggle:checked ~ .menu {
  top: 73px;
}

.menu ul {
  display: block;
  list-style: none;
  padding: 20px;
  background: rgb(0, 0, 0);
}

.menu li {
  width: 100%;
  height: 50px;
}

.menu ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  display: block;
  padding: 10px 0;
  transition: 0.2s;
}

.menu ul li a:hover {
  color: #bf7497;
}


}

