﻿@charset "utf=8";
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 120%;
  scroll-behavior: smooth;
}

body,
p,
ul,
td,
th,
h1 {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;

}

img {
  max-width: 100%;
}

li {
  list-style: none;
}

/* 共通パーツ */

body {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 700;
  font-style: normal;
}

.number {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.p-style_gr {
  color: #4b4b4b;
}


.sec-title::before,
.news_list_date time,
.name{
  color: #39ABFF;
}

.p-style_b
.sec-title{
  color: #39ABFF;
}

.sec-title {
  padding: 1.5rem 1.5rem 1.5rem 0;
  color: #39ABFF;
  margin: 0;
}


/* ヘッダー */

.header-box {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 3rem 1rem 1rem 1rem;
}

.right-box{
  display: flex;
  align-items: center;
}

.contact-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.contact {
  color: #fff;
  background-color: #0360ac;
  padding: 2px 5px;
  border-radius: 3px;
  text-align: center;
}

.header-item{
color:#39ABFF;
}

.tel_box {
  position: relative;
  padding-left: 35px;
  display: flex;
}

.tel_box:before {
    content: '';
    display: block;
    width: 2rem;
    height: 2rem;
    background-image: url(./01-top-oshamambe/img/tel_icon_light-blue.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 25%;
    left: -8px;
}

/* ナビゲーション */
nav,
.back-to-top::before
{
  background-color:#39ABFF;
}

.nav-ul {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.nav-ul li a {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem 4rem;
  letter-spacing: 0.2rem;
  font-size: 1rem;
}

.nav-ul li+li::before {
  content: "";
  display: block;
  height: 1em;
  border-left: 1px solid #fff;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}

.c-txt {
  cursor: pointer;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  display: inline-block;
}

.c-txt:hover {
  color: #0360ac;
  transform: translateY(-5px);
}


/* トップ画像 */
/* スライダー */
#slider {
  width: 100%;
  height: 75vh;
  /*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
  object-fit: cover;
}

/* ABOUT 基本理念 */
#about {
  width: 60vw;
  display: block;
  margin: 15vh auto;
}

.sec-title::before {
  content: "■";
  margin-right: 10px;
}

.content-box {
  width: 100%;
}


.main-copy {
  line-height: 2;
  padding: 1rem;
}

.main-copy span {
  background: linear-gradient(transparent 70%, #39ABFF 60%);
  /*linear-gradient(transparent ◯◯%, 使用する色 ◯◯%)*/
}

.content {
  line-height: 2;
  margin-left: 2rem;
}


/* news */

.news {
  width: 100%;
  padding: 100px 0;
  background-color:#a4d9ff;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.inner {
  width: 50%;
  background-color: #fff;
  margin: 0 auto;
  padding: 64px 10% 100px 10%;
  border-radius: 16px;
}


.sub_ttl {
  font-size: 30px;
  text-align: center;
  margin-bottom: 40px;
}

.news_list_item {
  padding-top: 25px;
}

.news_list_item:last-child {
  border-bottom: none;
}

.news_list_item:first-child {
  border-top: 1px solid #E6E6E6;
}

.news_contents{
  flex: 1;                    /* 残り幅いっぱい */
  min-width: 200px;           /* スマホでつぶれすぎ防止 */
}

.news_list_item {
  position: relative;
  display: flex;
  gap: 0.5rem;                  /* 項目の余白 */
  padding-right: 30px;
}

.news_list_date {
  display: flex;
  align-items: center;
}

.news_list_date time,
.name {
  font-weight: bold;
}

.news_list_item time {
  flex: 0 0 4rem;             /* 固定幅（例: 4rem） */
}

.news_item {
  /* 親要素の文字サイズを基準 */
  flex: 0 0 4rem;             /* 固定幅（例: 4rem） */
  font-size: 0.8rem;
  /* heightとline-heightを同じにすると、上下センターに表示される */
  height: 1.2rem;
  line-height: 1.2rem;
  text-align: center;
  margin-left: 20px;
  margin-right: 20px;
  background-color: #A4D9FF;
  color: #fff;
  border-radius: 3px;
}

.arrow {
  width: 25px;
  height: 1px;
  position: absolute;
  top: 25px;
  /* right: 1rem; */
}

.arrow::after {
  content: "";
  display: block;
  width: 1rem;
  height: 1rem;
  border-top: 2px solid #39ABFF;
  border-right: 2px solid #39ABFF;
  margin-left: 1rem;
  transform: rotate(45deg);
}

/* スクロールバー */
.scroller{
  margin: 0 auto;
  width: 70%;
  height:60vh;
  overflow-y: scroll;
  background-color: #fff;
  border-radius: 8px;
  scrollbar-color: #fff #39ABFF;
  scrollbar-width: auto;
}

.scroller::-webkit-scrollbar {
  width: 12px;
}

.scroller::-webkit-scrollbar-track {
  background: #39ABFF;
  border-radius: 8px;
}

.scroller::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 8px;
}

/* News画像 */
.news_list_img{
object-fit: contain;
width: 30vw;
height: auto;
margin: 0 auto;
display: block;
margin-top: 15px;
}

@media screen and (max-width: 1024px) {
  .news_list_item a {
    display: block;
  }
  html {
  font-size: 90%;
}
/* スクロールバー */
.scroller{
  width: 80%;
}
}

@media screen and (max-width: 769px) {
 
html {
  font-size: 80%;
}
}

@media screen and (max-width: 480px) {
  .arrow {
    display: none;
  }

  .news_list_item a {
    padding-right: 0;
  }
}

/* 戻るボタン */
.back-to-top {
  display: none;
  position: fixed;
  right: 5%;
  bottom: 5%;
  color: #fff;
  padding: 2rem;
  border-radius: 50%;
  display: inline-block;
  text-decoration: none;
}

.back-to-top::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  z-index: -1;
}

/* footer */
footer {
  background-image: url(./01-top-oshamambe/img/oshamambe-footter.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 20vh;
  margin-top: auto;
}

footer div {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer div p {
  color: #fff;
  text-shadow: 2px 2px 3px #4b4b4b;
}

/* 画面幅が480ピクセル以下の場合 */
@media screen and (max-width: 480px) {

  h1 {
    font-size: 12px;
  }

  .address {
    font-size: 8px;
    text-align: right;
  }

  .sec-title {
    padding: 8px;
  }

  .header-box {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem 0.5rem 1rem 0.5rem;
  }

  .insta-box p {
    font-size: 6px;
}

.insta-box {
  margin-left: 8px;
}

  .nav-ul li a {
    padding: 0.5rem 0.5rem;
  }

.contact-box {
    width: 160px;
}

.tel-fax{
  font-size:0.5rem;
}

  .tel_box {
    position: relative;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    text-align: end;
  }

  .tel_box:before {
    display: none;
  }

 .top-img {
    height: 300px;
  }

  #about {
    width: 90vw;
    display: block;
    margin: 5vh auto;
  }

  .news {
    padding: 30px 0;
  }

  .inner {
    width: 80%;
    padding: 0;
  }


  .news_list_item {
    padding: 1rem;
    border-bottom: none;
}
.news_contents{
  flex: 1;                    /* 残り幅いっぱい */
  min-width: 100px;           /* スマホでつぶれすぎ防止 */
}
}
