@charset "utf-8";

@media screen and (min-width: 900px) {
  .company{
    font-size: 12px;
    line-height: 1.5;
  }

  #heading {
    padding-bottom: 0;
    margin-bottom: 100px;
    border-bottom: 2px solid #B7B7B7;
  }
  #heading ul.breadcrumb {
    padding: 10px 0;
    margin-bottom: 0;
    float: right;
  }

  div.category-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
  }
  div.category-heading-contents {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #09529e;
  }
  div.category-heading-ttl {
    font-size: 70px;
  }
  div.category-heading-ruby {
    font-size: 16px;
    border-bottom: 2px solid;
    padding-bottom: 15px;
    margin-left: 25px;
    margin-bottom: -15px;
  }

  .contentsFlex {
    display: flex;
    align-items: flex-start;
  }

/* =========================
*  サイドメニュー（PC）
========================= */
  .left_menu {
    width: 360px;
  }
  .accordion {
    border-bottom: solid 1px #B7B7B7;
    margin: 0 60px 0 0;
  }
  .accordion .toggle {
    display: none;
  }
  .accordion .option {
    position: relative;
  }
  .accordion .title,
  .accordion .content {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: all 0.3s;
  }
  .accordion .title {
    border-top: solid 1px #B7B7B7;
    /* border-bottom: solid 1px #ccc; */
    padding: 32px 0 0;
    display: block;
    color: #333333;
    font-weight: 700;
    font-size: 16px;
    height: 48px;
  }
  .accordion .title::after,
  .accordion .title::before {
    content: "";
    position: absolute;
    right: 5px;
    top: 36px;
    width: 1px;
    height: 0.75em;
    background-color: #0052A5;
    transition: all 0.3s;
  }
  .accordion .title::after {
    transform: rotate(90deg);
  }
  .accordion .content {
    max-height: 0;
    overflow: hidden;
  }
  .accordion .content p {
    margin: 0;
    padding: 0 15px 15px;
    line-height: 1.5;
  }
  .accordion .content p:first-child {
    padding: 30px 15px 15px;
  }
  .accordion .content p:last-child {
    padding: 0 15px 30px;
  }
  .accordion .content p:first-child:last-child {
    padding: 30px 15px;
  }
  .accordion .toggle:checked + .title + .content {
    max-height: 500px;
    transition: all 1s;
    font-size: 14px;
    border-top: solid 1px #ccc;
  }
  .accordion .toggle:checked + .title::before {
    transform: rotate(90deg) !important;
  }

  .bnr_kyobun {
    margin: 30px 60px 0 0;
  }

/* =========================
*  会社概要（PC）
========================= */
  .right_contents {
    width: 840px;
  }
  h2.style01 {
    position: relative;
    padding: 0 0 15px;
    border-bottom: solid 1px #bdd9ff;
    font-size: 30px;
    font-weight: 500;
    color: #0052A5;
    line-height: 1em;
    width: 100vw;
    margin: 0 calc(50% - 50vw) 45px 0;
  }
  h2.style01::after {
    position: absolute;
    content: "";
    display: block;
    border-bottom: solid 4px #5e91c6;
    bottom: -2px;
    left: 0;
    width: 50px;
  }
  .profile_body {
    font-size: 14px;
    margin: 45px 0 0;
    color: #1C1C1C;
  }
  .profile_body ul {
    display: flex;
  }
  .profile_body ul li:first-child {
    width: 24%;
    margin: 0 1% 0 0;
    color: #0052A5;
    border-bottom: 2px solid #0052A5;
    font-weight: 600;
  }
  .profile_body ul li {
    width: 75%;
    padding: 1.5em;
    border-bottom: 1px solid #0052A5;
  }
  /*
  .profile_body ul:last-child li:first-child {
    border-bottom: none;
  }
  .profile_body ul:last-child li {
    border-bottom: none;
  }
  */
  .profile_body ul li a {
    color: #0052A5;
    text-decoration: underline;
  }
  .profile_body dt {
    font-weight: 600;
    margin: 0 0 1em;
  }
  .profile_body dd {
    margin: 0 0 2em 1em;
  }
  .profile_body dd:last-child {
    margin: 0 0 0 1em;
  }
  .profile_body dd a {
    color: #0052A5;
    text-decoration: underline;
    margin: 0 1em;
    display: inline-block;
  }

}

