/* common.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Zen Kaku Gothic New','Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.02em;
    font-feature-settings: "pwid" on, "calt" on, "kern" on;
    font-weight: 400;
    line-height: 1.6;
    background: linear-gradient(135deg, #f5f7f6 0%, #c9e4df 100%);
    min-height: 100vh;
    color: #333;
}
.navbar-brand a{
    color: #4a6f69;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    overflow-wrap: break-word;
}

.resource-item p {
    margin: 1.5vh 0 0.5vh;
}

.spaced {
  margin-bottom: 1rem;
}

.marker {
  background: linear-gradient(transparent 30%, rgb(163 226 210 / 66%) 70%);
}

.parkinsans-regular {
  font-family: "Parkinsans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.05em;
}

.moirai-one-regular {
  font-family: "Moirai One", system-ui;
  font-weight: 400;
  font-style: normal;
}

.moirai-one-regular a{
      font-size: 50px;
}

nav .navbar-brand{
    margin-left: 5px;
}

.mt-4 {
    margin-top: 4rem !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    color: rgb(33, 44, 41);
    animation: fadeInUp 1s ease-out;
}

.header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(65, 71, 70, 0.107);
}

.card h2 {
    color: #64907c;
    font-size: 2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.resource-section {
    margin-bottom: 25px;
}

.resource-section h3 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.resource-section h4 {
    color: #2d3748;
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.resource-item {
    background: #f8fcfb;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    border-left: 4px solid #43b7a3;
    transition: all 0.3s ease;
}

.resource-item:hover {
    background: #eaf1ee;
    transform: translateX(5px);
}

.resource-item strong {
    color: #2d3748;
    display: block;
    margin-bottom: 5px;
}

.resource-item p {
    color: #4a5568;
    font-size: 1.05rem;
}

.combo-section {
    background: linear-gradient(135deg, #0ba98e99 0%, #764ba299 100%);
    color: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.combo-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.combo-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 42px 0;
    line-height: 1.25;
}
.combo-section p a {
    color: #ffffff;
    text-decoration: underline;
    margin: 5px 0;
    font-size: 0.95rem;
}

.learning-path {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.learning-path h2 {
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.mb-20 {
  margin-bottom: 20px;
}

#navbarNav ul li{
    margin-top: 3%;
    text-align: end;
    line-height: 0.5;
}

.container-fluid{
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}


h3{
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: anchor-center;
}


h3::before {
    content: "｛";
    display: block;
    font-size: 2em;
    padding-right: 5px;
}


h3::after {
    content: "｝";
    display: block;
    font-size: 2em;
    padding-left: 5px;
}

h3{
    padding: 0 0.05em;
}

#skills-heading{
    margin-top: 50px;
}

.works-section{
    margin-top: 50px;
}

.works-section h3{
    font-size: 16px;
    margin-top: 0;
    align-items: center;
}

.works-section article{
    margin-bottom: 80px;
}

.navbar-brand ul{
padding-left: 0;
}

.item{
  float: left;
  list-style: none;
  opacity: 0;
}

.item:nth-child(1) {
  -webkit-animation: example 0.5s ease 0.1s 1 forwards;
  animation: example 0.5s ease 0.1s 1 forwards;
}
.item:nth-child(2) {
  -webkit-animation: example 0.5s ease 0.2s 1 forwards;
  animation: example 0.5s ease 0.2s 1 forwards;
}
.item:nth-child(3) {
  -webkit-animation: example 0.5s ease 0.3s 1 forwards;
  animation: example 0.5s ease 0.3s 1 forwards;
}
.item:nth-child(4) {
  -webkit-animation: example 0.5s ease 0.4s 1 forwards;
  animation: example 0.5s ease 0.4s 1 forwards;
}
.item:nth-child(5) {
  -webkit-animation: example 0.5s ease 0.5s 1 forwards;
  animation: example 0.5s ease 0.5s 1 forwards;
}
.item:nth-child(6) {
  -webkit-animation: example 0.5s ease 0.6s 1 forwards;
  animation: example 0.5s ease 0.6s 1 forwards;
}
.item:nth-child(7) {
  -webkit-animation: example 0.5s ease 0.7s 1 forwards;
  animation: example 0.5s ease 0.7s 1 forwards;
}
.item:nth-child(8) {
  -webkit-animation: example 0.5s ease 0.8s 1 forwards;
  animation: example 0.5s ease 0.8s 1 forwards;
}
.item:nth-child(9) {
  -webkit-animation: example 0.5s ease 0.9s 1 forwards;
  animation: example 0.5s ease 0.9s 1 forwards;
}

@-webkit-keyframes example {
  100% {
    opacity: 1;
  }
}
@keyframes example {
  100% {
    opacity: 1;
  }
}

.carousel-item rect{
    fill: #fff;
}

.carousel-control-prev,
.carousel-control-next {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-control-prev:hover{
    left: -5px;
}

.carousel-control-next:hover {
    right: -5px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: brightness(0) invert(1);
}

.carousel button{
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  background-color: rgb(94 94 94 / 80%)
}

footer{
    color: #4a6f69;
}

.modal-body h6{
    margin-top: 20px;
  }
  

@media screen and (max-width: 750px) {
  .sp {
    display: block!important;;
  }

  .pc{
    display: none!important;;
  }


}

@media screen and (min-width: 751px) {
  .sp {
    display: none!important;;
  }

  .pc{
    display: block!important;;
  }
}
