*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
  margin: 0;
}

body {
  overflow-x: hidden;
}

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

a {
  background: transparent;
  text-decoration: none;
  color: inherit;
}

/* =============================================
ヘッダーのCSSはここから
============================================= */

/* ヘッダー01 */
header.header01 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}
 div.logo {
  width: 250px;
  height: 50px;
}
 div.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
nav.nav ul.item {
  display: flex;
  align-items: center;
}
nav.nav ul.item li.contact a {
  display: inline-block;
  background: #3656a7;
  color: #fff;
  font-size: 0.9rem;
  border-radius: 30px;
  padding: 0.5rem 1.2rem;
}
 li.list {
  padding-left: 1.5rem;
}
a {
  font-weight: bold;
}
#menu-btn,
.nav-hidden {
  display: none;
}
/* キービジュアル */
.fv-container {
  width: 100%;
  height: 80vh;
  background: url(./img/fv.jpg) no-repeat;
  background-size: cover;
}

/* SPここから */
@media (max-width: 768px) {
 #menu-btn {
    display: block;
    width: 30px;
    height: 20px;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 3;
  }
 #menu-btn span,
 #menu-btn span::before,
 #menu-btn span::after {
    content: "";
    height: 2px;
    width: 100%;
    border-radius: 3px;
    background: #3656a7;
    position: absolute;
    transition: 0.2s;
  }
 #menu-btn span {
    top: 0;
  }
 #menu-btn span::before {
    top: 8px;
  }
  
 #menu-btn span::after {
    top: 16px;
  }
 #nav-input:checked~#menu-btn span {
    top: 8px;
    transform: rotate(45deg);
  }
 #nav-input:checked~#menu-btn span::before {
    opacity: 0;
  }
 #nav-input:checked~#menu-btn span::after {
    top: 0;
    transform: rotate(-90deg);
  }
 div.logo {
    width: 150px;
    height: 30px;
  }
 nav.nav {
    width: 300px;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 2;
    background: #fff;
    transition: 0.5s;
  }
 nav.nav ul.item {
    display: block;
    padding: 4rem 2rem;
  }
 nav.nav ul.item li.list {
    padding-left: 0;
    padding-bottom: 1.5rem;
  }

 #nav-input:checked~nav.nav {
    right: 0;
  }
}

/* メインメニュー */
.main-menu {
  padding: 0.5rem 1rem 0.5rem 1rem;
  display: flex;
  background-color: green;
  color: white;
}

.main-nav {
  display: flex;
  vertical-align: center;
  margin-left: 1rem;
}

.main-nav-ul {
  display: flex;
}

.main-nav-li {
  margin: 0 4px 0 4px;
  padding: 4px 10px 6px 12px;
  display: inline-block;
  background: #ff8c00;
  border-radius: 10px;
}

/* カード */
.container-card {
	width: 100%;
	padding: 1rem 1rem;
}
ul.item-card {
	list-style: none;
	/*display: flex;*/
	justify-content: center;
	max-width: 960px;
	margin: 0 auto;
}
li.list-card {
	/*width: 33.3%;*/
	margin-right: 2rem;
	margin-bottom: 1rem;
	/*padding-left: 1rem;*/
	/*padding-right: 1rem;*/
	padding-bottom: 1rem;
	display: flex;
	flex-direction: column;
	border-color: #ff8c00;
	border-width: 3px 3px 3px 3px;
	background-color: white;
  border-radius: 10px;
}
/*
li.list-card:last-child {
	margin-right: 0;
}
*/
li.list-menu {
  display: inline-block;
  margin: 0 1rem 1rem 1rem;
  font-size: 14px;
}
h3.title-card {
	padding: 0.2rem 0.5rem 0.3rem 0.5rem;
	font-weight: bold;
	font-size: 20px;
  text-align: center;
  color: white;
	background-color: #ff8c00;
}
p.content-card {
  padding: 1rem;
	line-height: 1.6;
	color: #333;
}
@media screen and (max-width: 956px) {
	ul.item-card {
		flex-wrap: wrap;
		max-width: 420px;
	}
	li.list-card {
		width: 100%;
		margin-right: 0;
		margin-bottom: 3rem;
		padding: 1rem 1rem 1rem 1rem;
		border-color: #ff8c00;
		border-width: 3px 3px 3px 3px;
	}
  /*
	li.list-card:last-child {
		margin-bottom: 0;
	}
  */
}

/* タイムライン */
.timeline01 .list {
  margin-left: 2rem;
  padding-left: 2rem;
  padding-bottom: 2rem;
  counter-increment: section;
  position: relative;
}

.timeline01 .list:last-child {
  padding-bottom: 0.5rem;
}

/*
.timeline01 .list::before {
  content: "";
  width: 1px;
  height: 100%;
  background-color: #4a69b8;
  position: absolute;
  top: 0;
  left: 0;
}
*/

.timeline01 .list::after {
  content: counter(section, decimal-leading-zero);
  font-size: 0.8rem;
  font-weight: bold;
  background-color: #4a69b8;
  color: #fff;
  text-align: center;
  width: 28px;
  height: 28px;
  line-height: 28px;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: -0.8rem;
}

.timeline01 .title {
  color: #4a69b8;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.timeline01 h3 {
  font-size: 1rem;
  font-weight:unset;
}

@media screen and (max-width: 768px) {
  .timeline01 {
    width: 80%;
  }
}

.price-header {
  background-color: skyblue;
  margin: 0 1rem 0.5rem 1rem;
  padding: 2px 5px 2px 5px;
}

.price-detail {
  margin: 0.5rem 1.5rem 0.5rem 1.5rem;
}

.timeline02 .list {
  margin-left: 2rem;
  padding-left: 2rem;
  padding-bottom: 2rem;
  counter-increment: section;
  position: relative;
}

.timeline02 .list:last-child {
  padding-bottom: 0.5rem;
}

.timeline02 .list::before {
  content: "";
  width: 1px;
  height: 100%;
  background-color: #4a69b8;
  position: absolute;
  top: 0;
  left: 0;
}

.timeline02 .list::after {
  content: counter(section, decimal-leading-zero);
  font-size: 0.8rem;
  font-weight: bold;
  background-color: #4a69b8;
  color: #fff;
  text-align: center;
  width: 28px;
  height: 28px;
  line-height: 28px;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: -0.8rem;
}

.timeline02 .title {
  color: #4a69b8;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

@media screen and (max-width: 768px) {
  .timeline02 {
    width: 80%;
  }
}

.information {
  margin: 1rem 1rem 1rem 2rem;
}

/* =============================================
フッターのCSSはここから
============================================= */
/* フッター01 */
footer.footer01 {
  padding: 1rem 1rem 1rem;
  background: #3656a7;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto 0;
}

/*
nav.nav ul.item {
  display: flex;
}

nav.nav ul.item li.list {
  padding-left: 1.5rem;
}

nav.nav ul.item li.list a {
  font-weight: bold;
  color: #fff;
  font-size: 0.8rem;
}

p.copyright {
  text-align: center;
  color: #fff;
}
*/

.footer-link {
  color: white;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  footer.footer01 {
    padding: 2rem 1rem 1rem;
  }

 .footer-container {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 414px;
    margin-bottom: 2rem;
  }

  /*
  nav.nav ul.item {
    flex-wrap: wrap;
    justify-content: center;
  }

 nav.nav ul.item li.list {
    padding: 0.5rem;
  }
  */
}
