@charset "utf-8";

:root {
  /* Colors */
  --color-base: #FFFFFF;
  --color-base-beige: #FDFBF8;
  --color-support-bg: #fff8f2;
  --color-about-box: #effafe;
  --color-hero-sky: #BAE8F8;
  --color-primary: #cb295b;
  --color-secondary: #008ad3;
  --color-text: #333333;
  
  /* Typography */
  --font-family: 'Noto Sans JP', sans-serif;
  --font-size-sm: 0.875rem; /* 14px */
  --font-size-base: 1rem; /* 16px */
  --font-size-lg: 1.125rem; /* 18px */
  --font-size-xl: 1.5rem; /* 24px */
  --font-size-2xl: 2rem; /* 32px */
  
  /* Spacing */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 1rem;     /* 16px */
  --space-md: 1.5rem;   /* 24px */
  --space-lg: 2rem;     /* 32px */
  --space-xl: 3rem;     /* 48px */
  --space-2xl: 5rem;    /* 80px */
  
  /* Layout */
  --container-max: 1200px;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: var(--color-base);
  line-height: 1.6;
  /*letter-spacing: 0.05em;*/
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0;
}

/* Common Section Heading */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-subtitle {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  margin-bottom: 0;
}
.section-subtitle--primary { color: var(--color-primary); }
.section-subtitle--secondary { color: var(--color-secondary); }

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
}

/* Header */
.site-header {
  width: 100%;
  height: 5rem;
  background-color: var(--color-base);
  padding: var(--space-sm) 0;
  position: relative;
  z-index: 100;
  box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header__logo {}

.site-header__logo a{
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.site-header__logo a .logo_01{
  width: 7rem;
  height: auto;
}

.site-header__logo a .logo_02{
  width: 20.125rem;
  height: auto;
}

.site-header__logo-text {
  display: flex;
  flex-direction: column;
}

.site-header__logo-univ {
  font-size: var(--font-size-sm);
  line-height: 1.2;
}

.site-header__logo-name {
  font-size: var(--font-size-lg);
  font-weight: 700;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  gap: var(--space-lg);
  margin-right: 0.7rem;
}

.site-nav__link {
  font-size: 1.3rem;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}

.site-nav__link::before{
  content:"";
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transition: all 0.2s ease;
  opacity: 0;
  position: absolute;
  bottom: -2px;
  left: 0;
}

.site-nav__link:hover {
  color: var(--color-primary);
}

.site-nav__link:hover::before{
  opacity: 1;
}

/* Footer */
.site-footer {
  background-color: var(--color-base);
  padding: 2.5rem 0 var(--space-md);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-footer__top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.site-footer__logo{
    width: 20.125rem;
    height: auto;
}

.site-footer__copyright {
  font-size: 0.9rem;
  color: #111;
  text-align: right;
  width: 100%;
  margin-top: 1rem;
}

/*ヘッダ固定によるアンカーずれ対応*/
*[id^="anc_"]{
	padding-top: 100px;
	margin-top:-100px;
    margin-bottom: 70px;
}

/* Mobile adjustments for Header & Footer */
@media (max-width: 48rem) {
  .site-header__inner {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
  }
  
  .site-footer__top {
    flex-direction: column;
    gap: var(--space-lg);
  }
}
/* ##########SP########## */
@media screen and (min-width:1px) and (max-width:479px) {
  :root{
    --font-size-base: 0.9rem;
  }
  .site-header{
    height: auto;
    padding: 0.6rem;
  }

  .site-header__inner{
    gap: 0.5rem;
  }

  .site-header__logo a{
    gap: 1rem;
  }

  .site-header__logo a .logo_01{
    width: 20vw;
  }

  .site-header__logo a .logo_02{
    width: calc(20vw / 7 * 20.125);
  }

  .site-nav{
    gap: 0.4rem 0.8rem;
    margin-right: 0;
    line-height: 1.2;
  }

  .site-nav__link{
    font-size: 0.75rem;
  }

  .site-footer{
    padding: 1.5rem 0;
  }

  .site-footer__logo{
    width: calc(20vw / 7 * 20.125);
  }

  .site-footer__top{
    align-items: center;
    gap: 1rem;
  }

  .site-footer__copyright{
    font-size: 0.75rem;
    text-align: center;
  }
}