@charset "utf-8";

/* common */
* {
    margin: 0;   
    padding: 0;
}
a {
  text-decoration-line:none;
}
html {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding-bottom: 120px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* ページトップへ戻るボタン */
.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;
  font-family: "ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro", "ヒグノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO",'Helvetica Neue', sans-serif;
}

/* 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;
}

/* body contents */
#home {
  background-image: url("./images/海_灯台_1200_700.jpg");
  min-height: 100vh;
}
.big-bg {
  background-size: cover;
  background-position: top;
}
.wrapper {
  margin: 0 auto;
  padding: 0 4%;
}
.section {
  width: 950px;
  margin: 0 auto 80px;
  text-align:left;
  text-indent: 1em;
  line-height: 2em;
}
.index_title h2 {
  padding: 0.25em 0.5em;
  color: #494949;
  background: transparent;
  border-bottom: solid 5px #7db4e6;
  margin-bottom: 28px;
  margin-top: 2rem;
  text-align: center;
}
.index_CorporateOverview_Content {
  background: none;
  padding-bottom: 28px;
}
.index_news_Content {
  margin-bottom: 3rem;
  padding: 0 1rem;
}
.index_news_Content li {
  border-bottom: #000 solid 1px;
  list-style-type: none;
  line-height: 2rem;
  padding: 1rem 0;
  text-indent: 0;
}
.index_CorporateOverview_Content h3 {
  background: #89c7de;
  margin: 8px 0;
}
.index_CorporateOverview_Content table {
  width: 100%;
  border-collapse: collapse;
}
.index_CorporateOverview_Content td {
  border: 1px solid #000;
  padding: 8px;
  text-align: left;
  font-weight: bold;
  color: #575757;
}
.index_CorporateOverview_Content td:first-child {
  width: 225px;
  background-color: #e5edf2;
  text-align: center;
  color: #3293e7;
  font-weight: bold;
}
.index_CorporateOverview_History {
  background: none;
  padding-bottom: 28px;
}
.index_CorporateOverview_History h3 {
  background: #89c7de;
  margin: 8px 0;
}
.index_CorporateOverview_History table {
  width: 100%;
  border-collapse: collapse;
}
.index_CorporateOverview_History td {
  border: none;
  padding: 8px;
  text-align: left;
}
.index_CorporateOverview_History td:first-child {
  width: 225px;
  color:#3293e7;
  font-weight: bold;
}
.content {
  margin-top: 3rem;
}

/* text and headings */
main {
  text-align: center;
}
.wrapper {
  text-align: center;
  color: white;
}
h1 {
  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: 32px;
  margin: 0 auto;
}
.index_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_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;
}

/* office list */
.index_office_section {
  width: 100%;
  margin-bottom: 4rem;
}
.index_office_section_flex {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.index_office_section_title {
  background-color: #b6dfde;
  margin-bottom: 1rem;
}
.index_office_box {
  border: solid black 1px;
  width: 49%;
}
.index_office_title {
  width: 100%;
  border-bottom: solid black 1px;
  line-height: 3rem;
  background-color: #e7eef4;
}
.index_office_contant {
  display: flex;
  padding: 1rem;
}
.index_office_contant_img {
  width: 45%;
  height: 125px;
  text-indent: 0;
 }
.index_office_contant_img img {
  width: 100%;
  height: 125px;
  object-fit: cover;
}
.index_office_contant_p {
  width: 55%;
  margin-left: 1rem;
}
.index_office_contant_p p {
  text-indent: 0;
}

/* Inquiry / Map */
.index_inquiry {
  line-height: 2em;
  text-align:left;
  width: 950px;
  margin: 0 auto;
}
.index_inquiry_container {
  display: flex;
  justify-content:space-between;
  width: 950px;
}
.index_inquiry_container_p {
  width: 30%;
  margin: 0 8px;
  margin-bottom: 1rem;  
}
.index_inquiry_container_p h3 {
  border-bottom: 2px #0bd solid;
  font-weight: normal;
  margin-bottom: 1rem;
  line-height: 3rem;
  text-align: center;
}
.index_inquiry_container_p p {
  margin: 0 8px;
  text-indent: -4em;
  padding-left: 4em;
}
.index_inquiry_container_map {
  width: 70%;
}
.gmap_iframe {
  aspect-ratio: 16 / 9;
  max-width: 1000px;
  width: 100%;
  height: auto;
}

/* footer */
footer {
  text-align: center;
  width: 100%;
  background-color: #89c7de;
  color: #fff;
  padding: 30px 0;
  position: absolute;
  bottom: 0;
}
small {
  font-size: 14px;
}

/* スマホ用設定 */
@media screen and (max-width: 600px) {
html {
  width: 100%;
  overflow-x:hidden;
}
.pagetop, .pagetop__arrow {
  display: none;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
#home h1{
  font-size: 28px;
}
.index_main_h2 {
  width: 350px;
  font-size: 24px;
  text-align: left;
  text-indent: 1em;
}
.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;
}
.section {
  width: 350px;
}
.index_CorporateOverview_Content td, .index_CorporateOverview_History td {
  width: auto;
  display: flex;
}
.index_CorporateOverview_Content td:first-child {
  width: auto;
}
.index_office_section_flex {
  display:block
}
.index_office_section {
  margin-bottom: 2rem;
}

.index_office_box {
  width: 100%;
  margin-bottom: 1rem;
}
.index_office_contant_p {
  width: 55%;
  margin-left: 1rem;
  font-size: 12px;
  line-height: 1.5rem;
}
.index_inquiry {
  margin: 0 20px;
  width: auto;
}
.index_inquiry_container {
  display: block;
  width: auto;
}
.index_inquiry_container_p, .index_inquiry_container_map {
  width: auto;
}

/* --- ハンバーガーメニュー (Mobile) --- */
.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 {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: auto;
  transition: 0.4s;
  z-index: 1;
  overflow-y: auto;
}
#menu-toggle:checked ~ .menu {
  top: 73px;
}
.menu ul {
  display: block;
  list-style: none;
  padding: 20px 0;
  background-color: rgba(90, 103, 127, 0.95);
}
.menu li {
  width: 100%;
  height: 50px;
  text-indent: 2rem;
}
.menu ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  display: block;
  padding: 10px 0;
}
}