@media screen and (max-width: 899px) {
  #heading {
    padding-bottom: 0;
    margin-bottom: 50px;
    background-color: #f5f5f5;
  }
  #heading ul.breadcrumb {
    padding: 5px 0;
    margin-bottom: 0;
  }
  #heading ul.breadcrumb li {
    padding: 5px 0;
    font-size: 12px;
  }

  div.category-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10vw 0;
  }
  div.category-heading-contents {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #09529e;
  }
  div.category-heading-ttl {
    font-size: 10vw;
  }
  div.category-heading-ruby {
    font-size: 4.0vw;
    border-bottom: 2px solid;
    padding-bottom: 0.3em;
    margin-left: 1em;
  }
  h2.style01 {
    position: relative;
    padding: 0 0 10px 0;
    margin-bottom: 30px;
    border-bottom: solid 2px #bdd9ff;
    font-size: 4vw;
  }
  h2.style01::after {
    border-bottom: solid 5px #5e91c6;
    bottom: -3px;
    position: absolute;
    content: "";
    display: block;
    border-bottom: solid 4px #5e91c6;
    bottom: -2px;
    left: 0;
    width: 50px;
  }
  .drawer_menu {
    background: #ffffff;
    display: flex;
    justify-content: left;
  }

  .drawer_menu a {
  	color: inherit;
  	text-decoration: none;
  }

  .drawer_menu a:visited {
  	color: inherit;
  }

  .drawer_menu .drawer_bg {
		width: 100%;
		height: 100%;
		position: fixed;
		background-color: rgba(51, 51, 51, 0.5);
		display: none;
		top: 0;
		left: 0;
	}

	.drawer_menu .drawer_button {
		display: block;
		background-color: #09529e;
		color: #fff;
		border: none;
		padding: 5px;
		width: 50px;
		letter-spacing: 0.1em;
		cursor: pointer;
		/* position: fixed;
		top: 10px;
		right: 10px; */
		z-index: 2;
		text-align: center;
		outline: none;
	}

	.drawer_menu .drawer_button.active .drawer_bar {
		width: 40px;
	}

	.drawer_menu .drawer_button.active .drawer_bar1 {
		transform: rotate(30deg);
	}

	.drawer_menu .drawer_button.active .drawer_bar2 {
		opacity: 0;
	}

	.drawer_menu .drawer_button.active .drawer_bar3 {
		transform: rotate(-30deg);
	}

	.drawer_menu .drawer_button.active .drawer_menu_text {
		display: none;
	}

	.drawer_menu .drawer_button.active .drawer_close {
		display: block;
	}

	.drawer_menu .drawer_bar {
		display: block;
		height: 2px;
		margin: 8px 2px;
		transition: all 0.2s;
		transform-origin: 0 0;
    background: #ffffff;
	}

	.drawer_menu .drawer_text {
		text-align: center;
		font-size: 10px;
	}

	.drawer_menu .drawer_close {
		letter-spacing: 0.08em;
		display: none;
	}

	.drawer_menu .drawer_menu_text {
		display: block;
	}

	.drawer_menu .drawer_nav_wrapper {
		width: 250px;
		height: 100%;
		transition: all 0.2s;
		transform: translate(250px);
		position: fixed;
		top: 68px;
		right: 0;
		z-index: 1000;
		background-color: #FFF;
		/* ドロワーメニュー内背景色 */
		overflow-x: hidden;
		overflow-y: auto;
	}

	.drawer_menu .drawer_nav {
		display: block;
		position: relative;
	}

	.drawer_menu .drawer_nav li {
    background-color: #fff;
    height: auto;
    line-height: 1.5em;
    position: relative;
    border-bottom: 1px solid #eee;
    padding: 1em 0;
	}

  .drawer_menu .drawer_nav .second-level li:has(a[href="/well-being/"]),
  .drawer_menu .drawer_nav .second-level li:has(a[href="https://kids.ohbsn.com/"]) {
    border-bottom: none;
    padding: 1em 0 0;
  }

  .drawer_menu .drawer_nav .second-level li:has(a[href="/well-being/#bsn-sdgs"]),
  .drawer_menu .drawer_nav .second-level li:has(a[href="https://kids.ohbsn.com/action_for_kids/action_cat/bsnkengaku/"]) {
    padding: 0.5em 0 1em;
  }

	.drawer_menu .drawer_nav li a {
		background-color: #fff;
		/* ドロワーメニューリスト背景色 */
		color: #555;
		/* ドロワーメニューリスト文字色 */
		display: block;
		text-align: left;
		padding-left: 1em;
	}

	/* スマートフォン2階層目 */
	.drawer_menu .drawer_nav li:hover ul.second-level {
		display: block;
	}

	.drawer_menu .drawer_nav li ul.second-level {
		display: none;
		position: relative;
		padding: 0;
		z-index: 1001;
    padding: 0 1em 0 0;
	}

	.drawer_menu .drawer_nav li ul.second-level li a {
		padding-left: 2em;
	}

	.drawer_menu .drawer_nav_wrapper.open {
		transform: translate(0);
	}

	.drawer_menu.left .drawer_button {
		right: auto;
		left: 32px;
	}

	.drawer_menu.left .drawer_nav_wrapper {
		transform: translate(-250px);
		right: auto;
		left: 0;
	}

	.drawer_menu.left .drawer_nav_wrapper.open {
		transform: translate(0);
	}

	.pc-hidden {
		text-align: center;
	}

	.touch-btn {
		color: #555;
		position: absolute;
		top: .25rem;
		right: 2%;
		display: block;
		z-index: 10;
		width: 50px;
		height: 50px;
		text-align: center;
		vertical-align: middle;
	}

  .profile_body {
    font-size: 3.5vw;
    margin: 30px 0;
  }
  .profile_body ul {
    position: relative;
    border-top: solid 2px #bdd9ff;
    padding: 1em 0;
  }
  .profile_body ul::before {
    position: absolute;
    content: "";
    display: block;
    border-top: solid 2px #09529e;
    width: 50%;
    top: -2px;
  }
  .profile_body ul li {
    margin: 0 3.5vw 0.5em;
  }
  .profile_body ul li:first-child {
    margin: 0 3.5vw 0.5em;
    color: #09529e;
    font-weight: 600;
  }
  .profile_body ul li:last-child {
    margin: 0 3.5vw;
    font-size: 3.25vw;
  }
  .profile_body ul li dt {
    font-weight: 600;
    margin: 0 0 0.5em;
  }
  .profile_body ul li dd {
    margin: 0 3.5vw 2em;
  }
  .profile_body ul li dd .access {
    margin: 1em 0 0;
  }
  .profile_body ul li dd .access img {
    margin: 1em 0;
  }
  .profile_body dd a {
    color: #0052A5;
    text-decoration: underline;
    margin: 0 1em;
    display: inline-block;
  }
  .profile_body ul li a {
    color: #0052A5;
    text-decoration: underline;
  }
  .sns-list th{
  	vertical-align: top;
  }
  .sns-list td{
  	vertical-align: top;
  	padding-left: 4px;
  }
  .kyobun_banner{
    border-bottom: none!important;
  }
  .kyobun_banner a{
    padding: 0!important;
  }
  .kyobun_banner a img{
    display: block;
  }
}
